Diff of the two buildlogs: -- --- b1/build.log 2024-02-11 02:01:43.835203816 +0000 +++ b2/build.log 2024-02-11 02:13:22.333313337 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Mar 14 20:16:10 -12 2025 -I: pbuilder-time-stamp: 1742026570 +I: Current time: Sun Feb 11 16:01:47 +14 2024 +I: pbuilder-time-stamp: 1707616907 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./swupdate_2022.12+dfsg.orig.tar.xz] I: copying [./swupdate_2022.12+dfsg-4+deb12u1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Dec 21 10:59:04 2023 -12 +gpgv: Signature made Fri Dec 22 12:59:04 2023 +14 gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "bage@debian.org" gpgv: Can't check signature: No public key @@ -30,135 +30,167 @@ 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/1471962/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1427826/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 Feb 11 16:01 /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/1427826/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1427826/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='8aa448b8e01f431e99f37df723d5d501' - 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='1471962' - PS1='# ' - PS2='> ' + INVOCATION_ID=77a95aebbaa547fe916a7f9a8dfe2085 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=1427826 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.ljjM46Un/pbuilderrc_XyIo --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ljjM46Un/b1 --logfile b1/build.log swupdate_2022.12+dfsg-4+deb12u1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.104: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.ljjM46Un/pbuilderrc_k63S --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ljjM46Un/b2 --logfile b2/build.log swupdate_2022.12+dfsg-4+deb12u1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.104:3128 I: uname -a - Linux codethink01-arm64 6.1.0-18-cloud-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-cloud-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin total 7104 - -rwxr-xr-x 1 root root 1346480 Apr 23 2023 bash - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67664 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 68536 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68616 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 68552 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 68632 Sep 20 2022 chown - -rwxr-xr-x 1 root root 200264 Sep 20 2022 cp - -rwxr-xr-x 1 root root 133640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 134144 Sep 20 2022 date - -rwxr-xr-x 1 root root 134248 Sep 20 2022 dd - -rwxr-xr-x 1 root root 134888 Sep 20 2022 df - -rwxr-xr-x 1 root root 200440 Sep 20 2022 dir - -rwxr-xr-x 1 root root 141720 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 68408 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 68384 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 134584 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 67744 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 198880 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 93752 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67592 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 68664 Sep 20 2022 ln - -rwxr-xr-x 1 root root 69208 Mar 22 2023 login - -rwxr-xr-x 1 root root 200440 Sep 20 2022 ls - -rwxr-xr-x 1 root root 264360 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 134384 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 68768 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 68472 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 67752 Mar 22 2023 more - -rwsr-xr-x 1 root root 67744 Mar 22 2023 mount - -rwxr-xr-x 1 root root 67744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 134728 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 68496 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 68456 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 68592 Sep 20 2022 rm - -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 68392 Jul 28 2023 run-parts - -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty - -rwsr-xr-x 1 root root 133312 Mar 22 2023 su - -rwxr-xr-x 1 root root 68448 Sep 20 2022 sync - -rwxr-xr-x 1 root root 539896 Jan 19 2024 tar - -rwxr-xr-x 1 root root 67904 Jul 28 2023 tempfile - -rwxr-xr-x 1 root root 134160 Sep 20 2022 touch - -rwxr-xr-x 1 root root 68384 Sep 20 2022 true - -rwxr-xr-x 1 root root 67664 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 67744 Mar 22 2023 umount - -rwxr-xr-x 1 root root 68416 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 200440 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 133312 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1471962/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1346480 Apr 24 2023 bash + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67664 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 68536 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68616 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 68552 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 68632 Sep 21 2022 chown + -rwxr-xr-x 1 root root 200264 Sep 21 2022 cp + -rwxr-xr-x 1 root root 133640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 134144 Sep 21 2022 date + -rwxr-xr-x 1 root root 134248 Sep 21 2022 dd + -rwxr-xr-x 1 root root 134888 Sep 21 2022 df + -rwxr-xr-x 1 root root 200440 Sep 21 2022 dir + -rwxr-xr-x 1 root root 141720 Mar 23 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 68408 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 68384 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 134584 Mar 23 2023 findmnt + -rwsr-xr-x 1 root root 67744 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 198880 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 93752 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67592 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 68664 Sep 21 2022 ln + -rwxr-xr-x 1 root root 69208 Mar 24 2023 login + -rwxr-xr-x 1 root root 200440 Sep 21 2022 ls + -rwxr-xr-x 1 root root 264360 Mar 23 2023 lsblk + -rwxr-xr-x 1 root root 134384 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 68768 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 68472 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 67752 Mar 23 2023 more + -rwsr-xr-x 1 root root 67744 Mar 23 2023 mount + -rwxr-xr-x 1 root root 67744 Mar 23 2023 mountpoint + -rwxr-xr-x 1 root root 134728 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 68496 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 68456 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 68592 Sep 21 2022 rm + -rwxr-xr-x 1 root root 68480 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 68392 Jul 29 2023 run-parts + -rwxr-xr-x 1 root root 134536 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Feb 11 16:01 sh -> /bin/bash + -rwxr-xr-x 1 root root 68432 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 134088 Sep 21 2022 stty + -rwsr-xr-x 1 root root 133312 Mar 23 2023 su + -rwxr-xr-x 1 root root 68448 Sep 21 2022 sync + -rwxr-xr-x 1 root root 539896 Jan 20 23:27 tar + -rwxr-xr-x 1 root root 67904 Jul 29 2023 tempfile + -rwxr-xr-x 1 root root 134160 Sep 21 2022 touch + -rwxr-xr-x 1 root root 68384 Sep 21 2022 true + -rwxr-xr-x 1 root root 67664 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 67744 Mar 23 2023 umount + -rwxr-xr-x 1 root root 68416 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 200440 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 133312 Mar 23 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1427826/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -590,7 +622,7 @@ Get: 319 http://deb.debian.org/debian bookworm/main arm64 tipa all 2:1.3-21 [2974 kB] Get: 320 http://deb.debian.org/debian bookworm/main arm64 texlive-xetex all 2022.20230122-3 [11.4 MB] Get: 321 http://deb.debian.org/debian bookworm/main arm64 texlive-formats-extra all 2022.20230122-4 [7773 kB] -Fetched 231 MB in 3s (89.7 MB/s) +Fetched 231 MB in 3s (75.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 ... 19578 files and directories currently installed.) @@ -1928,7 +1960,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/swupdate-2022.12+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_2022.12+dfsg-4+deb12u1_source.changes +I: user script /srv/workspace/pbuilder/1427826/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/1427826/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/swupdate-2022.12+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_2022.12+dfsg-4+deb12u1_source.changes dpkg-buildpackage: info: source package swupdate dpkg-buildpackage: info: source version 2022.12+dfsg-4+deb12u1 dpkg-buildpackage: info: source distribution bookworm @@ -3608,30 +3644,24 @@ 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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -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 -make -f scripts/Makefile.build obj=bootloader -make[2]: git: No such file or directory -make -f scripts/Makefile.build obj=corelib -make[2]: git: No such file or directory -make -f scripts/Makefile.build obj=mongoose -make[2]: git: No such file or directory -make -f scripts/Makefile.build obj=parser - gcc -Wp,-MD,mongoose/.mongoose.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -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,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -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,mongoose/.mongoose_multipart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -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/.swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/swupdate.o core/swupdate.c +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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o ipc/network_ipc-if.o ipc/network_ipc-if.c - gcc -Wp,-MD,bootloader/.uboot.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/uboot.o bootloader/uboot.c + gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/cpio_utils.o core/cpio_utils.c + gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o ipc/progress_ipc.o ipc/progress_ipc.c +make -f scripts/Makefile.build obj=bootloader gcc -Wp,-MD,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/dummy_handler.o handlers/dummy_handler.c make[2]: git: No such file or directory - gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/channel_curl.o corelib/channel_curl.c - gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o ipc/progress_ipc.o ipc/progress_ipc.c - gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/cpio_utils.o core/cpio_utils.c - gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o parser/parse_external.o parser/parse_external.c -In file included from bootloader/uboot.c:19: + gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/notifier.o core/notifier.c + gcc -Wp,-MD,handlers/.chain_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/chain_handler.o handlers/chain_handler.c + gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/handler.o core/handler.c + gcc -Wp,-MD,handlers/.archive_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/bootloader.o core/bootloader.c + gcc -Wp,-MD,bootloader/.uboot.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/uboot.o bootloader/uboot.c +In file included from handlers/dummy_handler.c:17: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3669,11 +3699,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/swupdate.c:29: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from handlers/dummy_handler.c:17: +In file included from handlers/chain_handler.c:19: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3692,6 +3718,10 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ +In file included from core/swupdate.c:29: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -3707,14 +3737,25 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o parser/parser.o parser/parser.c -In file included from mongoose/mongoose_interface.c:34: +In file included from core/notifier.c:22: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from handlers/archive_handler.c:25: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from include/lua_util.h:16, + from core/handler.c:17: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ +include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 109 | #define ERROR(format, arg...) \ + | ^~~ include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 112 | #define WARN(format, arg...) \ | ^~~ @@ -3727,34 +3768,16 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -mongoose/mongoose_interface.c: In function 'p_close': -mongoose/mongoose_interface.c:98:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 98 | return mg_fs_posix.cl(fp); - | ^~~~~~~~~~~~~~~~~~ -mongoose/mongoose_interface.c:96:13: note: declared here - 96 | static void p_close(void *fp) - | ^~~~~~~ -mongoose/mongoose_interface.c: In function 'restart_handler': -mongoose/mongoose_interface.c:339:27: warning: ISO C forbids empty initializer braces [-Wpedantic] - 339 | ipc_message msg = {}; - | ^ -mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': -mongoose/mongoose_interface.c:488:43: warning: ISO C forbids empty initializer braces [-Wpedantic] - 488 | ipc_message ipc = {}; - | ^ - gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/none.o bootloader/none.c -core/cpio_utils.c: In function 'copy_write': -core/cpio_utils.c:151:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 151 | buf += ret; - | ^~ -In file included from corelib/channel_curl.c:24: +include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 112 | #define WARN(format, arg...) \ + | ^~~ +In file included from core/bootloader.c:9: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ - gcc -Wp,-MD,bootloader/.grub.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/grub.o bootloader/grub.c include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 112 | #define WARN(format, arg...) \ | ^~~ @@ -3767,21 +3790,6 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.chain_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/chain_handler.o handlers/chain_handler.c -core/swupdate.c: In function 'usage': -core/swupdate.c:126:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 126 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ -In file included from parser/parser.c:21: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 109 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 112 | #define WARN(format, arg...) \ - | ^~~ include/util.h:115:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 115 | #define INFO(format, arg...) \ | ^~~ @@ -3791,12 +3799,6 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/downloader.o corelib/downloader.c -In file included from bootloader/grub.h:15, - from bootloader/grub.c:9: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -3812,8 +3814,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o -In file included from handlers/chain_handler.c:19: +In file included from bootloader/uboot.c:19: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3832,23 +3833,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c: In function 'channel_new': -corelib/channel_curl.c:111:49: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 111 | newchan->priv = (void *)newchan + sizeof(*newchan); - | ^ -make -f scripts/Makefile.build obj=suricatta -corelib/channel_curl.c: In function 'channel_map_http_code': -corelib/channel_curl.c:317:17: warning: 'CURLINFO_PROTOCOL' is deprecated: since 7.85.0. Use CURLINFO_SCHEME [-Wdeprecated-declarations] - 317 | curlrc = curl_easy_getinfo(channel_curl->handle, CURLINFO_PROTOCOL, - | ^~~~~~ -In file included from corelib/channel_curl.c:20: -/usr/include/aarch64-linux-gnu/curl/curl.h:2901:3: note: declared here - 2901 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") - | ^~~~~~~~~~~~~~~~~ -make[2]: git: No such file or directory - gcc -Wp,-MD,bootloader/.ebg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/ebg.o bootloader/ebg.c - gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o suricatta/common.o suricatta/common.c -In file included from corelib/downloader.c:12: + gcc -Wp,-MD,handlers/.boot_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/boot_handler.o handlers/boot_handler.c + gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/flash_handler.o handlers/flash_handler.c + gcc -Wp,-MD,handlers/.delta_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/delta_handler.o handlers/delta_handler.c + gcc -Wp,-MD,handlers/.delta_downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/delta_downloader.o handlers/delta_downloader.c +In file included from handlers/boot_handler.c:20: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3867,17 +3856,16 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c: In function 'channel_set_options': -corelib/channel_curl.c:588:13: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] - 588 | (curl_easy_setopt(channel_curl->handle, CURLOPT_REDIR_PROTOCOLS, - | ^ -/usr/include/aarch64-linux-gnu/curl/curl.h:1755:3: note: declared here - 1755 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, - | ^~~~~~~~~~~~~~~~~ -In file included from bootloader/ebg.c:18: +core/cpio_utils.c: In function 'copy_write': +core/cpio_utils.c:151:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 151 | 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 +In file included from handlers/flash_handler.c:30: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,core/.install_from_file.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/install_from_file.o core/install_from_file.c include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -3893,9 +3881,14 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.archive_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/archive_handler.o handlers/archive_handler.c - gcc -Wp,-MD,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/lua_compat.o corelib/lua_compat.c -In file included from suricatta/common.c:12: + gcc -Wp,-MD,core/.util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/util.o core/util.c +core/swupdate.c: In function 'usage': +make -f scripts/Makefile.build obj=corelib +core/swupdate.c:126:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 126 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/none.o bootloader/none.c +In file included from handlers/delta_handler.c:36: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3914,27 +3907,19 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c: In function 'put_read_callback': - gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/lua_interface.o corelib/lua_interface.c +make[2]: git: No such file or directory +handlers/delta_handler.c: In function 'network_process_data': include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 154 | #define min(a, b) ({\ | ^ -corelib/channel_curl.c:859:13: note: in expansion of macro 'min' - 859 | n = min(bytes, size * nmemb); - | ^~~ -corelib/channel_curl.c: In function 'channel_post_method': -In file included from include/lua_util.h:16, - from corelib/lua_compat.c:9: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -corelib/channel_curl.c:959:33: warning: ISO C forbids empty initializer braces [-Wpedantic] - 959 | output_data_t outdata = {}; - | ^ -In file included from handlers/archive_handler.c:25: +handlers/delta_handler.c:145:37: note: in expansion of macro 'min' + 145 | size_t tobecopied = min(nbytes, to_be_filled); + | ^~~ +In file included from handlers/delta_downloader.c:29: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/channel_curl.o corelib/channel_curl.c include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -3950,6 +3935,31 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ +handlers/delta_handler.c: In function 'parse_headers': +handlers/delta_handler.c:622:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 622 | nconv = sscanf(answer->data, "%ms %ms %ms", &header, &value, &boundary_string); + | ^~~~~~~~~~~~~ +handlers/delta_handler.c:622:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +handlers/delta_handler.c:622:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +handlers/delta_downloader.c: In function 'wrdata_callback': +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +handlers/delta_downloader.c:87:31: note: in expansion of macro 'min' + 87 | answer->len = min(nbytes, RANGE_PAYLOAD_SIZE); + | ^~~ +handlers/delta_downloader.c: In function 'delta_callback_headers': +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +handlers/delta_downloader.c:118:23: note: in expansion of macro 'min' + 118 | 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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/zchunk_range.o handlers/zchunk_range.c +In file included from core/util.c:35: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -3965,34 +3975,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c: In function 'channel_put_method': -corelib/channel_curl.c:1036:33: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1036 | output_data_t outdata = {}; - | ^ -corelib/channel_curl.c:1054:9: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] - 1054 | if ((curl_easy_setopt(channel_curl->handle, CURLOPT_PUT, 1L) != CURLE_OK) || - | ^~ -/usr/include/aarch64-linux-gnu/curl/curl.h:1286:3: note: declared here - 1286 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, - | ^~~~~~~~~~~~~~~~~ - gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/mtd-interface.o corelib/mtd-interface.c -corelib/channel_curl.c: In function 'channel_get_file': -corelib/channel_curl.c:1308:17: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] - 1308 | CURLcode resdlprogress = curl_easy_getinfo( - | ^~~~~~~~ -/usr/include/aarch64-linux-gnu/curl/curl.h:2841:3: note: declared here - 2841 | CURLINFO_SIZE_DOWNLOAD - | ^~~~~~~~~~~~~~~~~~~~~~ -corelib/channel_curl.c: In function 'channel_get': -corelib/channel_curl.c:1382:33: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1382 | output_data_t outdata = {}; - | ^ -In file included from include/lua_util.h:16, - from corelib/lua_interface.c:21: +core/util.c: In function 'get_hw_revision': +In file included from core/install_from_file.c:18: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ - gcc -Wp,-MD,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4008,20 +3995,66 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -corelib/lua_interface.c: In function 'l_copy2file': -corelib/lua_interface.c:390:31: warning: ISO C forbids empty initializer braces [-Wpedantic] - 390 | struct img_type img = {}; - | ^ - gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o suricatta/suricatta.o suricatta/suricatta.c -corelib/lua_interface.c: In function 'l_istream_read': -corelib/lua_interface.c:459:31: warning: ISO C forbids empty initializer braces [-Wpedantic] - 459 | struct img_type img = {}; - | ^ -corelib/lua_interface.c: In function 'l_call_handler': -corelib/lua_interface.c:1427:31: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1427 | struct img_type img = {}; - | ^ -In file included from suricatta/server_hawkbit.c:18: +core/util.c:361:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 361 | ret = fscanf(fp, "%ms %ms", &b1, &b2); + | ^~~~~~~~~ +core/util.c:361:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +core/util.c: In function 'load_decryption_key': +core/util.c:567:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 567 | ret = fscanf(fp, "%ms %ms", &b1, &b2); + | ^~~~~~~~~ +core/util.c:567:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +core/util.c: In function 'get_root_from_partitions': +core/util.c:1040:38: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long unsigned int *' [-Wformat=] + 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 1041 | &major, &minor, &nblocks, &devname); + | ~~~~~~ + | | + | long unsigned int * +core/util.c:1040:42: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long unsigned int *' [-Wformat=] + 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 1041 | &major, &minor, &nblocks, &devname); + | ~~~~~~ + | | + | long unsigned int * +core/util.c:1040:46: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'long unsigned int *' [-Wformat=] + 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ~~^ + | | + | long int * + | %ld + 1041 | &major, &minor, &nblocks, &devname); + | ~~~~~~~~ + | | + | long unsigned int * +core/util.c:1040:35: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", + | ^~~~~~~~~~~~~~~~~ +core/util.c: In function 'get_root_from_mountinfo': +core/util.c:1069:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 1069 | if (fscanf(fp, "%*s %*s %u:%u %*s %ms %*s %*[-] %*s %ms %*s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/util.c:1069:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + gcc -Wp,-MD,bootloader/.grub.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/grub.o bootloader/grub.c + gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/parser.o core/parser.c +In file included from corelib/channel_curl.c:24: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from bootloader/grub.h:15, + from bootloader/grub.c:9: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from handlers/zchunk_range.c:24: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4040,16 +4073,18 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/mtd-interface.c:20: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ +include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 109 | #define ERROR(format, arg...) \ + | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 112 | #define WARN(format, arg...) \ | ^~~ +include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 112 | #define WARN(format, arg...) \ + | ^~~ include/util.h:115:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 115 | #define INFO(format, arg...) \ | ^~~ @@ -4059,8 +4094,18 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.multipart_parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/multipart_parser.o corelib/multipart_parser.c -In file included from suricatta/suricatta.c:12: +include/util.h:115:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 115 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:118:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 118 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 121 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/pctl.o core/pctl.c + gcc -Wp,-MD,handlers/.diskformat_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/diskformat_handler.o handlers/diskformat_handler.c +In file included from core/pctl.c:23: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4079,19 +4124,21 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -suricatta/suricatta.c: In function 'start_suricatta': - gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/notifier.o core/notifier.c -include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 154 | #define min(a, b) ({\ - | ^ -suricatta/suricatta.c:286:41: note: in expansion of macro 'min' - 286 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { - | ^~~ - 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 -make -f scripts/Makefile.build obj=fs -make[2]: git: No such file or directory - gcc -Wp,-MD,fs/.diskformat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/diskformat.o fs/diskformat.c -In file included from core/notifier.c:22: + gcc -Wp,-MD,handlers/.diskpart_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c +corelib/channel_curl.c: In function 'channel_new': +corelib/channel_curl.c:111:49: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 111 | newchan->priv = (void *)newchan + sizeof(*newchan); + | ^ +corelib/channel_curl.c: In function 'channel_map_http_code': +corelib/channel_curl.c:317:17: warning: 'CURLINFO_PROTOCOL' is deprecated: since 7.85.0. Use CURLINFO_SCHEME [-Wdeprecated-declarations] + 317 | curlrc = curl_easy_getinfo(channel_curl->handle, CURLINFO_PROTOCOL, + | ^~~~~~ +In file included from corelib/channel_curl.c:20: +/usr/include/aarch64-linux-gnu/curl/curl.h:2901:3: note: declared here + 2901 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") + | ^~~~~~~~~~~~~~~~~ + gcc -Wp,-MD,handlers/.uniqueuuid_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/uniqueuuid_handler.o handlers/uniqueuuid_handler.c +In file included from handlers/diskformat_handler.c:10: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4110,8 +4157,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.parsing_library_libconfig.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c -In file included from corelib/parsing_library_libconfig.c:19: +In file included from core/parser.c:17: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4130,8 +4176,15 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.boot_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/boot_handler.o handlers/boot_handler.c -In file included from fs/diskformat.c:10: +corelib/channel_curl.c: In function 'channel_set_options': +corelib/channel_curl.c:588:13: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] + 588 | (curl_easy_setopt(channel_curl->handle, CURLOPT_REDIR_PROTOCOLS, + | ^ +/usr/include/aarch64-linux-gnu/curl/curl.h:1755:3: note: declared here + 1755 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, + | ^~~~~~~~~~~~~~~~~ + gcc -Wp,-MD,handlers/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c +In file included from handlers/uniqueuuid_handler.c:26: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4150,16 +4203,14 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/handler.o core/handler.c - gcc -Wp,-MD,core/.bootloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/bootloader.o core/bootloader.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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c -In file included from handlers/boot_handler.c:20: +In file included from handlers/diskpart_handler.c:25: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ + gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 112 | #define WARN(format, arg...) \ | ^~~ @@ -4172,12 +4223,12 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.install_from_file.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/install_from_file.o core/install_from_file.c -In file included from include/lua_util.h:16, - from core/handler.c:17: +In file included from handlers/flash_hamming1_handler.c:30: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/raw_handler.o handlers/raw_handler.c +corelib/channel_curl.c: In function 'put_read_callback': include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4193,7 +4244,36 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/bootloader.c:9: +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +corelib/channel_curl.c:859:13: note: in expansion of macro 'min' + 859 | n = min(bytes, size * nmemb); + | ^~~ +handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': +corelib/channel_curl.c: In function 'channel_post_method': +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #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)); + | ^~~ + gcc -Wp,-MD,bootloader/.ebg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/ebg.o bootloader/ebg.c +corelib/channel_curl.c:959:33: warning: ISO C forbids empty initializer braces [-Wpedantic] + 959 | output_data_t outdata = {}; + | ^ +corelib/channel_curl.c: In function 'channel_put_method': +corelib/channel_curl.c:1036:33: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1036 | output_data_t outdata = {}; + | ^ +corelib/channel_curl.c:1054:9: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] + 1054 | if ((curl_easy_setopt(channel_curl->handle, CURLOPT_PUT, 1L) != CURLE_OK) || + | ^~ +/usr/include/aarch64-linux-gnu/curl/curl.h:1286:3: note: declared here + 1286 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, + | ^~~~~~~~~~~~~~~~~ + gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/state.o core/state.c +In file included from handlers/raw_handler.c:29: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4212,8 +4292,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,fs/.diskio.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/diskio.o fs/diskio.c -In file included from corelib/parsing_library_libjson.c:19: +In file included from handlers/lua_scripthandler.c:23: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4232,46 +4311,18 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -corelib/lua_interface.c: In function 'lua_string_to_img': -corelib/lua_interface.c:291:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 291 | strncpy(img->id.name, value, - | ^ -corelib/lua_interface.c:295:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 295 | strncpy(img->id.version, value, - | ^ -corelib/lua_interface.c:299:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 299 | strncpy(img->fname, value, - | ^ -corelib/lua_interface.c:303:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 303 | strncpy(img->volname, value, - | ^ -corelib/lua_interface.c:306:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 306 | strncpy(img->type, value, - | ^ -corelib/lua_interface.c:309:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 309 | strncpy(img->device, value, - | ^ -corelib/lua_interface.c:312:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 312 | strncpy(img->mtdname, value, - | ^ -corelib/lua_interface.c:315:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 315 | strncpy(img->path, value, - | ^ -corelib/lua_interface.c:318:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 318 | strncpy(img->type_data, value, - | ^ -corelib/lua_interface.c:321:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 321 | strncpy(img->filesystem, value, - | ^ -corelib/lua_interface.c:326:17: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] - 326 | strncpy(img->ivt_ascii, value, - | ^ -corelib/lua_interface.c:330:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] - 330 | strncpy(seek_str, value, - | ^ - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o - gcc -Wp,-MD,core/.util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/util.o core/util.c -In file included from fs/diskio.c:16: +corelib/channel_curl.c: In function 'channel_get_file': +corelib/channel_curl.c:1308:17: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] + 1308 | CURLcode resdlprogress = curl_easy_getinfo( + | ^~~~~~~~ +/usr/include/aarch64-linux-gnu/curl/curl.h:2841:3: note: declared here + 2841 | CURLINFO_SIZE_DOWNLOAD + | ^~~~~~~~~~~~~~~~~~~~~~ +corelib/channel_curl.c: In function 'channel_get': +corelib/channel_curl.c:1382:33: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1382 | output_data_t outdata = {}; + | ^ +In file included from core/state.c:12: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4290,11 +4341,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -make -f scripts/Makefile.build obj=tools -make[2]: git: No such file or directory - gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o tools/swupdate-client.o tools/swupdate-client.c - gcc -Wp,-MD,corelib/.swupdate_cms_verify.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/swupdate_cms_verify.o corelib/swupdate_cms_verify.c -In file included from core/install_from_file.c:18: +In file included from bootloader/ebg.c:18: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4313,9 +4360,20 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/flash_handler.o handlers/flash_handler.c - gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/parser.o core/parser.c -In file included from handlers/flash_handler.c:30: + gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/syslog.o core/syslog.c + gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/installer.o core/installer.c + gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/rdiff_handler.o handlers/rdiff_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; + | ^~~ + gcc -Wp,-MD,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/network_thread.o core/network_thread.c +In file included from core/syslog.c:9: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4334,7 +4392,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/util.c:35: +In file included from handlers/rdiff_handler.c:24: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from core/installer.c:27: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4353,62 +4415,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -core/util.c: In function 'get_hw_revision': -core/util.c:361:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 361 | ret = fscanf(fp, "%ms %ms", &b1, &b2); - | ^~~~~~~~~ -core/util.c:361:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/util.c: In function 'load_decryption_key': -core/util.c:567:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 567 | ret = fscanf(fp, "%ms %ms", &b1, &b2); - | ^~~~~~~~~ - gcc -Wp,-MD,fs/.fat_fs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/fat_fs.o fs/fat_fs.c -core/util.c:567:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/util.c: In function 'get_root_from_partitions': -core/util.c:1040:38: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long unsigned int *' [-Wformat=] - 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 1041 | &major, &minor, &nblocks, &devname); - | ~~~~~~ - | | - | long unsigned int * -core/util.c:1040:42: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long unsigned int *' [-Wformat=] - 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 1041 | &major, &minor, &nblocks, &devname); - | ~~~~~~ - | | - | long unsigned int * -core/util.c:1040:46: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'long unsigned int *' [-Wformat=] - 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ~~^ - | | - | long int * - | %ld - 1041 | &major, &minor, &nblocks, &devname); - | ~~~~~~~~ - | | - | long unsigned int * -core/util.c:1040:35: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", - | ^~~~~~~~~~~~~~~~~ -core/util.c: In function 'get_root_from_mountinfo': -core/util.c:1069:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 1069 | if (fscanf(fp, "%*s %*s %u:%u %*s %ms %*s %*[-] %*s %ms %*s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/util.c:1069:32: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/pctl.o core/pctl.c - gcc -Wp,-MD,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c -In file included from fs/fat_fs.c:13: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ +handlers/rdiff_handler.c: In function 'apply_rdiff_patch': + gcc -Wp,-MD,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/stream_interface.o core/stream_interface.c +handlers/rdiff_handler.c:226:38: warning: ISO C forbids empty initializer braces [-Wpedantic] + 226 | struct rdiff_t rdiff_state = {}; + | ^ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4424,7 +4435,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/swupdate_cms_verify.c:16: + gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/readback_handler.o handlers/readback_handler.c + gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/progress_thread.o core/progress_thread.c +In file included from core/network_thread.c:27: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4443,8 +4456,8 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,tools/.swupdate-ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o tools/swupdate-ipc.o tools/swupdate-ipc.c -In file included from core/pctl.c:23: + gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c +In file included from core/stream_interface.c:33: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4463,11 +4476,18 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/parser.c:17: +core/stream_interface.c: In function 'cpfiles': +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +core/stream_interface.c:349:27: note: in expansion of macro 'min' + 349 | maxread = min(bufsize, max); + | ^~~ +core/stream_interface.c: In function 'get_install_info': +In file included from core/progress_thread.c:27: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ - gcc -Wp,-MD,fs/.ff.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/ff.o fs/ff.c include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4483,13 +4503,13 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -tools/swupdate-ipc.c: In function 'usage': -tools/swupdate-ipc.c:382:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 382 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,corelib/.swupdate_settings.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c - gcc -Wp,-MD,handlers/.delta_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/delta_handler.o handlers/delta_handler.c -In file included from corelib/swupdate_decrypt.c:17: +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +core/stream_interface.c:741:15: note: in expansion of macro 'min' + 741 | len = min(len - 1, strlen(inst.req.info)); + | ^~~ +In file included from handlers/shell_scripthandler.c:21: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4508,12 +4528,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o -make -f scripts/Makefile.build obj=bindings -make[2]: git: No such file or directory - gcc -Wp,-MD,corelib/.verify_signature.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/verify_signature.o corelib/verify_signature.c - gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o bindings/auxiliar.o bindings/auxiliar.c -In file included from corelib/swupdate_settings.c:25: +In file included from handlers/readback_handler.c:24: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4532,11 +4547,15 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/delta_handler.c:36: + gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c + gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c + gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/parsing_library.o core/parsing_library.c + gcc -Wp,-MD,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/artifacts_versions.o core/artifacts_versions.c + gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c +In file included from core/parsing_library.c:19: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ - gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/state.o core/state.c include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4552,23 +4571,14 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -handlers/delta_handler.c: In function 'network_process_data': -include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 154 | #define min(a, b) ({\ - | ^ -handlers/delta_handler.c:145:37: note: in expansion of macro 'min' - 145 | size_t tobecopied = min(nbytes, to_be_filled); - | ^~~ -handlers/delta_handler.c: In function 'parse_headers': -handlers/delta_handler.c:622:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 622 | nconv = sscanf(answer->data, "%ms %ms %ms", &header, &value, &boundary_string); - | ^~~~~~~~~~~~~ -handlers/delta_handler.c:622:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -handlers/delta_handler.c:622:38: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -In file included from core/state.c:12: +core/parsing_library.c: In function 'get_field': +In file included from handlers/ssbl_handler.c:21: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +core/parsing_library.c:128:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 128 | return get_field_cfg((config_setting_t *)e, path, dest); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4584,12 +4594,17 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/syslog.o core/syslog.c - gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/installer.o core/installer.c - gcc -Wp,-MD,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/network_thread.o core/network_thread.c - gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c - gcc -Wp,-MD,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/stream_interface.o core/stream_interface.c -In file included from core/syslog.c:9: +core/parsing_library.c:124:6: note: declared here + 124 | void get_field(parsertype p, void *e, const char *path, void *dest) + | ^~~~~~~~~ +core/parsing_library.c:130:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 130 | return get_field_json((json_object *)e, path, dest); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/parsing_library.c:124:6: note: declared here + 124 | void get_field(parsertype p, void *e, const char *path, void *dest) + | ^~~~~~~~~ + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bootloader/built-in.o bootloader/uboot.o bootloader/none.o bootloader/grub.o bootloader/ebg.o +In file included from handlers/swuforward_handler.c:35: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4608,9 +4623,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/progress_thread.o core/progress_thread.c -In file included from include/lua_util.h:16, - from bindings/lua_swupdate.c:10: +core/network_thread.c: In function 'network_thread': +core/network_thread.c:677:33: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 677 | strncpy(msg.data.revisions.revision, cfg->hw.revision, + | ^ +In file included from core/artifacts_versions.c:24: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4620,6 +4637,7 @@ include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 112 | #define WARN(format, arg...) \ | ^~~ +make -f scripts/Makefile.build obj=mongoose include/util.h:115:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 115 | #define INFO(format, arg...) \ | ^~~ @@ -4629,7 +4647,25 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/network_thread.c:27: +core/artifacts_versions.c: In function 'read_sw_version_file': +core/artifacts_versions.c:57:34: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 57 | ret = fscanf(fp, "%ms %ms", &name, &version); + | ^~~~~~~~~ +make[2]: git: No such file or directory +core/artifacts_versions.c:57:34: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +core/artifacts_versions.c: In function 'compare_versions': +core/artifacts_versions.c:240:29: warning: ISO C forbids empty initializer braces [-Wpedantic] + 240 | semver_t left_sem = {}; + | ^ +core/artifacts_versions.c:241:30: warning: ISO C forbids empty initializer braces [-Wpedantic] + 241 | semver_t right_sem = {}; + | ^ +handlers/swuforward_handler.c: In function 'swu_forward_data': +handlers/swuforward_handler.c:119:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 119 | tmp += written; + | ^~ + gcc -Wp,-MD,mongoose/.mongoose.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose.o mongoose/mongoose.c +In file included from handlers/swuforward-ws.c:21: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4648,8 +4684,24 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/parsing_library.o core/parsing_library.c -In file included from core/stream_interface.c:33: + gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/swupdate_dict.o core/swupdate_dict.c +handlers/diskpart_handler.c: In function 'diskpart': +handlers/diskpart_handler.c:1126:49: warning: '__builtin_strncpy' specified bound 37 equals destination size [-Wstringop-truncation] + 1126 | strncpy(part->partuuid, equal, sizeof(part->partuuid)); + | ^ +handlers/diskpart_handler.c:1122:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1122 | strncpy(part->dostype, equal, sizeof(part->dostype)); + | ^ +handlers/diskpart_handler.c:1114:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1114 | strncpy(part->fstype, equal, sizeof(part->fstype)); + | ^ +handlers/diskpart_handler.c:1110:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1110 | strncpy(part->name, equal, sizeof(part->name)); + | ^ +handlers/diskpart_handler.c:1107:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 1107 | strncpy(part->type, equal, sizeof(part->type)); + | ^ +In file included from core/swupdate_dict.c:22: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4668,7 +4720,16 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/verify_signature.c:16: + gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/semver.o core/semver.c + gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c + gcc -Wp,-MD,handlers/.ucfw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ucfw_handler.o handlers/ucfw_handler.c + gcc -Wp,-MD,core/.strlcpy.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/strlcpy.o core/strlcpy.c + gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c +In file included from handlers/ubivol_handler.c:21: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from handlers/ucfw_handler.c:74: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4687,11 +4748,6 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/installer.c:27: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -core/stream_interface.c: In function 'cpfiles': include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4707,21 +4763,21 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ +handlers/ubivol_handler.c: In function 'swap_volume': include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 154 | #define min(a, b) ({\ | ^ -core/stream_interface.c:349:27: note: in expansion of macro 'min' - 349 | maxread = min(bufsize, max); - | ^~~ -core/stream_interface.c: In function 'get_install_info': +handlers/ubivol_handler.c:532:54: note: in expansion of macro 'min' + 532 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); + | ^~~ include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 154 | #define min(a, b) ({\ | ^ -core/stream_interface.c:741:15: note: in expansion of macro 'min' - 741 | 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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/artifacts_versions.o core/artifacts_versions.c -In file included from core/progress_thread.c:27: +handlers/ubivol_handler.c:537:54: note: in expansion of macro 'min' + 537 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); + | ^~~ + gcc -Wp,-MD,mongoose/.mongoose_multipart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -DMG_ENABLE_DIRLIST=1 -DMG_ENABLE_EPOLL=1 -DMG_ENABLE_FILE=1 -DMG_ENABLE_LOG=0 -DMG_ENABLE_MD5=1 -DMG_ENABLE_THREADS=1 -DMG_MAX_RECV_BUF_SIZE=262144 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_ENABLE_OPENSSL=1 -c -o mongoose/mongoose_multipart.o mongoose/mongoose_multipart.c +In file included from core/strlcpy.c:8: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4740,7 +4796,14 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/parsing_library.c:19: +make -f scripts/Makefile.build obj=parser +make[2]: git: No such file or directory + gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o parser/parse_external.o parser/parse_external.c + gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o parser/parser.o parser/parser.c +make -f scripts/Makefile.build obj=suricatta +make[2]: git: No such file or directory + gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o suricatta/common.o suricatta/common.c +In file included from mongoose/mongoose_interface.c:34: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4759,21 +4822,23 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -core/parsing_library.c: In function 'get_field': -core/parsing_library.c:128:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 128 | return get_field_cfg((config_setting_t *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:124:6: note: declared here - 124 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ -core/parsing_library.c:130:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 130 | return get_field_json((json_object *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:124:6: note: declared here - 124 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ - gcc -Wp,-MD,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o tools/swupdate-progress.o tools/swupdate-progress.c -In file included from core/artifacts_versions.c:24: +mongoose/mongoose_interface.c: In function 'p_close': +mongoose/mongoose_interface.c:98:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 98 | return mg_fs_posix.cl(fp); + | ^~~~~~~~~~~~~~~~~~ +mongoose/mongoose_interface.c:96:13: note: declared here + 96 | static void p_close(void *fp) + | ^~~~~~~ +mongoose/mongoose_interface.c: In function 'restart_handler': +mongoose/mongoose_interface.c:339:27: warning: ISO C forbids empty initializer braces [-Wpedantic] + 339 | ipc_message msg = {}; + | ^ +mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': +mongoose/mongoose_interface.c:488:43: warning: ISO C forbids empty initializer braces [-Wpedantic] + 488 | ipc_message ipc = {}; + | ^ +make -f scripts/Makefile.build obj=fs +In file included from parser/parser.c:21: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4792,35 +4857,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -core/artifacts_versions.c: In function 'read_sw_version_file': -core/artifacts_versions.c:57:34: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 57 | ret = fscanf(fp, "%ms %ms", &name, &version); - | ^~~~~~~~~ -core/artifacts_versions.c:57:34: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/artifacts_versions.c: In function 'compare_versions': -core/artifacts_versions.c:240:29: warning: ISO C forbids empty initializer braces [-Wpedantic] - 240 | semver_t left_sem = {}; - | ^ -core/artifacts_versions.c:241:30: warning: ISO C forbids empty initializer braces [-Wpedantic] - 241 | semver_t right_sem = {}; - | ^ - 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/swupdate_cms_verify.o corelib/swupdate_decrypt.o corelib/swupdate_settings.o corelib/verify_signature.o -core/network_thread.c: In function 'network_thread': -core/network_thread.c:677:33: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 677 | strncpy(msg.data.revisions.revision, cfg->hw.revision, - | ^ make[2]: git: No such file or directory - gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c - /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "ipc/built-in.o" "" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck " -tools/swupdate-progress.c: In function 'usage': -tools/swupdate-progress.c:80:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 80 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,fs/.mke2fs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/mke2fs.o fs/mke2fs.c - gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/swupdate_dict.o core/swupdate_dict.c -In file included from include/lua_util.h:16, - from include/../corelib/lua_compat.c:9, - from bindings/lua_compat_shared.c:5: + gcc -Wp,-MD,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c + gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/downloader.o corelib/downloader.c + gcc -Wp,-MD,fs/.diskformat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/diskformat.o fs/diskformat.c +In file included from suricatta/common.c:12: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4839,9 +4880,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/semver.o core/semver.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 -In file included from core/swupdate_dict.c:22: +In file included from corelib/downloader.c:12: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4860,13 +4899,20 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from fs/mke2fs.c:41: +In file included from suricatta/server_hawkbit.c:18: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from fs/diskformat.c:10: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ +include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 109 | #define ERROR(format, arg...) \ + | ^~~ include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 112 | #define WARN(format, arg...) \ | ^~~ @@ -4879,19 +4925,6 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/strlcpy.o core/strlcpy.c - rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-ipc.o tools/swupdate-progress.o -make[2]: git: No such file or directory - gcc -Wp,-MD,handlers/.delta_downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/delta_downloader.o handlers/delta_downloader.c - gcc -Wp,-MD,handlers/.zchunk_range.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/zchunk_range.o handlers/zchunk_range.c - gcc -Wp,-MD,handlers/.diskformat_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/diskformat_handler.o handlers/diskformat_handler.c -In file included from core/strlcpy.c:8: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 109 | #define ERROR(format, arg...) \ - | ^~~ include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 112 | #define WARN(format, arg...) \ | ^~~ @@ -4904,7 +4937,12 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/diskformat_handler.c:10: + gcc -Wp,-MD,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/lua_compat.o corelib/lua_compat.c + gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o suricatta/suricatta.o suricatta/suricatta.c + 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/install_from_file.o core/util.o core/parser.o core/pctl.o core/state.o core/syslog.o core/installer.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/semver.o core/strlcpy.o + gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/lua_interface.o corelib/lua_interface.c + gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/mtd-interface.o corelib/mtd-interface.c +In file included from suricatta/suricatta.c:12: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4923,7 +4961,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/delta_downloader.c:29: + gcc -Wp,-MD,fs/.diskio.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/diskio.o fs/diskio.c +In file included from include/lua_util.h:16, + from corelib/lua_compat.c:9: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4942,28 +4982,17 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c - gcc -Wp,-MD,handlers/.uniqueuuid_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/uniqueuuid_handler.o handlers/uniqueuuid_handler.c -handlers/delta_downloader.c: In function 'wrdata_callback': -include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 154 | #define min(a, b) ({\ - | ^ -handlers/delta_downloader.c:87:31: note: in expansion of macro 'min' - 87 | answer->len = min(nbytes, RANGE_PAYLOAD_SIZE); - | ^~~ -handlers/delta_downloader.c: In function 'delta_callback_headers': +suricatta/suricatta.c: In function 'start_suricatta': include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 154 | #define min(a, b) ({\ | ^ -handlers/delta_downloader.c:118:23: note: in expansion of macro 'min' - 118 | answer->len = min(size * nitems , RANGE_PAYLOAD_SIZE - 2); - | ^~~ - gcc -Wp,-MD,handlers/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c -In file included from handlers/zchunk_range.c:24: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from handlers/uniqueuuid_handler.c:26: +suricatta/suricatta.c:286:41: note: in expansion of macro 'min' + 286 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { + | ^~~ +make -f scripts/Makefile.build obj=tools +make[2]: git: No such file or directory +In file included from include/lua_util.h:16, + from corelib/lua_interface.c:21: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4982,27 +5011,21 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 109 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 112 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:115:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 115 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:118:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 118 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 121 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c - gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/raw_handler.o handlers/raw_handler.c -In file included from handlers/diskpart_handler.c:25: + gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o tools/swupdate-client.o tools/swupdate-client.c +corelib/lua_interface.c: In function 'l_copy2file': +corelib/lua_interface.c:390:31: warning: ISO C forbids empty initializer braces [-Wpedantic] + 390 | struct img_type img = {}; + | ^ +corelib/lua_interface.c: In function 'l_istream_read': +corelib/lua_interface.c:459:31: warning: ISO C forbids empty initializer braces [-Wpedantic] + 459 | struct img_type img = {}; + | ^ + gcc -Wp,-MD,corelib/.multipart_parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/multipart_parser.o corelib/multipart_parser.c +In file included from corelib/mtd-interface.c:20: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +corelib/lua_interface.c: In function 'l_call_handler': include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -5018,8 +5041,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -make[2]: git: No such file or directory -In file included from handlers/lua_scripthandler.c:23: +corelib/lua_interface.c:1427:31: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1427 | struct img_type img = {}; + | ^ + gcc -Wp,-MD,corelib/.parsing_library_libconfig.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c +In file included from fs/diskio.c:16: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5038,8 +5064,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "bindings/built-in.o ipc/built-in.o" "" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck " -In file included from handlers/raw_handler.c:29: +In file included from corelib/parsing_library_libconfig.c:19: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5058,7 +5083,16 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/flash_hamming1_handler.c:30: + 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/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 +make -f scripts/Makefile.build obj=bindings + gcc -Wp,-MD,fs/.fat_fs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/fat_fs.o fs/fat_fs.c +make[2]: git: No such file or directory + gcc -Wp,-MD,corelib/.parsing_library_libjson.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c + gcc -Wp,-MD,corelib/.swupdate_cms_verify.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/swupdate_cms_verify.o corelib/swupdate_cms_verify.c + gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o bindings/auxiliar.o bindings/auxiliar.c + gcc -Wp,-MD,fs/.ff.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/ff.o fs/ff.c + gcc -Wp,-MD,tools/.swupdate-ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o tools/swupdate-ipc.o tools/swupdate-ipc.c +In file included from fs/fat_fs.c:13: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5077,15 +5111,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': -include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 154 | #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)); - | ^~~ - gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c -In file included from handlers/rdiff_handler.c:24: +In file included from corelib/parsing_library_libjson.c:19: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5104,25 +5130,18 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #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 [-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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c - gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c -In function 'flash_write_nand_hamming1', - inlined from 'install_flash_hamming_image' at handlers/flash_hamming1_handler.c:300:6: - gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c -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; - | ^~~ - gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c -In file included from handlers/ssbl_handler.c:21: + gcc -Wp,-MD,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o tools/swupdate-progress.o tools/swupdate-progress.c + gcc -Wp,-MD,fs/.mke2fs.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/mke2fs.o fs/mke2fs.c +tools/swupdate-ipc.c: In function 'usage': +tools/swupdate-ipc.c:382:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 382 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ +tools/swupdate-progress.c: In function 'usage': + gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c +tools/swupdate-progress.c:80:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 80 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ +In file included from corelib/swupdate_cms_verify.c:16: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5141,10 +5160,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/shell_scripthandler.c:21: +In file included from fs/mke2fs.c:41: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -5160,8 +5180,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o core/built-in.o core/swupdate.o core/cpio_utils.o core/notifier.o core/handler.o core/bootloader.o core/install_from_file.o core/util.o core/parser.o core/pctl.o core/state.o core/syslog.o core/installer.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/semver.o core/strlcpy.o -In file included from handlers/swuforward_handler.c:35: + gcc -Wp,-MD,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c +make[2]: git: No such file or directory + /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "ipc/built-in.o" "" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck " +In file included from include/lua_util.h:16, + from bindings/lua_swupdate.c:10: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5180,11 +5203,45 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -handlers/swuforward_handler.c: In function 'swu_forward_data': -handlers/swuforward_handler.c:119:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 119 | tmp += written; - | ^~ -In file included from handlers/swuforward-ws.c:21: +corelib/lua_interface.c: In function 'lua_string_to_img': +corelib/lua_interface.c:291:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 291 | strncpy(img->id.name, value, + | ^ +corelib/lua_interface.c:295:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 295 | strncpy(img->id.version, value, + | ^ +corelib/lua_interface.c:299:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 299 | strncpy(img->fname, value, + | ^ +corelib/lua_interface.c:303:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 303 | strncpy(img->volname, value, + | ^ +corelib/lua_interface.c:306:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 306 | strncpy(img->type, value, + | ^ +corelib/lua_interface.c:309:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 309 | strncpy(img->device, value, + | ^ +corelib/lua_interface.c:312:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 312 | strncpy(img->mtdname, value, + | ^ +corelib/lua_interface.c:315:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 315 | strncpy(img->path, value, + | ^ +corelib/lua_interface.c:318:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 318 | strncpy(img->type_data, value, + | ^ +corelib/lua_interface.c:321:17: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 321 | strncpy(img->filesystem, value, + | ^ +corelib/lua_interface.c:326:17: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] + 326 | strncpy(img->ivt_ascii, value, + | ^ +corelib/lua_interface.c:330:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] + 330 | strncpy(seek_str, value, + | ^ + gcc -Wp,-MD,corelib/.swupdate_settings.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c +In file included from corelib/swupdate_settings.c:25: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5203,8 +5260,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c -In file included from handlers/readback_handler.c:24: + gcc -Wp,-MD,corelib/.verify_signature.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/verify_signature.o corelib/verify_signature.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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c +In file included from corelib/swupdate_decrypt.c:17: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5223,8 +5281,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #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=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ucfw_handler.o handlers/ucfw_handler.c -In file included from handlers/ucfw_handler.c:74: +In file included from include/lua_util.h:16, + from include/../corelib/lua_compat.c:9, + from bindings/lua_compat_shared.c:5: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5243,7 +5302,10 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/ubivol_handler.c:21: + 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 + 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 +In file included from corelib/verify_signature.c:16: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5262,37 +5324,11 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -handlers/ubivol_handler.c: In function 'swap_volume': -include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 154 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:532:54: note: in expansion of macro 'min' - 532 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); - | ^~~ -include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 154 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:537:54: note: in expansion of macro 'min' - 537 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); - | ^~~ -handlers/diskpart_handler.c: In function 'diskpart': -handlers/diskpart_handler.c:1126:49: warning: '__builtin_strncpy' specified bound 37 equals destination size [-Wstringop-truncation] - 1126 | strncpy(part->partuuid, equal, sizeof(part->partuuid)); - | ^ -handlers/diskpart_handler.c:1122:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1122 | strncpy(part->dostype, equal, sizeof(part->dostype)); - | ^ -handlers/diskpart_handler.c:1114:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1114 | strncpy(part->fstype, equal, sizeof(part->fstype)); - | ^ -handlers/diskpart_handler.c:1110:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1110 | strncpy(part->name, equal, sizeof(part->name)); - | ^ -handlers/diskpart_handler.c:1107:49: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 1107 | strncpy(part->type, equal, sizeof(part->type)); - | ^ +make[2]: git: No such file or directory + /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "bindings/built-in.o ipc/built-in.o" "" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck " + 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/swupdate_cms_verify.o corelib/swupdate_decrypt.o corelib/swupdate_settings.o corelib/verify_signature.o + rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o rm -f fs/lib.a; ar rcs fs/lib.a 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/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 rm -f mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o mongoose/mongoose_multipart.o make[2]: git: No such file or directory /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "swupdate_unstripped" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E" "core/built-in.o handlers/built-in.o bootloader/built-in.o ipc/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck " @@ -5302,8 +5338,8 @@ /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "tools/swupdate-ipc" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "tools/swupdate-ipc.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck :libswupdate.so.0.1" make[2]: git: No such file or directory /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "tools/swupdate-progress" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "tools/swupdate-progress.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck :libswupdate.so.0.1" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client strip -s --remove-section=.note --remove-section=.comment tools/swupdate-ipc_unstripped -o tools/swupdate-ipc; chmod a+x tools/swupdate-ipc make[2]: git: No such file or directory strip -s --remove-section=.note --remove-section=.comment swupdate_unstripped -o swupdate; chmod a+x swupdate @@ -5327,7 +5363,7 @@ gcc -Wp,-MD,test/.test_json.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_json.o test/test_json.c gcc -Wp,-MD,test/.test_server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_server_hawkbit.o test/test_server_hawkbit.c gcc -Wp,-MD,test/.test_util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_util.o test/test_util.c -In file included from test/test_crypt.c:27: +In file included from test/test_server_hawkbit.c:19: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5346,11 +5382,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from test/test_server_hawkbit.c:19: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from test/test_util.c:10: +In file included from test/test_crypt.c:27: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5369,6 +5401,10 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ +In file included from test/test_util.c:10: +include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 86 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -5386,7 +5422,11 @@ | ^~~ strip -N main -o /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now `/usr/bin/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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a libswupdate.so.0.1" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck cmocka" +test/test_server_hawkbit.c: In function '__wrap_channel_get_file': strip -N main -o /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o +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-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now `/usr/bin/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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a libswupdate.so.0.1" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck cmocka" In file included from test/test_hash.c:28: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -5407,16 +5447,12 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -test/test_server_hawkbit.c: In function '__wrap_channel_get_file': -test/test_server_hawkbit.c:87:9: warning: '__builtin_strncpy' specified bound 41 equals destination size [-Wstringop-truncation] - 87 | strncpy(channel_data->sha1hash, mock_type(char *), - | ^ -strip -N main -o /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o - /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now `/usr/bin/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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a libswupdate.so.0.1" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck cmocka" -strip -N main -o /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o strip -N main -o /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now `/usr/bin/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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a libswupdate.so.0.1" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck cmocka" +strip -N main -o /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now `/usr/bin/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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a libswupdate.so.0.1" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck cmocka" +strip -N main -o /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o + /build/reproducible-path/swupdate-2022.12+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 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now `/usr/bin/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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a libswupdate.so.0.1" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck cmocka" RUN test_crypt 1..4 ok 1 - test_crypt_128 @@ -5527,15 +5563,15 @@ debian/rules override_dh_dwz make[1]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_dwz --no-dwz-multifile -dwz: debian/swupdate/usr/bin/swupdate-client: .debug_info section not present -dwz: dwz: debian/swupdate/usr/bin/swupdate: .debug_info section not present -debian/swupdate/usr/bin/swupdate-progress: .debug_info section not present -dwz: debian/swupdate/usr/bin/swupdate-ipc: .debug_info section not present +dwz: dwz: debian/swupdate/usr/bin/swupdate-progress: .debug_info section not present +debian/swupdate/usr/bin/swupdate-ipc: .debug_info section not present +dwz: dwz: debian/swupdate/usr/bin/swupdate-client: .debug_info section not presentdebian/swupdate/usr/bin/swupdate: .debug_info section not present + make[1]: Leaving directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/aarch64-linux-gnu/lua/5.3/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_getmetatable: it's probably a plugin +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/aarch64-linux-gnu/lua/5.3/lua_swupdate.so.0.1 contains an unresolvable reference to symbol luaL_checktype: it's probably a plugin dpkg-shlibdeps: warning: 30 other similar warnings have been skipped (use -v to see them all) dh_installdeb debian/rules override_dh_gencontrol @@ -5545,13 +5581,13 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'swupdate' in '../swupdate_2022.12+dfsg-4+deb12u1_arm64.deb'. +dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2022.12+dfsg-4+deb12u1_all.deb'. dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2022.12+dfsg-4+deb12u1_arm64.deb'. dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2022.12+dfsg-4+deb12u1_arm64.deb'. -dpkg-deb: building package 'swupdate-www' in '../swupdate-www_2022.12+dfsg-4+deb12u1_all.deb'. -dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2022.12+dfsg-4+deb12u1_arm64.deb'. dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2022.12+dfsg-4+deb12u1_arm64.deb'. +dpkg-deb: building package 'swupdate-www' in '../swupdate-www_2022.12+dfsg-4+deb12u1_all.deb'. dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2022.12+dfsg-4+deb12u1_arm64.deb'. -dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2022.12+dfsg-4+deb12u1_all.deb'. +dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2022.12+dfsg-4+deb12u1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../swupdate_2022.12+dfsg-4+deb12u1_arm64.buildinfo dpkg-genchanges --build=binary -O../swupdate_2022.12+dfsg-4+deb12u1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5559,12 +5595,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/1427826/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1427826/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/1471962 and its subdirectories -I: Current time: Fri Mar 14 20:24:42 -12 2025 -I: pbuilder-time-stamp: 1742027082 +I: removing directory /srv/workspace/pbuilder/1427826 and its subdirectories +I: Current time: Sun Feb 11 16:13:20 +14 2024 +I: pbuilder-time-stamp: 1707617600