Diff of the two buildlogs: -- --- b1/build.log 2024-03-13 09:55:06.444795173 +0000 +++ b2/build.log 2024-03-13 10:20:14.863215934 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 12 21:41:50 -12 2024 -I: pbuilder-time-stamp: 1710322910 +I: Current time: Wed Mar 13 23:55:24 +14 2024 +I: pbuilder-time-stamp: 1710323724 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/27495/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24700/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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 13 23:55 /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/24700/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24700/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='f861b2976a074a4c9df5c35c2c4e7b64' - 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='27495' - PS1='# ' - PS2='> ' + INVOCATION_ID=716a571a6eaf448795663d4120ddfec9 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=24700 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.uR3p3gDR/pbuilderrc_6XLf --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.uR3p3gDR/b1 --logfile b1/build.log swupdate_2022.12+dfsg-4+deb12u1.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uR3p3gDR/pbuilderrc_eHWE --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.uR3p3gDR/b2 --logfile b2/build.log swupdate_2022.12+dfsg-4+deb12u1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64z 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux I: ls -l /bin total 4964 - -rwxr-xr-x 1 root root 838488 Apr 23 2023 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 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 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 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 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 2023 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 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 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 128608 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 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 2023 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 2023 more - -rwsr-xr-x 1 root root 38496 Mar 22 2023 mount - -rwxr-xr-x 1 root root 9824 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 133532 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 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 14152 Jul 28 2023 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 2023 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Jan 19 21:27 tar - -rwxr-xr-x 1 root root 9800 Jul 28 2023 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 2023 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 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/27495/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 2023 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 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 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 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 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 2023 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 2023 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 128608 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 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 2023 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 2023 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 2023 more + -rwsr-xr-x 1 root root 38496 Mar 23 2023 mount + -rwxr-xr-x 1 root root 9824 Mar 23 2023 mountpoint + -rwxr-xr-x 1 root root 133532 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 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 14152 Jul 29 2023 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Mar 13 23:55 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 2023 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Jan 20 23:27 tar + -rwxr-xr-x 1 root root 9800 Jul 29 2023 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 2023 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/24700/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -589,7 +621,7 @@ Get: 318 http://deb.debian.org/debian bookworm/main armhf tipa all 2:1.3-21 [2974 kB] Get: 319 http://deb.debian.org/debian bookworm/main armhf texlive-xetex all 2022.20230122-3 [11.4 MB] Get: 320 http://deb.debian.org/debian bookworm/main armhf texlive-formats-extra all 2022.20230122-4 [7773 kB] -Fetched 229 MB in 4s (56.1 MB/s) +Fetched 229 MB in 14s (16.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19288 files and directories currently installed.) @@ -1923,7 +1955,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/24700/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/24700/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 @@ -1933,7 +1969,7 @@ debian/rules clean dh clean --with sysuser,lua dh_auto_clean - make -j3 distclean + make -j4 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 @@ -3596,7 +3632,7 @@ mv doc/build/man/ipc.1 doc/build/man/swupdate-ipc.1 mv doc/build/man/progress.1 doc/build/man/swupdate-progress.1 dh_auto_build -- V=1 - make -j3 "INSTALL=install --strip-program=true" V=1 + make -j4 "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' make[2]: git: No such file or directory make[2]: git: No such file or directory @@ -3606,6 +3642,7 @@ make[2]: git: No such file or directory make -f scripts/Makefile.build obj=handlers 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 + 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 make[2]: git: No such file or directory gcc -Wp,-MD,core/.swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -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 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 @@ -3667,36 +3704,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,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o ipc/progress_ipc.o ipc/progress_ipc.c +make -f scripts/Makefile.build obj=bootloader +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,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 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,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 -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 { \ - | ^~~ -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,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 -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 -make -f scripts/Makefile.build obj=bootloader -make[2]: git: No such file or directory - gcc -Wp,-MD,bootloader/.uboot.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/uboot.o bootloader/uboot.c In file included from 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 { \ @@ -3716,13 +3733,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,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/.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,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/none.o bootloader/none.c -In file included from handlers/boot_handler.c:20: +make -f scripts/Makefile.build obj=corelib +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 { \ | ^~~ +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...) \ | ^~~ @@ -3738,7 +3754,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/cpio_utils.c:22: + 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,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o bootloader/none.o bootloader/none.c +In file included from 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 { \ | ^~~ @@ -3797,6 +3815,7 @@ bootloader/grub.c:178:17: note: in expansion of macro 'ERROR' 178 | ERROR("Not enough free space in envblk file, %ld", | ^~~~~ +corelib/channel_curl.c: In function 'channel_new': include/util.h:103:41: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 103 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ @@ -3806,6 +3825,124 @@ bootloader/grub.c:178:17: note: in expansion of macro 'ERROR' 178 | ERROR("Not enough free space in envblk file, %ld", | ^~~~~ +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/arm-linux-gnueabihf/curl/curl.h:2901:3: note: declared here + 2901 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") + | ^~~~~~~~~~~~~~~~~ +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/arm-linux-gnueabihf/curl/curl.h:1755:3: note: declared here + 1755 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, + | ^~~~~~~~~~~~~~~~~ + 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 +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 = {}; + | ^ +corelib/channel_curl.c: In function 'channel_put_method': +corelib/channel_curl.c:1036:33: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1036 | output_data_t outdata = {}; + | ^ +corelib/channel_curl.c:1054:9: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] + 1054 | if ((curl_easy_setopt(channel_curl->handle, CURLOPT_PUT, 1L) != CURLE_OK) || + | ^~ +/usr/include/arm-linux-gnueabihf/curl/curl.h:1286:3: note: declared here + 1286 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, + | ^~~~~~~~~~~~~~~~~ + 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 +corelib/channel_curl.c: In function 'channel_get_file': +include/util.h:92:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'curl_off_t' {aka 'long long int'} [-Wformat=] + 92 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:116:9: note: in expansion of macro 'swupdate_notify' + 116 | swupdate_notify(RUN, format, INFOLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +corelib/channel_curl.c:1174:17: note: in expansion of macro 'INFO' + 1174 | INFO("Total download size is %lu kB.", + | ^~~~ +include/util.h:99:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'curl_off_t' {aka 'long long int'} [-Wformat=] + 99 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:116:9: note: in expansion of macro 'swupdate_notify' + 116 | swupdate_notify(RUN, format, INFOLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +corelib/channel_curl.c:1174:17: note: in expansion of macro 'INFO' + 1174 | INFO("Total download size is %lu kB.", + | ^~~~ +include/util.h:103:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'curl_off_t' {aka 'long long int'} [-Wformat=] + 103 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:116:9: note: in expansion of macro 'swupdate_notify' + 116 | swupdate_notify(RUN, format, INFOLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +corelib/channel_curl.c:1174:17: note: in expansion of macro 'INFO' + 1174 | INFO("Total download size is %lu kB.", + | ^~~~ +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 { \ + | ^~~ +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...) \ + | ^~~ +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/arm-linux-gnueabihf/curl/curl.h:2841:3: note: declared here + 2841 | CURLINFO_SIZE_DOWNLOAD + | ^~~~~~~~~~~~~~~~~~~~~~ +corelib/channel_curl.c: In function 'channel_get': +corelib/channel_curl.c:1382:33: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1382 | output_data_t outdata = {}; + | ^ +In file included from core/cpio_utils.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 { \ + | ^~~ +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,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/.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 core/cpio_utils.c: In function 'copy_write': include/util.h:92:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] @@ -3865,7 +4002,7 @@ core/cpio_utils.c:151:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 151 | buf += ret; | ^~ -In file included from handlers/flash_handler.c:30: +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 { \ | ^~~ @@ -3884,8 +4021,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/.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 -In file included from bootloader/ebg.c:18: +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 { \ | ^~~ @@ -3904,6 +4040,10 @@ 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 bootloader/built-in.o bootloader/uboot.o bootloader/none.o bootloader/grub.o bootloader/ebg.o +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 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/delta_handler.c:36: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -4427,10 +4567,6 @@ 1049 | INFO("Total downloaded data : %ld bytes", priv->totaldwlbytes); | ^~~~ 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 -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bootloader/built-in.o bootloader/uboot.o bootloader/none.o bootloader/grub.o bootloader/ebg.o -make -f scripts/Makefile.build obj=corelib -make[2]: git: No such file or directory - gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/channel_curl.o corelib/channel_curl.c 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 { \ @@ -4458,7 +4594,9 @@ | | dev_t * {aka long long unsigned int *} | long unsigned int * | %llu -In file included from corelib/channel_curl.c:24: + 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 +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 { \ | ^~~ @@ -4477,21 +4615,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/.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 -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/arm-linux-gnueabihf/curl/curl.h:2901:3: note: declared here - 2901 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") - | ^~~~~~~~~~~~~~~~~ -In file included from include/lua_util.h:16, - from core/handler.c:17: + 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 +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 { \ | ^~~ @@ -4510,36 +4635,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -corelib/channel_curl.c: In function 'channel_set_options': -corelib/channel_curl.c:588:13: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] - 588 | (curl_easy_setopt(channel_curl->handle, CURLOPT_REDIR_PROTOCOLS, - | ^ -/usr/include/arm-linux-gnueabihf/curl/curl.h:1755:3: note: declared here - 1755 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, - | ^~~~~~~~~~~~~~~~~ - 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 -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 = {}; - | ^ -corelib/channel_curl.c: In function 'channel_put_method': -corelib/channel_curl.c:1036:33: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1036 | output_data_t outdata = {}; - | ^ -corelib/channel_curl.c:1054:9: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] - 1054 | if ((curl_easy_setopt(channel_curl->handle, CURLOPT_PUT, 1L) != CURLE_OK) || - | ^~ -/usr/include/arm-linux-gnueabihf/curl/curl.h:1286:3: note: declared here - 1286 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, - | ^~~~~~~~~~~~~~~~~ -In file included from core/bootloader.c:9: + gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/downloader.o corelib/downloader.c + gcc -Wp,-MD,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/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 { \ | ^~~ @@ -4558,46 +4656,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 'channel_get_file': -include/util.h:92:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'curl_off_t' {aka 'long long int'} [-Wformat=] - 92 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:116:9: note: in expansion of macro 'swupdate_notify' - 116 | swupdate_notify(RUN, format, INFOLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -corelib/channel_curl.c:1174:17: note: in expansion of macro 'INFO' - 1174 | INFO("Total download size is %lu kB.", - | ^~~~ -include/util.h:99:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'curl_off_t' {aka 'long long int'} [-Wformat=] - 99 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:116:9: note: in expansion of macro 'swupdate_notify' - 116 | swupdate_notify(RUN, format, INFOLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -corelib/channel_curl.c:1174:17: note: in expansion of macro 'INFO' - 1174 | INFO("Total download size is %lu kB.", - | ^~~~ -include/util.h:103:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'curl_off_t' {aka 'long long int'} [-Wformat=] - 103 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:116:9: note: in expansion of macro 'swupdate_notify' - 116 | swupdate_notify(RUN, format, INFOLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -corelib/channel_curl.c:1174:17: note: in expansion of macro 'INFO' - 1174 | INFO("Total download size is %lu kB.", - | ^~~~ -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/arm-linux-gnueabihf/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,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 - gcc -Wp,-MD,handlers/.delta_downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/delta_downloader.o handlers/delta_downloader.c In file included from 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 { \ @@ -4617,7 +4675,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/delta_downloader.c:29: + 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,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 + gcc -Wp,-MD,handlers/.delta_downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/delta_downloader.o handlers/delta_downloader.c +In file included from 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 { \ | ^~~ @@ -4636,25 +4698,30 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -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/.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 + 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 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 { \ + | ^~~ +include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 109 | #define ERROR(format, arg...) \ + | ^~~ In file included from core/util.c:35: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +include/util.h: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...) \ + | ^~~ include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 109 | #define ERROR(format, arg...) \ | ^~~ @@ -4680,6 +4747,20 @@ 567 | ret = fscanf(fp, "%ms %ms", &b1, &b2); | ^~~~~~~~~ core/util.c:567:26: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +handlers/delta_downloader.c: In function 'wrdata_callback': +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +handlers/delta_downloader.c:87:31: note: in expansion of macro 'min' + 87 | answer->len = min(nbytes, RANGE_PAYLOAD_SIZE); + | ^~~ +handlers/delta_downloader.c: In function 'delta_callback_headers': +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +handlers/delta_downloader.c:118:23: note: in expansion of macro 'min' + 118 | answer->len = min(size * nitems , RANGE_PAYLOAD_SIZE - 2); + | ^~~ core/util.c: In function 'get_root_from_partitions': core/util.c:1040:38: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long unsigned int *' [-Wformat=] 1040 | ret = sscanf(buf, "%ld %ld %ld %ms", @@ -4719,6 +4800,38 @@ 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=] +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 { \ + | ^~~ +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...) \ + | ^~~ +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 = {}; + | ^ +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,handlers/.zchunk_range.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/zchunk_range.o handlers/zchunk_range.c In file included from handlers/zchunk_range.c:24: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -4739,6 +4852,43 @@ 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, + | ^ 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 handlers/diskformat_handler.c:10: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -4780,8 +4930,8 @@ 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 - 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 corelib/downloader.c:12: + 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/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 { \ | ^~~ @@ -4819,9 +4969,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/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/lua_compat.o corelib/lua_compat.c -In file included from include/lua_util.h:16, - from corelib/lua_compat.c:9: + 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 +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 { \ | ^~~ @@ -4840,8 +4989,6 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/lua_interface.o corelib/lua_interface.c - gcc -Wp,-MD,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 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)); @@ -4858,8 +5005,10 @@ 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 include/lua_util.h:16, - from corelib/lua_interface.c:21: + 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 + 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,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/state.o core/state.c +In file included from 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 { \ | ^~~ @@ -4878,15 +5027,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 '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 core/pctl.c:23: +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 { \ | ^~~ @@ -4905,49 +5046,9 @@ 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_call_handler': -corelib/lua_interface.c:1427:31: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1427 | struct img_type img = {}; - | ^ - 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 -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, - | ^ -In file included from core/state.c:12: + 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,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 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 { \ | ^~~ @@ -4966,8 +5067,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/.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,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/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 { \ @@ -4987,6 +5086,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,handlers/.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,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,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 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 { \ @@ -5006,8 +5108,6 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/installer.o core/installer.c - gcc -Wp,-MD,handlers/.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/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 { \ @@ -5027,6 +5127,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/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c In file included from handlers/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 { \ @@ -5053,6 +5154,25 @@ 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 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 { \ + | ^~~ +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 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] @@ -5062,8 +5182,9 @@ handlers/flash_hamming1_handler.c:175:13: note: 'cnt' was declared here 175 | int cnt; | ^~~ - 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/mtd-interface.c:20: + 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,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/network_thread.o core/network_thread.c +In file included from core/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 { \ | ^~~ @@ -5082,9 +5203,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 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/lua_scripthandler.c:23: +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 { \ | ^~~ @@ -5103,7 +5223,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/network_thread.c:27: +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 { \ | ^~~ @@ -5123,6 +5243,11 @@ 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 + 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 +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 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 { \ @@ -5142,11 +5267,26 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -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,corelib/.multipart_parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/multipart_parser.o corelib/multipart_parser.c +In file included from corelib/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 { \ + | ^~~ +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,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,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c In file included from handlers/rdiff_handler.c:24: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -5226,9 +5366,8 @@ handlers/rdiff_handler.c:226:38: warning: ISO C forbids empty initializer braces [-Wpedantic] 226 | struct rdiff_t rdiff_state = {}; | ^ - 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,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/stream_interface.o core/stream_interface.c -In file included from corelib/parsing_library_libconfig.c:19: +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 { \ | ^~~ @@ -5266,7 +5405,6 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.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 core/stream_interface.c: In function 'cpfiles': include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 154 | #define min(a, b) ({\ @@ -5281,7 +5419,13 @@ core/stream_interface.c:741:15: note: in expansion of macro 'min' 741 | len = min(len - 1, strlen(inst.req.info)); | ^~~ -In file included from corelib/parsing_library_libjson.c:19: + 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 + 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 -f scripts/Makefile.build obj=parser +make[2]: git: No such file or directory + gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o parser/parse_external.o parser/parse_external.c + gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o parser/parser.o parser/parser.c +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 { \ | ^~~ @@ -5300,9 +5444,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/.swupdate_cms_verify.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/swupdate_cms_verify.o corelib/swupdate_cms_verify.c gcc -Wp,-MD,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 -In file included from corelib/swupdate_cms_verify.c:16: +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 { \ | ^~~ @@ -5321,6 +5464,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 = {}; + | ^ +mongoose/mongoose_interface.c: In function 'timer_ev_handler': +include/util.h:92:41: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 92 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:110:9: note: in expansion of macro 'swupdate_notify' + 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +mongoose/mongoose_interface.c:538:17: note: in expansion of macro 'ERROR' + 538 | ERROR("Connection lost, no data for %ld seconds, closing...", + | ^~~~~ +include/util.h:99:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 99 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:110:9: note: in expansion of macro 'swupdate_notify' + 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +mongoose/mongoose_interface.c:538:17: note: in expansion of macro 'ERROR' + 538 | ERROR("Connection lost, no data for %ld seconds, closing...", + | ^~~~~ +include/util.h:103:41: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 103 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:110:9: note: in expansion of macro 'swupdate_notify' + 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +mongoose/mongoose_interface.c:538:17: note: in expansion of macro 'ERROR' + 538 | ERROR("Connection lost, no data for %ld seconds, closing...", + | ^~~~~ 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 { \ @@ -5340,9 +5526,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,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 gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c - gcc -Wp,-MD,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 handlers/shell_scripthandler.c:21: +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 { \ | ^~~ @@ -5361,9 +5547,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/.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 - gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c -In file included from core/progress_thread.c:27: +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 { \ | ^~~ @@ -5382,6 +5566,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,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,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c In 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 { \ @@ -5401,7 +5587,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 corelib/swupdate_decrypt.c:17: + gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/parsing_library.o core/parsing_library.c +In file included from core/parsing_library.c:19: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5420,16 +5607,25 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.swupdate_settings.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c - gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/parsing_library.o core/parsing_library.c -In file included from 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 { \ - | ^~~ -include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 109 | #define ERROR(format, arg...) \ - | ^~~ -In file included from core/parsing_library.c:19: +core/parsing_library.c: In function 'get_field': +core/parsing_library.c:128:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 128 | return get_field_cfg((config_setting_t *)e, path, dest); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/parsing_library.c:124:6: note: declared here + 124 | void get_field(parsertype p, void *e, const char *path, void *dest) + | ^~~~~~~~~ +core/parsing_library.c:130:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 130 | return get_field_json((json_object *)e, path, dest); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/parsing_library.c:124:6: note: declared here + 124 | void get_field(parsertype p, void *e, const char *path, void *dest) + | ^~~~~~~~~ + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o +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 + 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 +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 { \ | ^~~ @@ -5448,32 +5644,6 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -include/util.h:112:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 112 | #define WARN(format, arg...) \ - | ^~~ - gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -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 -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/parsing_library.c: In function 'get_field': -core/parsing_library.c:128:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 128 | return get_field_cfg((config_setting_t *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:124:6: note: declared here - 124 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ -core/parsing_library.c:130:24: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 130 | return get_field_json((json_object *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:124:6: note: declared here - 124 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ 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 { \ @@ -5493,12 +5663,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/.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,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/artifacts_versions.o core/artifacts_versions.c + gcc -Wp,-MD,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 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/.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 + rm -f mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o mongoose/mongoose_multipart.o +make -f scripts/Makefile.build obj=fs +make[2]: git: No such file or directory + gcc -Wp,-MD,fs/.diskformat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/diskformat.o fs/diskformat.c In file included from core/artifacts_versions.c:24: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -5530,7 +5704,7 @@ core/artifacts_versions.c:241:30: warning: ISO C forbids empty initializer braces [-Wpedantic] 241 | semver_t right_sem = {}; | ^ -In file included from corelib/verify_signature.c:16: +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 { \ | ^~~ @@ -5549,13 +5723,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/.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 - 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 - 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 -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/swupdate_dict.c:22: +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 { \ | ^~~ @@ -5574,7 +5742,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/swuforward-ws.c:21: + 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 + gcc -Wp,-MD,fs/.diskio.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/diskio.o fs/diskio.c +In file included from 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 { \ | ^~~ @@ -5593,9 +5763,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o core/semver.o core/semver.c - gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c -In file included from handlers/ubivol_handler.c:21: +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 { \ | ^~~ @@ -5614,21 +5782,9 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ -handlers/ubivol_handler.c: In function 'swap_volume': -include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 154 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:532:54: note: in expansion of macro 'min' - 532 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); - | ^~~ -include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 154 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:537:54: note: in expansion of macro 'min' - 537 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); - | ^~~ - 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 -In file included from core/strlcpy.c:8: + 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/.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 +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 { \ | ^~~ @@ -5647,12 +5803,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 -make -f scripts/Makefile.build obj=parser -make[2]: git: No such file or directory - gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o parser/parse_external.o parser/parse_external.c - gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o parser/parser.o parser/parser.c -In file included from parser/parser.c:21: + 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 +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 { \ | ^~~ @@ -5671,8 +5823,10 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.ucfw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ucfw_handler.o handlers/ucfw_handler.c -In file included from handlers/ucfw_handler.c:74: + 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,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,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 { \ | ^~~ @@ -5691,11 +5845,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 handlers/built-in.o handlers/dummy_handler.o handlers/chain_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/flash_handler.o handlers/delta_handler.o handlers/delta_downloader.o handlers/zchunk_range.o handlers/diskformat_handler.o handlers/diskpart_handler.o handlers/uniqueuuid_handler.o handlers/flash_hamming1_handler.o handlers/lua_scripthandler.o handlers/raw_handler.o handlers/rdiff_handler.o handlers/readback_handler.o handlers/shell_scripthandler.o handlers/ssbl_handler.o handlers/swuforward_handler.o handlers/swuforward-ws.o handlers/ubivol_handler.o handlers/ucfw_handler.o -make -f scripts/Makefile.build obj=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 suricatta/common.c:12: + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o core/built-in.o core/swupdate.o core/cpio_utils.o core/notifier.o core/handler.o core/bootloader.o core/install_from_file.o core/util.o core/parser.o core/pctl.o core/state.o core/syslog.o core/installer.o core/network_thread.o core/stream_interface.o core/progress_thread.o core/parsing_library.o core/artifacts_versions.o core/swupdate_dict.o core/semver.o core/strlcpy.o +In file included from handlers/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 { \ | ^~~ @@ -5714,71 +5865,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,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 - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o -make -f scripts/Makefile.build obj=fs +handlers/ubivol_handler.c: In function 'swap_volume': +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:532:54: note: in expansion of macro 'min' + 532 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); + | ^~~ +include/util.h:154:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 154 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:537:54: note: in expansion of macro 'min' + 537 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); + | ^~~ +make -f scripts/Makefile.build obj=tools make[2]: git: No such file or directory - gcc -Wp,-MD,fs/.diskformat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/diskformat.o fs/diskformat.c -In file included from 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...) \ - | ^~~ -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 fs/diskformat.c:10: -include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 86 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:109:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 109 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h: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,fs/.diskio.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o fs/diskio.o fs/diskio.c -In file included from 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 { \ - | ^~~ -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,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 -In file included from fs/fat_fs.c:13: + 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,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 +tools/swupdate-ipc.c: In function 'usage': +tools/swupdate-ipc.c:382:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 382 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + gcc -Wp,-MD,handlers/.ucfw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o handlers/ucfw_handler.o handlers/ucfw_handler.c +In file included from handlers/ucfw_handler.c:74: 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 { \ | ^~~ @@ -5797,7 +5906,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/.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,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 suricatta/suricatta.c:12: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -5818,6 +5926,7 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,fs/.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 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) ({\ @@ -5825,7 +5934,7 @@ suricatta/suricatta.c:286:41: note: in expansion of macro 'min' 286 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { | ^~~ - 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,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/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 { \ @@ -5845,25 +5954,21 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o -make -f scripts/Makefile.build obj=tools -make[2]: git: No such file or directory - gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -c -o tools/swupdate-client.o tools/swupdate-client.c - gcc -Wp,-MD,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 -tools/swupdate-ipc.c: In function 'usage': -tools/swupdate-ipc.c:382:60: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 382 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,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 - 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 -make -f scripts/Makefile.build obj=bindings -make[2]: git: No such file or directory - gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-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 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__); | ^~~~~~~~ + 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 +make -f scripts/Makefile.build obj=bindings +make[2]: git: No such file or directory + gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-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 +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 " 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 + rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-ipc.o tools/swupdate-progress.o +make[2]: git: No such file or directory + gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c In file included from 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] @@ -5884,8 +5989,6 @@ 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 - gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -fPIC -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c In file included from include/lua_util.h:16, from include/../corelib/lua_compat.c:9, from bindings/lua_compat_shared.c:5: @@ -5907,86 +6010,19 @@ 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_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 -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o make[2]: git: No such file or directory - /build/reproducible-path/swupdate-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 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 { \ - | ^~~ -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...) \ - | ^~~ -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 = {}; - | ^ -mongoose/mongoose_interface.c: In function 'timer_ev_handler': -include/util.h:92:41: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 92 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:110:9: note: in expansion of macro 'swupdate_notify' - 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -mongoose/mongoose_interface.c:538:17: note: in expansion of macro 'ERROR' - 538 | ERROR("Connection lost, no data for %ld seconds, closing...", - | ^~~~~ -include/util.h:99:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 99 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:110:9: note: in expansion of macro 'swupdate_notify' - 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -mongoose/mongoose_interface.c:538:17: note: in expansion of macro 'ERROR' - 538 | ERROR("Connection lost, no data for %ld seconds, closing...", - | ^~~~~ -include/util.h:103:41: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 103 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:110:9: note: in expansion of macro 'swupdate_notify' - 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -mongoose/mongoose_interface.c:538:17: note: in expansion of macro 'ERROR' - 538 | ERROR("Connection lost, no data for %ld seconds, closing...", - | ^~~~~ - 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 -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 mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o mongoose/mongoose_multipart.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 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 " make[2]: git: No such file or directory /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "tools/swupdate-client" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "tools/swupdate-client.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck :libswupdate.so.0.1" make[2]: git: No such file or directory /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "tools/swupdate-ipc" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "tools/swupdate-ipc.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck :libswupdate.so.0.1" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client make[2]: git: No such file or directory /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "tools/swupdate-progress" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2022.12+dfsg" "tools/swupdate-progress.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck :libswupdate.so.0.1" + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress strip -s --remove-section=.note --remove-section=.comment tools/swupdate-ipc_unstripped -o tools/swupdate-ipc; chmod a+x tools/swupdate-ipc make[2]: git: No such file or directory @@ -6001,7 +6037,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_auto_test -- V=1 - make -j3 test V=1 + make -j4 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 @@ -6009,6 +6045,7 @@ gcc -Wp,-MD,test/.test_crypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_crypt.o test/test_crypt.c gcc -Wp,-MD,test/.test_hash.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_hash.o test/test_hash.c gcc -Wp,-MD,test/.test_json.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_json.o test/test_json.c + gcc -Wp,-MD,test/.test_server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_server_hawkbit.o test/test_server_hawkbit.c In file included from test/test_crypt.c:27: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -6028,7 +6065,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,test/.test_server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_server_hawkbit.o test/test_server_hawkbit.c In file included from test/test_server_hawkbit.c:19: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -6048,7 +6084,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 test/test_hash.c:28: + gcc -Wp,-MD,test/.test_util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_util.o test/test_util.c +In file included from test/test_util.c:10: include/util.h:86:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 86 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6067,14 +6104,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,test/.test_util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=\"\"" -DBOOTLOADER_DEFAULT="none" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 -Itest/../ -c -o test/test_util.o test/test_util.c -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 -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 -In file included from test/test_util.c:10: +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 { \ | ^~~ @@ -6093,14 +6123,20 @@ include/util.h:121:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 121 | #define DEBUG(format, arg...) \ | ^~~ - /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "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" - /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_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" +test/test_server_hawkbit.c: In function '__wrap_channel_get_file': +test/test_server_hawkbit.c:87:9: warning: '__builtin_strncpy' specified bound 41 equals destination size [-Wstringop-truncation] + 87 | strncpy(channel_data->sha1hash, mock_type(char *), + | ^ + /build/reproducible-path/swupdate-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" 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_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" + /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "test/test_hash" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -ffile-prefix-map=/build/reproducible-path/swupdate-2022.12+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.3 " "-Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_hash.c`" "test/test_hash.o core/built-in.o.tmp handlers/built-in.o bootloader/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a libswupdate.so.0.1" "pthread lua5.3 curl config archive json-c crypto ssl ubi mtd z zstd fdisk blkid ext2fs uuid blkid blkid rsync gpiod dl systemd dl websockets uriparser zck cmocka" +strip -N main -o /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o.tmp /build/reproducible-path/swupdate-2022.12+dfsg/core/built-in.o + /build/reproducible-path/swupdate-2022.12+dfsg/scripts/trylink "test/test_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" RUN test_crypt 1..4 ok 1 - test_crypt_128 @@ -6139,7 +6175,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_auto_install -- V=1 - make -j3 install DESTDIR=/build/reproducible-path/swupdate-2022.12\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 + make -j4 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 @@ -6211,15 +6247,15 @@ debian/rules override_dh_dwz make[1]: Entering directory '/build/reproducible-path/swupdate-2022.12+dfsg' dh_dwz --no-dwz-multifile -dwz: dwz: debian/swupdate/usr/bin/swupdate-client: .debug_info section not present -debian/swupdate/usr/bin/swupdate: .debug_info section not present +dwz: debian/swupdate/usr/bin/swupdate: .debug_info section not present +dwz: debian/swupdate/usr/bin/swupdate-client: .debug_info section not present dwz: debian/swupdate/usr/bin/swupdate-ipc: .debug_info section not present dwz: debian/swupdate/usr/bin/swupdate-progress: .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/arm-linux-gnueabihf/lua/5.3/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_pushnil: it's probably a plugin +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/arm-linux-gnueabihf/lua/5.3/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_pushinteger: 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 @@ -6229,13 +6265,13 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'swupdate' in '../swupdate_2022.12+dfsg-4+deb12u1_armhf.deb'. -dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2022.12+dfsg-4+deb12u1_armhf.deb'. dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2022.12+dfsg-4+deb12u1_armhf.deb'. +dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2022.12+dfsg-4+deb12u1_armhf.deb'. dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2022.12+dfsg-4+deb12u1_armhf.deb'. -dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2022.12+dfsg-4+deb12u1_armhf.deb'. dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2022.12+dfsg-4+deb12u1_all.deb'. +dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2022.12+dfsg-4+deb12u1_armhf.deb'. +dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2022.12+dfsg-4+deb12u1_armhf.deb'. dpkg-deb: building package 'swupdate-www' in '../swupdate-www_2022.12+dfsg-4+deb12u1_all.deb'. -dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2022.12+dfsg-4+deb12u1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../swupdate_2022.12+dfsg-4+deb12u1_armhf.buildinfo dpkg-genchanges --build=binary -O../swupdate_2022.12+dfsg-4+deb12u1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -6243,12 +6279,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/24700/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24700/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/27495 and its subdirectories -I: Current time: Tue Mar 12 21:55:02 -12 2024 -I: pbuilder-time-stamp: 1710323702 +I: removing directory /srv/workspace/pbuilder/24700 and its subdirectories +I: Current time: Thu Mar 14 00:20:09 +14 2024 +I: pbuilder-time-stamp: 1710325210