>>> sexpect 2.3.14 Extracting gzip -d -c /home/buildroot/instance-0/dl/sexpect/sexpect-2.3.14.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/sexpect-2.3.14 -xf - >>> sexpect 2.3.14 Patching >>> sexpect 2.3.14 Configuring (mkdir -p /home/buildroot/instance-0/output-1/build/sexpect-2.3.14//buildroot-build && cd /home/buildroot/instance-0/output-1/build/sexpect-2.3.14//buildroot-build && rm -f CMakeCache.txt && PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF ) CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done (0.1s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_SHARED_LIBS BUILD_TEST BUILD_TESTING BUILD_TESTS CMAKE_INSTALL_RUNSTATEDIR -- Build files have been written to: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build >>> sexpect 2.3.14 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake --build /home/buildroot/instance-0/output-1/build/sexpect-2.3.14//buildroot-build -j17 -- make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' [ 5%] Building C object tests/CMakeFiles/sleep.dir/sleep.c.o [ 11%] Building C object tests/CMakeFiles/still_open_after_exit.dir/still_open_after_exit.c.o [ 17%] Building C object CMakeFiles/sexpect.dir/main.c.o [ 35%] Building C object CMakeFiles/sexpect.dir/common.c.o [ 35%] Building C object tests/CMakeFiles/eof_before_exit.dir/eof_before_exit.c.o [ 35%] Building C object tests/CMakeFiles/glob2re.dir/glob2re.c.o [ 41%] Building C object CMakeFiles/sexpect.dir/proto.c.o [ 47%] Building C object CMakeFiles/sexpect.dir/pty.c.o [ 58%] Building C object CMakeFiles/sexpect.dir/server.c.o [ 58%] Building C object tests/CMakeFiles/glob2re.dir/__/common.c.o [ 64%] Building C object CMakeFiles/sexpect.dir/client.c.o [ 70%] Building C object tests/CMakeFiles/glob2re.dir/__/proto.c.o /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/pty.c: In function 'ptym_open': /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/pty.c:36:9: error: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] 36 | if (grantpt(fdm) < 0) { | ^~~~~~~ [ 76%] Linking C executable sleep [ 82%] Linking C executable still_open_after_exit /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/pty.c:41:9: error: implicit declaration of function 'unlockpt' [-Wimplicit-function-declaration] 41 | if (unlockpt(fdm) < 0) { | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/pty.c:46:16: error: implicit declaration of function 'ptsname'; did you mean 'ttyname'? [-Wimplicit-function-declaration] 46 | if ((ptr = ptsname(fdm)) == NULL) { | ^~~~~~~ | ttyname /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/pty.c:46:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 46 | if ((ptr = ptsname(fdm)) == NULL) { | ^ make[3]: *** [CMakeFiles/sexpect.dir/build.make:118: CMakeFiles/sexpect.dir/pty.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 88%] Linking C executable eof_before_exit /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/server.c: In function 'expect_exact': /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/server.c:630:17: error: implicit declaration of function 'strcasestr'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] 630 | found = strcasestr(g.expbuf, g.conn.pass.pattern); | ^~~~~~~~~~ | strcasecmp /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/server.c:630:15: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 630 | found = strcasestr(g.expbuf, g.conn.pass.pattern); | ^ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' [ 88%] Built target still_open_after_exit [ 88%] Built target sleep make[3]: *** [CMakeFiles/sexpect.dir/build.make:132: CMakeFiles/sexpect.dir/server.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' [ 88%] Built target eof_before_exit In function 'ttlv_new', inlined from 'ttlv_new_int' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:114:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:102:12: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 102 | p->tag = tag; | ~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:103:13: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 103 | p->type = type; | ~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:104:15: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 104 | p->length = length; | ~~~~~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c: In function 'ttlv_new_int': /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:115:6: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 115 | p->v_int = value; | ^~ In function 'ttlv_new', inlined from 'ttlv_new_int' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:114:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ttlv_new', inlined from 'ttlv_new_int' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:114:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:102:12: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 102 | p->tag = tag; | ~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:103:13: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 103 | p->type = type; | ~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:104:15: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 104 | p->length = length; | ~~~~~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c: In function 'ttlv_new_int': /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:115:6: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 115 | p->v_int = value; | ^~ In function 'ttlv_new', inlined from 'ttlv_new_int' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:114:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ttlv_new', inlined from 'ttlv_new_bool' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:136:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:102:12: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 102 | p->tag = tag; | ~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:103:13: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 103 | p->type = type; | ~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:104:15: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 104 | p->length = length; | ~~~~~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c: In function 'ttlv_new_bool': /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:137:6: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 137 | p->v_bool = !! value; | ^~ In function 'ttlv_new', inlined from 'ttlv_new_bool' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:136:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ttlv_new', inlined from 'ttlv_new_bool' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:136:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:102:12: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 102 | p->tag = tag; | ~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:103:13: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 103 | p->type = type; | ~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:104:15: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 104 | p->length = length; | ~~~~~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c: In function 'ttlv_new_bool': /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:137:6: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 137 | p->v_bool = !! value; | ^~ In function 'ttlv_new', inlined from 'ttlv_new_bool' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:136:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 20 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ttlv_new', inlined from 'ttlv_new_struct' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:183:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:102:12: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 102 | p->tag = tag; | ~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:103:13: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 103 | p->type = type; | ~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:104:15: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 104 | p->length = length; | ~~~~~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ttlv_new', inlined from 'ttlv_new_struct' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:183:9: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:102:12: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 102 | p->tag = tag; | ~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:103:13: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 103 | p->type = type; | ~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:104:15: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 104 | p->length = length; | ~~~~~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ttlv_new', inlined from 'ttlv_new_struct' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:183:9, inlined from 'ttlv_decode' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:519:19: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:102:12: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 102 | p->tag = tag; | ~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:103:13: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 103 | p->type = type; | ~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:104:15: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 104 | p->length = length; | ~~~~~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ttlv_new', inlined from 'ttlv_new_struct' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:183:9, inlined from 'ttlv_decode' at /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:519:19: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:102:12: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 102 | p->tag = tag; | ~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:103:13: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 103 | p->type = type; | ~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:104:15: warning: array subscript 'ttlv_t {aka struct ttlv}[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 104 | p->length = length; | ~~~~~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/proto.c:100:13: note: object of size 16 allocated by 'calloc' 100 | p = calloc(1, sizeof(ttlv_t) - 8 /* == sizeof(the union) */ + length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 94%] Linking C executable glob2re make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' [ 94%] Built target glob2re make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[2]: *** [CMakeFiles/Makefile2:106: CMakeFiles/sexpect.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make[1]: *** [Makefile:146: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/sexpect-2.3.14/buildroot-build' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/sexpect-2.3.14/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'