Diff of the two buildlogs: -- --- b1/build.log 2024-05-17 22:31:37.112300024 +0000 +++ b2/build.log 2024-05-17 22:17:53.587386111 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 19 16:40:56 -12 2025 -I: pbuilder-time-stamp: 1750394456 +I: Current time: Sat May 18 11:46:21 +14 2024 +I: pbuilder-time-stamp: 1715982381 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying use-gcc-compiler.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2551152/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1450092/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +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 May 17 21:46 /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/1450092/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1450092/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='b10bea1c136a45b286446582039e2346' - 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='2551152' - PS1='# ' - PS2='> ' + INVOCATION_ID=b11139b31818461094d4702ec4fcd2a8 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=1450092 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.JdWZqC2w/pbuilderrc_KHNt --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.JdWZqC2w/b1 --logfile b1/build.log swupdate_2023.12.1+dfsg-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + 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.JdWZqC2w/pbuilderrc_LveZ --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.JdWZqC2w/b2 --logfile b2/build.log swupdate_2023.12.1+dfsg-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 19 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2551152/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 17 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1450092/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -537,7 +569,7 @@ Get: 345 http://deb.debian.org/debian unstable/main amd64 tipa all 2:1.3-21 [2974 kB] Get: 346 http://deb.debian.org/debian unstable/main amd64 texlive-xetex all 2023.20240207-1 [11.3 MB] Get: 347 http://deb.debian.org/debian unstable/main amd64 texlive-formats-extra all 2023.20240207-1 [7833 kB] -Fetched 261 MB in 7s (38.0 MB/s) +Fetched 261 MB in 16s (16.0 MB/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 ... 19719 files and directories currently installed.) @@ -1680,8 +1712,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Jun 20 04:43:09 UTC 2025. -Universal Time is now: Fri Jun 20 04:43:09 UTC 2025. +Local time is now: Fri May 17 21:52:48 UTC 2024. +Universal Time is now: Fri May 17 21:52:48 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up liberror-perl (0.17029-2) ... @@ -1993,7 +2025,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/swupdate-2023.12.1+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_2023.12.1+dfsg-2_source.changes +I: user script /srv/workspace/pbuilder/1450092/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1450092/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/swupdate-2023.12.1+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_2023.12.1+dfsg-2_source.changes dpkg-buildpackage: info: source package swupdate dpkg-buildpackage: info: source version 2023.12.1+dfsg-2 dpkg-buildpackage: info: source distribution unstable @@ -2003,7 +2039,7 @@ debian/rules clean dh clean dh_auto_clean - make -j42 distclean + make -j20 distclean make[1]: Entering directory '/build/reproducible-path/swupdate-2023.12.1+dfsg' make[1]: git: No such file or directory make[1]: git: No such file or directory @@ -3756,71 +3792,44 @@ 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 -j42 "INSTALL=install --strip-program=true" V=1 + make -j20 "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2023.12.1+dfsg' make[2]: git: No such file or directory make[2]: git: No such file or directory make -f scripts/Makefile.build obj=ipc make[2]: git: No such file or directory make -f scripts/Makefile.build obj=core - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o ipc/network_ipc.o ipc/network_ipc.c 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o ipc/network_ipc.o ipc/network_ipc.c make -f scripts/Makefile.build obj=handlers -make[2]: git: No such file or directory 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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[2]: git: No such file or directory 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate.o core/swupdate.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o ipc/progress_ipc.o ipc/progress_ipc.c make -f scripts/Makefile.build obj=bootloader 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/cpio_utils.o core/cpio_utils.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/notifier.o core/notifier.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/dummy_handler.o handlers/dummy_handler.c make[2]: git: No such file or directory - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/dummy_handler.o handlers/dummy_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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/notifier.o core/notifier.c make -f scripts/Makefile.build obj=suricatta - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/uboot.o bootloader/uboot.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/handler.o core/handler.c 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/chain_handler.o handlers/chain_handler.c make[2]: git: No such file or directory + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/handler.o core/handler.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/uboot.o bootloader/uboot.c +make -f scripts/Makefile.build obj=corelib + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/bootloader.o core/bootloader.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/none.o bootloader/none.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/hw-compatibility.o core/hw-compatibility.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/grub.o bootloader/grub.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/boot_handler.o handlers/boot_handler.c -make -f scripts/Makefile.build obj=corelib - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/btrfs_handler.o handlers/btrfs_handler.c -make[2]: git: No such file or directory - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/ebg.o bootloader/ebg.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/copy_handler.o handlers/copy_handler.c 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/suricatta.o suricatta/suricatta.c -make -f scripts/Makefile.build obj=mongoose - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/parser.o core/parser.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/state.o core/state.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/flash_handler.o handlers/flash_handler.c make[2]: git: No such file or directory + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/boot_handler.o handlers/boot_handler.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/grub.o bootloader/grub.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/channel_curl.o corelib/channel_curl.c -make -f scripts/Makefile.build obj=parser - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/syslog.o core/syslog.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/delta_handler.o handlers/delta_handler.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/downloader.o corelib/downloader.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/installer.o core/installer.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_general.o suricatta/server_general.c -make[2]: git: No such file or directory - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/lua_compat.o corelib/lua_compat.c -make -f scripts/Makefile.build obj=fs - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/delta_downloader.o handlers/delta_downloader.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/network_utils.o core/network_utils.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/zchunk_range.o handlers/zchunk_range.c -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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o parser/parse_external.o parser/parse_external.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/btrfs.o fs/btrfs.c -In file included from core/bootloader.c:9: +In file included from include/lua_util.h:13, + from core/handler.c:16: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3839,7 +3848,8 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/dummy_handler.c:16: +In file included from include/pctl.h:12, + from handlers/chain_handler.c:19: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3858,7 +3868,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/state.c:12: +In file included from handlers/boot_handler.c:19: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3877,8 +3887,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/sslapi.h:11, - from core/parser.c:16: +In file included from bootloader/uboot.c:19: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3897,17 +3906,20 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/delta_handler.c:35: +In file included from core/bootloader.c:9: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -make -f scripts/Makefile.build obj=containers include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ +In file included from handlers/dummy_handler.c:16: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ @@ -3917,11 +3929,6 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/lua_util.h:13, - from core/handler.c:16: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -3934,15 +3941,10 @@ include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ -make[2]: git: No such file or directory include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from suricatta/suricatta.c:12: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from handlers/archive_handler.c:25: +In file included from core/hw-compatibility.c:12: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3961,6 +3963,11 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ +In file included from bootloader/grub.h:15, + from bootloader/grub.c:9: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -3976,19 +3983,32 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from fs/btrfs.c:23: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ +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 file included from core/cpio_utils.c:26: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o containers/docker.o containers/docker.c include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ -In file included from core/syslog.c:9: +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o bootloader/ebg.o bootloader/ebg.c +In file included from suricatta/suricatta.c:12: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4007,23 +4027,13 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ -In file included from bootloader/ebg.c:18: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from core/hw-compatibility.c:12: +In file included from core/swupdate.c:29: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ @@ -4036,6 +4046,16 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ +In file included from core/notifier.c:24: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ @@ -4045,13 +4065,10 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -handlers/delta_handler.c: In function 'network_process_data': -include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 176 | #define min(a, b) ({\ - | ^ -handlers/delta_handler.c:146:37: note: in expansion of macro 'min' - 146 | size_t tobecopied = min(nbytes, to_be_filled); - | ^~~ +In file included from suricatta/server_hawkbit.c:18: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -4067,11 +4084,14 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/pctl.h:12, - from handlers/chain_handler.c:19: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/archive_handler.c:25: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ @@ -4084,7 +4104,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/network_utils.c:23: +In file included from bootloader/ebg.c:18: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4100,11 +4120,25 @@ include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ -make -f scripts/Makefile.build obj=tools include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from bootloader/uboot.c:19: +suricatta/suricatta.c: In function 'start_suricatta': +suricatta/suricatta.c:311:37: warning: ISO C forbids passing argument 2 of 'start_thread' between function pointer and 'void *' [-Wpedantic] + 311 | 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:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 176 | #define min(a, b) ({\ + | ^ +suricatta/suricatta.c:345:41: note: in expansion of macro 'min' + 345 | wait_seconds = min(wait_seconds, (int)server->get_polling_interval())) { + | ^~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4123,9 +4157,11 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -core/hw-compatibility.c: In function 'get_hw_revision': -In file included from include/lua_util.h:13, - from corelib/lua_compat.c:9: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/flash_handler.o handlers/flash_handler.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/downloader.o corelib/downloader.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/parser.o core/parser.c +In file included from handlers/btrfs_handler.c:10: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4144,7 +4180,17 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/swupdate.c:29: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/delta_handler.o handlers/delta_handler.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/pctl.o core/pctl.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/delta_downloader.o handlers/delta_downloader.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 corelib/channel_curl.c:24: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4163,6 +4209,10 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ +In file included from handlers/flash_handler.c:30: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -4175,35 +4225,10 @@ include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ -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=] include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -make[2]: git: No such file or directory -handlers/delta_handler.c: In function 'parse_headers': - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-client.o tools/swupdate-client.c -In file included from core/install_from_file.c:18: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -handlers/delta_handler.c:623:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 623 | nconv = sscanf(answer->data, "%ms %ms %ms", &header, &value, &boundary_string); - | ^~~~~~~~~~~~~ -handlers/delta_handler.c:623:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -handlers/delta_handler.c:623:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -In file included from suricatta/server_general.c:23: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from suricatta/server_hawkbit.c:18: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from include/pctl.h:12, - from core/pctl.c:22: +In file included from corelib/downloader.c:14: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4222,57 +4247,89 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ +corelib/downloader.c: In function 'start_download_server': +corelib/downloader.c:271:23: warning: ISO C forbids passing argument 1 of 'ipc_thread_fn' between function pointer and 'void *' [-Wpedantic] + 271 | 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); + | ~~~~~~^~~~ +In file included from include/sslapi.h:11, + from core/parser.c:16: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ | ^~~ +core/cpio_utils.c: In function 'copy_write': +In file included from core/util.c:36: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +core/cpio_utils.c:176:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 176 | buf += ret; + | ^~ + 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 include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ + | ^~~ +core/swupdate.c: In function 'usage': +core/swupdate.c:132:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 132 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 handlers/copy_handler.c:28: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +core/util.c: In function 'load_decryption_key': include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ -In file included from handlers/flash_handler.c:30: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from bootloader/grub.h:15, - from bootloader/grub.c:9: +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=] +In file included from handlers/delta_downloader.c:29: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4291,18 +4348,42 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -suricatta/suricatta.c: In function 'start_suricatta': -suricatta/suricatta.c:311:37: warning: ISO C forbids passing argument 2 of 'start_thread' between function pointer and 'void *' [-Wpedantic] - 311 | start_thread(ipc_thread_fn, suricatta_ipc); - | ^~~~~~~~~~~~~ -In file included from core/notifier.c:24: +core/util.c: In function 'get_root_from_partitions': +core/util.c:983:38: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long unsigned int *' [-Wformat=] + 983 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 984 | &major, &minor, &nblocks, &devname); + | ~~~~~~ + | | + | long unsigned int * +core/util.c:983:42: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long unsigned int *' [-Wformat=] + 983 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 984 | &major, &minor, &nblocks, &devname); + | ~~~~~~ + | | + | long unsigned int * +core/util.c:983:46: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'long unsigned int *' [-Wformat=] + 983 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 984 | &major, &minor, &nblocks, &devname); + | ~~~~~~~~ + | | + | long unsigned int * +In file included from include/pctl.h:12, + from core/pctl.c:22: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -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:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -4318,18 +4399,32 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ +core/util.c:983:35: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 983 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ^~~~~~~~~~~~~~~~~ +core/util.c: In function 'get_root_from_mountinfo': +core/util.c:1012:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 1012 | if (fscanf(fp, "%*s %*s %u:%u %*s %ms %*s %*[-] %*s %ms %*s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/util.c:1012:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +make -f scripts/Makefile.build obj=mongoose +make[2]: git: No such file or directory +handlers/delta_downloader.c: In function 'wrdata_callback': include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 176 | #define min(a, b) ({\ | ^ -suricatta/suricatta.c:345:41: note: in expansion of macro 'min' - 345 | wait_seconds = min(wait_seconds, (int)server->get_polling_interval())) { - | ^~~ -In file included from handlers/btrfs_handler.c:10: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from include/pctl.h:12, - from mongoose/mongoose_interface.c:30: +handlers/delta_downloader.c:90:31: note: in expansion of macro 'min' + 90 | answer->len = min(nbytes, RANGE_PAYLOAD_SIZE); + | ^~~ +handlers/delta_downloader.c: In function 'delta_callback_headers': +include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 176 | #define min(a, b) ({\ + | ^ +handlers/delta_downloader.c:121:23: note: in expansion of macro 'min' + 121 | answer->len = min(size * nitems , RANGE_PAYLOAD_SIZE - 2); + | ^~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/zchunk_range.o handlers/zchunk_range.c +In file included from handlers/delta_handler.c:35: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4348,52 +4443,146 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/installer.c:26: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 +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:114:52: note: in definition of macro 'swupdate_notify' + 114 | ## 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:117:71: note: in definition of macro 'swupdate_notify' + 117 | "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:121:72: note: in definition of macro 'swupdate_notify' + 121 | "[%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; + | ^ +handlers/delta_handler.c: In function 'network_process_data': +include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 176 | #define min(a, b) ({\ + | ^ +handlers/delta_handler.c:146:37: note: in expansion of macro 'min' + 146 | size_t tobecopied = min(nbytes, to_be_filled); + | ^~~ +handlers/delta_handler.c: In function 'parse_headers': +handlers/delta_handler.c:623:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 623 | nconv = sscanf(answer->data, "%ms %ms %ms", &header, &value, &boundary_string); + | ^~~~~~~~~~~~~ +handlers/delta_handler.c:623:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +handlers/delta_handler.c:623:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/syslog.o core/syslog.c +In file included from core/state.c:12: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -make -f scripts/Makefile.build obj=bindings include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 core/syslog.c:9: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/diskformat.o fs/diskformat.c -In file included from core/util.c:36: +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:326:33: warning: embedding a directive within macro arguments is not portable + 326 | #if LIBCURL_VERSION_NUM >= 0x75500 + | ^ +corelib/channel_curl.c:328:33: warning: embedding a directive within macro arguments is not portable + 328 | #else + | ^ +corelib/channel_curl.c:330:33: warning: embedding a directive within macro arguments is not portable + 330 | #endif + | ^ +In file included from handlers/zchunk_range.c:24: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/installer.o core/installer.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 /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:2955:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] + 2955 | #warning "For timing resistance / side-channel attack prevention consider using harden options" + | ^~~~~~~ In file included from include/lua_util.h:13, - from suricatta/server_lua.c:20: + from corelib/lua_compat.c:9: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -make[2]: git: No such file or directory include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -4409,46 +4598,44 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ +corelib/channel_curl.c: In function 'channel_set_options': +corelib/channel_curl.c:591:25: warning: embedding a directive within macro arguments is not portable + 591 | #if LIBCURL_VERSION_NUM >= 0x75500 + | ^ +corelib/channel_curl.c:594:25: warning: embedding a directive within macro arguments is not portable + 594 | #else + | ^ +corelib/channel_curl.c:597:25: warning: embedding a directive within macro arguments is not portable + 597 | #endif + | ^ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/network_utils.o core/network_utils.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 + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 include/pctl.h:12, + from mongoose/mongoose_interface.c:30: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c +make -f scripts/Makefile.build obj=parser include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ -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:2955:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] - 2955 | #warning "For timing resistance / side-channel attack prevention consider using harden options" - | ^~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/auxiliar.o bindings/auxiliar.c -In file included from handlers/boot_handler.c:19: +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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o parser/parse_external.o parser/parse_external.c +In file included from handlers/diskformat_handler.c:10: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4458,8 +4645,6 @@ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ -core/util.c: In function 'load_decryption_key': - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o parser/parser.o parser/parser.c include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ @@ -4469,7 +4654,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/delta_downloader.c:29: +In file included from core/network_utils.c:23: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4488,40 +4673,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -core/pctl.c: In function '__run_cmd': -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/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:114:52: note: in definition of macro 'swupdate_notify' - 114 | ## 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:117:71: note: in definition of macro 'swupdate_notify' - 117 | "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:121:72: note: in definition of macro 'swupdate_notify' - 121 | "[%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)); - | ^~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/diskio.o fs/diskio.c -In file included from corelib/downloader.c:14: +In file included from core/installer.c:26: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4540,16 +4692,17 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -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 include/pctl.h:12, - from handlers/copy_handler.c:28: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 /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:33: +/usr/include/wolfssl/wolfcrypt/settings.h:2955:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] + 2955 | #warning "For timing resistance / side-channel attack prevention consider using harden options" + | ^~~~~~~ +In file included from include/lua_util.h:13, + from suricatta/server_lua.c:20: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4568,46 +4721,10 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -core/util.c: In function 'get_root_from_partitions': -core/util.c:983:38: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long unsigned int *' [-Wformat=] - 983 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 984 | &major, &minor, &nblocks, &devname); - | ~~~~~~ - | | - | long unsigned int * -core/util.c:983:42: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long unsigned int *' [-Wformat=] - 983 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 984 | &major, &minor, &nblocks, &devname); - | ~~~~~~ - | | - | long unsigned int * -core/util.c:983:46: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'long unsigned int *' [-Wformat=] - 983 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 984 | &major, &minor, &nblocks, &devname); - | ~~~~~~~~ - | | - | long unsigned int * -core/util.c:983:35: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 983 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ^~~~~~~~~~~~~~~~~ -core/util.c: In function 'get_root_from_mountinfo': -core/util.c:1012:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 1012 | if (fscanf(fp, "%*s %*s %u:%u %*s %ms %*s %*[-] %*s %ms %*s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/util.c:1012:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-ipc.o tools/swupdate-ipc.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/network_thread.o core/network_thread.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/btrfs.o fs/btrfs.c suricatta/server_lua.c: In function 'channel_push_options': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ @@ -4639,7 +4756,6 @@ suricatta/server_lua.c:524:9: note: in expansion of macro 'push_to_table' 524 | push_to_table(L, "iface", channel_data->iface); | ^~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -4676,20 +4792,12 @@ suricatta/server_lua.c:531:17: note: in expansion of macro 'push_to_table' 531 | push_to_table(L, "proxy", ""); | ^~~~~~~~~~~~~ -corelib/downloader.c: In function 'start_download_server': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:533:17: note: in expansion of macro 'push_to_table' 533 | push_to_table(L, "proxy", channel_data->proxy); | ^~~~~~~~~~~~~ -corelib/downloader.c:271:23: warning: ISO C forbids passing argument 1 of 'ipc_thread_fn' between function pointer and 'void *' [-Wpedantic] - 271 | 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); - | ~~~~~~^~~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -4732,20 +4840,6 @@ suricatta/server_lua.c:541:9: note: in expansion of macro 'push_to_table' 541 | push_to_table(L, "low_speed_timeout", channel_data->low_speed_timeout); | ^~~~~~~~~~~~~ -handlers/delta_downloader.c: In function 'wrdata_callback': -include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 176 | #define min(a, b) ({\ - | ^ -handlers/delta_downloader.c:90:31: note: in expansion of macro 'min' - 90 | answer->len = min(nbytes, RANGE_PAYLOAD_SIZE); - | ^~~ -handlers/delta_downloader.c: In function 'delta_callback_headers': -include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 176 | #define min(a, b) ({\ - | ^ -handlers/delta_downloader.c:121:23: note: in expansion of macro 'min' - 121 | answer->len = min(size * nitems , RANGE_PAYLOAD_SIZE - 2); - | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -4758,6 +4852,7 @@ suricatta/server_lua.c:543:9: note: in expansion of macro 'push_to_table' 543 | push_to_table(L, "format", channel_data->format); | ^~~~~~~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o parser/parser.o parser/parser.c suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -4795,25 +4890,6 @@ 549 | push_to_table(L, "max_download_speed", channel_data->max_download_speed); | ^~~~~~~~~~~~~ suricatta/server_lua.c: In function 'channel_set_options': -In file included from corelib/channel_curl.c:24: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ suricatta/server_lua.c:228:41: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 228 | #define get_from_table_3(L, name, dest) ({ \ | ^ @@ -4910,6 +4986,7 @@ suricatta/server_lua.c:569:9: note: in expansion of macro 'get_from_table' 569 | get_from_table(L, "request_body", channel_data->request_body, COPY_DEST); | ^~~~~~~~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c suricatta/server_lua.c:251:52: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 251 | #define get_from_table_4(L, name, dest, copy_dest) ({ \ | ^ @@ -4937,6 +5014,7 @@ suricatta/server_lua.c:570:9: note: in expansion of macro 'get_from_table' 570 | get_from_table(L, "iface", channel_data->iface, COPY_DEST); | ^~~~~~~~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/stream_interface.o core/stream_interface.c suricatta/server_lua.c:251:52: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 251 | #define get_from_table_4(L, name, dest, copy_dest) ({ \ | ^ @@ -5015,6 +5093,7 @@ suricatta/server_lua.c:573:9: note: in expansion of macro 'get_from_table' 573 | get_from_table(L, "sslkey", channel_data->sslkey, COPY_DEST); | ^~~~~~~~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c suricatta/server_lua.c:228:41: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 228 | #define get_from_table_3(L, name, dest) ({ \ | ^ @@ -5030,7 +5109,6 @@ suricatta/server_lua.c:574:9: note: in expansion of macro 'get_from_table' 574 | get_from_table(L, "sslcert", channel_data->sslcert, COPY_DEST); | ^~~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-progress.o tools/swupdate-progress.c suricatta/server_lua.c:251:52: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 251 | #define get_from_table_4(L, name, dest, copy_dest) ({ \ | ^ @@ -5043,21 +5121,6 @@ suricatta/server_lua.c:574:9: note: in expansion of macro 'get_from_table' 574 | get_from_table(L, "sslcert", channel_data->sslcert, COPY_DEST); | ^~~~~~~~~~~~~~ -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:33: -/usr/include/wolfssl/wolfcrypt/settings.h:2955:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] - 2955 | #warning "For timing resistance / side-channel attack prevention consider using harden options" - | ^~~~~~~ -In file included from fs/diskformat.c:10: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ suricatta/server_lua.c:228:41: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 228 | #define get_from_table_3(L, name, dest) ({ \ | ^ @@ -5073,18 +5136,6 @@ suricatta/server_lua.c:575:9: note: in expansion of macro 'get_from_table' 575 | get_from_table(L, "ciphers", channel_data->ciphers, COPY_DEST); | ^~~~~~~~~~~~~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ suricatta/server_lua.c:251:52: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 251 | #define get_from_table_4(L, name, dest, copy_dest) ({ \ | ^ @@ -5250,7 +5301,6 @@ suricatta/server_lua.c:584:9: note: in expansion of macro 'get_from_table' 584 | get_from_table(L, "format", channel_data->format); | ^~~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/lua_interface.o corelib/lua_interface.c suricatta/server_lua.c:228:41: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 228 | #define get_from_table_3(L, name, dest) ({ \ | ^ @@ -5299,7 +5349,6 @@ suricatta/server_lua.c:588:9: note: in expansion of macro 'get_from_table' 588 | get_from_table(L, "nocheckanswer", channel_data->nocheckanswer); | ^~~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/fat_fs.o fs/fat_fs.c suricatta/server_lua.c:228:41: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 228 | #define get_from_table_3(L, name, dest) ({ \ | ^ @@ -5312,10 +5361,6 @@ suricatta/server_lua.c:589:9: note: in expansion of macro 'get_from_table' 589 | get_from_table(L, "nofollow", channel_data->nofollow); | ^~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~ suricatta/server_lua.c:228:41: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 228 | #define get_from_table_3(L, name, dest) ({ \ | ^ @@ -5328,9 +5373,6 @@ suricatta/server_lua.c:591:9: note: in expansion of macro 'get_from_table' 591 | get_from_table(L, "max_download_speed", max_download_speed); | ^~~~~~~~~~~~~~ -handlers/archive_handler.c:85:18: note: 'old_locale' was declared here - 85 | locale_t old_locale; - | ^~~~~~~~~~ suricatta/server_lua.c: In function 'channel_do_operation': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ @@ -5338,6 +5380,25 @@ suricatta/server_lua.c:725:9: note: in expansion of macro 'push_to_table' 725 | push_to_table(L, "http_response_code", channel_data.http_response_code); | ^~~~~~~~~~~~~ +In file included from handlers/uniqueuuid_handler.c:26: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5363,12 +5424,32 @@ suricatta/server_lua.c:910:25: note: in expansion of macro 'push_to_table' 910 | push_to_table(thread_data->L, "dwl_percent", message->dwl_percent); | ^~~~~~~~~~~~~ +In file included from include/lua_util.h:13, + from corelib/lua_interface.c:23: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:911:25: note: in expansion of macro 'push_to_table' 911 | push_to_table(thread_data->L, "nsteps", message->nsteps); | ^~~~~~~~~~~~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5387,13 +5468,7 @@ suricatta/server_lua.c:914:25: note: in expansion of macro 'push_to_table' 914 | push_to_table(thread_data->L, "cur_image", (char*)message->cur_image); | ^~~~~~~~~~~~~ -suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 158 | #define push_to_table(L, name, value) ({ \ - | ^ -suricatta/server_lua.c:915:25: note: in expansion of macro 'push_to_table' - 915 | push_to_table(thread_data->L, "hnd_name", (char*)message->hnd_name); - | ^~~~~~~~~~~~~ -In file included from handlers/zchunk_range.c:24: +In file included from handlers/diskpart_handler.c:27: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5415,6 +5490,12 @@ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ +suricatta/server_lua.c:915:25: note: in expansion of macro 'push_to_table' + 915 | push_to_table(thread_data->L, "hnd_name", (char*)message->hnd_name); + | ^~~~~~~~~~~~~ +suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 158 | #define push_to_table(L, name, value) ({ \ + | ^ suricatta/server_lua.c:916:25: note: in expansion of macro 'push_to_table' 916 | push_to_table(thread_data->L, "source", message->source); | ^~~~~~~~~~~~~ @@ -5424,10 +5505,6 @@ suricatta/server_lua.c:917:25: note: in expansion of macro 'push_to_table' 917 | push_to_table(thread_data->L, "info", (char*)message->info); | ^~~~~~~~~~~~~ -In file included from containers/docker.c:18: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ suricatta/server_lua.c: In function 'do_install': suricatta/server_lua.c:228:41: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 228 | #define get_from_table_3(L, name, dest) ({ \ @@ -5441,7 +5518,19 @@ suricatta/server_lua.c:1071:9: note: in expansion of macro 'get_from_table' 1071 | get_from_table(L, "drain_messages", callback_data.drain_progress_msgq); | ^~~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c +mongoose/mongoose_interface.c: In function 'p_close': +mongoose/mongoose_interface.c:103:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 103 | return mg_fs_posix.cl(fp); + | ^~~~~~~~~~~~~~~~~~ +mongoose/mongoose_interface.c:101:13: note: declared here + 101 | static void p_close(void *fp) + | ^~~~~~~ +mongoose/mongoose_interface.c: In function 'restart_handler': +suricatta/server_lua.c: In function 'suricatta_lua_module': +In file included from core/network_thread.c:26: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -5457,7 +5546,17 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -suricatta/server_lua.c: In function 'suricatta_lua_module': +corelib/lua_interface.c: In function 'l_copy2file': +corelib/lua_interface.c:387:31: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 387 | struct img_type img = {}; + | ^ +mongoose/mongoose_interface.c:344:27: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 344 | ipc_message msg = {}; + | ^ +mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': +mongoose/mongoose_interface.c:504:43: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 504 | ipc_message ipc = {}; + | ^ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5482,7 +5581,10 @@ suricatta/server_lua.c:1536:9: note: in expansion of macro 'SURICATTA_FUNCS' 1536 | SURICATTA_FUNCS | ^~~~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c +corelib/lua_interface.c: In function 'l_istream_read': +corelib/lua_interface.c:462:31: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 462 | struct img_type img = {}; + | ^ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5519,25 +5621,6 @@ suricatta/server_lua.c:1536:9: note: in expansion of macro 'SURICATTA_FUNCS' 1536 | SURICATTA_FUNCS | ^~~~~~~~~~~~~~~ -In file included from parser/parser.c:21: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5562,6 +5645,25 @@ suricatta/server_lua.c:1536:9: note: in expansion of macro 'SURICATTA_FUNCS' 1536 | SURICATTA_FUNCS | ^~~~~~~~~~~~~~~ +In file included from fs/btrfs.c:23: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5598,6 +5700,10 @@ suricatta/server_lua.c:1536:9: note: in expansion of macro 'SURICATTA_FUNCS' 1536 | SURICATTA_FUNCS | ^~~~~~~~~~~~~~~ +In file included from parser/parser.c:21: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5610,6 +5716,21 @@ suricatta/server_lua.c:1558:9: note: in expansion of macro 'push_to_table' 1558 | push_to_table(L, "NONE", BOOTLOADER_NONE); | ^~~~~~~~~~~~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5622,6 +5743,7 @@ suricatta/server_lua.c:1560:9: note: in expansion of macro 'push_to_table' 1560 | push_to_table(L, "UBOOT", BOOTLOADER_UBOOT); | ^~~~~~~~~~~~~ +corelib/lua_interface.c: In function 'l_call_handler': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5640,19 +5762,28 @@ suricatta/server_lua.c:1574:9: note: in expansion of macro 'push_to_table' 1574 | push_to_table(L, "SOURCE_SURICATTA", SOURCE_SURICATTA); | ^~~~~~~~~~~~~ +corelib/lua_interface.c:1414:31: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 1414 | struct img_type img = {}; + | ^ +corelib/channel_curl.c: In function 'read_callback': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1575:9: note: in expansion of macro 'push_to_table' 1575 | push_to_table(L, "SOURCE_DOWNLOADER", SOURCE_DOWNLOADER); | ^~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/mtd-interface.o corelib/mtd-interface.c suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1576:9: note: in expansion of macro 'push_to_table' 1576 | push_to_table(L, "SOURCE_LOCAL", SOURCE_LOCAL); | ^~~~~~~~~~~~~ +include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 176 | #define min(a, b) ({\ + | ^ +corelib/channel_curl.c:913:21: note: in expansion of macro 'min' + 913 | n = min(nbytes, size * nmemb); + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5707,24 +5838,62 @@ suricatta/server_lua.c:1588:9: note: in expansion of macro 'push_to_table' 1588 | push_to_table(L, "SUBPROCESS", SUBPROCESS); | ^~~~~~~~~~~~~ +In file included from handlers/lua_scripthandler.c:22: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1589:9: note: in expansion of macro 'push_to_table' 1589 | push_to_table(L, "PROGRESS", PROGRESS); | ^~~~~~~~~~~~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1595:9: note: in expansion of macro 'push_to_table' 1595 | push_to_table(L, "OK", SERVER_OK); | ^~~~~~~~~~~~~ +In file included from handlers/flash_hamming1_handler.c:30: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1596:9: note: in expansion of macro 'push_to_table' 1596 | push_to_table(L, "EERR", SERVER_EERR); | ^~~~~~~~~~~~~ +include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 130 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 133 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5749,12 +5918,19 @@ suricatta/server_lua.c:1600:9: note: in expansion of macro 'push_to_table' 1600 | push_to_table(L, "EAGAIN", SERVER_EAGAIN); | ^~~~~~~~~~~~~ +handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1601:9: note: in expansion of macro 'push_to_table' 1601 | push_to_table(L, "UPDATE_AVAILABLE", SERVER_UPDATE_AVAILABLE); | ^~~~~~~~~~~~~ +include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 176 | #define min(a, b) ({\ + | ^ +handlers/flash_hamming1_handler.c:221:38: note: in expansion of macro 'min' + 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5773,10 +5949,6 @@ suricatta/server_lua.c:1604:9: note: in expansion of macro 'push_to_table' 1604 | push_to_table(L, "ID_REQUESTED", SERVER_ID_REQUESTED); | ^~~~~~~~~~~~~ -In file included from fs/fat_fs.c:12: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5834,6 +6006,14 @@ suricatta/server_lua.c:1617:9: note: in expansion of macro 'push_enum_to_table' 1617 | push_enum_to_table(L, "TESTING", STATE_TESTING); | ^~~~~~~~~~~~~~~~~~ +corelib/channel_curl.c: In function 'channel_post_method': +In file included from core/stream_interface.c:32: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 127 | #define ERROR(format, arg...) \ + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5843,28 +6023,18 @@ suricatta/server_lua.c:1617:9: note: in expansion of macro 'push_enum_to_table' 1617 | push_enum_to_table(L, "TESTING", STATE_TESTING); | ^~~~~~~~~~~~~~~~~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ suricatta/server_lua.c:204:44: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 204 | #define push_enum_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1617:9: note: in expansion of macro 'push_enum_to_table' 1617 | push_enum_to_table(L, "TESTING", STATE_TESTING); | ^~~~~~~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/diskformat_handler.o handlers/diskformat_handler.c suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5874,6 +6044,16 @@ suricatta/server_lua.c:1618:9: note: in expansion of macro 'push_enum_to_table' 1618 | push_enum_to_table(L, "FAILED", STATE_FAILED); | ^~~~~~~~~~~~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/raw_handler.o handlers/raw_handler.c +include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 136 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 139 | #define DEBUG(format, arg...) \ + | ^~~ +corelib/channel_curl.c:1046:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 1046 | output_data_t outdata = {}; + | ^ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5889,10 +6069,6 @@ suricatta/server_lua.c:1618:9: note: in expansion of macro 'push_enum_to_table' 1618 | push_enum_to_table(L, "FAILED", STATE_FAILED); | ^~~~~~~~~~~~~~~~~~ -In file included from fs/diskio.c:15: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5926,21 +6102,7 @@ suricatta/server_lua.c:1620:9: note: in expansion of macro 'push_enum_to_table' 1620 | push_enum_to_table(L, "ERROR", STATE_ERROR); | ^~~~~~~~~~~~~~~~~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/diskformat.o fs/diskformat.c suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5965,6 +6127,7 @@ suricatta/server_lua.c:1621:9: note: in expansion of macro 'push_enum_to_table' 1621 | push_enum_to_table(L, "WAIT", STATE_WAIT); | ^~~~~~~~~~~~~~~~~~ +core/stream_interface.c: In function 'cpfiles': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -5974,6 +6137,12 @@ suricatta/server_lua.c:1621:9: note: in expansion of macro 'push_enum_to_table' 1621 | push_enum_to_table(L, "WAIT", STATE_WAIT); | ^~~~~~~~~~~~~~~~~~ +include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 176 | #define min(a, b) ({\ + | ^ +core/stream_interface.c:349:27: note: in expansion of macro 'min' + 349 | maxread = min(bufsize, max); + | ^~~ suricatta/server_lua.c:204:44: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 204 | #define push_enum_to_table(L, name, value) ({ \ | ^ @@ -6010,12 +6179,19 @@ suricatta/server_lua.c:1643:9: note: in expansion of macro 'push_to_table' 1643 | push_to_table(L, "RAW", CHANNEL_PARSE_RAW); | ^~~~~~~~~~~~~ +core/stream_interface.c: In function 'get_install_info': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1644:9: note: in expansion of macro 'push_to_table' 1644 | push_to_table(L, "JSON", CHANNEL_PARSE_JSON); | ^~~~~~~~~~~~~ +include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 176 | #define min(a, b) ({\ + | ^ +core/stream_interface.c:785:15: note: in expansion of macro 'min' + 785 | len = min(len - 1, strlen(inst.req.info)); + | ^~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -6028,25 +6204,33 @@ suricatta/server_lua.c:1650:9: note: in expansion of macro 'push_to_table' 1650 | push_to_table(L, "GET", CHANNEL_GET); | ^~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1651:9: note: in expansion of macro 'push_to_table' 1651 | push_to_table(L, "POST", CHANNEL_POST); | ^~~~~~~~~~~~~ +corelib/channel_curl.c:1086:49: warning: embedding a directive within macro arguments is not portable + 1086 | #if LIBCURL_VERSION_NUM >= 0x70C01 + | ^ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1652:9: note: in expansion of macro 'push_to_table' 1652 | push_to_table(L, "PUT", CHANNEL_PUT); | ^~~~~~~~~~~~~ +corelib/channel_curl.c:1088:49: warning: embedding a directive within macro arguments is not portable + 1088 | #else + | ^ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1653:9: note: in expansion of macro 'push_to_table' 1653 | push_to_table(L, "PATCH", CHANNEL_PATCH); | ^~~~~~~~~~~~~ +corelib/channel_curl.c:1090:49: warning: embedding a directive within macro arguments is not portable + 1090 | #endif + | ^ suricatta/server_lua.c: In function 'config_section_to_table': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ @@ -6054,7 +6238,6 @@ suricatta/server_lua.c:1802:25: note: in expansion of macro 'push_to_table' 1802 | push_to_table((lua_State *)data, entry->name, | ^~~~~~~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/network_thread.o core/network_thread.c suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -6067,23 +6250,22 @@ suricatta/server_lua.c:1810:25: note: in expansion of macro 'push_to_table' 1810 | push_to_table((lua_State *)data, entry->name, | ^~~~~~~~~~~~~ -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__); - | ^~~~~~~~ +corelib/channel_curl.c: In function 'channel_put_file': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1814:25: note: in expansion of macro 'push_to_table' 1814 | push_to_table((lua_State *)data, entry->name, | ^~~~~~~~~~~~~ +corelib/channel_curl.c:1164:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 1164 | output_data_t outdata = {}; + | ^ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #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, | ^~~~~~~~~~~~~ -tools/swupdate-progress.c: In function 'main': suricatta/server_lua.c: In function 'server_start': suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ @@ -6092,9 +6274,6 @@ 1860 | push_to_table(gL, "polldelay", CHANNEL_DEFAULT_POLLING_INTERVAL); | ^~~~~~~~~~~~~ suricatta/server_lua.c: In function 'server_print_help': -tools/swupdate-progress.c:354:46: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 354 | n = sscanf(msg.info, "{\"%d\": { \"reboot-mode\" : \"%m[-a-z]\"}}", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ @@ -6120,43 +6299,30 @@ suricatta/server_lua.c:1984:9: note: in expansion of macro 'push_to_table' 1984 | push_to_table(gL, "CONFIG", CMD_CONFIG); | ^~~~~~~~~~~~~ +corelib/channel_curl.c:1197:49: warning: embedding a directive within macro arguments is not portable + 1197 | #if LIBCURL_VERSION_NUM >= 0x70C01 + | ^ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1985:9: note: in expansion of macro 'push_to_table' 1985 | push_to_table(gL, "ACTIVATION", CMD_ACTIVATION); | ^~~~~~~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c +corelib/channel_curl.c:1199:49: warning: embedding a directive within macro arguments is not portable + 1199 | #else + | ^ +corelib/channel_curl.c:1201:49: warning: embedding a directive within macro arguments is not portable + 1201 | #endif + | ^ suricatta/server_lua.c:158:39: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 158 | #define push_to_table(L, name, value) ({ \ | ^ suricatta/server_lua.c:1986:9: note: in expansion of macro 'push_to_table' 1986 | push_to_table(gL, "GET_STATUS", CMD_GET_STATUS); | ^~~~~~~~~~~~~ -In file included from include/lua_util.h:13, - from corelib/lua_interface.c:23: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/stream_interface.o core/stream_interface.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/../corelib/lua_compat.c:9, - from bindings/lua_compat_shared.c:5: +In file included from fs/diskformat.c:10: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6175,53 +6341,16 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -corelib/lua_interface.c: In function 'l_copy2file': -corelib/lua_interface.c:387:31: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 387 | struct img_type img = {}; - | ^ -corelib/lua_interface.c: In function 'l_istream_read': -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:2955:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] - 2955 | #warning "For timing resistance / side-channel attack prevention consider using harden options" - | ^~~~~~~ -corelib/lua_interface.c:462:31: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 462 | struct img_type img = {}; - | ^ -mongoose/mongoose_interface.c: In function 'p_close': -mongoose/mongoose_interface.c:103:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 103 | return mg_fs_posix.cl(fp); - | ^~~~~~~~~~~~~~~~~~ -mongoose/mongoose_interface.c:101:13: note: declared here - 101 | static void p_close(void *fp) - | ^~~~~~~ -core/cpio_utils.c: In function 'copy_write': -core/cpio_utils.c:176:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 176 | buf += ret; - | ^~ -mongoose/mongoose_interface.c: In function 'restart_handler': -In file included from corelib/mtd-interface.c:20: +In file included from handlers/rdiff_handler.c:24: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -mongoose/mongoose_interface.c:344:27: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 344 | ipc_message msg = {}; - | ^ -mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': - 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 include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ -mongoose/mongoose_interface.c:504:43: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 504 | ipc_message ipc = {}; - | ^ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ @@ -6231,11 +6360,15 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/lua_util.h:13, - from bindings/lua_swupdate.c:10: +In file included from handlers/raw_handler.c:28: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +corelib/channel_curl.c: In function 'channel_get': +handlers/rdiff_handler.c: In function 'apply_rdiff_patch': +handlers/rdiff_handler.c:226:38: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 226 | struct rdiff_t rdiff_state = {}; + | ^ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -6251,21 +6384,10 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -corelib/lua_interface.c: In function 'l_call_handler': -corelib/lua_interface.c:1414:31: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 1414 | struct img_type img = {}; - | ^ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/uniqueuuid_handler.o handlers/uniqueuuid_handler.c -tools/swupdate-ipc.c: In function 'usage': -tools/swupdate-ipc.c:454:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 454 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ -core/swupdate.c: In function 'usage': -core/swupdate.c:132:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 132 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c -In file included from handlers/diskformat_handler.c:10: +corelib/channel_curl.c:1519:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 1519 | output_data_t outdata = {}; + | ^ +In file included from core/progress_thread.c:27: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6284,7 +6406,23 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/diskpart_handler.c:27: +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] + 263 | if (cnt < 0) { + | ^ +handlers/flash_hamming1_handler.c: In function 'install_flash_hamming_image': +handlers/flash_hamming1_handler.c:175:13: note: 'cnt' was declared here + 175 | int cnt; + | ^~~ +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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/diskio.o fs/diskio.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/fat_fs.o fs/fat_fs.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 fs/fat_fs.c:12: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6303,33 +6441,11 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -make[2]: git: No such file or directory - /build/reproducible-path/swupdate-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/ff.o fs/ff.c -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:326:33: warning: embedding a directive within macro arguments is not portable - 326 | #if LIBCURL_VERSION_NUM >= 0x75500 - | ^ -corelib/channel_curl.c:328:33: warning: embedding a directive within macro arguments is not portable - 328 | #else - | ^ -corelib/channel_curl.c:330:33: warning: embedding a directive within macro arguments is not portable - 330 | #endif - | ^ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/mke2fs.o fs/mke2fs.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 handlers/flash_hamming1_handler.c:30: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/artifacts_versions.o core/artifacts_versions.c +In file included from fs/diskio.c:15: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -corelib/channel_curl.c: In function 'channel_set_options': - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/raw_handler.o handlers/raw_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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -6339,23 +6455,15 @@ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ -corelib/channel_curl.c:591:25: warning: embedding a directive within macro arguments is not portable - 591 | #if LIBCURL_VERSION_NUM >= 0x75500 - | ^ include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c:594:25: warning: embedding a directive within macro arguments is not portable - 594 | #else - | ^ -corelib/channel_curl.c:597:25: warning: embedding a directive within macro arguments is not portable - 597 | #endif - | ^ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 core/progress_thread.c:27: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate_dict.o core/swupdate_dict.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/ff.o fs/ff.c +In file included from core/parsing_library.c:19: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6374,11 +6482,24 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/stream_interface.c:32: +core/parsing_library.c: In function 'get_field': +core/parsing_library.c:141:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 141 | return get_field_cfg((config_setting_t *)e, path, dest); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/parsing_library.c:137:6: note: declared here + 137 | void get_field(parsertype p, void *e, const char *path, void *dest) + | ^~~~~~~~~ +core/parsing_library.c:143:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 143 | return get_field_json((json_object *)e, path, dest); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/parsing_library.c:137:6: note: declared here + 137 | void get_field(parsertype p, void *e, const char *path, void *dest) + | ^~~~~~~~~ +In file included from core/swupdate_dict.c:22: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -In file included from core/network_thread.c:26: +In file included from core/artifacts_versions.c:21: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6388,19 +6509,9 @@ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ -handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 133 | #define INFO(format, arg...) \ | ^~~ @@ -6410,22 +6521,6 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #define DEBUG(format, arg...) \ - | ^~~ -include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 176 | #define min(a, b) ({\ - | ^ -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 handlers/uniqueuuid_handler.c:26: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 130 | #define WARN(format, arg...) \ | ^~~ @@ -6438,25 +6533,62 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/parsing_library.o core/parsing_library.c - rm -f containers/lib.a; ar rcs containers/lib.a containers/docker.o -core/stream_interface.c: In function 'cpfiles': -include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 176 | #define min(a, b) ({\ - | ^ -core/stream_interface.c:349:27: note: in expansion of macro 'min' - 349 | maxread = min(bufsize, max); - | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c -core/stream_interface.c: In function 'get_install_info': -include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 176 | #define min(a, b) ({\ - | ^ -core/stream_interface.c:785:15: note: in expansion of macro 'min' - 785 | len = min(len - 1, strlen(inst.req.info)); - | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/artifacts_versions.o core/artifacts_versions.c -In file included from handlers/rdiff_handler.c:24: +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 C2X [-Wpedantic] + 238 | semver_t left_sem = {}; + | ^ +core/artifacts_versions.c:239:30: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] + 239 | semver_t right_sem = {}; + | ^ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/readback_handler.o handlers/readback_handler.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate_vars.o core/swupdate_vars.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o fs/mke2fs.o fs/mke2fs.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/semver.o core/semver.c +corelib/lua_interface.c: In function 'lua_string_to_img': +corelib/lua_interface.c:289:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 289 | strncpy(img->id.name, value, + | ^ +corelib/lua_interface.c:293:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 293 | strncpy(img->id.version, value, + | ^ +corelib/lua_interface.c:297:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 297 | strncpy(img->fname, value, + | ^ +corelib/lua_interface.c:301:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 301 | strncpy(img->volname, value, + | ^ +corelib/lua_interface.c:304:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 304 | strncpy(img->type, value, + | ^ +corelib/lua_interface.c:307:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 307 | strncpy(img->device, value, + | ^ +corelib/lua_interface.c:310:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 310 | strncpy(img->mtdname, value, + | ^ +corelib/lua_interface.c:313:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 313 | strncpy(img->path, value, + | ^ +corelib/lua_interface.c:316:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 316 | strncpy(img->type_data, value, + | ^ +corelib/lua_interface.c:319:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 319 | strncpy(img->filesystem, value, + | ^ +corelib/lua_interface.c:324:17: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] + 324 | strncpy(img->ivt_ascii, value, + | ^ +corelib/lua_interface.c:328:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] + 328 | strncpy(seek_str, value, + | ^ +In file included from core/swupdate_vars.c:19: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6475,12 +6607,8 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #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 C2X [-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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/readback_handler.o handlers/readback_handler.c -In file included from handlers/lua_scripthandler.c:22: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 handlers/shell_scripthandler.c:20: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6499,7 +6627,8 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/parsing_library_libconfig.c:19: +In file included from include/sslapi.h:11, + from handlers/readback_handler.c:23: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6518,8 +6647,11 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate_dict.o core/swupdate_dict.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o +make -f scripts/Makefile.build obj=containers +make[2]: git: No such file or directory + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/strlcpy.o core/strlcpy.c +make -f scripts/Makefile.build obj=tools In file included from fs/mke2fs.c:41: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -6539,24 +6671,24 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 core/artifacts_versions.c:21: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 127 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:130:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 130 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:133:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 133 | #define INFO(format, arg...) \ - | ^~~ -In file included from core/parsing_library.c:19: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o containers/docker.o containers/docker.c +make[2]: git: No such file or directory + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o suricatta/server_general.o suricatta/server_general.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-client.o tools/swupdate-client.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_multipart.h:22, + from mongoose/mongoose_multipart.c:22: +/usr/include/wolfssl/wolfcrypt/settings.h:2955:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp] + 2955 | #warning "For timing resistance / side-channel attack prevention consider using harden options" + | ^~~~~~~ +In file included from handlers/ssbl_handler.c:21: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -6572,7 +6704,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/raw_handler.c:28: +In file included from containers/docker.c:18: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6591,39 +6723,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 136 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 139 | #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 C2X [-Wpedantic] - 238 | semver_t left_sem = {}; - | ^ -core/artifacts_versions.c:239:30: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 239 | semver_t right_sem = {}; - | ^ -core/parsing_library.c: In function 'get_field': -core/parsing_library.c:141:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 141 | return get_field_cfg((config_setting_t *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:137:6: note: declared here - 137 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ -core/parsing_library.c:143:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 143 | return get_field_json((json_object *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:137:6: note: declared here - 137 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ - 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 -In file included from core/swupdate_dict.c:22: +In file included from core/strlcpy.c:8: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6642,7 +6742,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/parsing_library_libjson.c:19: +In file included from suricatta/server_general.c:23: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6661,14 +6761,12 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/swupdate_decrypt_openssl.o corelib/swupdate_decrypt_openssl.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ssbl_handler.o handlers/ssbl_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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/swupdate_vars.o core/swupdate_vars.c - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 include/sslapi.h:11, - from handlers/readback_handler.c:23: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/swuforward-ws.o handlers/swuforward-ws.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c +make -f scripts/Makefile.build obj=bindings +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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/auxiliar.o bindings/auxiliar.c +In file included from handlers/swuforward-ws.c:21: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6687,9 +6785,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/semver.o core/semver.c -In file included from handlers/shell_scripthandler.c:20: +In file included from handlers/swuforward_handler.c:34: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6708,8 +6804,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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/server_utils.c:12: +In file included from handlers/ubivol_handler.c:21: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6728,17 +6823,42 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ - 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 -corelib/channel_curl.c: In function 'read_callback': - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c +handlers/ubivol_handler.c: In function 'swap_volume': include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 176 | #define min(a, b) ({\ | ^ -corelib/channel_curl.c:913:21: note: in expansion of macro 'min' - 913 | n = min(nbytes, size * nmemb); - | ^~~ -In file included from include/sslapi.h:11, - from corelib/swupdate_pkcs7_verify.c:17: +handlers/ubivol_handler.c:570:54: note: in expansion of macro 'min' + 570 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); + | ^~~ +include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 176 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:575:54: note: in expansion of macro 'min' + 575 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); + | ^~~ + rm -f containers/lib.a; ar rcs containers/lib.a containers/docker.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[2]: git: No such file or directory + /build/reproducible-path/swupdate-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ucfw_handler.o handlers/ucfw_handler.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-ipc.o tools/swupdate-ipc.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o tools/swupdate-progress.o tools/swupdate-progress.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/lua_swupdate.o bindings/lua_swupdate.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/docker_handler.o handlers/docker_handler.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -fPIC -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.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__); + | ^~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/mtd-interface.o corelib/mtd-interface.c +tools/swupdate-progress.c: In function 'main': +tools/swupdate-progress.c:354:46: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 354 | n = sscanf(msg.info, "{\"%d\": { \"reboot-mode\" : \"%m[-a-z]\"}}", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from handlers/ucfw_handler.c:74: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6757,9 +6877,9 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o core/strlcpy.o core/strlcpy.c -In file included from include/sslapi.h:11, - from corelib/swupdate_decrypt_openssl.c:16: + 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 include/lua_util.h:13, + from bindings/lua_swupdate.c:10: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6778,23 +6898,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o handlers/ucfw_handler.o handlers/ucfw_handler.c -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] - 263 | if (cnt < 0) { - | ^ -handlers/flash_hamming1_handler.c: In function 'install_flash_hamming_image': -handlers/flash_hamming1_handler.c:175:13: note: 'cnt' was declared here - 175 | int cnt; - | ^~~ -In file included from handlers/swuforward-ws.c:21: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ - 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 include/sslapi.h:11, - from corelib/verify_signature.c:15: +In file included from handlers/docker_handler.c:24: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6813,6 +6917,16 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #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; + | ^~ +In file included from include/lua_util.h:13, + from include/../corelib/lua_compat.c:9, + from bindings/lua_compat_shared.c:5: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -6828,7 +6942,8 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/swupdate_vars.c:19: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/multipart_parser.o corelib/multipart_parser.c +In file included from corelib/mtd-interface.c:20: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6847,7 +6962,13 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/ssbl_handler.c:21: +tools/swupdate-ipc.c: In function 'usage': +tools/swupdate-ipc.c:454:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 454 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c +In file included from corelib/parsing_library_libjson.c:19: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6863,17 +6984,13 @@ include/util.h:136:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 136 | #define TRACE(format, arg...) \ | ^~~ -In file included from corelib/swupdate_settings.c:25: -include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 104 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #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, - | ^ +In file included from corelib/parsing_library_libconfig.c:19: +include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 104 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:127:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 127 | #define ERROR(format, arg...) \ | ^~~ @@ -6889,11 +7006,25 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c: In function 'channel_post_method': -corelib/channel_curl.c:1046:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 1046 | output_data_t outdata = {}; - | ^ -In file included from handlers/swuforward_handler.c:34: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/server_utils.o corelib/server_utils.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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/swupdate_decrypt_openssl.o corelib/swupdate_decrypt_openssl.c +handlers/diskpart_handler.c: In function 'diskpart': +handlers/diskpart_handler.c:1261:49: warning: '__builtin_strncpy' specified bound 37 equals destination size [-Wstringop-truncation] + 1261 | strncpy(part->partuuid, equal, sizeof(part->partuuid)); + | ^ +handlers/diskpart_handler.c:1257:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1257 | strncpy(part->dostype, equal, sizeof(part->dostype)); + | ^ +handlers/diskpart_handler.c:1249:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1249 | strncpy(part->fstype, equal, sizeof(part->fstype)); + | ^ +handlers/diskpart_handler.c:1245:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1245 | strncpy(part->name, equal, sizeof(part->name)); + | ^ +handlers/diskpart_handler.c:1242:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1242 | strncpy(part->type, equal, sizeof(part->type)); + | ^ +In file included from corelib/server_utils.c:12: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6912,7 +7043,12 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/strlcpy.c:8: + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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,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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c + 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 + 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 include/sslapi.h:11, + from corelib/swupdate_decrypt_openssl.c:16: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6931,33 +7067,8 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c:1086:49: warning: embedding a directive within macro arguments is not portable - 1086 | #if LIBCURL_VERSION_NUM >= 0x70C01 - | ^ -corelib/channel_curl.c:1088:49: warning: embedding a directive within macro arguments is not portable - 1088 | #else - | ^ -corelib/channel_curl.c:1090:49: warning: embedding a directive within macro arguments is not portable - 1090 | #endif - | ^ -corelib/channel_curl.c: In function 'channel_put_file': -corelib/channel_curl.c:1164:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 1164 | output_data_t outdata = {}; - | ^ -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; - | ^~ -corelib/channel_curl.c:1197:49: warning: embedding a directive within macro arguments is not portable - 1197 | #if LIBCURL_VERSION_NUM >= 0x70C01 - | ^ -corelib/channel_curl.c:1199:49: warning: embedding a directive within macro arguments is not portable - 1199 | #else - | ^ -corelib/channel_curl.c:1201:49: warning: embedding a directive within macro arguments is not portable - 1201 | #endif - | ^ -In file included from handlers/ucfw_handler.c:74: +In file included from include/sslapi.h:11, + from corelib/swupdate_pkcs7_verify.c:17: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6976,7 +7087,8 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/ubivol_handler.c:21: +In file included from include/sslapi.h:11, + from corelib/verify_signature.c:15: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6995,20 +7107,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -handlers/ubivol_handler.c: In function 'swap_volume': -include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 176 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:570:54: note: in expansion of macro 'min' - 570 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); - | ^~~ -include/util.h:176:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 176 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:575:54: note: in expansion of macro 'min' - 575 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); - | ^~~ -In file included from handlers/docker_handler.c:24: +In file included from corelib/swupdate_settings.c:25: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7027,75 +7126,12 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -corelib/lua_interface.c: In function 'lua_string_to_img': -corelib/lua_interface.c:289:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 289 | strncpy(img->id.name, value, - | ^ -corelib/lua_interface.c:293:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 293 | strncpy(img->id.version, value, - | ^ -corelib/lua_interface.c:297:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 297 | strncpy(img->fname, value, - | ^ -corelib/lua_interface.c:301:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 301 | strncpy(img->volname, value, - | ^ -corelib/lua_interface.c:304:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 304 | strncpy(img->type, value, - | ^ -corelib/lua_interface.c:307:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 307 | strncpy(img->device, value, - | ^ -corelib/lua_interface.c:310:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 310 | strncpy(img->mtdname, value, - | ^ -corelib/lua_interface.c:313:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 313 | strncpy(img->path, value, - | ^ -corelib/lua_interface.c:316:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 316 | strncpy(img->type_data, value, - | ^ -corelib/lua_interface.c:319:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 319 | strncpy(img->filesystem, value, - | ^ -corelib/lua_interface.c:324:17: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] - 324 | strncpy(img->ivt_ascii, value, - | ^ -corelib/lua_interface.c:328:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] - 328 | strncpy(seek_str, value, - | ^ -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; - | ^~ -corelib/channel_curl.c: In function 'channel_get': -corelib/channel_curl.c:1519:33: warning: ISO C forbids empty initializer braces before C2X [-Wpedantic] - 1519 | output_data_t outdata = {}; - | ^ 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 -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 - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o -handlers/diskpart_handler.c: In function 'diskpart': -handlers/diskpart_handler.c:1261:49: warning: '__builtin_strncpy' specified bound 37 equals destination size [-Wstringop-truncation] - 1261 | strncpy(part->partuuid, equal, sizeof(part->partuuid)); - | ^ -handlers/diskpart_handler.c:1257:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1257 | strncpy(part->dostype, equal, sizeof(part->dostype)); - | ^ -handlers/diskpart_handler.c:1249:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1249 | strncpy(part->fstype, equal, sizeof(part->fstype)); - | ^ -handlers/diskpart_handler.c:1245:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1245 | strncpy(part->name, equal, sizeof(part->name)); - | ^ -handlers/diskpart_handler.c:1242:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1242 | strncpy(part->type, equal, sizeof(part->type)); - | ^ - 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 - 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 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 rm -f corelib/lib.a; ar rcs corelib/lib.a corelib/channel_curl.o corelib/downloader.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 + 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 + 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[2]: git: No such file or directory /build/reproducible-path/swupdate-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+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 " rm -f mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o mongoose/mongoose_multipart.o @@ -7122,7 +7158,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/swupdate-2023.12.1+dfsg' dh_auto_test -- V=1 - make -j42 test V=1 + make -j20 test V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2023.12.1+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 @@ -7130,8 +7166,8 @@ 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -Itest/../ -c -o test/test_json.o test/test_json.c -strip -N main -o /build/reproducible-path/swupdate-2023.12.1+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2023.12.1+dfsg/core/built-in.o 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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -Itest/../ -c -o test/test_server_hawkbit.o test/test_server_hawkbit.c +strip -N main -o /build/reproducible-path/swupdate-2023.12.1+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2023.12.1+dfsg/core/built-in.o gcc -Wp,-MD,test/.test_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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.4 -Itest/../ -c -o test/test_util.o test/test_util.c In file included from test/test_crypt.c:27: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -7152,8 +7188,7 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/sslapi.h:11, - from test/test_hash.c:27: +In file included from test/test_util.c:10: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7172,7 +7207,8 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ -In file included from test/test_util.c:10: +In file included from include/sslapi.h:11, + from test/test_hash.c:27: include/util.h:104:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 104 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7210,15 +7246,15 @@ include/util.h:139:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 139 | #define DEBUG(format, arg...) \ | ^~~ - /build/reproducible-path/swupdate-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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" 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 *), | ^ - /build/reproducible-path/swupdate-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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" + /build/reproducible-path/swupdate-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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-2023.12.1+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-2023.12.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/p11-kit-1 -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 @@ -7262,7 +7298,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/swupdate-2023.12.1+dfsg' dh_auto_install -- V=1 - make -j42 install DESTDIR=/build/reproducible-path/swupdate-2023.12.1\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 + make -j20 install DESTDIR=/build/reproducible-path/swupdate-2023.12.1\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2023.12.1+dfsg' make[2]: git: No such file or directory make -f scripts/Makefile.build obj=ipc @@ -7339,15 +7375,15 @@ debian/rules override_dh_dwz make[1]: Entering directory '/build/reproducible-path/swupdate-2023.12.1+dfsg' dh_dwz --no-dwz-multifile -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 +dwz: debian/swupdate/usr/bin/swupdate: .debug_info section not present +dwz: dwz: debian/swupdate/usr/bin/swupdate-ipc: .debug_info section not present +debian/swupdate/usr/bin/swupdate-progress: .debug_info section not present make[1]: Leaving directory '/build/reproducible-path/swupdate-2023.12.1+dfsg' dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/x86_64-linux-gnu/lua/5.4/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_error: it's probably a plugin +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/x86_64-linux-gnu/lua/5.4/lua_swupdate.so.0.1 contains an unresolvable reference to symbol luaL_checkudata: 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/x86_64-linux-gnu/libext2fs.so.2 @@ -7360,14 +7396,14 @@ make[1]: Leaving directory '/build/reproducible-path/swupdate-2023.12.1+dfsg' dh_md5sums dh_builddeb +dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2023.12.1+dfsg-2_amd64.deb'. +dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2023.12.1+dfsg-2_amd64.deb'. dpkg-deb: building package 'swupdate' in '../swupdate_2023.12.1+dfsg-2_amd64.deb'. -dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2023.12.1+dfsg-2_amd64.deb'. -dpkg-deb: building package 'swupdate-www' in '../swupdate-www_2023.12.1+dfsg-2_all.deb'. +dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2023.12.1+dfsg-2_all.deb'. dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2023.12.1+dfsg-2_amd64.deb'. -dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2023.12.1+dfsg-2_amd64.deb'. dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2023.12.1+dfsg-2_amd64.deb'. -dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2023.12.1+dfsg-2_all.deb'. -dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2023.12.1+dfsg-2_amd64.deb'. +dpkg-deb: building package 'swupdate-www' in '../swupdate-www_2023.12.1+dfsg-2_all.deb'. +dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2023.12.1+dfsg-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../swupdate_2023.12.1+dfsg-2_amd64.buildinfo dpkg-genchanges --build=binary -O../swupdate_2023.12.1+dfsg-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -7375,12 +7411,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/1450092/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1450092/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/2551152 and its subdirectories -I: Current time: Thu Jun 19 16:54:35 -12 2025 -I: pbuilder-time-stamp: 1750395275 +I: removing directory /srv/workspace/pbuilder/1450092 and its subdirectories +I: Current time: Sat May 18 12:17:52 +14 2024 +I: pbuilder-time-stamp: 1715984272