>>> firmware-utils 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 Extracting gzip -d -c /home/buildroot/instance-0/dl/firmware-utils/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4-git4.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4 -xf - >>> firmware-utils 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 Patching >>> firmware-utils 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 Configuring (mkdir -p /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/ && cd /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/ && 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/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/ -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=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/buildroot/instance-0/output-1/host/bin/riscv32-buildroot-linux-uclibc-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found ZLIB: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/sysroot/usr/lib/libz.so (found version "1.3.1") -- Found OpenSSL: /home/buildroot/instance-0/output-1/host/riscv32-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/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4 >>> firmware-utils 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 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/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/ -j17 -- make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 0%] Building C object CMakeFiles/add_header.dir/src/add_header.c.o [ 0%] Building C object CMakeFiles/asustrx.dir/src/asustrx.c.o [ 0%] Building C object CMakeFiles/addpattern.dir/src/addpattern.c.o [ 1%] Building C object CMakeFiles/buffalo-enc.dir/src/buffalo-enc.c.o [ 1%] Building C object CMakeFiles/bcm4908kernel.dir/src/bcm4908kernel.c.o [ 1%] Building C object CMakeFiles/bcm4908asus.dir/src/bcm4908asus.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 1%] Building C object CMakeFiles/buffalo-enc.dir/src/buffalo-lib.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 2%] Building C object CMakeFiles/buffalo-tftp.dir/src/buffalo-tftp.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 2%] Building C object CMakeFiles/buffalo-tag.dir/src/buffalo-tag.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 2%] Building C object CMakeFiles/dgfirmware.dir/src/dgfirmware.c.o [ 3%] Building C object CMakeFiles/dgn3500sum.dir/src/dgn3500sum.c.o [ 4%] Building C object CMakeFiles/dns313-header.dir/src/dns313-header.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 6%] Building C object CMakeFiles/edimax_fw_header.dir/src/edimax_fw_header.c.o [ 6%] Building C object CMakeFiles/fix-u-media-header.dir/src/fix-u-media-header.c.o [ 6%] Building C object CMakeFiles/imagetag.dir/src/imagetag.c.o [ 7%] Building C object CMakeFiles/encode_crc.dir/src/encode_crc.c.o [ 8%] Building C object CMakeFiles/hcsmakeimage.dir/src/hcsmakeimage.c.o /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c: In function 'tagfile': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c:302:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 302 | sprintf(tag.totalLength, "%lu", imagelen); | ~~^ ~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c:306:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 306 | sprintf(tag.cfeLength, "%lu", cfelen); | ~~^ ~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c:313:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 313 | sprintf(tag.kernelAddress, "%lu", kerneloff); | ~~^ ~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c:314:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 314 | sprintf(tag.kernelLength, "%lu", kernellen + rootfsoffpadlen); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c:317:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 317 | sprintf(tag.flashImageStart, "%lu", rootfsoff); | ~~^ ~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c:318:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 318 | sprintf(tag.flashRootLength, "%lu", rootfslen); | ~~^ ~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c:320:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 320 | sprintf(tag.flashImageStart, "%lu", kerneloff); | ~~^ ~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/imagetag.c:321:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 321 | sprintf(tag.flashRootLength, "%lu", rootfslen + sizeof(deadcode)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u [ 9%] Linking C executable bcm4908kernel In function 'encrypt_file', inlined from 'main' at /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/buffalo-enc.c:309:9: /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ~~~~~~~~~^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/buffalo-enc.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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 /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/buffalo-enc.c:309:9: /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/buffalo-enc.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/buffalo-enc.c:119:36: note: 'tail_len' was declared here 119 | ssize_t src_len, tail_dst, tail_len, tail_src; | ^~~~~~~~ [ 9%] Building C object CMakeFiles/buffalo-tftp.dir/src/buffalo-lib.c.o [ 9%] Linking C executable dns313-header make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 9%] Built target bcm4908kernel [ 10%] Linking C executable add_header make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 10%] Building C object CMakeFiles/jcgimage.dir/src/jcgimage.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 11%] Linking C executable addpattern [ 12%] Building C object CMakeFiles/imagetag.dir/src/imagetag_cmdline.c.o [ 12%] Built target dns313-header make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 13%] Linking C executable asustrx make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 13%] Linking C executable edimax_fw_header make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 15%] Building C object CMakeFiles/fix-u-media-header.dir/src/cyg_crc32.c.o [ 15%] Linking C executable dgfirmware [ 15%] Built target add_header make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 15%] Linking C executable dgn3500sum [ 15%] Built target addpattern [ 16%] Building C object CMakeFiles/lxlfw.dir/src/lxlfw.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 17%] Linking C executable bcm4908asus make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 17%] Built target asustrx [ 17%] Built target edimax_fw_header make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 17%] Building C object CMakeFiles/imagetag.dir/src/cyg_crc32.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 18%] Building C object CMakeFiles/buffalo-tag.dir/src/buffalo-lib.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 18%] Built target dgfirmware make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 18%] Linking C executable encode_crc make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 19%] Building C object CMakeFiles/lzma2eva.dir/src/lzma2eva.c.o [ 19%] Built target dgn3500sum make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 19%] Built target bcm4908asus make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 19%] Building C object CMakeFiles/hcsmakeimage.dir/src/bcmalgo.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 20%] Building C object CMakeFiles/makeamitbin.dir/src/makeamitbin.c.o [ 21%] Linking C executable buffalo-enc make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 22%] Building C object CMakeFiles/mkbrncmdline.dir/src/mkbrncmdline.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 22%] Built target encode_crc make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 22%] Linking C executable fix-u-media-header make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 22%] Building C object CMakeFiles/mkbuffaloimg.dir/src/mkbuffaloimg.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 22%] Building C object CMakeFiles/mkcameofw.dir/src/mkcameofw.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 22%] Built target buffalo-enc make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 23%] Building C object CMakeFiles/mkbrnimg.dir/src/mkbrnimg.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 23%] Building C object CMakeFiles/mkcsysimg.dir/src/mkcsysimg.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/jcgimage.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/jcgimage.c:411:21: warning: 'off2' may be used uninitialized [-Wmaybe-uninitialized] 411 | if (read(fd2, map+off2, size2) != size2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/jcgimage.c:314:50: note: 'off2' was declared here 314 | size_t size1, size2, sizeu, sizeo, off1, off2; | ^~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/jcgimage.c:411:21: warning: 'fd2' may be used uninitialized [-Wmaybe-uninitialized] 411 | if (read(fd2, map+off2, size2) != size2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/jcgimage.c:313:23: note: 'fd2' was declared here 313 | int fdo, fd1, fd2; | ^~~ [ 23%] Building C object CMakeFiles/mkcasfw.dir/src/mkcasfw.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 24%] Linking C executable buffalo-tftp [ 24%] Built target fix-u-media-header make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 24%] Linking C executable lxlfw [ 24%] Building C object CMakeFiles/mkchkimg.dir/src/mkchkimg.c.o [ 24%] Built target buffalo-tftp make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 25%] Linking C executable jcgimage make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 25%] Linking C executable lzma2eva make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 26%] Building C object CMakeFiles/mkdapimg.dir/src/mkdapimg.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 27%] Building C object CMakeFiles/mkdapimg2.dir/src/mkdapimg2.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 28%] Linking C executable hcsmakeimage [ 28%] Built target lxlfw [ 28%] Built target jcgimage [ 28%] Linking C executable mkbrncmdline [ 29%] Linking C executable mkbuffaloimg [ 29%] Linking C executable buffalo-tag [ 30%] Building C object CMakeFiles/mkdhpimg.dir/src/mkdhpimg.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 30%] Linking C executable makeamitbin make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 30%] Built target hcsmakeimage [ 30%] Built target lzma2eva make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 30%] Built target mkbuffaloimg /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkdapimg2.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkdapimg2.c:193:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 193 | fprintf(stderr, "imgHdr.hdr_len = %lu\n", sizeof(imghdr)); | ~~^ ~~~~~~~~~~~~~~ | | | | | unsigned int | long unsigned int | %u make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 30%] Building C object CMakeFiles/mkdhpimg.dir/src/buffalo-lib.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 30%] Building C object CMakeFiles/mkdlinkfw.dir/src/mkdlinkfw.c.o [ 30%] Built target makeamitbin [ 31%] Linking C executable mkbrnimg make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 31%] Built target mkbrncmdline [ 31%] Building C object CMakeFiles/mkdniimg.dir/src/mkdniimg.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 31%] Building C object CMakeFiles/mkedimaximg.dir/src/mkedimaximg.c.o [ 31%] Built target buffalo-tag [ 31%] Building C object CMakeFiles/mkfwimage.dir/src/mkfwimage.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkcasfw.c: In function 'image_writeout_file': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkcasfw.c:687:16: warning: 'res' may be used uninitialized [-Wmaybe-uninitialized] 687 | return res; | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkcasfw.c:650:13: note: 'res' was declared here 650 | int res; | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkcsysimg.c: In function 'block_writeout_file': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkcsysimg.c:626:16: warning: 'res' may be used uninitialized [-Wmaybe-uninitialized] 626 | return res; | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkcsysimg.c:589:13: note: 'res' was declared here 589 | int res; | ^~~ [ 32%] Linking C executable imagetag [ 32%] Built target mkbrnimg [ 33%] Building C object CMakeFiles/mkdlinkfw.dir/src/mkdlinkfw-lib.c.o [ 34%] Linking C executable mkcameofw make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkdlinkfw.c: In function 'find_auh_headers': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkdlinkfw.c:235:72: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] 235 | printf("Find proper AUH header at: 0x%lX!\n", | ~~^ | | | long unsigned int | %X 236 | tmp_buf - buf); | ~~~~~~~~~~~~~ | | | int /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkdlinkfw.c: In function 'check_stag_header': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkdlinkfw.c:287:57: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] 287 | printf("Find proper STAG header at: 0x%lX!\n", | ~~^ | | | long unsigned int | %X 288 | (char *)header - buf); | ~~~~~~~~~~~~~~~~~~~~ | | | int /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkdlinkfw.c: In function 'check_sch2_header': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkdlinkfw.c:316:57: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] 316 | printf("Find proper SCH2 header at: 0x%lX!\n", | ~~^ | | | long unsigned int | %X 317 | (char *)header - buf); | ~~~~~~~~~~~~~~~~~~~~ | | | int make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 34%] Building C object CMakeFiles/mkfwimage2.dir/src/mkfwimage2.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 34%] Linking C executable mkdapimg2 [ 34%] Building C object CMakeFiles/mkheader_gemtek.dir/src/mkheader_gemtek.c.o /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkedimaximg.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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)) { | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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)) { | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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) { | ^~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkedimaximg.c:33:19: note: 'sign' declared here 33 | unsigned char sign[4]; | ^~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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) { | ^~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkedimaximg.c:36:19: note: 'model' declared here 36 | unsigned char model[4]; | ^~~~~ [ 35%] Building C object CMakeFiles/mkhilinkfw.dir/src/mkhilinkfw.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 35%] Built target imagetag [ 35%] Built target mkdapimg2 make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 35%] Building C object CMakeFiles/mkmylofw.dir/src/mkmylofw.c.o [ 36%] Linking C executable mkcasfw make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 36%] Linking C executable mkdapimg make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' In file included from /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c:20: /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c: In function 'print_image_info': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c:145:22: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'long long int' [-Wformat=] 145 | INFO(" %10s: %08x %08x %08x %08x %8ld bytes (free: %8ld)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 151 | d->stats.st_size, | ~~~~~~~~~~~~~~~~ | | | long long int /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/fw.h:59:35: note: in definition of macro 'INFO' 59 | #define INFO(...) fprintf(stdout, __VA_ARGS__) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c:145:54: note: format string is defined here 145 | INFO(" %10s: %08x %08x %08x %08x %8ld bytes (free: %8ld)\n", | ~~~^ | | | long int | %8lld /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c:145:22: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'long long int' [-Wformat=] 145 | INFO(" %10s: %08x %08x %08x %08x %8ld bytes (free: %8ld)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 152 | d->partition_length - d->stats.st_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long int /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/fw.h:59:35: note: in definition of macro 'INFO' 59 | #define INFO(...) fprintf(stdout, __VA_ARGS__) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c:145:72: note: format string is defined here 145 | INFO(" %10s: %08x %08x %08x %08x %8ld bytes (free: %8ld)\n", | ~~~^ | | | long int | %8lld [ 37%] Building C object CMakeFiles/mkmerakifw.dir/src/mkmerakifw.c.o /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c: In function 'image_layout_verify': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/fw.h:60:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'long long int' [-Wformat=] 60 | #define ERROR(...) fprintf(stderr, "ERROR: "__VA_ARGS__) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c:288:25: note: in expansion of macro 'ERROR' 288 | ERROR("File '%s' too big (%d) - max size: 0x%08X (exceeds %lu bytes)\n", | ^~~~~ make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkfwimage2.c: In function 'write_part': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 37%] Built target mkcameofw [ 37%] Building C object CMakeFiles/mkmerakifw-old.dir/src/mkmerakifw-old.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 38%] Building C object CMakeFiles/mkplanexfw.dir/src/mkplanexfw.c.o /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkhilinkfw.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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 /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkhilinkfw.c:17: /home/buildroot/instance-0/output-1/host/riscv32-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); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkhilinkfw.c: In function 'do_encrypt': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/riscv32-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, | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/riscv32-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, | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkhilinkfw.c: In function 'do_decrypt': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/riscv32-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, | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/riscv32-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, | ^~~~~~~~~~~~~~~ [ 39%] Linking C executable mkdniimg [ 40%] Linking C executable mkchkimg [ 41%] Linking C executable mkedimaximg [ 41%] Built target mkcasfw [ 42%] Linking C executable mkcsysimg make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 42%] Building C object CMakeFiles/mkporayfw.dir/src/mkporayfw.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 42%] Built target mkchkimg /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkmerakifw-old.c: In function 'meraki_build_hdr': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkmerakifw-old.c:86:25: warning: format '%lX' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 86 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkmerakifw-old.c:253:25: note: in expansion of macro 'ERR' 253 | ERR("kernel file is too big - max size: 0x%08lX\n", kspace); | ^~~ [ 43%] Linking C executable mkdhpimg /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkmerakifw.c: In function 'main': [ 44%] Linking C executable mkheader_gemtek /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkmerakifw.c:115:25: warning: format '%lX' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 115 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkmerakifw.c:250:17: note: in expansion of macro 'ERR' 250 | ERR("file \"%s\" is too big - max size: 0x%08lX\n", | ^~~ [ 44%] Built target mkdapimg make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Linking C executable mkdlinkfw make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Building C object CMakeFiles/mkplanexfw.dir/src/sha1.c.o [ 45%] Built target mkedimaximg [ 45%] Building C object CMakeFiles/mkmerakifw.dir/src/sha1.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Built target mkcsysimg [ 45%] Built target mkdniimg make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Building C object CMakeFiles/mkrasimage.dir/src/mkrasimage.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Built target mkheader_gemtek make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Built target mkdhpimg [ 45%] Building C object CMakeFiles/mkrtn56uimg.dir/src/mkrtn56uimg.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Building C object CMakeFiles/mksenaofw.dir/src/mksenaofw.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Building C object CMakeFiles/mksercommfw.dir/src/mksercommfw.c.o /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkplanexfw.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkplanexfw.c:75:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'long long int' [-Wformat=] 75 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkplanexfw.c:192:17: note: in expansion of macro 'ERR' 192 | ERR("file '%s' is too big - max size: 0x%08X (exceeds %lu bytes)\n", | ^~~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Built target mkdlinkfw make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 45%] Building C object CMakeFiles/mktitanimg.dir/src/mktitanimg.c.o [ 45%] Linking C executable mkhilinkfw make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 46%] Linking C executable mkfwimage [ 47%] Building C object CMakeFiles/mksenaofw.dir/src/md5.c.o [ 48%] Linking C executable mkmerakifw-old make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 48%] Building C object CMakeFiles/mktplinkfw2.dir/src/mktplinkfw2.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 48%] Building C object CMakeFiles/mktplinkfw.dir/src/mktplinkfw.c.o [ 49%] Linking C executable mkfwimage2 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 49%] Built target mkmerakifw-old make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 49%] Built target mkfwimage make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 49%] Built target mkfwimage2 [ 49%] Built target mkhilinkfw [ 50%] Building C object CMakeFiles/mkwrggimg.dir/src/mkwrggimg.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mksercommfw.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 50%] Building C object CMakeFiles/mkwrggimg.dir/src/md5.c.o [ 51%] Building C object CMakeFiles/mktplinkfw2.dir/src/mktplinkfw-lib.c.o [ 51%] Building C object CMakeFiles/mkwrgimg.dir/src/mkwrgimg.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 52%] Linking C executable mkrtn56uimg make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 53%] Linking C executable mkporayfw [ 54%] Building C object CMakeFiles/mkzcfw.dir/src/mkzcfw.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 54%] Built target mkrtn56uimg [ 55%] Linking C executable mkrasimage [ 56%] Linking C executable mksercommfw [ 57%] Building C object CMakeFiles/mktplinkfw2.dir/src/md5.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 58%] Building C object CMakeFiles/mkzcfw.dir/src/cyg_crc32.c.o [ 58%] Built target mkporayfw [ 59%] Linking C executable mkmylofw make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 60%] Building C object CMakeFiles/mkwrgimg.dir/src/md5.c.o [ 61%] Linking C executable mkmerakifw /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c: In function 'usage': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:128:33: warning: '%s' directive argument is null [-Wformat-overflow=] 128 | fprintf(stream, "Usage: %s [OPTIONS...]\n", progname); | ^~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 61%] Built target mkrasimage make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c: In function 'get_file_stat': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:152:17: note: in expansion of macro 'ERRS' 152 | ERRS("stat failed on %s", fdata->file_name); | ^~~~ [ 62%] Linking C executable mksenaofw [ 64%] Building C object CMakeFiles/mkzynfw.dir/src/mkzynfw.c.o [ 64%] Building C object CMakeFiles/mktplinkfw.dir/src/mktplinkfw-lib.c.o /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c: In function 'read_to_buf': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:174:17: note: in expansion of macro 'ERRS' 174 | ERRS("unable to read from file \"%s\"", fdata->file_name); | ^~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:167:17: note: in expansion of macro 'ERRS' 167 | ERRS("could not open \"%s\" for reading", fdata->file_name); | ^~~~ make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' In function 'write_fw', inlined from 'build_fw' at /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:343:8, inlined from 'main' at /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:392:8: /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:105:25: warning: '%s' directive argument is null [-Wformat-overflow=] 105 | fprintf(stderr, "[%s] " fmt "\n", progname, ## __VA_ARGS__ ); \ | ^~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:255:9: note: in expansion of macro 'DBG' 255 | DBG("firmware file \"%s\" completed", ofname); | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:251:17: note: in expansion of macro 'ERRS' 251 | ERRS("unable to write output file"); | ^~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:100:25: warning: '%s' directive argument is null [-Wformat-overflow=] 100 | fprintf(stderr, "[%s] *** error: " fmt ": %s\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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 /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:392:8: /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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 /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:388:8: /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:230:17: note: in expansion of macro 'ERR' 230 | ERR("no output file specified"); | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:225:17: note: in expansion of macro 'ERR' 225 | ERR("rootfs image is too big"); | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:216:17: note: in expansion of macro 'ERR' 216 | ERR("no rootfs image specified"); | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:211:17: note: in expansion of macro 'ERR' 211 | ERR("kernel image is too big"); | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:202:17: note: in expansion of macro 'ERR' 202 | ERR("no kernel image specified"); | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:197:17: note: in expansion of macro 'ERR' 197 | ERR("unknown/unsupported board id \"%s\"", board_id); | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:93:25: warning: '%s' directive argument is null [-Wformat-overflow=] 93 | fprintf(stderr, "[%s] *** error: " fmt "\n", \ | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzcfw.c:191:17: note: in expansion of macro 'ERR' 191 | ERR("no board specified"); | ^~~ make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 65%] Linking C executable mkplanexfw [ 66%] Building C object CMakeFiles/mkzyxelzldfw.dir/src/mkzyxelzldfw.c.o [ 66%] Built target mkmylofw [ 66%] Built target mkmerakifw [ 67%] Linking C executable mktitanimg make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 67%] Built target mksercommfw [ 67%] Building C object CMakeFiles/motorola-bin.dir/src/motorola-bin.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 67%] Building C object CMakeFiles/mktplinkfw.dir/src/md5.c.o [ 67%] Built target mksenaofw make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 67%] Built target mkplanexfw [ 67%] Building C object CMakeFiles/mkzyxelzldfw.dir/src/md5.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 67%] Building C object CMakeFiles/nand_ecc.dir/src/nand_ecc.c.o [ 68%] Building C object CMakeFiles/nec-enc.dir/src/nec-enc.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 69%] Building C object CMakeFiles/osbridge-crc.dir/src/osbridge-crc.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 69%] Built target mktitanimg make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 69%] Building C object CMakeFiles/otrx.dir/src/otrx.c.o [ 69%] Linking C executable mkzcfw /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzynfw.c: In function 'write_out_image': make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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); | ^~~~~~~~~~ make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 70%] Building C object CMakeFiles/oseama.dir/src/oseama.c.o /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzyxelzldfw.c: In function 'dump_kernel_header': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzyxelzldfw.c:237:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] 237 | printf("KERNEL HEADER (%lu bytes)\n", sizeof(struct fw_header_kernel)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | unsigned int | long unsigned int | %u /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzyxelzldfw.c: In function 'parse_firmware': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzyxelzldfw.c:34:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 34 | printf("Error: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzyxelzldfw.c:425:17: note: in expansion of macro 'error' 425 | error("File size does not match. Expected %lu, but found %u\n", | ^~~~~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzyxelzldfw.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/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 /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzyxelzldfw.c:14: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/sysroot/usr/include/time.h:236:44: note: expected 'const time_t *' {aka 'const long long int *'} but argument is of type 'int *' 236 | extern struct tm *localtime (const time_t *__timer) __THROW; | ~~~~~~~~~~~~~~^~~~~~~ [ 71%] Building C object CMakeFiles/pc1crypt.dir/src/pc1crypt.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 71%] Built target mkzcfw make[3]: *** [CMakeFiles/mkzyxelzldfw.dir/build.make:76: CMakeFiles/mkzyxelzldfw.dir/src/mkzyxelzldfw.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 71%] Building C object CMakeFiles/oseama.dir/src/md5.c.o [ 72%] Linking C executable mkwrggimg make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 73%] Building C object CMakeFiles/ptgen.dir/src/ptgen.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 73%] Linking C executable mktplinkfw2 [ 73%] Building C object CMakeFiles/seama.dir/src/seama.c.o /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/pc1crypt.c: In function 'pc1_init': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/pc1crypt.c:167:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 167 | strcpy(pc1->cle, "Remsaalps!123456"); | ~~~^~~~~ | | | unsigned char * In file included from /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/pc1crypt.c:18: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-uclibc/sysroot/usr/include/string.h:83:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/pc1crypt.c: In function 'main': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/pc1crypt.c:322:47: warning: pointer targets in passing argument 2 of 'pc1_decrypt_buf' differ in signedness [-Wpointer-sign] 322 | pc1_decrypt_buf(&pc1, buf, datalen); | ^~~ | | | char * /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/pc1crypt.c:170:65: note: expected 'unsigned char *' but argument is of type 'char *' 170 | static void pc1_decrypt_buf(struct pc1_ctx *pc1, unsigned char *buf, | ~~~~~~~~~~~~~~~^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/pc1crypt.c:324:47: warning: pointer targets in passing argument 2 of 'pc1_encrypt_buf' differ in signedness [-Wpointer-sign] 324 | pc1_encrypt_buf(&pc1, buf, datalen); | ^~~ | | | char * /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/pc1crypt.c:179:65: note: expected 'unsigned char *' but argument is of type 'char *' 179 | static void pc1_encrypt_buf(struct pc1_ctx *pc1, unsigned char *buf, | ~~~~~~~~~~~~~~~^~~ [ 73%] Linking C executable nec-enc [ 74%] Linking C executable nand_ecc make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 74%] Linking C executable mkwrgimg make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 74%] Built target mkwrggimg [ 74%] Built target nec-enc [ 74%] Built target mktplinkfw2 [ 75%] Linking C executable motorola-bin make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 75%] Built target nand_ecc make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 75%] Building C object CMakeFiles/ptgen.dir/src/cyg_crc32.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 76%] Building C object CMakeFiles/seama.dir/src/md5.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzynfw.c: In function 'write_out_file': /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzynfw.c:719:16: warning: 'res' may be used uninitialized [-Wmaybe-uninitialized] 719 | return res; | ^~~ /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/src/mkzynfw.c:686:13: note: 'res' was declared here 686 | int res; | ^~~ [ 76%] Built target mkwrgimg make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[2]: *** [CMakeFiles/Makefile2:1615: CMakeFiles/mkzyxelzldfw.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 77%] Building C object CMakeFiles/spw303v.dir/src/spw303v.c.o [ 78%] Building C object CMakeFiles/sign_dlink_ru.dir/src/sign_dlink_ru.c.o [ 79%] Linking C executable mktplinkfw make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 79%] Building C object CMakeFiles/sign_dlink_ru.dir/src/md5.c.o [ 79%] Built target motorola-bin [ 79%] Linking C executable osbridge-crc [ 80%] Linking C executable otrx make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 80%] Built target osbridge-crc [ 80%] Linking C executable pc1crypt [ 80%] Built target mktplinkfw make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 80%] Built target otrx make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 80%] Built target pc1crypt [ 81%] Linking C executable oseama make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 81%] Linking C executable mkzynfw [ 81%] Built target oseama [ 81%] Linking C executable spw303v make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 81%] Built target mkzynfw make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 81%] Built target spw303v [ 82%] Linking C executable sign_dlink_ru [ 83%] Linking C executable ptgen [ 83%] Linking C executable seama make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 83%] Built target sign_dlink_ru make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' [ 83%] Built target ptgen [ 83%] Built target seama make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'