Diff of the two buildlogs: -- --- b1/build.log 2024-10-20 08:13:25.386606692 +0000 +++ b2/build.log 2024-10-20 08:46:11.156510090 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Oct 19 19:51:43 -12 2024 -I: pbuilder-time-stamp: 1729410703 +I: Current time: Sun Oct 20 22:13:44 +14 2024 +I: pbuilder-time-stamp: 1729412024 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ dpkg-source: info: applying Let-options.h-be-the-first-wolfSSL-include.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/19448/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/7428/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 20 08:13 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/7428/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/7428/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='eeb9244ac0134bb1b90f20e0b4df7d85' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='19448' - PS1='# ' - PS2='> ' + INVOCATION_ID=318d3dfab2094bf3aef826cabdb23ed0 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=7428 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.VqmzEJ9t/pbuilderrc_iVOs --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.VqmzEJ9t/b1 --logfile b1/build.log swupdate_2024.05.2+dfsg-2.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.VqmzEJ9t/pbuilderrc_0OIF --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.VqmzEJ9t/b2 --logfile b2/build.log swupdate_2024.05.2+dfsg-2.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/19448/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/7428/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -569,7 +601,7 @@ Get: 375 http://deb.debian.org/debian unstable/main armhf tipa all 2:1.3-21 [2974 kB] Get: 376 http://deb.debian.org/debian unstable/main armhf texlive-xetex all 2024.20240829-2 [11.3 MB] Get: 377 http://deb.debian.org/debian unstable/main armhf texlive-formats-extra all 2024.20240829-1 [7762 kB] -Fetched 256 MB in 5s (47.2 MB/s) +Fetched 256 MB in 29s (8944 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19665 files and directories currently installed.) @@ -1811,8 +1843,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Oct 20 07:53:50 UTC 2024. -Universal Time is now: Sun Oct 20 07:53:50 UTC 2024. +Local time is now: Sun Oct 20 08:16:41 UTC 2024. +Universal Time is now: Sun Oct 20 08:16:41 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up liberror-perl (0.17029-2) ... @@ -2147,7 +2179,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/swupdate-2024.05.2+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../swupdate_2024.05.2+dfsg-2_source.changes +I: user script /srv/workspace/pbuilder/7428/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/7428/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/swupdate-2024.05.2+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../swupdate_2024.05.2+dfsg-2_source.changes dpkg-buildpackage: info: source package swupdate dpkg-buildpackage: info: source version 2024.05.2+dfsg-2 dpkg-buildpackage: info: source distribution unstable @@ -2157,7 +2193,7 @@ debian/rules clean dh clean dh_auto_clean - make -j3 distclean + make -j4 distclean make[1]: Entering directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' make[1]: git: No such file or directory make[1]: git: No such file or directory @@ -2304,7 +2340,7 @@ mv doc/build/man/ipc.1 doc/build/man/swupdate-ipc.1 mv doc/build/man/progress.1 doc/build/man/swupdate-progress.1 dh_auto_build -- V=1 - make -j3 "INSTALL=install --strip-program=true" V=1 + make -j4 "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' make[2]: git: No such file or directory make[2]: git: No such file or directory @@ -2314,7 +2350,10 @@ make[2]: git: No such file or directory gcc -Wp,-MD,ipc/.network_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o ipc/network_ipc.o ipc/network_ipc.c gcc -Wp,-MD,ipc/.network_ipc-if.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o ipc/network_ipc-if.o ipc/network_ipc-if.c +make -f scripts/Makefile.build obj=handlers gcc -Wp,-MD,core/.swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate.o core/swupdate.c +make[2]: git: No such file or directory + gcc -Wp,-MD,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/dummy_handler.o handlers/dummy_handler.c In file included from core/swupdate.c:29: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -2331,47 +2370,15 @@ include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 135 | #define TRACE(format, arg...) \ | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o ipc/progress_ipc.o ipc/progress_ipc.c - gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/cpio_utils.o core/cpio_utils.c - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o -core/swupdate.c: In function 'usage': -core/swupdate.c:133:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 133 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ -make -f scripts/Makefile.build obj=handlers -make[2]: git: No such file or directory - gcc -Wp,-MD,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/dummy_handler.o handlers/dummy_handler.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, - from include/swupdate.h:16, - from core/cpio_utils.c:25: + from handlers/dummy_handler.c:14: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from handlers/dummy_handler.c:14: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 126 | #define ERROR(format, arg...) \ | ^~~ @@ -2388,10 +2395,7 @@ 138 | #define DEBUG(format, arg...) \ | ^~~ gcc -Wp,-MD,handlers/.chain_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/chain_handler.o handlers/chain_handler.c -core/cpio_utils.c: In function 'copy_write': -core/cpio_utils.c:181:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 181 | buf += ret; - | ^~ + gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o ipc/progress_ipc.o ipc/progress_ipc.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from include/chained_handler.h:10, @@ -2415,72 +2419,14 @@ 138 | #define DEBUG(format, arg...) \ | ^~~ gcc -Wp,-MD,handlers/.archive_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/archive_handler.o handlers/archive_handler.c - gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/notifier.o core/notifier.c -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from handlers/archive_handler.c:23: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -handlers/archive_handler.c: In function 'extract': -handlers/archive_handler.c:218:17: warning: 'old_locale' may be used uninitialized [-Wmaybe-uninitialized] - 218 | uselocale(old_locale); - | ^~~~~~~~~~~~~~~~~~~~~ -handlers/archive_handler.c:85:18: note: 'old_locale' was declared here - 85 | locale_t old_locale; - | ^~~~~~~~~~ -In file included from core/notifier.c:24: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -core/notifier.c: In function 'notify_init': -core/notifier.c:541:54: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 4 has type 'ino_t *' {aka 'long long unsigned int *'} [-Wformat=] - 541 | if (sscanf(getenv("JOURNAL_STREAM"), "%" SCNu64 ":%lu", &device, &inode) == 2) { - | ^~~ ~~~~~~ - | | - | ino_t * {aka long long unsigned int *} -core/notifier.c:541:69: note: format string is defined here - 541 | if (sscanf(getenv("JOURNAL_STREAM"), "%" SCNu64 ":%lu", &device, &inode) == 2) { - | ~~^ - | | - | long unsigned int * - | %llu +core/swupdate.c: In function 'usage': +core/swupdate.c:133:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 133 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ gcc -Wp,-MD,handlers/.boot_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/boot_handler.o handlers/boot_handler.c - gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/handler.o core/handler.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, - from include/swupdate.h:16, - from core/handler.c:14: + from handlers/archive_handler.c:23: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -2499,6 +2445,7 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from handlers/boot_handler.c:17: @@ -2520,29 +2467,17 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.bootloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/bootloader.o core/bootloader.c - gcc -Wp,-MD,core/.hw-compatibility.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/hw-compatibility.o core/hw-compatibility.c - gcc -Wp,-MD,handlers/.btrfs_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/btrfs_handler.o handlers/btrfs_handler.c -In file included from core/bootloader.c:9: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -In file included from core/hw-compatibility.c:12: +make -f scripts/Makefile.build obj=bootloader +make[2]: git: No such file or directory + gcc -Wp,-MD,bootloader/.uboot.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/uboot.o bootloader/uboot.c +handlers/archive_handler.c: In function 'extract': +handlers/archive_handler.c:218:17: warning: 'old_locale' may be used uninitialized [-Wmaybe-uninitialized] + 218 | uselocale(old_locale); + | ^~~~~~~~~~~~~~~~~~~~~ +handlers/archive_handler.c:85:18: note: 'old_locale' was declared here + 85 | locale_t old_locale; + | ^~~~~~~~~~ +In file included from bootloader/uboot.c:19: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -2561,11 +2496,7 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -core/hw-compatibility.c: In function 'get_hw_revision': -core/hw-compatibility.c:83:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 83 | ret = fscanf(fp, "%ms %ms", &b1, &b2); - | ^~~~~~~~~ -core/hw-compatibility.c:83:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + gcc -Wp,-MD,handlers/.btrfs_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/btrfs_handler.o handlers/btrfs_handler.c In file included from handlers/btrfs_handler.c:10: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -2585,7 +2516,7 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.install_from_file.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/install_from_file.o core/install_from_file.c + gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/none.o bootloader/none.c handlers/btrfs_handler.c: In function 'btrfs': handlers/btrfs_handler.c:91:17: warning: 'mountpoint' may be used uninitialized [-Wmaybe-uninitialized] 91 | swupdate_umount(mountpoint); @@ -2593,92 +2524,8 @@ handlers/btrfs_handler.c:37:15: note: 'mountpoint' was declared here 37 | char *mountpoint; | ^~~~~~~~~~ - gcc -Wp,-MD,core/.util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/util.o core/util.c gcc -Wp,-MD,handlers/.copy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/copy_handler.o handlers/copy_handler.c -In file included from core/install_from_file.c:18: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from core/util.c:30: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -core/util.c: In function 'load_decryption_key': -core/util.c:476:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 476 | ret = fscanf(fp, "%ms %ms", &b1, &b2); - | ^~~~~~~~~ -core/util.c:476:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/util.c: In function 'get_root_from_partitions': -core/util.c:991:38: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long unsigned int *' [-Wformat=] - 991 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 992 | &major, &minor, &nblocks, &devname); - | ~~~~~~ - | | - | long unsigned int * -core/util.c:991:42: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long unsigned int *' [-Wformat=] - 991 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 992 | &major, &minor, &nblocks, &devname); - | ~~~~~~ - | | - | long unsigned int * -core/util.c:991:46: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'long unsigned int *' [-Wformat=] - 991 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 992 | &major, &minor, &nblocks, &devname); - | ~~~~~~~~ - | | - | long unsigned int * -core/util.c:991:35: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 991 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ^~~~~~~~~~~~~~~~~ -core/util.c: In function 'get_root_from_mountinfo': -core/util.c:1020:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 1020 | if (fscanf(fp, "%*s %*s %u:%u %*s %ms %*s %*[-] %*s %ms %*s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/util.c:1020:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + gcc -Wp,-MD,bootloader/.grub.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/grub.o bootloader/grub.c In file included from include/pctl.h:12, from handlers/copy_handler.c:28: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -2699,11 +2546,8 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/parser.o core/parser.c -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from include/swupdate.h:16, - from core/parser.c:14: +In file included from bootloader/grub.h:15, + from bootloader/grub.c:9: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -2722,7 +2566,36 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ +bootloader/grub.c: In function 'grubenv_write': +include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 109 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +bootloader/grub.c:186:17: note: in expansion of macro 'ERROR' + 186 | ERROR("Not enough free space in envblk file, %ld", + | ^~~~~ +include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 116 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +bootloader/grub.c:186:17: note: in expansion of macro 'ERROR' + 186 | ERROR("Not enough free space in envblk file, %ld", + | ^~~~~ +include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 120 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +bootloader/grub.c:186:17: note: in expansion of macro 'ERROR' + 186 | ERROR("Not enough free space in envblk file, %ld", + | ^~~~~ gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/flash_handler.o handlers/flash_handler.c + gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/cpio_utils.o core/cpio_utils.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from handlers/flash_handler.c:29: @@ -2744,65 +2617,10 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/pctl.o core/pctl.c - gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/state.o core/state.c -In file included from include/pctl.h:12, - from core/pctl.c:22: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -core/pctl.c: In function '__run_cmd': -core/pctl.c:433:67: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); - | ^ -include/util.h:113:52: note: in definition of macro 'swupdate_notify' - 113 | ## arg); \ - | ^~~ -core/pctl.c:433:25: note: in expansion of macro 'TRACE' - 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); - | ^~~~~ -core/pctl.c:433:67: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); - | ^ -include/util.h:116:71: note: in definition of macro 'swupdate_notify' - 116 | "ERROR : " format, ## arg); \ - | ^~~ -core/pctl.c:433:25: note: in expansion of macro 'TRACE' - 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); - | ^~~~~ -core/pctl.c:433:67: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); - | ^ -include/util.h:120:72: note: in definition of macro 'swupdate_notify' - 120 | "[%s] : " format, __func__, ## arg); \ - | ^~~ -core/pctl.c:433:25: note: in expansion of macro 'TRACE' - 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); - | ^~~~~ -core/pctl.c: In function 'run_function_background': -core/pctl.c:451:17: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] - 451 | bg.exec = fn; - | ^ -core/pctl.c: In function 'ipc_thread_fn': -core/pctl.c:553:28: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] - 553 | server_ipc_fn fn = (server_ipc_fn)data; - | ^ -In file included from core/state.c:12: +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from include/swupdate.h:16, + from core/cpio_utils.c:25: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -2821,8 +2639,12 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/syslog.o core/syslog.c + gcc -Wp,-MD,bootloader/.ebg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/ebg.o bootloader/ebg.c gcc -Wp,-MD,handlers/.delta_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/delta_handler.o handlers/delta_handler.c +core/cpio_utils.c: In function 'copy_write': +core/cpio_utils.c:181:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 181 | buf += ret; + | ^~ In file included from handlers/delta_handler.c:34: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -2842,25 +2664,6 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/syslog.c:9: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ handlers/delta_handler.c: In function 'network_process_data': include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 175 | #define min(a, b) ({\ @@ -3139,6 +2942,25 @@ handlers/delta_handler.c:295:9: note: in expansion of macro 'INFO' 295 | INFO("Total bytes to be downloaded : %12lu\n", priv->bytes_to_download); | ^~~~ +In file included from bootloader/ebg.c:18: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ handlers/delta_handler.c: In function 'parse_headers': handlers/delta_handler.c:649:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] 649 | nconv = sscanf(answer->data, "%ms %ms %ms", &header, &value, &boundary_string); @@ -3417,109 +3239,7 @@ handlers/delta_handler.c:1111:9: note: in expansion of macro 'INFO' 1111 | INFO("Total downloaded data : %ld bytes", priv->totaldwlbytes); | ^~~~ - gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/installer.o core/installer.c -In file included from core/installer.c:26: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,core/.network_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/network_utils.o core/network_utils.c -In file included from core/network_utils.c:23: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/network_thread.o core/network_thread.c -In file included from core/network_thread.c:26: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -core/network_thread.c: In function 'network_thread': -core/network_thread.c:605:33: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 605 | strncpy(msg.data.revisions.revision, cfg->hw.revision, - | ^ - gcc -Wp,-MD,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/stream_interface.o core/stream_interface.c gcc -Wp,-MD,handlers/.delta_downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/delta_downloader.o handlers/delta_downloader.c -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from include/swupdate.h:16, - from core/stream_interface.c:31: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -core/stream_interface.c: In function 'cpfiles': -include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 175 | #define min(a, b) ({\ - | ^ -core/stream_interface.c:349:27: note: in expansion of macro 'min' - 349 | maxread = min(bufsize, max); - | ^~~ -core/stream_interface.c: In function 'get_install_info': -include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 175 | #define min(a, b) ({\ - | ^ -core/stream_interface.c:808:15: note: in expansion of macro 'min' - 808 | len = min(len - 1, strlen(inst.req.info)); - | ^~~ - gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/progress_thread.o core/progress_thread.c In file included from handlers/delta_downloader.c:29: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -3553,10 +3273,10 @@ handlers/delta_downloader.c:121:23: note: in expansion of macro 'min' 121 | answer->len = min(size * nitems , RANGE_PAYLOAD_SIZE - 2); | ^~~ -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from include/swupdate.h:16, - from core/progress_thread.c:25: + gcc -Wp,-MD,handlers/.zchunk_range.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/zchunk_range.o handlers/zchunk_range.c + gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/notifier.o core/notifier.c + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bootloader/built-in.o bootloader/uboot.o bootloader/none.o bootloader/grub.o bootloader/ebg.o +In file included from handlers/zchunk_range.c:24: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3575,9 +3295,10 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.zchunk_range.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/zchunk_range.o handlers/zchunk_range.c - gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/parsing_library.o core/parsing_library.c -In file included from handlers/zchunk_range.c:24: +make -f scripts/Makefile.build obj=suricatta +make[2]: git: No such file or directory + gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/suricatta.o suricatta/suricatta.c +In file included from core/notifier.c:24: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3596,7 +3317,19 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/parsing_library.c:19: +core/notifier.c: In function 'notify_init': +core/notifier.c:541:54: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 4 has type 'ino_t *' {aka 'long long unsigned int *'} [-Wformat=] + 541 | if (sscanf(getenv("JOURNAL_STREAM"), "%" SCNu64 ":%lu", &device, &inode) == 2) { + | ^~~ ~~~~~~ + | | + | ino_t * {aka long long unsigned int *} +core/notifier.c:541:69: note: format string is defined here + 541 | if (sscanf(getenv("JOURNAL_STREAM"), "%" SCNu64 ":%lu", &device, &inode) == 2) { + | ~~^ + | | + | long unsigned int * + | %llu +In file included from suricatta/suricatta.c:12: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3615,19 +3348,48 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -core/parsing_library.c: In function 'get_field': -core/parsing_library.c:142:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 142 | return get_field_cfg((config_setting_t *)e, path, dest, type); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:138:6: note: declared here - 138 | void get_field(parsertype p, void *e, const char *path, void *dest, field_type_t type) - | ^~~~~~~~~ -core/parsing_library.c:144:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 144 | return get_field_json((json_object *)e, path, dest, type); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:138:6: note: declared here - 138 | void get_field(parsertype p, void *e, const char *path, void *dest, field_type_t type) - | ^~~~~~~~~ +suricatta/suricatta.c: In function 'suricatta_wait': +include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] + 109 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:136:9: note: in expansion of macro 'swupdate_notify' + 136 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +suricatta/suricatta.c:228:17: note: in expansion of macro 'TRACE' + 228 | TRACE("Suricatta woke up for IPC at %ld seconds", t_wake - t_entry); + | ^~~~~ +include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] + 116 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:136:9: note: in expansion of macro 'swupdate_notify' + 136 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +suricatta/suricatta.c:228:17: note: in expansion of macro 'TRACE' + 228 | TRACE("Suricatta woke up for IPC at %ld seconds", t_wake - t_entry); + | ^~~~~ +include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] + 120 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:136:9: note: in expansion of macro 'swupdate_notify' + 136 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +suricatta/suricatta.c:228:17: note: in expansion of macro 'TRACE' + 228 | TRACE("Suricatta woke up for IPC at %ld seconds", t_wake - t_entry); + | ^~~~~ +suricatta/suricatta.c: In function 'start_suricatta': +suricatta/suricatta.c:334:37: warning: ISO C forbids passing argument 2 of 'start_thread' between function pointer and 'void *' [-Wpedantic] + 334 | start_thread(ipc_thread_fn, suricatta_ipc); + | ^~~~~~~~~~~~~ +In file included from suricatta/suricatta.c:20: +include/pctl.h:28:64: note: expected 'void *' but argument is of type 'server_op_res_t (*)(int)' + 28 | pthread_t start_thread(void *(* start_routine) (void *), void *arg); + | ~~~~~~^~~ +include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 175 | #define min(a, b) ({\ + | ^ +suricatta/suricatta.c:368:41: note: in expansion of macro 'min' + 368 | wait_seconds = min(wait_seconds, (int)server->get_polling_interval())) { + | ^~~ gcc -Wp,-MD,handlers/.diskformat_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/diskformat_handler.o handlers/diskformat_handler.c In file included from handlers/diskformat_handler.c:10: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -3648,29 +3410,12 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/artifacts_versions.o core/artifacts_versions.c + gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/handler.o core/handler.c gcc -Wp,-MD,handlers/.diskpart_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c - gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate_dict.o core/swupdate_dict.c -In file included from core/artifacts_versions.c:21: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -In file included from core/swupdate_dict.c:22: +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from include/swupdate.h:16, + from core/handler.c:14: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3689,18 +3434,7 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -core/artifacts_versions.c: In function 'read_sw_version_file': -core/artifacts_versions.c:55:34: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 55 | ret = fscanf(fp, "%ms %ms", &name, &version); - | ^~~~~~~~~ -core/artifacts_versions.c:55:34: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/artifacts_versions.c: In function 'compare_versions': -core/artifacts_versions.c:238:29: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 238 | semver_t left_sem = {}; - | ^ -core/artifacts_versions.c:239:30: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 239 | semver_t right_sem = {}; - | ^ + gcc -Wp,-MD,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from handlers/diskpart_handler.c:25: @@ -3722,9 +3456,9 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.swupdate_vars.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate_vars.o core/swupdate_vars.c - gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/semver.o core/semver.c -In file included from core/swupdate_vars.c:19: + gcc -Wp,-MD,handlers/.uniqueuuid_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/uniqueuuid_handler.o handlers/uniqueuuid_handler.c + gcc -Wp,-MD,core/.bootloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/bootloader.o core/bootloader.c +In file included from suricatta/server_hawkbit.c:18: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3743,8 +3477,9 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.strlcpy.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/strlcpy.o core/strlcpy.c -In file included from core/strlcpy.c:8: +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from handlers/uniqueuuid_handler.c:24: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3763,10 +3498,7 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.uniqueuuid_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/uniqueuuid_handler.o handlers/uniqueuuid_handler.c -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from handlers/uniqueuuid_handler.c:24: +In file included from core/bootloader.c:9: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3785,11 +3517,8 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o core/built-in.o core/swupdate.o core/cpio_utils.o core/notifier.o core/handler.o core/bootloader.o core/hw-compatibility.o core/install_from_file.o core/util.o core/parser.o core/pctl.o core/state.o core/syslog.o core/installer.o core/network_utils.o core/network_thread.o core/stream_interface.o core/progress_thread.o core/parsing_library.o core/artifacts_versions.o core/swupdate_dict.o core/swupdate_vars.o core/semver.o core/strlcpy.o gcc -Wp,-MD,handlers/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c -make -f scripts/Makefile.build obj=bootloader -make[2]: git: No such file or directory - gcc -Wp,-MD,bootloader/.uboot.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/uboot.o bootloader/uboot.c + gcc -Wp,-MD,core/.hw-compatibility.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/hw-compatibility.o core/hw-compatibility.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from handlers/flash_hamming1_handler.c:28: @@ -3818,7 +3547,7 @@ handlers/flash_hamming1_handler.c:221:38: note: in expansion of macro 'min' 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); | ^~~ -In file included from bootloader/uboot.c:19: +In file included from core/hw-compatibility.c:12: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3837,23 +3566,11 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/none.o bootloader/none.c -handlers/diskpart_handler.c: In function 'diskpart': -handlers/diskpart_handler.c:1265:49: warning: '__builtin_strncpy' specified bound 37 equals destination size [-Wstringop-truncation] - 1265 | strncpy(part->partuuid, equal, sizeof(part->partuuid)); - | ^ -handlers/diskpart_handler.c:1261:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1261 | strncpy(part->dostype, equal, sizeof(part->dostype)); - | ^ -handlers/diskpart_handler.c:1253:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1253 | strncpy(part->fstype, equal, sizeof(part->fstype)); - | ^ -handlers/diskpart_handler.c:1249:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1249 | strncpy(part->name, equal, sizeof(part->name)); - | ^ -handlers/diskpart_handler.c:1246:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1246 | strncpy(part->type, equal, sizeof(part->type)); - | ^ +core/hw-compatibility.c: In function 'get_hw_revision': +core/hw-compatibility.c:83:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 83 | ret = fscanf(fp, "%ms %ms", &b1, &b2); + | ^~~~~~~~~ +core/hw-compatibility.c:83:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] In function 'flash_write_nand_hamming1', inlined from 'install_flash_hamming_image' at handlers/flash_hamming1_handler.c:300:6: handlers/flash_hamming1_handler.c:263:12: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] @@ -3863,102 +3580,8 @@ handlers/flash_hamming1_handler.c:175:13: note: 'cnt' was declared here 175 | int cnt; | ^~~ - gcc -Wp,-MD,bootloader/.grub.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/grub.o bootloader/grub.c - gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c -In file included from bootloader/grub.h:15, - from bootloader/grub.c:9: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -bootloader/grub.c: In function 'grubenv_write': -include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 109 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -bootloader/grub.c:186:17: note: in expansion of macro 'ERROR' - 186 | ERROR("Not enough free space in envblk file, %ld", - | ^~~~~ -include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 116 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -bootloader/grub.c:186:17: note: in expansion of macro 'ERROR' - 186 | ERROR("Not enough free space in envblk file, %ld", - | ^~~~~ -include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 120 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -bootloader/grub.c:186:17: note: in expansion of macro 'ERROR' - 186 | ERROR("Not enough free space in envblk file, %ld", - | ^~~~~ -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from handlers/lua_scripthandler.c:17: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,bootloader/.ebg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/ebg.o bootloader/ebg.c - gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/raw_handler.o handlers/raw_handler.c -In file included from bootloader/ebg.c:18: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from handlers/raw_handler.c:26: + gcc -Wp,-MD,core/.install_from_file.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/install_from_file.o core/install_from_file.c +In file included from core/install_from_file.c:18: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3977,9 +3600,11 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,core/.util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/util.o core/util.c + gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/parser.o core/parser.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, - from handlers/rdiff_handler.c:22: + from core/util.c:30: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3998,15 +3623,10 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -handlers/rdiff_handler.c: In function 'apply_rdiff_patch': -handlers/rdiff_handler.c:226:38: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 226 | struct rdiff_t rdiff_state = {}; - | ^ - gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/readback_handler.o handlers/readback_handler.c - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bootloader/built-in.o bootloader/uboot.o bootloader/none.o bootloader/grub.o bootloader/ebg.o In file included from include/lua_util.h:13, from include/swupdate_image.h:15, - from handlers/readback_handler.c:22: + from include/swupdate.h:16, + from core/parser.c:14: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4025,11 +3645,69 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -make -f scripts/Makefile.build obj=suricatta -make[2]: git: No such file or directory - gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/suricatta.o suricatta/suricatta.c - gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c -In file included from suricatta/suricatta.c:12: +core/util.c: In function 'load_decryption_key': +core/util.c:476:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 476 | ret = fscanf(fp, "%ms %ms", &b1, &b2); + | ^~~~~~~~~ +core/util.c:476:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +core/util.c: In function 'get_root_from_partitions': +core/util.c:991:38: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long unsigned int *' [-Wformat=] + 991 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 992 | &major, &minor, &nblocks, &devname); + | ~~~~~~ + | | + | long unsigned int * +core/util.c:991:42: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long unsigned int *' [-Wformat=] + 991 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 992 | &major, &minor, &nblocks, &devname); + | ~~~~~~ + | | + | long unsigned int * +core/util.c:991:46: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'long unsigned int *' [-Wformat=] + 991 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 992 | &major, &minor, &nblocks, &devname); + | ~~~~~~~~ + | | + | long unsigned int * +core/util.c:991:35: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 991 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ^~~~~~~~~~~~~~~~~ +core/util.c: In function 'get_root_from_mountinfo': +core/util.c:1020:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 1020 | if (fscanf(fp, "%*s %*s %u:%u %*s %ms %*s %*[-] %*s %ms %*s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/util.c:1020:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +handlers/diskpart_handler.c: In function 'diskpart': +handlers/diskpart_handler.c:1265:49: warning: '__builtin_strncpy' specified bound 37 equals destination size [-Wstringop-truncation] + 1265 | strncpy(part->partuuid, equal, sizeof(part->partuuid)); + | ^ +handlers/diskpart_handler.c:1261:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1261 | strncpy(part->dostype, equal, sizeof(part->dostype)); + | ^ +handlers/diskpart_handler.c:1253:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1253 | strncpy(part->fstype, equal, sizeof(part->fstype)); + | ^ +handlers/diskpart_handler.c:1249:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1249 | strncpy(part->name, equal, sizeof(part->name)); + | ^ +handlers/diskpart_handler.c:1246:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1246 | strncpy(part->type, equal, sizeof(part->type)); + | ^ + gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/pctl.o core/pctl.c +In file included from include/pctl.h:12, + from core/pctl.c:22: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4048,113 +3726,48 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -suricatta/suricatta.c: In function 'suricatta_wait': -include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] - 109 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:136:9: note: in expansion of macro 'swupdate_notify' - 136 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -suricatta/suricatta.c:228:17: note: in expansion of macro 'TRACE' - 228 | TRACE("Suricatta woke up for IPC at %ld seconds", t_wake - t_entry); - | ^~~~~ -include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] +core/pctl.c: In function '__run_cmd': +core/pctl.c:433:67: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); + | ^ +include/util.h:113:52: note: in definition of macro 'swupdate_notify' + 113 | ## arg); \ + | ^~~ +core/pctl.c:433:25: note: in expansion of macro 'TRACE' + 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); + | ^~~~~ +core/pctl.c:433:67: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); + | ^ +include/util.h:116:71: note: in definition of macro 'swupdate_notify' 116 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:136:9: note: in expansion of macro 'swupdate_notify' - 136 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -suricatta/suricatta.c:228:17: note: in expansion of macro 'TRACE' - 228 | TRACE("Suricatta woke up for IPC at %ld seconds", t_wake - t_entry); - | ^~~~~ -include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] + | ^~~ +core/pctl.c:433:25: note: in expansion of macro 'TRACE' + 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); + | ^~~~~ +core/pctl.c:433:67: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); + | ^ +include/util.h:120:72: note: in definition of macro 'swupdate_notify' 120 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:136:9: note: in expansion of macro 'swupdate_notify' - 136 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -suricatta/suricatta.c:228:17: note: in expansion of macro 'TRACE' - 228 | TRACE("Suricatta woke up for IPC at %ld seconds", t_wake - t_entry); - | ^~~~~ -suricatta/suricatta.c: In function 'start_suricatta': -suricatta/suricatta.c:334:37: warning: ISO C forbids passing argument 2 of 'start_thread' between function pointer and 'void *' [-Wpedantic] - 334 | start_thread(ipc_thread_fn, suricatta_ipc); - | ^~~~~~~~~~~~~ -In file included from suricatta/suricatta.c:20: -include/pctl.h:28:64: note: expected 'void *' but argument is of type 'server_op_res_t (*)(int)' - 28 | pthread_t start_thread(void *(* start_routine) (void *), void *arg); - | ~~~~~~^~~ -include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 175 | #define min(a, b) ({\ - | ^ -suricatta/suricatta.c:368:41: note: in expansion of macro 'min' - 368 | wait_seconds = min(wait_seconds, (int)server->get_polling_interval())) { - | ^~~ -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from handlers/shell_scripthandler.c:19: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c - gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c - gcc -Wp,-MD,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c + | ^~~ +core/pctl.c:433:25: note: in expansion of macro 'TRACE' + 433 | TRACE("(%s) killed by signal %d\n", cmd ? : "", WTERMSIG(wstatus)); + | ^~~~~ +core/pctl.c: In function 'run_function_background': +core/pctl.c:451:17: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] + 451 | bg.exec = fn; + | ^ +core/pctl.c: In function 'ipc_thread_fn': +core/pctl.c:553:28: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] + 553 | server_ipc_fn fn = (server_ipc_fn)data; + | ^ + gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c + gcc -Wp,-MD,suricatta/.server_lua.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_lua.o suricatta/server_lua.c + gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/state.o core/state.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, - from handlers/ssbl_handler.c:19: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -In file included from handlers/swuforward_handler.c:34: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -In file included from suricatta/server_hawkbit.c:18: + from handlers/lua_scripthandler.c:17: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4173,89 +3786,12 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -handlers/swuforward_handler.c: In function 'swu_forward_data': -handlers/swuforward_handler.c:120:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 120 | tmp += written; - | ^~ - gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c -In file included from handlers/swuforward-ws.c:21: +In file included from core/state.c:12: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from handlers/ubivol_handler.c:18: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ -handlers/ubivol_handler.c: In function 'swap_volume': -include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 175 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:603:54: note: in expansion of macro 'min' - 603 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); - | ^~~ -include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 175 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:608:54: note: in expansion of macro 'min' - 608 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); - | ^~~ - gcc -Wp,-MD,handlers/.ucfw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ucfw_handler.o handlers/ucfw_handler.c -In file included from include/lua_util.h:13, - from include/swupdate_image.h:15, - from handlers/ucfw_handler.c:72: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 126 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 129 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 132 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 135 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 138 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,handlers/.docker_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/docker_handler.o handlers/docker_handler.c -In file included from handlers/docker_handler.c:24: + from suricatta/server_lua.c:21: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4274,98 +3810,6 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,suricatta/.server_lua.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_lua.o suricatta/server_lua.c -handlers/docker_handler.c: In function 'transfer_data': -handlers/docker_handler.c:60:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 60 | tmp += written; - | ^~ -handlers/docker_handler.c: In function 'docker_send_cmd_with_setup': -include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 8 has type '__off64_t' {aka 'long long int'} [-Wformat=] - 109 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:189:17: note: in expansion of macro 'ERROR' - 189 | ERROR("OOM creating buffer for reading %s of %ld bytes", - | ^~~~~ -include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] - 116 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:189:17: note: in expansion of macro 'ERROR' - 189 | ERROR("OOM creating buffer for reading %s of %ld bytes", - | ^~~~~ -include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__off64_t' {aka 'long long int'} [-Wformat=] - 120 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:189:17: note: in expansion of macro 'ERROR' - 189 | ERROR("OOM creating buffer for reading %s of %ld bytes", - | ^~~~~ -include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'ssize_t' {aka 'int'} [-Wformat=] - 109 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' - 197 | ERROR("Script %s cannot be read, return value %ld != %ld", - | ^~~~~ -include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 9 has type '__off64_t' {aka 'long long int'} [-Wformat=] - 109 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' - 197 | ERROR("Script %s cannot be read, return value %ld != %ld", - | ^~~~~ -include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'ssize_t' {aka 'int'} [-Wformat=] - 116 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' - 197 | ERROR("Script %s cannot be read, return value %ld != %ld", - | ^~~~~ -include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__off64_t' {aka 'long long int'} [-Wformat=] - 116 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' - 197 | ERROR("Script %s cannot be read, return value %ld != %ld", - | ^~~~~ -include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t' {aka 'int'} [-Wformat=] - 120 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' - 197 | ERROR("Script %s cannot be read, return value %ld != %ld", - | ^~~~~ -include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__off64_t' {aka 'long long int'} [-Wformat=] - 120 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:127:9: note: in expansion of macro 'swupdate_notify' - 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' - 197 | ERROR("Script %s cannot be read, return value %ld != %ld", - | ^~~~~ -In file included from include/lua_util.h:13, - from suricatta/server_lua.c:21: -include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 103 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 126 | #define ERROR(format, arg...) \ | ^~~ @@ -5145,6 +4589,7 @@ suricatta/server_lua.c:1078:9: note: in expansion of macro 'get_from_table' 1078 | get_from_table(L, "drain_messages", callback_data.drain_progress_msgq); | ^~~~~~~~~~~~~~ + gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/syslog.o core/syslog.c suricatta/server_lua.c: In function 'suricatta_lua_module': suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ @@ -5242,7 +4687,6 @@ suricatta/server_lua.c:1543:9: note: in expansion of macro 'SURICATTA_FUNCS' 1543 | SURICATTA_FUNCS | ^~~~~~~~~~~~~~~ - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o handlers/built-in.o handlers/dummy_handler.o handlers/chain_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/btrfs_handler.o handlers/copy_handler.o handlers/flash_handler.o handlers/delta_handler.o handlers/delta_downloader.o handlers/zchunk_range.o handlers/diskformat_handler.o handlers/diskpart_handler.o handlers/uniqueuuid_handler.o handlers/flash_hamming1_handler.o handlers/lua_scripthandler.o handlers/raw_handler.o handlers/rdiff_handler.o handlers/readback_handler.o handlers/shell_scripthandler.o handlers/ssbl_handler.o handlers/swuforward_handler.o handlers/swuforward-ws.o handlers/ubivol_handler.o handlers/ucfw_handler.o handlers/docker_handler.o suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5291,7 +4735,6 @@ suricatta/server_lua.c:1567:9: note: in expansion of macro 'push_to_table' 1567 | push_to_table(L, "UBOOT", BOOTLOADER_UBOOT); | ^~~~~~~~~~~~~ - gcc -Wp,-MD,suricatta/.server_general.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_general.o suricatta/server_general.c suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5388,6 +4831,7 @@ suricatta/server_lua.c:1600:9: note: in expansion of macro 'push_to_table' 1600 | push_to_table(L, "CAUSE_NONE", CAUSE_NONE); | ^~~~~~~~~~~~~ + gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/raw_handler.o handlers/raw_handler.c suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5652,6 +5096,7 @@ suricatta/server_lua.c:1655:9: note: in expansion of macro 'push_to_table' 1655 | push_to_table(L, "RAW", CHANNEL_PARSE_RAW); | ^~~~~~~~~~~~~ + gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/installer.o core/installer.c suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5688,7 +5133,6 @@ suricatta/server_lua.c:1665:9: note: in expansion of macro 'push_to_table' 1665 | push_to_table(L, "PATCH", CHANNEL_PATCH); | ^~~~~~~~~~~~~ -make -f scripts/Makefile.build obj=corelib suricatta/server_lua.c: In function 'config_section_to_table': suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ @@ -5696,12 +5140,31 @@ suricatta/server_lua.c:1814:25: note: in expansion of macro 'push_to_table' 1814 | push_to_table((lua_State *)data, entry->name, | ^~~~~~~~~~~~~ +In file included from core/syslog.c:9: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1818:25: note: in expansion of macro 'push_to_table' 1818 | push_to_table((lua_State *)data, entry->name, | ^~~~~~~~~~~~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5721,7 +5184,6 @@ 1830 | push_to_table((lua_State *)data, entry->name, | ^~~~~~~~~~~~~ suricatta/server_lua.c: In function 'server_start': -make[2]: git: No such file or directory suricatta/server_lua.c:159:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 159 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5766,8 +5228,9 @@ suricatta/server_lua.c:1998:9: note: in expansion of macro 'push_to_table' 1998 | push_to_table(gL, "GET_STATUS", CMD_GET_STATUS); | ^~~~~~~~~~~~~ - gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/channel_curl.o corelib/channel_curl.c -In file included from suricatta/server_general.c:23: +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from handlers/raw_handler.c:26: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5786,7 +5249,8 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/channel_curl.c:24: + gcc -Wp,-MD,core/.network_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/network_utils.o core/network_utils.c +In file included from core/installer.c:26: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5805,86 +5269,139 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c: In function 'channel_new': -corelib/channel_curl.c:118:49: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 118 | newchan->priv = (void *)newchan + sizeof(*newchan); - | ^ -corelib/channel_curl.c: In function 'channel_map_http_code': -corelib/channel_curl.c:330:33: warning: embedding a directive within macro arguments is not portable - 330 | #if LIBCURL_VERSION_NUM >= 0x75500 - | ^ -corelib/channel_curl.c:332:33: warning: embedding a directive within macro arguments is not portable - 332 | #else - | ^ -corelib/channel_curl.c:334:33: warning: embedding a directive within macro arguments is not portable - 334 | #endif +In file included from core/network_utils.c:23: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c + gcc -Wp,-MD,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/network_thread.o core/network_thread.c +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from handlers/rdiff_handler.c:22: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +handlers/rdiff_handler.c: In function 'apply_rdiff_patch': +handlers/rdiff_handler.c:226:38: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 226 | struct rdiff_t rdiff_state = {}; + | ^ +In file included from core/network_thread.c:26: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +core/network_thread.c: In function 'network_thread': +core/network_thread.c:605:33: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 605 | strncpy(msg.data.revisions.revision, cfg->hw.revision, | ^ -corelib/channel_curl.c: In function 'channel_set_options': -corelib/channel_curl.c:603:25: warning: embedding a directive within macro arguments is not portable - 603 | #if LIBCURL_VERSION_NUM >= 0x75500 - | ^ -corelib/channel_curl.c:606:25: warning: embedding a directive within macro arguments is not portable - 606 | #else - | ^ -corelib/channel_curl.c:609:25: warning: embedding a directive within macro arguments is not portable - 609 | #endif - | ^ -corelib/channel_curl.c: In function 'read_callback': + gcc -Wp,-MD,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/stream_interface.o core/stream_interface.c +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from include/swupdate.h:16, + from core/stream_interface.c:31: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +core/stream_interface.c: In function 'cpfiles': include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 175 | #define min(a, b) ({\ | ^ -corelib/channel_curl.c:928:21: note: in expansion of macro 'min' - 928 | n = min(nbytes, size * nmemb); - | ^~~ -corelib/channel_curl.c: In function 'channel_post_method': -corelib/channel_curl.c:1061:33: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1061 | output_data_t outdata = {}; - | ^ -corelib/channel_curl.c:1101:49: warning: embedding a directive within macro arguments is not portable - 1101 | #if LIBCURL_VERSION_NUM >= 0x70C01 - | ^ -corelib/channel_curl.c:1103:49: warning: embedding a directive within macro arguments is not portable - 1103 | #else - | ^ -corelib/channel_curl.c:1105:49: warning: embedding a directive within macro arguments is not portable - 1105 | #endif - | ^ -corelib/channel_curl.c: In function 'channel_put_file': -corelib/channel_curl.c:1179:33: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1179 | output_data_t outdata = {}; - | ^ -corelib/channel_curl.c:1212:49: warning: embedding a directive within macro arguments is not portable - 1212 | #if LIBCURL_VERSION_NUM >= 0x70C01 - | ^ -corelib/channel_curl.c:1214:49: warning: embedding a directive within macro arguments is not portable - 1214 | #else - | ^ -corelib/channel_curl.c:1216:49: warning: embedding a directive within macro arguments is not portable - 1216 | #endif - | ^ -corelib/channel_curl.c: In function 'channel_get': -corelib/channel_curl.c:1534:33: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1534 | output_data_t outdata = {}; - | ^ -make -f scripts/Makefile.build obj=mongoose -make[2]: git: No such file or directory - gcc -Wp,-MD,mongoose/.mongoose.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose.o mongoose/mongoose.c -In file included from /usr/include/wolfssl/wolfcrypt/types.h:34, - from /usr/include/wolfssl/wolfcrypt/logging.h:33, - from /usr/include/wolfssl/openssl/err.h:25, - from mongoose/mongoose.h:1232, - from mongoose/mongoose.c:20: -/usr/include/wolfssl/wolfcrypt/settings.h:3056:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] - 3056 | #warning "For timing resistance / side-channel attack prevention consider using harden options" - | ^~~~~~~ - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o suricatta/built-in.o suricatta/suricatta.o suricatta/server_hawkbit.o suricatta/server_lua.o suricatta/server_general.o -make -f scripts/Makefile.build obj=parser -make[2]: git: No such file or directory - gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o parser/parse_external.o parser/parse_external.c +core/stream_interface.c:349:27: note: in expansion of macro 'min' + 349 | maxread = min(bufsize, max); + | ^~~ +core/stream_interface.c: In function 'get_install_info': +include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 175 | #define min(a, b) ({\ + | ^ +core/stream_interface.c:808:15: note: in expansion of macro 'min' + 808 | len = min(len - 1, strlen(inst.req.info)); + | ^~~ + gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/readback_handler.o handlers/readback_handler.c + gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/progress_thread.o core/progress_thread.c +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from handlers/readback_handler.c:22: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from include/swupdate.h:16, - from parser/parse_external.c:15: + from core/progress_thread.c:25: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5903,8 +5420,11 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o parser/parser.o parser/parser.c -In file included from parser/parser.c:21: + gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c + gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/parsing_library.o core/parsing_library.c +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from handlers/shell_scripthandler.c:19: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5923,8 +5443,9 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/downloader.o corelib/downloader.c -In file included from corelib/downloader.c:14: + gcc -Wp,-MD,suricatta/.server_general.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_general.o suricatta/server_general.c + gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c +In file included from core/parsing_library.c:19: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5943,20 +5464,142 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -corelib/downloader.c: In function 'start_download_server': -corelib/downloader.c:282:23: warning: ISO C forbids passing argument 1 of 'ipc_thread_fn' between function pointer and 'void *' [-Wpedantic] - 282 | ipc_thread_fn(download_server_ipc); - | ^~~~~~~~~~~~~~~~~~~ -In file included from corelib/downloader.c:22: -include/pctl.h:48:27: note: expected 'void *' but argument is of type 'server_op_res_t (*)(int)' - 48 | void *ipc_thread_fn(void *data); - | ~~~~~~^~~~ - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o -make -f scripts/Makefile.build obj=fs +core/parsing_library.c: In function 'get_field': +In file included from suricatta/server_general.c:23: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +core/parsing_library.c:142:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 142 | return get_field_cfg((config_setting_t *)e, path, dest, type); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/parsing_library.c:138:6: note: declared here + 138 | void get_field(parsertype p, void *e, const char *path, void *dest, field_type_t type) + | ^~~~~~~~~ +core/parsing_library.c:144:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 144 | return get_field_json((json_object *)e, path, dest, type); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/parsing_library.c:138:6: note: declared here + 138 | void get_field(parsertype p, void *e, const char *path, void *dest, field_type_t type) + | ^~~~~~~~~ +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from handlers/ssbl_handler.c:19: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/artifacts_versions.o core/artifacts_versions.c + gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate_dict.o core/swupdate_dict.c +In file included from core/artifacts_versions.c:21: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +core/artifacts_versions.c: In function 'read_sw_version_file': +core/artifacts_versions.c:55:34: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 55 | ret = fscanf(fp, "%ms %ms", &name, &version); + | ^~~~~~~~~ +core/artifacts_versions.c:55:34: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +core/artifacts_versions.c: In function 'compare_versions': +core/artifacts_versions.c:238:29: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 238 | semver_t left_sem = {}; + | ^ +core/artifacts_versions.c:239:30: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 239 | semver_t right_sem = {}; + | ^ +In file included from core/swupdate_dict.c:22: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c + gcc -Wp,-MD,core/.swupdate_vars.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate_vars.o core/swupdate_vars.c +In file included from handlers/swuforward_handler.c:34: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o suricatta/built-in.o suricatta/suricatta.o suricatta/server_hawkbit.o suricatta/server_lua.o suricatta/server_general.o +handlers/swuforward_handler.c: In function 'swu_forward_data': +handlers/swuforward_handler.c:120:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 120 | tmp += written; + | ^~ +make -f scripts/Makefile.build obj=corelib make[2]: git: No such file or directory - gcc -Wp,-MD,fs/.btrfs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/btrfs.o fs/btrfs.c - gcc -Wp,-MD,corelib/.emmc_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/emmc_utils.o corelib/emmc_utils.c -In file included from fs/btrfs.c:23: + gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/semver.o core/semver.c + gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/channel_curl.o corelib/channel_curl.c +In file included from core/swupdate_vars.c:19: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5975,7 +5618,7 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/emmc_utils.c:26: +In file included from corelib/channel_curl.c:24: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5994,13 +5637,8 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,fs/.diskformat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/diskformat.o fs/diskformat.c -corelib/emmc_utils.c: In function 'emmc_write_extcsd_value': -corelib/emmc_utils.c:64:36: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 64 | struct mmc_ioc_cmd idata = {}; - | ^ - gcc -Wp,-MD,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/lua_compat.o corelib/lua_compat.c -In file included from fs/diskformat.c:10: + gcc -Wp,-MD,core/.strlcpy.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/strlcpy.o core/strlcpy.c +In file included from core/strlcpy.c:8: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6019,8 +5657,33 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/lua_util.h:13, - from corelib/lua_compat.c:9: +corelib/channel_curl.c: In function 'channel_new': +corelib/channel_curl.c:118:49: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 118 | newchan->priv = (void *)newchan + sizeof(*newchan); + | ^ +corelib/channel_curl.c: In function 'channel_map_http_code': +corelib/channel_curl.c:330:33: warning: embedding a directive within macro arguments is not portable + 330 | #if LIBCURL_VERSION_NUM >= 0x75500 + | ^ +corelib/channel_curl.c:332:33: warning: embedding a directive within macro arguments is not portable + 332 | #else + | ^ +corelib/channel_curl.c:334:33: warning: embedding a directive within macro arguments is not portable + 334 | #endif + | ^ + gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/downloader.o corelib/downloader.c +corelib/channel_curl.c: In function 'channel_set_options': +corelib/channel_curl.c:603:25: warning: embedding a directive within macro arguments is not portable + 603 | #if LIBCURL_VERSION_NUM >= 0x75500 + | ^ +corelib/channel_curl.c:606:25: warning: embedding a directive within macro arguments is not portable + 606 | #else + | ^ +corelib/channel_curl.c:609:25: warning: embedding a directive within macro arguments is not portable + 609 | #endif + | ^ + gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c +In file included from corelib/downloader.c:14: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6039,9 +5702,109 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,fs/.diskio.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/diskio.o fs/diskio.c - gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/lua_interface.o corelib/lua_interface.c -In file included from fs/diskio.c:15: +corelib/downloader.c: In function 'start_download_server': +corelib/downloader.c:282:23: warning: ISO C forbids passing argument 1 of 'ipc_thread_fn' between function pointer and 'void *' [-Wpedantic] + 282 | ipc_thread_fn(download_server_ipc); + | ^~~~~~~~~~~~~~~~~~~ +In file included from corelib/downloader.c:22: +include/pctl.h:48:27: note: expected 'void *' but argument is of type 'server_op_res_t (*)(int)' + 48 | void *ipc_thread_fn(void *data); + | ~~~~~~^~~~ + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o core/built-in.o core/swupdate.o core/cpio_utils.o core/notifier.o core/handler.o core/bootloader.o core/hw-compatibility.o core/install_from_file.o core/util.o core/parser.o core/pctl.o core/state.o core/syslog.o core/installer.o core/network_utils.o core/network_thread.o core/stream_interface.o core/progress_thread.o core/parsing_library.o core/artifacts_versions.o core/swupdate_dict.o core/swupdate_vars.o core/semver.o core/strlcpy.o +In file included from handlers/swuforward-ws.c:21: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +corelib/channel_curl.c: In function 'read_callback': +include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 175 | #define min(a, b) ({\ + | ^ +corelib/channel_curl.c:928:21: note: in expansion of macro 'min' + 928 | n = min(nbytes, size * nmemb); + | ^~~ +make -f scripts/Makefile.build obj=mongoose +corelib/channel_curl.c: In function 'channel_post_method': +corelib/channel_curl.c:1061:33: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1061 | output_data_t outdata = {}; + | ^ +make[2]: git: No such file or directory + gcc -Wp,-MD,mongoose/.mongoose.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose.o mongoose/mongoose.c +corelib/channel_curl.c:1101:49: warning: embedding a directive within macro arguments is not portable + 1101 | #if LIBCURL_VERSION_NUM >= 0x70C01 + | ^ +corelib/channel_curl.c:1103:49: warning: embedding a directive within macro arguments is not portable + 1103 | #else + | ^ +corelib/channel_curl.c:1105:49: warning: embedding a directive within macro arguments is not portable + 1105 | #endif + | ^ +corelib/channel_curl.c: In function 'channel_put_file': +corelib/channel_curl.c:1179:33: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1179 | output_data_t outdata = {}; + | ^ +corelib/channel_curl.c:1212:49: warning: embedding a directive within macro arguments is not portable + 1212 | #if LIBCURL_VERSION_NUM >= 0x70C01 + | ^ +corelib/channel_curl.c:1214:49: warning: embedding a directive within macro arguments is not portable + 1214 | #else + | ^ +corelib/channel_curl.c:1216:49: warning: embedding a directive within macro arguments is not portable + 1216 | #endif + | ^ +corelib/channel_curl.c: In function 'channel_get': +corelib/channel_curl.c:1534:33: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1534 | output_data_t outdata = {}; + | ^ + gcc -Wp,-MD,corelib/.emmc_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/emmc_utils.o corelib/emmc_utils.c +In file included from /usr/include/wolfssl/wolfcrypt/types.h:34, + from /usr/include/wolfssl/wolfcrypt/logging.h:33, + from /usr/include/wolfssl/openssl/err.h:25, + from mongoose/mongoose.h:1232, + from mongoose/mongoose.c:20: +/usr/include/wolfssl/wolfcrypt/settings.h:3056:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] + 3056 | #warning "For timing resistance / side-channel attack prevention consider using harden options" + | ^~~~~~~ +In file included from corelib/emmc_utils.c:26: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +corelib/emmc_utils.c: In function 'emmc_write_extcsd_value': +corelib/emmc_utils.c:64:36: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 64 | struct mmc_ioc_cmd idata = {}; + | ^ + gcc -Wp,-MD,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/lua_compat.o corelib/lua_compat.c +In file included from include/lua_util.h:13, + from corelib/lua_compat.c:9: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6060,6 +5823,8 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/lua_interface.o corelib/lua_interface.c + gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c In file included from include/lua_util.h:13, from corelib/lua_interface.c:23: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -6092,8 +5857,9 @@ corelib/lua_interface.c:1468:31: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 1468 | struct img_type img = {}; | ^ - gcc -Wp,-MD,fs/.fat_fs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/fat_fs.o fs/fat_fs.c -In file included from fs/fat_fs.c:12: +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from handlers/ubivol_handler.c:18: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6112,7 +5878,19 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,fs/.ff.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/ff.o fs/ff.c +handlers/ubivol_handler.c: In function 'swap_volume': +include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 175 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:603:54: note: in expansion of macro 'min' + 603 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); + | ^~~ +include/util.h:175:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 175 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:608:54: note: in expansion of macro 'min' + 608 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); + | ^~~ corelib/lua_interface.c: In function 'lua_string_to_img': corelib/lua_interface.c:292:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 292 | strncpy(img->id.name, value, @@ -6150,8 +5928,10 @@ corelib/lua_interface.c:331:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 331 | strncpy(seek_str, value, | ^ - gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/mtd-interface.o corelib/mtd-interface.c -In file included from corelib/mtd-interface.c:20: + gcc -Wp,-MD,handlers/.ucfw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ucfw_handler.o handlers/ucfw_handler.c +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from handlers/ucfw_handler.c:72: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6170,8 +5950,8 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,fs/.mke2fs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/mke2fs.o fs/mke2fs.c -In file included from fs/mke2fs.c:41: + gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/mtd-interface.o corelib/mtd-interface.c +In file included from corelib/mtd-interface.c:20: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6191,7 +5971,113 @@ 138 | #define DEBUG(format, arg...) \ | ^~~ gcc -Wp,-MD,corelib/.multipart_parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/multipart_parser.o corelib/multipart_parser.c + gcc -Wp,-MD,handlers/.docker_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/docker_handler.o handlers/docker_handler.c gcc -Wp,-MD,corelib/.parsing_library_libconfig.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c +In file included from handlers/docker_handler.c:24: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +handlers/docker_handler.c: In function 'transfer_data': +handlers/docker_handler.c:60:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 60 | tmp += written; + | ^~ +handlers/docker_handler.c: In function 'docker_send_cmd_with_setup': +include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 8 has type '__off64_t' {aka 'long long int'} [-Wformat=] + 109 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:189:17: note: in expansion of macro 'ERROR' + 189 | ERROR("OOM creating buffer for reading %s of %ld bytes", + | ^~~~~ +include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=] + 116 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:189:17: note: in expansion of macro 'ERROR' + 189 | ERROR("OOM creating buffer for reading %s of %ld bytes", + | ^~~~~ +include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__off64_t' {aka 'long long int'} [-Wformat=] + 120 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:189:17: note: in expansion of macro 'ERROR' + 189 | ERROR("OOM creating buffer for reading %s of %ld bytes", + | ^~~~~ +include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'ssize_t' {aka 'int'} [-Wformat=] + 109 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' + 197 | ERROR("Script %s cannot be read, return value %ld != %ld", + | ^~~~~ +include/util.h:109:41: warning: format '%ld' expects argument of type 'long int', but argument 9 has type '__off64_t' {aka 'long long int'} [-Wformat=] + 109 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' + 197 | ERROR("Script %s cannot be read, return value %ld != %ld", + | ^~~~~ +include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'ssize_t' {aka 'int'} [-Wformat=] + 116 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' + 197 | ERROR("Script %s cannot be read, return value %ld != %ld", + | ^~~~~ +include/util.h:116:49: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__off64_t' {aka 'long long int'} [-Wformat=] + 116 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' + 197 | ERROR("Script %s cannot be read, return value %ld != %ld", + | ^~~~~ +include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t' {aka 'int'} [-Wformat=] + 120 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' + 197 | ERROR("Script %s cannot be read, return value %ld != %ld", + | ^~~~~ +include/util.h:120:41: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__off64_t' {aka 'long long int'} [-Wformat=] + 120 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:127:9: note: in expansion of macro 'swupdate_notify' + 127 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/docker_handler.c:197:17: note: in expansion of macro 'ERROR' + 197 | ERROR("Script %s cannot be read, return value %ld != %ld", + | ^~~~~ In file included from corelib/parsing_library_libconfig.c:19: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -6212,6 +6098,7 @@ 138 | #define DEBUG(format, arg...) \ | ^~~ gcc -Wp,-MD,corelib/.parsing_library_libjson.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c + gcc -Wp,-MD,corelib/.server_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/server_utils.o corelib/server_utils.c In file included from corelib/parsing_library_libjson.c:19: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -6231,7 +6118,6 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.server_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/server_utils.o corelib/server_utils.c In file included from corelib/server_utils.c:13: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -6251,15 +6137,15 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.swupdate_decrypt_openssl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/swupdate_decrypt_openssl.o corelib/swupdate_decrypt_openssl.c - rm -f fs/lib.a; ar rcs fs/lib.a fs/btrfs.o fs/diskformat.o fs/diskio.o fs/fat_fs.o fs/ff.o fs/mke2fs.o -make -f scripts/Makefile.build obj=containers + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o handlers/built-in.o handlers/dummy_handler.o handlers/chain_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/btrfs_handler.o handlers/copy_handler.o handlers/flash_handler.o handlers/delta_handler.o handlers/delta_downloader.o handlers/zchunk_range.o handlers/diskformat_handler.o handlers/diskpart_handler.o handlers/uniqueuuid_handler.o handlers/flash_hamming1_handler.o handlers/lua_scripthandler.o handlers/raw_handler.o handlers/rdiff_handler.o handlers/readback_handler.o handlers/shell_scripthandler.o handlers/ssbl_handler.o handlers/swuforward_handler.o handlers/swuforward-ws.o handlers/ubivol_handler.o handlers/ucfw_handler.o handlers/docker_handler.o +make -f scripts/Makefile.build obj=parser make[2]: git: No such file or directory - gcc -Wp,-MD,containers/.docker.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o containers/docker.o containers/docker.c + gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o parser/parse_external.o parser/parse_external.c + gcc -Wp,-MD,corelib/.swupdate_decrypt_openssl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/swupdate_decrypt_openssl.o corelib/swupdate_decrypt_openssl.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from include/swupdate.h:16, - from corelib/swupdate_decrypt_openssl.c:15: + from parser/parse_external.c:15: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6278,7 +6164,12 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -In file included from containers/docker.c:18: + gcc -Wp,-MD,corelib/.swupdate_pkcs7_verify.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/swupdate_pkcs7_verify.o corelib/swupdate_pkcs7_verify.c + gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o parser/parser.o parser/parser.c +In file included from include/lua_util.h:13, + from include/swupdate_image.h:15, + from include/swupdate.h:16, + from corelib/swupdate_decrypt_openssl.c:15: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6297,11 +6188,6 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - rm -f containers/lib.a; ar rcs containers/lib.a containers/docker.o -make -f scripts/Makefile.build obj=tools -make[2]: git: No such file or directory - gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-client.o tools/swupdate-client.c - gcc -Wp,-MD,corelib/.swupdate_pkcs7_verify.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/swupdate_pkcs7_verify.o corelib/swupdate_pkcs7_verify.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from include/swupdate.h:16, @@ -6324,10 +6210,7 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c - gcc -Wp,-MD,tools/.swupdate-ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-ipc.o tools/swupdate-ipc.c -In file included from include/pctl.h:12, - from mongoose/mongoose_interface.c:31: +In file included from parser/parser.c:21: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6346,34 +6229,8 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -tools/swupdate-ipc.c: In function 'usage': -tools/swupdate-ipc.c:461:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 461 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ -In file included from /usr/include/wolfssl/wolfcrypt/types.h:34, - from /usr/include/wolfssl/wolfcrypt/logging.h:33, - from /usr/include/wolfssl/openssl/err.h:25, - from mongoose/mongoose.h:1232, - from mongoose/mongoose_interface.c:34: -/usr/include/wolfssl/wolfcrypt/settings.h:3056:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] - 3056 | #warning "For timing resistance / side-channel attack prevention consider using harden options" - | ^~~~~~~ -mongoose/mongoose_interface.c: In function 'p_close': -mongoose/mongoose_interface.c:104:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 104 | return mg_fs_posix.cl(fp); - | ^~~~~~~~~~~~~~~~~~ -mongoose/mongoose_interface.c:102:13: note: declared here - 102 | static void p_close(void *fp) - | ^~~~~~~ -mongoose/mongoose_interface.c: In function 'restart_handler': -mongoose/mongoose_interface.c:345:27: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 345 | ipc_message msg = {}; - | ^ -mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': -mongoose/mongoose_interface.c:505:43: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 505 | ipc_message ipc = {}; - | ^ gcc -Wp,-MD,corelib/.swupdate_settings.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c + gcc -Wp,-MD,corelib/.verify_signature.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/verify_signature.o corelib/verify_signature.c In file included from corelib/swupdate_settings.c:25: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -6393,8 +6250,6 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.verify_signature.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/verify_signature.o corelib/verify_signature.c - gcc -Wp,-MD,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-progress.o tools/swupdate-progress.c In file included from include/lua_util.h:13, from include/swupdate_image.h:15, from include/swupdate.h:16, @@ -6417,31 +6272,122 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -tools/swupdate-progress.c: In function 'usage': -tools/swupdate-progress.c:76:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 76 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,mongoose/.mongoose_multipart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose_multipart.o mongoose/mongoose_multipart.c +make -f scripts/Makefile.build obj=fs +make[2]: git: No such file or directory + gcc -Wp,-MD,fs/.btrfs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/btrfs.o fs/btrfs.c +In file included from fs/btrfs.c:23: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,fs/.diskformat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/diskformat.o fs/diskformat.c rm -f corelib/lib.a; ar rcs corelib/lib.a corelib/channel_curl.o corelib/downloader.o corelib/emmc_utils.o corelib/lua_compat.o corelib/lua_interface.o corelib/mtd-interface.o corelib/multipart_parser.o corelib/parsing_library_libconfig.o corelib/parsing_library_libjson.o corelib/server_utils.o corelib/swupdate_decrypt_openssl.o corelib/swupdate_pkcs7_verify.o corelib/swupdate_settings.o corelib/verify_signature.o +In file included from fs/diskformat.c:10: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ +make -f scripts/Makefile.build obj=containers +make[2]: git: No such file or directory + gcc -Wp,-MD,containers/.docker.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o containers/docker.o containers/docker.c +In file included from containers/docker.c:18: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,fs/.diskio.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/diskio.o fs/diskio.c +In file included from fs/diskio.c:15: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o +make -f scripts/Makefile.build obj=tools +make[2]: git: No such file or directory + rm -f containers/lib.a; ar rcs containers/lib.a containers/docker.o + gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-client.o tools/swupdate-client.c make -f scripts/Makefile.build obj=bindings - rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-ipc.o tools/swupdate-progress.o make[2]: git: No such file or directory gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/auxiliar.o bindings/auxiliar.c -make[2]: git: No such file or directory - /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "libswupdate.so.0.1" "gcc" "-shared -Wl,-soname,libswupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default -L/build/reproducible-path/swupdate-2024.05.2+dfsg" "ipc/built-in.o" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck " -In file included from /usr/include/wolfssl/wolfcrypt/types.h:34, - from /usr/include/wolfssl/wolfcrypt/logging.h:33, - from /usr/include/wolfssl/openssl/err.h:25, - from mongoose/mongoose.h:1232, - from mongoose/mongoose_multipart.h:22, - from mongoose/mongoose_multipart.c:22: -/usr/include/wolfssl/wolfcrypt/settings.h:3056:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] - 3056 | #warning "For timing resistance / side-channel attack prevention consider using harden options" - | ^~~~~~~ + gcc -Wp,-MD,fs/.fat_fs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/fat_fs.o fs/fat_fs.c +In file included from fs/fat_fs.c:12: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c - rm -f mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o mongoose/mongoose_multipart.o -make[2]: git: No such file or directory - gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c + gcc -Wp,-MD,fs/.ff.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/ff.o fs/ff.c + gcc -Wp,-MD,tools/.swupdate-ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-ipc.o tools/swupdate-ipc.c In file included from include/lua_util.h:13, from bindings/lua_swupdate.c:10: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -6462,6 +6408,11 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ +tools/swupdate-ipc.c: In function 'usage': +tools/swupdate-ipc.c:461:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 461 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c In file included from include/lua_util.h:13, from include/../corelib/lua_compat.c:9, from bindings/lua_compat_shared.c:5: @@ -6485,17 +6436,102 @@ | ^~~ gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o make[2]: git: No such file or directory + /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "libswupdate.so.0.1" "gcc" "-shared -Wl,-soname,libswupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default -L/build/reproducible-path/swupdate-2024.05.2+dfsg" "ipc/built-in.o" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck " + gcc -Wp,-MD,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-progress.o tools/swupdate-progress.c +tools/swupdate-progress.c: In function 'usage': +tools/swupdate-progress.c:76:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 76 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-ipc.o tools/swupdate-progress.o +make[2]: git: No such file or directory + gcc -Wp,-MD,fs/.mke2fs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/mke2fs.o fs/mke2fs.c +In file included from fs/mke2fs.c:41: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c +In file included from include/pctl.h:12, + from mongoose/mongoose_interface.c:31: +include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 103 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:126:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 126 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:129:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 129 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:132:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 132 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:135:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 135 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 138 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,mongoose/.mongoose_multipart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose_multipart.o mongoose/mongoose_multipart.c +In file included from /usr/include/wolfssl/wolfcrypt/types.h:34, + from /usr/include/wolfssl/wolfcrypt/logging.h:33, + from /usr/include/wolfssl/openssl/err.h:25, + from mongoose/mongoose.h:1232, + from mongoose/mongoose_interface.c:34: +/usr/include/wolfssl/wolfcrypt/settings.h:3056:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] + 3056 | #warning "For timing resistance / side-channel attack prevention consider using harden options" + | ^~~~~~~ +In file included from /usr/include/wolfssl/wolfcrypt/types.h:34, + from /usr/include/wolfssl/wolfcrypt/logging.h:33, + from /usr/include/wolfssl/openssl/err.h:25, + from mongoose/mongoose.h:1232, + from mongoose/mongoose_multipart.h:22, + from mongoose/mongoose_multipart.c:22: +/usr/include/wolfssl/wolfcrypt/settings.h:3056:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] + 3056 | #warning "For timing resistance / side-channel attack prevention consider using harden options" + | ^~~~~~~ +mongoose/mongoose_interface.c: In function 'p_close': +mongoose/mongoose_interface.c:104:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 104 | return mg_fs_posix.cl(fp); + | ^~~~~~~~~~~~~~~~~~ +mongoose/mongoose_interface.c:102:13: note: declared here + 102 | static void p_close(void *fp) + | ^~~~~~~ +mongoose/mongoose_interface.c: In function 'restart_handler': +mongoose/mongoose_interface.c:345:27: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 345 | ipc_message msg = {}; + | ^ +mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': +mongoose/mongoose_interface.c:505:43: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 505 | ipc_message ipc = {}; + | ^ + rm -f fs/lib.a; ar rcs fs/lib.a fs/btrfs.o fs/diskformat.o fs/diskio.o fs/fat_fs.o fs/ff.o fs/mke2fs.o + rm -f mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o mongoose/mongoose_multipart.o +make[2]: git: No such file or directory /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "swupdate_unstripped" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default" "core/built-in.o handlers/built-in.o bootloader/built-in.o suricatta/built-in.o ipc/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck " make[2]: git: No such file or directory /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "tools/swupdate-client" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default -L/build/reproducible-path/swupdate-2024.05.2+dfsg" "tools/swupdate-client.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck :libswupdate.so.0.1" make[2]: git: No such file or directory /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "tools/swupdate-ipc" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default -L/build/reproducible-path/swupdate-2024.05.2+dfsg" "tools/swupdate-ipc.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck :libswupdate.so.0.1" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client make[2]: git: No such file or directory /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "tools/swupdate-progress" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default -L/build/reproducible-path/swupdate-2024.05.2+dfsg" "tools/swupdate-progress.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck :libswupdate.so.0.1" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client make[2]: git: No such file or directory /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "lua_swupdate.so.0.1" "gcc" "-shared -Wl,-soname,lua_swupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default -L/build/reproducible-path/swupdate-2024.05.2+dfsg" "bindings/built-in.o ipc/built-in.o" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck " + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress strip -s --remove-section=.note --remove-section=.comment tools/swupdate-ipc_unstripped -o tools/swupdate-ipc; chmod a+x tools/swupdate-ipc make[2]: git: No such file or directory strip -s --remove-section=.note --remove-section=.comment swupdate_unstripped -o swupdate; chmod a+x swupdate @@ -8482,7 +8518,7 @@ debian/rules override_dh_auto_test-arch make[1]: Entering directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' dh_auto_test -- V=1 - make -j3 test V=1 + make -j4 test V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' make[2]: git: No such file or directory make -f scripts/Makefile.build obj=test SWOBJS="core/built-in.o handlers/built-in.o bootloader/built-in.o suricatta/built-in.o" SWLIBS="corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a libswupdate.so.0.1" LDLIBS="pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck " tests @@ -8490,7 +8526,9 @@ gcc -Wp,-MD,test/.test_crypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -Itest/../ -c -o test/test_crypt.o test/test_crypt.c gcc -Wp,-MD,test/.test_hash.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -Itest/../ -c -o test/test_hash.o test/test_hash.c gcc -Wp,-MD,test/.test_json.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -Itest/../ -c -o test/test_json.o test/test_json.c -In file included from test/test_crypt.c:27: + gcc -Wp,-MD,test/.test_server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -Itest/../ -c -o test/test_server_hawkbit.o test/test_server_hawkbit.c +In file included from include/sslapi.h:11, + from test/test_hash.c:27: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -8509,8 +8547,7 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/sslapi.h:11, - from test/test_hash.c:27: +In file included from test/test_crypt.c:27: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -8529,7 +8566,6 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,test/.test_server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DOPENSSL_ALL -DBOOTLOADER_DEFAULT="none" -DEMBEDDED_SURICATTA_LUA_SOURCE_START="_binary_suricatta_server_wfx_lua_start" -DEMBEDDED_SURICATTA_LUA_SOURCE_END="_binary_suricatta_server_wfx_lua_end" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -Itest/../ -c -o test/test_server_hawkbit.o test/test_server_hawkbit.c In file included from test/test_server_hawkbit.c:19: include/util.h:103:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 103 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -8569,16 +8605,16 @@ include/util.h:138:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 138 | #define DEBUG(format, arg...) \ | ^~~ -strip -N main -o /build/reproducible-path/swupdate-2024.05.2+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2024.05.2+dfsg/core/built-in.o - /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "test/test_crypt" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default `/usr/bin/env gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_crypt.c`" "test/test_crypt.o core/built-in.o.tmp handlers/built-in.o bootloader/built-in.o suricatta/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a libswupdate.so.0.1" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck cmocka" - /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "test/test_hash" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default `/usr/bin/env gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_hash.c`" "test/test_hash.o core/built-in.o.tmp handlers/built-in.o bootloader/built-in.o suricatta/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a libswupdate.so.0.1" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck cmocka" test/test_server_hawkbit.c: In function '__wrap_channel_get_file': test/test_server_hawkbit.c:87:9: warning: '__builtin_strncpy' specified bound 41 equals destination size [-Wstringop-truncation] 87 | strncpy(channel_data->sha1hash, mock_type(char *), | ^ +strip -N main -o /build/reproducible-path/swupdate-2024.05.2+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2024.05.2+dfsg/core/built-in.o /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "test/test_json" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default `/usr/bin/env gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_json.c`" "test/test_json.o core/built-in.o.tmp handlers/built-in.o bootloader/built-in.o suricatta/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a libswupdate.so.0.1" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck cmocka" /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "test/test_server_hawkbit" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default `/usr/bin/env gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_server_hawkbit.c`" "test/test_server_hawkbit.o core/built-in.o.tmp handlers/built-in.o bootloader/built-in.o suricatta/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a libswupdate.so.0.1" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck cmocka" /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "test/test_util" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default `/usr/bin/env gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_util.c`" "test/test_util.o core/built-in.o.tmp handlers/built-in.o bootloader/built-in.o suricatta/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a libswupdate.so.0.1" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck cmocka" + /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "test/test_crypt" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default `/usr/bin/env gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_crypt.c`" "test/test_crypt.o core/built-in.o.tmp handlers/built-in.o bootloader/built-in.o suricatta/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a libswupdate.so.0.1" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck cmocka" + /build/reproducible-path/swupdate-2024.05.2+dfsg/scripts/trylink "test/test_hash" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swupdate-2024.05.2+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 " "-Wl,-z,relro -Wl,-z,now -Wl,--format=binary -Wl,"suricatta/server_wfx.lua" -Wl,--format=default `/usr/bin/env gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_hash.c`" "test/test_hash.o core/built-in.o.tmp handlers/built-in.o bootloader/built-in.o suricatta/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a fs/lib.a containers/lib.a libswupdate.so.0.1" "pthread ubootenv json-c lua5.4 curl config archive wolfssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid btrfsutil udev blkid rsync gpiod dl dl systemd websockets uriparser zck cmocka" RUN test_crypt TAP version 13 1..4 @@ -8622,7 +8658,7 @@ debian/rules override_dh_auto_install-arch make[1]: Entering directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' dh_auto_install -- V=1 - make -j3 install DESTDIR=/build/reproducible-path/swupdate-2024.05.2\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 + make -j4 install DESTDIR=/build/reproducible-path/swupdate-2024.05.2\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' make[2]: git: No such file or directory make -f scripts/Makefile.build obj=ipc @@ -8699,32 +8735,32 @@ debian/rules override_dh_dwz make[1]: Entering directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' dh_dwz --no-dwz-multifile -dwz: debian/swupdate/usr/bin/swupdate-client: .debug_info section not present +dwz: debian/swupdate/usr/bin/swupdate: .debug_info section not present dwz: debian/swupdate/usr/bin/swupdate-ipc: .debug_info section not present dwz: debian/swupdate/usr/bin/swupdate-progress: .debug_info section not present -dwz: debian/swupdate/usr/bin/swupdate: .debug_info section not present +dwz: debian/swupdate/usr/bin/swupdate-client: .debug_info section not present make[1]: Leaving directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dpkg-shlibdeps: warning: diversions involved - output may be incorrect +dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged -dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged dpkg-shlibdeps: warning: diversions involved - output may be incorrect - diversion by libext2fs2t64 from: /lib/arm-linux-gnueabihf/libext2fs.so.2 -dpkg-shlibdeps: warning: diversions involved - output may be incorrect - diversion by libext2fs2t64 to: /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged -dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged -dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/arm-linux-gnueabihf/lua/5.4/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_rawget: it's probably a plugin +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/arm-linux-gnueabihf/lua/5.4/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_gettable: it's probably a plugin dpkg-shlibdeps: warning: 30 other similar warnings have been skipped (use -v to see them all) +dpkg-shlibdeps: warning: diversions involved - output may be incorrect + diversion by libext2fs2t64 from: /lib/arm-linux-gnueabihf/libext2fs.so.2 +dpkg-shlibdeps: warning: diversions involved - output may be incorrect + diversion by libext2fs2t64 to: /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged dh_installdeb debian/rules override_dh_gencontrol-arch make[1]: Entering directory '/build/reproducible-path/swupdate-2024.05.2+dfsg' @@ -8738,13 +8774,13 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'swupdate' in '../swupdate_2024.05.2+dfsg-2_armhf.deb'. +dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2024.05.2+dfsg-2_armhf.deb'. dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2024.05.2+dfsg-2_armhf.deb'. +dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2024.05.2+dfsg-2_armhf.deb'. +dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2024.05.2+dfsg-2_all.deb'. dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2024.05.2+dfsg-2_armhf.deb'. -dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2024.05.2+dfsg-2_armhf.deb'. dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2024.05.2+dfsg-2_armhf.deb'. -dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2024.05.2+dfsg-2_all.deb'. dpkg-deb: building package 'swupdate-www' in '../swupdate-www_2024.05.2+dfsg-2_all.deb'. -dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2024.05.2+dfsg-2_armhf.deb'. dpkg-genbuildinfo --build=binary -O../swupdate_2024.05.2+dfsg-2_armhf.buildinfo dpkg-genchanges --build=binary -O../swupdate_2024.05.2+dfsg-2_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -8752,12 +8788,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/7428/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/7428/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/19448 and its subdirectories -I: Current time: Sat Oct 19 20:13:20 -12 2024 -I: pbuilder-time-stamp: 1729412000 +I: removing directory /srv/workspace/pbuilder/7428 and its subdirectories +I: Current time: Sun Oct 20 22:46:03 +14 2024 +I: pbuilder-time-stamp: 1729413963