>>> firmware-utils 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 Extracting gzip -d -c /home/autobuild/autobuild/instance-17/dl/firmware-utils/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4-git4.tar.gz | /home/autobuild/autobuild/instance-17/output-1/host/bin/tar --strip-components=1 -C /home/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4 -xf - >>> firmware-utils 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 Patching >>> firmware-utils 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 Configuring (mkdir -p /home/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/ && cd /home/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/ && rm -f CMakeCache.txt && PATH="/home/autobuild/autobuild/instance-17/output-1/host/bin:/home/autobuild/autobuild/instance-17/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/autobuild/instance-17/output-1/host/bin/cmake /home/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/home/autobuild/autobuild/instance-17/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=ON ) CMake Deprecation Warning at CMakeLists.txt:1 (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/autobuild/autobuild/instance-17/output-1/host/bin/mips64-buildroot-linux-uclibc-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found ZLIB: /home/autobuild/autobuild/instance-17/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib/libz.so (found version "1.3.1") -- Found OpenSSL: /home/autobuild/autobuild/instance-17/output-1/host/mips64-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.so (found version "3.3.2") -- Configuring done (0.2s) -- Generating done (0.1s) 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/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4 >>> firmware-utils 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 Building GIT_DIR=. PATH="/home/autobuild/autobuild/instance-17/output-1/host/bin:/home/autobuild/autobuild/instance-17/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/autobuild/instance-17/output-1/host/bin/cmake --build /home/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/ -j1 -- make[1]: Entering directory '/home/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 0%] Building C object CMakeFiles/add_header.dir/src/add_header.c.o [ 1%] Linking C executable add_header [ 1%] Built target add_header [ 1%] Building C object CMakeFiles/addpattern.dir/src/addpattern.c.o [ 2%] Linking C executable addpattern [ 2%] Built target addpattern [ 2%] Building C object CMakeFiles/asustrx.dir/src/asustrx.c.o [ 3%] Linking C executable asustrx [ 3%] Built target asustrx [ 3%] Building C object CMakeFiles/bcm4908asus.dir/src/bcm4908asus.c.o [ 4%] Linking C executable bcm4908asus [ 4%] Built target bcm4908asus [ 4%] Building C object CMakeFiles/bcm4908kernel.dir/src/bcm4908kernel.c.o [ 5%] Linking C executable bcm4908kernel [ 5%] Built target bcm4908kernel [ 6%] Building C object CMakeFiles/buffalo-enc.dir/src/buffalo-enc.c.o In function 'encrypt_file', inlined from 'main' at src/buffalo-enc.c:309:9: src/buffalo-enc.c:156:52: warning: 'tail_dst' may be used uninitialized [-Wmaybe-uninitialized] 156 | memset(&buf[tail_src], 0, tail_dst - tail_src); | ~~~~~~~~~^~~~~~~~~~ src/buffalo-enc.c: In function 'main': src/buffalo-enc.c:119:26: note: 'tail_dst' was declared here 119 | ssize_t src_len, tail_dst, tail_len, tail_src; | ^~~~~~~~ In function 'encrypt_file', inlined from 'main' at src/buffalo-enc.c:309:9: src/buffalo-enc.c:155:17: warning: 'tail_len' may be used uninitialized [-Wmaybe-uninitialized] 155 | memmove(&buf[tail_dst], &buf[tail_src], tail_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/buffalo-enc.c: In function 'main': src/buffalo-enc.c:119:36: note: 'tail_len' was declared here 119 | ssize_t src_len, tail_dst, tail_len, tail_src; | ^~~~~~~~ [ 6%] Building C object CMakeFiles/buffalo-enc.dir/src/buffalo-lib.c.o [ 7%] Linking C executable buffalo-enc [ 7%] Built target buffalo-enc [ 7%] Building C object CMakeFiles/buffalo-tag.dir/src/buffalo-tag.c.o [ 8%] Building C object CMakeFiles/buffalo-tag.dir/src/buffalo-lib.c.o [ 8%] Linking C executable buffalo-tag [ 8%] Built target buffalo-tag [ 9%] Building C object CMakeFiles/buffalo-tftp.dir/src/buffalo-tftp.c.o [ 9%] Building C object CMakeFiles/buffalo-tftp.dir/src/buffalo-lib.c.o [ 10%] Linking C executable buffalo-tftp [ 10%] Built target buffalo-tftp [ 10%] Building C object CMakeFiles/dgfirmware.dir/src/dgfirmware.c.o [ 11%] Linking C executable dgfirmware [ 11%] Built target dgfirmware [ 12%] Building C object CMakeFiles/dgn3500sum.dir/src/dgn3500sum.c.o [ 12%] Linking C executable dgn3500sum [ 12%] Built target dgn3500sum [ 13%] Building C object CMakeFiles/dns313-header.dir/src/dns313-header.c.o [ 13%] Linking C executable dns313-header [ 13%] Built target dns313-header [ 14%] Building C object CMakeFiles/edimax_fw_header.dir/src/edimax_fw_header.c.o [ 14%] Linking C executable edimax_fw_header [ 14%] Built target edimax_fw_header [ 15%] Building C object CMakeFiles/encode_crc.dir/src/encode_crc.c.o [ 15%] Linking C executable encode_crc [ 15%] Built target encode_crc [ 16%] Building C object CMakeFiles/fix-u-media-header.dir/src/fix-u-media-header.c.o [ 17%] Building C object CMakeFiles/fix-u-media-header.dir/src/cyg_crc32.c.o [ 17%] Linking C executable fix-u-media-header [ 17%] Built target fix-u-media-header [ 18%] Building C object CMakeFiles/hcsmakeimage.dir/src/hcsmakeimage.c.o [ 18%] Building C object CMakeFiles/hcsmakeimage.dir/src/bcmalgo.c.o [ 19%] Linking C executable hcsmakeimage [ 19%] Built target hcsmakeimage [ 19%] Building C object CMakeFiles/imagetag.dir/src/imagetag.c.o [ 20%] Building C object CMakeFiles/imagetag.dir/src/imagetag_cmdline.c.o [ 20%] Building C object CMakeFiles/imagetag.dir/src/cyg_crc32.c.o [ 21%] Linking C executable imagetag [ 21%] Built target imagetag [ 21%] Building C object CMakeFiles/jcgimage.dir/src/jcgimage.c.o src/jcgimage.c: In function 'main': src/jcgimage.c:411:21: warning: 'fd2' may be used uninitialized [-Wmaybe-uninitialized] 411 | if (read(fd2, map+off2, size2) != size2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jcgimage.c:313:23: note: 'fd2' was declared here 313 | int fdo, fd1, fd2; | ^~~ [ 22%] Linking C executable jcgimage [ 22%] Built target jcgimage [ 23%] Building C object CMakeFiles/lxlfw.dir/src/lxlfw.c.o [ 23%] Linking C executable lxlfw [ 23%] Built target lxlfw [ 24%] Building C object CMakeFiles/lzma2eva.dir/src/lzma2eva.c.o [ 24%] Linking C executable lzma2eva [ 24%] Built target lzma2eva [ 25%] Building C object CMakeFiles/makeamitbin.dir/src/makeamitbin.c.o [ 25%] Linking C executable makeamitbin [ 25%] Built target makeamitbin [ 26%] Building C object CMakeFiles/mkbrncmdline.dir/src/mkbrncmdline.c.o [ 26%] Linking C executable mkbrncmdline [ 26%] Built target mkbrncmdline [ 27%] Building C object CMakeFiles/mkbrnimg.dir/src/mkbrnimg.c.o [ 28%] Linking C executable mkbrnimg [ 28%] Built target mkbrnimg [ 28%] Building C object CMakeFiles/mkbuffaloimg.dir/src/mkbuffaloimg.c.o [ 29%] Linking C executable mkbuffaloimg [ 29%] Built target mkbuffaloimg [ 29%] Building C object CMakeFiles/mkcameofw.dir/src/mkcameofw.c.o [ 30%] Linking C executable mkcameofw [ 30%] Built target mkcameofw [ 30%] Building C object CMakeFiles/mkcasfw.dir/src/mkcasfw.c.o [ 31%] Linking C executable mkcasfw [ 31%] Built target mkcasfw [ 31%] Building C object CMakeFiles/mkchkimg.dir/src/mkchkimg.c.o [ 32%] Linking C executable mkchkimg [ 32%] Built target mkchkimg [ 32%] Building C object CMakeFiles/mkcsysimg.dir/src/mkcsysimg.c.o [ 33%] Linking C executable mkcsysimg [ 33%] Built target mkcsysimg [ 34%] Building C object CMakeFiles/mkdapimg.dir/src/mkdapimg.c.o [ 34%] Linking C executable mkdapimg [ 34%] Built target mkdapimg [ 35%] Building C object CMakeFiles/mkdapimg2.dir/src/mkdapimg2.c.o [ 35%] Linking C executable mkdapimg2 [ 35%] Built target mkdapimg2 [ 36%] Building C object CMakeFiles/mkdhpimg.dir/src/mkdhpimg.c.o [ 36%] Building C object CMakeFiles/mkdhpimg.dir/src/buffalo-lib.c.o [ 37%] Linking C executable mkdhpimg [ 37%] Built target mkdhpimg [ 37%] Building C object CMakeFiles/mkdlinkfw.dir/src/mkdlinkfw.c.o [ 38%] Building C object CMakeFiles/mkdlinkfw.dir/src/mkdlinkfw-lib.c.o [ 39%] Linking C executable mkdlinkfw [ 39%] Built target mkdlinkfw [ 39%] Building C object CMakeFiles/mkdniimg.dir/src/mkdniimg.c.o [ 40%] Linking C executable mkdniimg [ 40%] Built target mkdniimg [ 40%] Building C object CMakeFiles/mkedimaximg.dir/src/mkedimaximg.c.o src/mkedimaximg.c: In function 'main': src/mkedimaximg.c:182:35: warning: taking address of packed member of 'struct header' may result in an unaligned pointer value [-Waddress-of-packed-member] 182 | if (!strtou32(optarg, &header.flash)) { | ^~~~~~~~~~~~~ src/mkedimaximg.c:188:35: warning: taking address of packed member of 'struct header' may result in an unaligned pointer value [-Waddress-of-packed-member] 188 | if (!strtou32(optarg, &header.start)) { | ^~~~~~~~~~~~~ src/mkedimaximg.c:217:21: warning: the comparison will always evaluate as 'false' for the address of 'sign' will never be NULL [-Waddress] 217 | if (header.sign == NULL) { | ^~ src/mkedimaximg.c:33:19: note: 'sign' declared here 33 | unsigned char sign[4]; | ^~~~ src/mkedimaximg.c:222:22: warning: the comparison will always evaluate as 'false' for the address of 'model' will never be NULL [-Waddress] 222 | if (header.model == NULL) { | ^~ src/mkedimaximg.c:36:19: note: 'model' declared here 36 | unsigned char model[4]; | ^~~~~ [ 41%] Linking C executable mkedimaximg [ 41%] Built target mkedimaximg [ 41%] Building C object CMakeFiles/mkfwimage.dir/src/mkfwimage.c.o [ 42%] Linking C executable mkfwimage [ 42%] Built target mkfwimage [ 42%] Building C object CMakeFiles/mkfwimage2.dir/src/mkfwimage2.c.o src/mkfwimage2.c: In function 'write_part': src/mkfwimage2.c:103:9: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 103 | strncpy(p->magic, MAGIC_PART, MAGIC_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 43%] Linking C executable mkfwimage2 [ 43%] Built target mkfwimage2 [ 43%] Building C object CMakeFiles/mkheader_gemtek.dir/src/mkheader_gemtek.c.o src/mkheader_gemtek.c: In function 'main': src/mkheader_gemtek.c:169:36: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 169 | my_hdr.imagesz = le32(flen + HDRLEN); | ^ src/mkheader_gemtek.c:48:22: note: in definition of macro 'le32' 48 | # define le32(x) (((x & 0xff000000) >> 24) | \ | ^ src/mkheader_gemtek.c:169:36: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 169 | my_hdr.imagesz = le32(flen + HDRLEN); | ^ src/mkheader_gemtek.c:49:22: note: in definition of macro 'le32' 49 | ((x & 0x00ff0000) >> 8) | \ | ^ src/mkheader_gemtek.c:169:36: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 169 | my_hdr.imagesz = le32(flen + HDRLEN); | ^ src/mkheader_gemtek.c:50:22: note: in definition of macro 'le32' 50 | ((x & 0x0000ff00) << 8) | \ | ^ src/mkheader_gemtek.c:169:36: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 169 | my_hdr.imagesz = le32(flen + HDRLEN); | ^ src/mkheader_gemtek.c:51:22: note: in definition of macro 'le32' 51 | ((x & 0x000000ff) << 24)) | ^ [ 44%] Linking C executable mkheader_gemtek [ 44%] Built target mkheader_gemtek [ 45%] Building C object CMakeFiles/mkhilinkfw.dir/src/mkhilinkfw.c.o src/mkhilinkfw.c: In function 'main': src/mkhilinkfw.c:163:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 163 | DES_set_key_unchecked((const_DES_cblock *)DES_KEY, &schedule); | ^~~~~~~~~~~~~~~~~~~~~ In file included from src/mkhilinkfw.c:17: ../../host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ src/mkhilinkfw.c: In function 'do_encrypt': src/mkhilinkfw.c:281:17: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 281 | DES_ecb_encrypt(pblock, pblock, &schedule, DES_ENCRYPT); | ^~~~~~~~~~~~~~~ ../../host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ src/mkhilinkfw.c:288:17: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | DES_ecb_encrypt(pblock, pblock, &schedule, DES_ENCRYPT); | ^~~~~~~~~~~~~~~ ../../host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ src/mkhilinkfw.c: In function 'do_decrypt': src/mkhilinkfw.c:301:17: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | DES_ecb_encrypt(pblock, pblock, &schedule, DES_DECRYPT); | ^~~~~~~~~~~~~~~ ../../host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ src/mkhilinkfw.c:308:17: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | DES_ecb_encrypt(pblock, pblock, &schedule, DES_DECRYPT); | ^~~~~~~~~~~~~~~ ../../host/mips64-buildroot-linux-uclibc/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ [ 45%] Linking C executable mkhilinkfw [ 45%] Built target mkhilinkfw [ 46%] Building C object CMakeFiles/mkmerakifw.dir/src/mkmerakifw.c.o [ 46%] Building C object CMakeFiles/mkmerakifw.dir/src/sha1.c.o [ 47%] Linking C executable mkmerakifw [ 47%] Built target mkmerakifw [ 47%] Building C object CMakeFiles/mkmerakifw-old.dir/src/mkmerakifw-old.c.o [ 48%] Linking C executable mkmerakifw-old [ 48%] Built target mkmerakifw-old [ 48%] Building C object CMakeFiles/mkmylofw.dir/src/mkmylofw.c.o [ 49%] Linking C executable mkmylofw [ 49%] Built target mkmylofw [ 50%] Building C object CMakeFiles/mkplanexfw.dir/src/mkplanexfw.c.o [ 50%] Building C object CMakeFiles/mkplanexfw.dir/src/sha1.c.o [ 51%] Linking C executable mkplanexfw [ 51%] Built target mkplanexfw [ 51%] Building C object CMakeFiles/mkporayfw.dir/src/mkporayfw.c.o [ 52%] Linking C executable mkporayfw [ 52%] Built target mkporayfw [ 52%] Building C object CMakeFiles/mkrasimage.dir/src/mkrasimage.c.o [ 53%] Linking C executable mkrasimage [ 53%] Built target mkrasimage [ 53%] Building C object CMakeFiles/mkrtn56uimg.dir/src/mkrtn56uimg.c.o [ 54%] Linking C executable mkrtn56uimg [ 54%] Built target mkrtn56uimg [ 54%] Building C object CMakeFiles/mksenaofw.dir/src/mksenaofw.c.o [ 55%] Building C object CMakeFiles/mksenaofw.dir/src/md5.c.o [ 56%] Linking C executable mksenaofw [ 56%] Built target mksenaofw [ 56%] Building C object CMakeFiles/mksercommfw.dir/src/mksercommfw.c.o src/mksercommfw.c: In function 'main': src/mksercommfw.c:240:9: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 240 | strncpy(image.file_data + hdr_offset + 0, magic, 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mksercommfw.c:245:9: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 245 | strncpy(image.file_data + hdr_offset + 63, magic, 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 57%] Linking C executable mksercommfw [ 57%] Built target mksercommfw [ 57%] Building C object CMakeFiles/mktitanimg.dir/src/mktitanimg.c.o src/mktitanimg.c: In function 'cs_read_sum': src/mktitanimg.c:533:16: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'char[8]' [-Warray-bounds=] 533 | return *((unsigned long*)&buf[4]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mktitanimg.c:529:14: note: at offset 4 into object 'buf' of size 8 529 | char buf[8]; | ^~~ [ 58%] Linking C executable mktitanimg [ 58%] Built target mktitanimg [ 58%] Building C object CMakeFiles/mktplinkfw.dir/src/mktplinkfw.c.o [ 59%] Building C object CMakeFiles/mktplinkfw.dir/src/mktplinkfw-lib.c.o [ 59%] Building C object CMakeFiles/mktplinkfw.dir/src/md5.c.o [ 60%] Linking C executable mktplinkfw [ 60%] Built target mktplinkfw [ 60%] Building C object CMakeFiles/mktplinkfw2.dir/src/mktplinkfw2.c.o [ 61%] Building C object CMakeFiles/mktplinkfw2.dir/src/mktplinkfw-lib.c.o [ 62%] Building C object CMakeFiles/mktplinkfw2.dir/src/md5.c.o [ 62%] Linking C executable mktplinkfw2 [ 62%] Built target mktplinkfw2 [ 63%] Building C object CMakeFiles/mkwrggimg.dir/src/mkwrggimg.c.o [ 63%] Building C object CMakeFiles/mkwrggimg.dir/src/md5.c.o [ 64%] Linking C executable mkwrggimg [ 64%] Built target mkwrggimg [ 64%] Building C object CMakeFiles/mkwrgimg.dir/src/mkwrgimg.c.o [ 65%] Building C object CMakeFiles/mkwrgimg.dir/src/md5.c.o [ 65%] Linking C executable mkwrgimg [ 65%] Built target mkwrgimg [ 66%] Building C object CMakeFiles/mkzcfw.dir/src/mkzcfw.c.o src/mkzcfw.c: In function 'usage': src/mkzcfw.c:128:33: warning: '%s' directive argument is null [-Wformat-overflow=] 128 | fprintf(stream, "Usage: %s [OPTIONS...]\n", progname); | ^~ src/mkzcfw.c: In function 'get_file_stat': src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:152:17: note: in expansion of macro 'ERRS' 152 | ERRS("stat failed on %s", fdata->file_name); | ^~~~ src/mkzcfw.c: In function 'read_to_buf': src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:174:17: note: in expansion of macro 'ERRS' 174 | ERRS("unable to read from file \"%s\"", fdata->file_name); | ^~~~ src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:167:17: note: in expansion of macro 'ERRS' 167 | ERRS("could not open \"%s\" for reading", fdata->file_name); | ^~~~ In function 'write_fw', inlined from 'build_fw' at src/mkzcfw.c:343:8, inlined from 'main' at src/mkzcfw.c:392:8: src/mkzcfw.c:105:25: warning: '%s' directive argument is null [-Wformat-overflow=] 105 | fprintf(stderr, "[%s] " fmt "\n", progname, ## __VA_ARGS__ ); \ | ^~~~~~~ src/mkzcfw.c:255:9: note: in expansion of macro 'DBG' 255 | DBG("firmware file \"%s\" completed", ofname); | ^~~ src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:251:17: note: in expansion of macro 'ERRS' 251 | ERRS("unable to write output file"); | ^~~~ src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:244:17: note: in expansion of macro 'ERRS' 244 | ERRS("could not open \"%s\" for writing", ofname); | ^~~~ In function 'build_fw', inlined from 'main' at src/mkzcfw.c:392:8: src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:284:17: note: in expansion of macro 'ERR' 284 | ERR("no memory for buffer\n"); | ^~~ In function 'check_options', inlined from 'main' at src/mkzcfw.c:388:8: src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:230:17: note: in expansion of macro 'ERR' 230 | ERR("no output file specified"); | ^~~ src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:225:17: note: in expansion of macro 'ERR' 225 | ERR("rootfs image is too big"); | ^~~ src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:216:17: note: in expansion of macro 'ERR' 216 | ERR("no rootfs image specified"); | ^~~ src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:211:17: note: in expansion of macro 'ERR' 211 | ERR("kernel image is too big"); | ^~~ src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:202:17: note: in expansion of macro 'ERR' 202 | ERR("no kernel image specified"); | ^~~ src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:197:17: note: in expansion of macro 'ERR' 197 | ERR("unknown/unsupported board id \"%s\"", board_id); | ^~~ src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ src/mkzcfw.c:191:17: note: in expansion of macro 'ERR' 191 | ERR("no board specified"); | ^~~ [ 67%] Building C object CMakeFiles/mkzcfw.dir/src/cyg_crc32.c.o [ 67%] Linking C executable mkzcfw [ 67%] Built target mkzcfw [ 68%] Building C object CMakeFiles/mkzynfw.dir/src/mkzynfw.c.o src/mkzynfw.c: In function 'write_out_image': src/mkzynfw.c:833:26: warning: taking address of packed member of 'struct zyn_rombin_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 833 | res = read_magic(&hdr.ocsum); | ^~~~~~~~~~ [ 68%] Linking C executable mkzynfw [ 68%] Built target mkzynfw [ 69%] Building C object CMakeFiles/mkzyxelzldfw.dir/src/mkzyxelzldfw.c.o src/mkzyxelzldfw.c: In function 'main': src/mkzyxelzldfw.c:649:44: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types] 649 | localtime(&attr.st_mtime)); | ^~~~~~~~~~~~~~ | | | int * In file included from src/mkzyxelzldfw.c:14: ../../host/mips64-buildroot-linux-uclibc/sysroot/usr/include/time.h:238:44: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int *' 238 | extern struct tm *localtime (const time_t *__timer) __THROW; | ~~~~~~~~~~~~~~^~~~~~~ make[3]: *** [CMakeFiles/mkzyxelzldfw.dir/build.make:76: CMakeFiles/mkzyxelzldfw.dir/src/mkzyxelzldfw.c.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:1615: CMakeFiles/mkzyxelzldfw.dir/all] Error 2 make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make: *** [package/pkg-generic.mk:289: /home/autobuild/autobuild/instance-17/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-17/buildroot'