>>> firmware-utils 2f70fedc92bd08f9e182fcc388688f36310a597d Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-2/dl/firmware-utils/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d-br1.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d -xf - >>> firmware-utils 2f70fedc92bd08f9e182fcc388688f36310a597d Patching >>> firmware-utils 2f70fedc92bd08f9e182fcc388688f36310a597d Configuring (mkdir -p /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/ && cd /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/ && rm -f CMakeCache.txt && PATH="/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/cmake /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/ -DCMAKE_TOOLCHAIN_FILE="/home/giuliobenetti/autobuild/run/instance-2/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -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=ON ) -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/powerpc64-linux-gcc -- Check for working C compiler: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/powerpc64-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found ZLIB: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libz.so (found version "1.2.11") -- Found OpenSSL: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/lib64/libcrypto.so (found version "1.1.1l") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d >>> firmware-utils 2f70fedc92bd08f9e182fcc388688f36310a597d Building PATH="/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j5 -C /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/ make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' Scanning dependencies of target zytrx Scanning dependencies of target zyimage Scanning dependencies of target trx2usr Scanning dependencies of target uimage_sgehdr make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' Scanning dependencies of target xorimage make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 1%] Building C object CMakeFiles/zytrx.dir/src/zytrx.c.o [ 3%] Building C object CMakeFiles/zyimage.dir/src/zyimage.c.o [ 3%] Building C object CMakeFiles/xorimage.dir/src/xorimage.c.o [ 5%] Building C object CMakeFiles/trx2usr.dir/src/trx2usr.c.o [ 5%] Building C object CMakeFiles/uimage_sgehdr.dir/src/uimage_sgehdr.c.o /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/zyimage.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/zyimage.c:126:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 126 | fread(&oldsign, sizeof(oldsign), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/zytrx.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/zytrx.c:215:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 215 | write(fdout, &h, sizeof(h)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/zytrx.c:216:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 216 | write(fdout, input_file, file_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/uimage_sgehdr.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/uimage_sgehdr.c:152:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 152 | strncpy(imgh->sgeih_p, model, sizeof(imgh->sgeih_p)); | ~~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/features.h:465, from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33, from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:27, from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/uimage_sgehdr.c:9: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/uimage_sgehdr.c:153:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 153 | strncpy(imgh->sgeih_sv, sversion, sizeof(imgh->sgeih_sv)); | ~~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/features.h:465, from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33, from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:27, from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/uimage_sgehdr.c:9: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/uimage_sgehdr.c:154:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 154 | strncpy(imgh->sgeih_hv, hversion, sizeof(imgh->sgeih_hv)); | ~~~~^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/features.h:465, from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33, from /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:27, from /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/uimage_sgehdr.c:9: /home/giuliobenetti/autobuild/run/instance-2/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/uimage_sgehdr.c:76:6: warning: unused variable 'ltmp' [-Wunused-variable] 76 | int ltmp; | ^~~~ [ 5%] Linking C executable zyimage [ 5%] Linking C executable trx2usr [ 5%] Linking C executable xorimage [ 5%] Linking C executable uimage_sgehdr make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 5%] Linking C executable zytrx [ 5%] Built target trx2usr [ 5%] Built target xorimage make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 5%] Built target zyimage make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' Scanning dependencies of target tplink-safeloader make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' Scanning dependencies of target ptgen Scanning dependencies of target seama make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 5%] Built target uimage_sgehdr make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 6%] Building C object CMakeFiles/tplink-safeloader.dir/src/tplink-safeloader.c.o [ 7%] Building C object CMakeFiles/ptgen.dir/src/ptgen.c.o [ 7%] Building C object CMakeFiles/seama.dir/src/seama.c.o Scanning dependencies of target otrx make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 7%] Building C object CMakeFiles/otrx.dir/src/otrx.c.o make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 7%] Built target zytrx make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' Scanning dependencies of target wrt400n make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 8%] Building C object CMakeFiles/wrt400n.dir/src/wrt400n.c.o /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c: In function 'init_utf16': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c:28:24: warning: implicit declaration of function 'bswap_16' [-Wimplicit-function-declaration] 28 | #define cpu_to_le16(x) bswap_16(x) | ^~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c:267:13: note: in expansion of macro 'cpu_to_le16' 267 | buf[i] = cpu_to_le16(str[n++]); | ^~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c: In function 'gen_ptable': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c:29:24: warning: implicit declaration of function 'bswap_32' [-Wimplicit-function-declaration] 29 | #define cpu_to_le32(x) bswap_32(x) | ^~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c:311:18: note: in expansion of macro 'cpu_to_le32' 311 | pte[i].start = cpu_to_le32(start); | ^~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c: In function 'gen_gptable': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c:30:24: warning: implicit declaration of function 'bswap_64' [-Wimplicit-function-declaration] 30 | #define cpu_to_le64(x) bswap_64(x) | ^~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/ptgen.c:364:16: note: in expansion of macro 'cpu_to_le64' 364 | .signature = cpu_to_le64(GPT_SIGNATURE), | ^~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/seama.c: In function 'extract_file': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/seama.c:423:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 423 | fread(&shdr, sizeof(shdr), 1, ifh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/seama.c:439:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 439 | fread(buf, sizeof(char), 16, ifh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/seama.c:443:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 443 | fread(buf, sizeof(char), msize, ifh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/wrt400n.c: In function 'main': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/wrt400n.c:313:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 313 | write(outfd, buf, totalsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 8%] Building C object CMakeFiles/wrt400n.dir/src/cyg_crc32.c.o [ 9%] Linking C executable wrt400n [ 10%] Linking C executable otrx make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 11%] Building C object CMakeFiles/seama.dir/src/md5.c.o [ 11%] Built target wrt400n make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' Scanning dependencies of target mkcsysimg make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 11%] Building C object CMakeFiles/ptgen.dir/src/cyg_crc32.c.o [ 11%] Building C object CMakeFiles/mkcsysimg.dir/src/mkcsysimg.c.o make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 11%] Built target otrx make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' Scanning dependencies of target mkcameofw make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 11%] Building C object CMakeFiles/mkcameofw.dir/src/mkcameofw.c.o [ 12%] Linking C executable ptgen /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcsysimg.c: In function 'csum16_update': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcsysimg.c:36:27: warning: implicit declaration of function 'bswap_16' [-Wimplicit-function-declaration] 36 | # define LE16_TO_HOST(x) bswap_16(x) | ^~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcsysimg.c:419:15: note: in expansion of macro 'LE16_TO_HOST' 419 | css->val += LE16_TO_HOST(t); | ^~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcsysimg.c: In function 'block_writeout_hdr': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcsysimg.c:35:27: warning: implicit declaration of function 'bswap_32' [-Wimplicit-function-declaration] 35 | # define HOST_TO_LE32(x) bswap_32(x) | ^~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcsysimg.c:574:13: note: in expansion of macro 'HOST_TO_LE32' 574 | hdr.addr = HOST_TO_LE32(block->addr); | ^~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcsysimg.c: In function 'block_writeout_file': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcsysimg.c:613:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 613 | fread(buf, buflen, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcameofw.c: In function 'read_to_buf': /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/src/mkcameofw.c:153:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 153 | fread(buf, fdata->file_size, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: CMakeFiles/ptgen.dir/src/ptgen.c.o: in function `gen_gptable': ptgen.c:(.text+0x234): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x244): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x254): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x264): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x274): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x28c): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x29c): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x2ac): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x324): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x338): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x390): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x3a4): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x3cc): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x3dc): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x408): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x434): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x550): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x574): undefined reference to `bswap_64' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x5f0): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x600): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x710): undefined reference to `bswap_16' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x744): undefined reference to `bswap_16' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text+0x7a0): undefined reference to `bswap_16' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: CMakeFiles/ptgen.dir/src/ptgen.c.o: in function `main': ptgen.c:(.text.startup+0x8b8): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: ptgen.c:(.text.startup+0x904): undefined reference to `bswap_32' collect2: error: ld returned 1 exit status make[3]: *** [CMakeFiles/ptgen.dir/build.make:102: ptgen] Error 1 make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[2]: *** [CMakeFiles/Makefile2:422: CMakeFiles/ptgen.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 12%] Building C object CMakeFiles/tplink-safeloader.dir/src/md5.c.o [ 12%] Linking C executable seama [ 13%] Linking C executable mkcameofw make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 13%] Built target seama make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 13%] Built target mkcameofw [ 14%] Linking C executable tplink-safeloader make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' [ 14%] Built target tplink-safeloader [ 15%] Linking C executable mkcsysimg /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: CMakeFiles/mkcsysimg.dir/src/mkcsysimg.c.o: in function `csum16_update': mkcsysimg.c:(.text+0x578): undefined reference to `bswap_16' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: mkcsysimg.c:(.text+0x5ec): undefined reference to `bswap_16' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: CMakeFiles/mkcsysimg.dir/src/mkcsysimg.c.o: in function `block_writeout_hdr': mkcsysimg.c:(.text+0x9fc): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: mkcsysimg.c:(.text+0xa20): undefined reference to `bswap_32' /home/giuliobenetti/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: CMakeFiles/mkcsysimg.dir/src/mkcsysimg.c.o: in function `block_writeout_csum': mkcsysimg.c:(.text+0xdc4): undefined reference to `bswap_16' collect2: error: ld returned 1 exit status make[3]: *** [CMakeFiles/mkcsysimg.dir/build.make:87: mkcsysimg] Error 1 make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[2]: *** [CMakeFiles/Makefile2:503: CMakeFiles/mkcsysimg.dir/all] Error 2 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make[1]: *** [Makefile:133: all] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d' make: *** [package/pkg-generic.mk:294: /home/giuliobenetti/autobuild/run/instance-2/output-1/build/firmware-utils-2f70fedc92bd08f9e182fcc388688f36310a597d/.stamp_built] Error 2 make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-2/buildroot'