Diff of the two buildlogs: -- --- b1/build.log 2024-03-09 08:37:36.188379154 +0000 +++ b2/build.log 2024-03-09 08:50:11.639560122 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 11 02:52:36 -12 2025 -I: pbuilder-time-stamp: 1744383156 +I: Current time: Sat Mar 9 22:37:39 +14 2024 +I: pbuilder-time-stamp: 1709973459 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/4182912/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1124716/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 9 22:37 /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/1124716/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1124716/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='9934b50888844e31bb3328c417149556' - 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='4182912' - PS1='# ' - PS2='> ' + INVOCATION_ID=79c58bbc2f7c4cea98df251e3f2baa00 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1124716 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.hPBmluYj/pbuilderrc_jWWF --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.hPBmluYj/b1 --logfile b1/build.log swupdate_2022.12+dfsg-4+deb12u1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.hPBmluYj/pbuilderrc_zYwj --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.hPBmluYj/b2 --logfile b2/build.log swupdate_2022.12+dfsg-4+deb12u1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 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 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 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 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 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 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Jul 28 2023 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14520 Jul 28 2023 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 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/4182912/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 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 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 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 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Jul 29 2023 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Mar 9 22:37 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Jan 20 23:27 tar + -rwxr-xr-x 1 root root 14520 Jul 29 2023 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 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/1124716/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -591,7 +623,7 @@ Get: 320 http://deb.debian.org/debian bookworm/main amd64 tipa all 2:1.3-21 [2974 kB] Get: 321 http://deb.debian.org/debian bookworm/main amd64 texlive-xetex all 2022.20230122-3 [11.4 MB] Get: 322 http://deb.debian.org/debian bookworm/main amd64 texlive-formats-extra all 2022.20230122-4 [7773 kB] -Fetched 240 MB in 3s (79.9 MB/s) +Fetched 240 MB in 4s (57.8 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 ... 19555 files and directories currently installed.) @@ -1933,7 +1965,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/1124716/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/1124716/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 @@ -1943,7 +1979,7 @@ debian/rules clean dh clean --with sysuser,lua dh_auto_clean - make -j16 distclean + make -j15 distclean make[1]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' make[1]: git: No such file or directory make[1]: git: No such file or directory @@ -3606,7 +3642,7 @@ mv doc/build/man/ipc.1 doc/build/man/swupdate-ipc.1 mv doc/build/man/progress.1 doc/build/man/swupdate-progress.1 dh_auto_build -- V=1 - make -j16 "INSTALL=install --strip-program=true" V=1 + make -j15 "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' make[2]: git: No such file or directory make[2]: git: No such file or directory @@ -3616,27 +3652,26 @@ 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-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,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=handlers - 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,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 + 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 -f scripts/Makefile.build obj=bootloader - 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/.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 + 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 make[2]: git: No such file or directory - gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -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 make -f scripts/Makefile.build obj=corelib + 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 + 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,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 +make[2]: git: No such file or directory 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/.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 -make[2]: git: No such file or directory 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/.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,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,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/.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 - 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 handlers/archive_handler.c:25: + 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,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 +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 { \ | ^~~ @@ -3659,6 +3694,11 @@ 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...) \ | ^~~ @@ -3674,10 +3714,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 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 { \ - | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -3693,7 +3729,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/notifier.c:22: +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 { \ | ^~~ @@ -3712,8 +3748,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 include/lua_util.h:16, - from core/handler.c:17: +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 { \ | ^~~ @@ -3732,10 +3767,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 bootloader/uboot.c:19: +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 { \ | ^~~ + 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:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -3751,7 +3787,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 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 { \ | ^~~ @@ -3770,7 +3806,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: +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 { \ | ^~~ @@ -3789,11 +3825,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,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 -make -f scripts/Makefile.build obj=mongoose -make[2]: git: No such file or directory - gcc -Wp,-MD,mongoose/.mongoose.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -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 core/bootloader.c:9: +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 { \ | ^~~ @@ -3813,7 +3845,7 @@ 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 -In file included from handlers/boot_handler.c:20: +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 { \ | ^~~ @@ -3832,7 +3864,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 core/install_from_file.c:18: + 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,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 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 { \ | ^~~ @@ -3851,8 +3885,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,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/channel_curl.c:24: +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 { \ | ^~~ @@ -3871,8 +3905,8 @@ 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 bootloader/grub.h:15, - from bootloader/grub.c:9: + 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 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 { \ | ^~~ @@ -3891,18 +3925,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,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 -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; - | ^~ -make -f scripts/Makefile.build obj=parser 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 -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 -make -f scripts/Makefile.build obj=suricatta -make[2]: git: No such file or directory -In file included from handlers/flash_handler.c:30: + 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,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/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 { \ | ^~~ @@ -3921,8 +3948,15 @@ 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 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; + | ^~ +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 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 { \ | ^~~ @@ -3941,11 +3975,21 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -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__); - | ^~~~~~~~ - 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 + 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 +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); + | ^~~ 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 { \ @@ -3965,7 +4009,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/.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 +make -f scripts/Makefile.build obj=mongoose 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) ({\ @@ -3973,28 +4017,33 @@ handlers/delta_handler.c:145:37: note: in expansion of macro 'min' 145 | size_t tobecopied = min(nbytes, to_be_filled); | ^~~ -make -f scripts/Makefile.build obj=fs +make[2]: git: No such file or directory +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 { \ + | ^~~ +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...) \ + | ^~~ 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=] - 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 -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 -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/x86_64-linux-gnu/curl/curl.h:2901:3: note: declared here - 2901 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") - | ^~~~~~~~~~~~~~~~~ + 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 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 { \ @@ -4020,12 +4069,30 @@ | ^~~~~~~~~ core/util.c:361:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] core/util.c: In function 'load_decryption_key': +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 { \ + | ^~~ 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=] +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...) \ + | ^~~ core/util.c: In function 'get_root_from_partitions': - 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 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", | ~~^ @@ -4064,14 +4131,7 @@ 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=] -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/x86_64-linux-gnu/curl/curl.h:1755:3: note: declared here - 1755 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, - | ^~~~~~~~~~~~~~~~~ -In file included from suricatta/common.c:12: +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 { \ | ^~~ @@ -4090,7 +4150,33 @@ 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,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 +corelib/channel_curl.c: In function 'channel_new': + 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 +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/x86_64-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/.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 +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/x86_64-linux-gnu/curl/curl.h:1755:3: note: declared here + 1755 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, + | ^~~~~~~~~~~~~~~~~ + 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,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 + 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 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 { \ | ^~~ @@ -4109,43 +4195,13 @@ 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/.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 -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,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 fs/diskformat.c:10: + 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 +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 { \ | ^~~ -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...) \ - | ^~~ -In file included from parser/parser.c:21: +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 { \ | ^~~ @@ -4164,21 +4220,6 @@ 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': -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': -corelib/channel_curl.c:959:33: warning: ISO C forbids empty initializer braces [-Wpedantic] - 959 | output_data_t outdata = {}; - | ^ -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 { \ - | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4194,7 +4235,8 @@ 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/pctl.c:23: +corelib/channel_curl.c: In function 'put_read_callback': +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 { \ | ^~~ @@ -4213,6 +4255,17 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ +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); + | ^~~ + 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 +corelib/channel_curl.c: In function 'channel_post_method': +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 = {}; @@ -4223,27 +4276,11 @@ /usr/include/x86_64-linux-gnu/curl/curl.h:1286:3: note: declared here 1286 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ -In file included from core/parser.c:17: +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...) \ - | ^~~ -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,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 -In file included from handlers/zchunk_range.c:24: +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 { \ | ^~~ @@ -4262,24 +4299,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,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 - 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_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/x86_64-linux-gnu/curl/curl.h:2841:3: note: declared here - 2841 | CURLINFO_SIZE_DOWNLOAD - | ^~~~~~~~~~~~~~~~~~~~~~ - 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 -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 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 { \ - | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4295,11 +4314,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 fs/diskio.c:16: +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 { \ | ^~~ - 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 include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4312,13 +4330,13 @@ 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...) \ - | ^~~ -In file included from handlers/diskpart_handler.c:25: +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 { \ | ^~~ +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...) \ | ^~~ @@ -4334,9 +4352,29 @@ 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/.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 - 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/uniqueuuid_handler.c:26: +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/.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 '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/x86_64-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 = {}; + | ^ + 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 + 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 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 { \ | ^~~ @@ -4355,11 +4393,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 fs/fat_fs.c:13: +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 = {}; + | ^ +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 { \ | ^~~ - 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 include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4375,9 +4420,11 @@ 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 -In file included from core/state.c:12: +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 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 { \ | ^~~ @@ -4396,13 +4443,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-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,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,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,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,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,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/flash_hamming1_handler.c:30: + 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/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 { \ | ^~~ @@ -4421,14 +4463,25 @@ 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)); - | ^~~ -In file included from core/syslog.c:9: +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,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 +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 +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/.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 +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 { \ | ^~~ @@ -4447,8 +4500,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,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 handlers/lua_scripthandler.c:23: + 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 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 { \ | ^~~ @@ -4467,10 +4520,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/installer.c:27: +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 { \ | ^~~ + 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 include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4486,9 +4540,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/.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,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/.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 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: + 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/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 { \ | ^~~ @@ -4507,16 +4564,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/.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 function 'flash_write_nand_hamming1', - inlined from 'install_flash_hamming_image' at handlers/flash_hamming1_handler.c:300:6: -handlers/flash_hamming1_handler.c:263:12: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] - 263 | if (cnt < 0) { - | ^ -handlers/flash_hamming1_handler.c: In function 'install_flash_hamming_image': -handlers/flash_hamming1_handler.c:175:13: note: 'cnt' was declared here - 175 | int cnt; - | ^~~ In file included from 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 { \ @@ -4543,7 +4590,6 @@ core/stream_interface.c:349:27: note: in expansion of macro 'min' 349 | maxread = min(bufsize, max); | ^~~ - 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 core/stream_interface.c: In function 'get_install_info': include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 154 | #define min(a, b) ({\ @@ -4551,8 +4597,7 @@ core/stream_interface.c:741:15: note: in expansion of macro 'min' 741 | len = min(len - 1, strlen(inst.req.info)); | ^~~ - 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/progress_thread.c:27: +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 { \ | ^~~ @@ -4571,11 +4616,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/raw_handler.c:29: + 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 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,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 include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4591,7 +4636,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 handlers/rdiff_handler.c:24: +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 { \ | ^~~ @@ -4610,18 +4655,7 @@ 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 = {}; - | ^ - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o -make -f scripts/Makefile.build obj=bindings -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__); - | ^~~~~~~~ -make[2]: git: No such file or directory -In file included from mongoose/mongoose_interface.c:34: +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 { \ | ^~~ @@ -4640,65 +4674,49 @@ 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,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 -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, - | ^ - 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 +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,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,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 -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)); - | ^ 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 -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 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 { \ - | ^~~ -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...) \ - | ^~~ -In file included from handlers/readback_handler.c:24: + 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/.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 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 { \ | ^~~ @@ -4736,6 +4754,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,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 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); @@ -4780,12 +4799,8 @@ core/artifacts_versions.c:241:30: warning: ISO C forbids empty initializer braces [-Wpedantic] 241 | semver_t right_sem = {}; | ^ - 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,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,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,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 - 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 handlers/ssbl_handler.c:21: + 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 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 { \ | ^~~ @@ -4804,6 +4819,23 @@ 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 +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 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 { \ @@ -4823,12 +4855,7 @@ 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 include/lua_util.h:16, - from bindings/lua_swupdate.c:10: +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 { \ | ^~~ @@ -4847,7 +4874,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/swuforward-ws.c:21: +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 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 { \ | ^~~ @@ -4866,10 +4897,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,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 +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,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,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/swupdate_dict.c:22: + 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,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,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 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 { \ | ^~~ @@ -4888,7 +4924,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/.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 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 { \ @@ -4908,14 +4943,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -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,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 - 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,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,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 +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 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 { \ @@ -4935,7 +4965,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,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 + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o 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) ({\ @@ -4949,10 +4979,13 @@ 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,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 include/lua_util.h:16, - from include/../corelib/lua_compat.c:9, - from bindings/lua_compat_shared.c:5: + 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 +make -f scripts/Makefile.build obj=fs +make[2]: git: No such file or directory + 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,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 + 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 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 { \ | ^~~ @@ -4971,10 +5004,16 @@ 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/.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 +make -f scripts/Makefile.build obj=tools 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 { \ | ^~~ +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...) \ | ^~~ @@ -4990,9 +5029,26 @@ 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/.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,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 -In file included from fs/mke2fs.c:41: +make[2]: git: No such file or directory +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,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,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,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 +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 { \ | ^~~ @@ -5011,7 +5067,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 suricatta/suricatta.c:12: +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 { \ | ^~~ @@ -5030,9 +5086,8 @@ 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 bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o - 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 corelib/downloader.c:12: + 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 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 { \ | ^~~ @@ -5051,16 +5106,23 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-ipc.o tools/swupdate-progress.o -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) ({\ - | ^ -suricatta/suricatta.c:286:41: note: in expansion of macro 'min' - 286 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { - | ^~~ -In file included from include/lua_util.h:16, - from corelib/lua_compat.c:9: +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 -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 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 { \ | ^~~ @@ -5079,10 +5141,13 @@ 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 +make -f scripts/Makefile.build obj=bindings 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 corelib/lua_interface.c:21: + 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,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 + 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_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 { \ | ^~~ @@ -5101,23 +5166,11 @@ 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 = {}; - | ^ -make[2]: git: No such file or directory -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 -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 = {}; - | ^ - 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 - 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 corelib/mtd-interface.c:20: +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__); + | ^~~~~~~~ +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 { \ | ^~~ @@ -5136,9 +5189,8 @@ 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 - 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 corelib/parsing_library_libconfig.c:19: + 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 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 { \ | ^~~ @@ -5157,9 +5209,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,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 - 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/parsing_library_libjson.c:19: + 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,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,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,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 +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 -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 +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 { \ | ^~~ @@ -5178,8 +5238,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,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 -In file included from corelib/swupdate_settings.c:25: + 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 +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 { \ | ^~~ @@ -5198,12 +5258,14 @@ 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 - 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 -In file included from corelib/swupdate_cms_verify.c:16: +make[2]: git: No such file or directory +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 { \ | ^~~ + /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 " include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -5219,7 +5281,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 corelib/swupdate_decrypt.c:17: +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 { \ | ^~~ @@ -5238,46 +5300,7 @@ 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, - | ^ -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 " -In file included from corelib/verify_signature.c:16: +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 { \ | ^~~ @@ -5296,8 +5319,21 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - 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 +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) ({\ + | ^ +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 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 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 +make[2]: git: No such file or directory +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 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 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 " @@ -5322,7 +5358,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_auto_test -- V=1 - make -j16 test V=1 + make -j15 test V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' make[2]: git: No such file or directory make -f scripts/Makefile.build obj=test SWOBJS="core/built-in.o handlers/built-in.o bootloader/built-in.o" SWLIBS="corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a libswupdate.so.0.1" LDLIBS="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 " tests @@ -5389,6 +5425,14 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ +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" +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_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" +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 *), + | ^ 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] 86 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -5409,18 +5453,10 @@ 121 | #define DEBUG(format, arg...) \ | ^~~ 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': -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_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_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" /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 -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" /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 @@ -5460,7 +5496,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_auto_install -- V=1 - make -j16 install DESTDIR=/build/reproducible-path/swupdate-2022.12\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 + make -j15 install DESTDIR=/build/reproducible-path/swupdate-2022.12\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' make[2]: git: No such file or directory make -f scripts/Makefile.build obj=ipc @@ -5532,15 +5568,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: .debug_info section not present +dwz: dwz: dwz: debian/swupdate/usr/bin/swupdate-ipc: .debug_info section not presentdebian/swupdate/usr/bin/swupdate: .debug_info section not presentdebian/swupdate/usr/bin/swupdate-client: .debug_info section not present + + dwz: debian/swupdate/usr/bin/swupdate-progress: .debug_info section not present -dwz: debian/swupdate/usr/bin/swupdate-ipc: .debug_info section not present -dwz: debian/swupdate/usr/bin/swupdate-client: .debug_info section not present make[1]: Leaving directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/x86_64-linux-gnu/lua/5.3/lua_swupdate.so.0.1 contains an unresolvable reference to symbol luaL_newmetatable: it's probably a plugin +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/x86_64-linux-gnu/lua/5.3/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_createtable: 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 @@ -5549,14 +5585,14 @@ make[1]: Leaving directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_md5sums dh_builddeb +dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2022.12+dfsg-4+deb12u1_amd64.deb'. +dpkg-deb: building package 'swupdate-www' in '../swupdate-www_2022.12+dfsg-4+deb12u1_all.deb'. dpkg-deb: building package 'swupdate' in '../swupdate_2022.12+dfsg-4+deb12u1_amd64.deb'. dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2022.12+dfsg-4+deb12u1_amd64.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_amd64.deb'. -dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2022.12+dfsg-4+deb12u1_amd64.deb'. -dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2022.12+dfsg-4+deb12u1_amd64.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_amd64.deb'. +dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2022.12+dfsg-4+deb12u1_amd64.deb'. +dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2022.12+dfsg-4+deb12u1_all.deb'. dpkg-genbuildinfo --build=binary -O../swupdate_2022.12+dfsg-4+deb12u1_amd64.buildinfo dpkg-genchanges --build=binary -O../swupdate_2022.12+dfsg-4+deb12u1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5564,12 +5600,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/1124716/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1124716/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/4182912 and its subdirectories -I: Current time: Fri Apr 11 03:00:56 -12 2025 -I: pbuilder-time-stamp: 1744383656 +I: removing directory /srv/workspace/pbuilder/1124716 and its subdirectories +I: Current time: Sat Mar 9 22:50:10 +14 2024 +I: pbuilder-time-stamp: 1709974210