Diff of the two buildlogs: -- --- b1/build.log 2024-02-10 20:23:56.469819625 +0000 +++ b2/build.log 2024-02-10 20:30:28.347778911 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Mar 14 14:42:43 -12 2025 -I: pbuilder-time-stamp: 1742006563 +I: Current time: Sun Feb 11 10:23:59 +14 2024 +I: pbuilder-time-stamp: 1707596639 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./swupdate_2020.11-2+deb11u1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.32SauAPY/trustedkeys.kbx': General error -gpgv: Signature made Tue Dec 19 11:11:41 2023 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.4sB1BAWy/trustedkeys.kbx': General error +gpgv: Signature made Wed Dec 20 13:11:41 2023 +14 gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "bage@debian.org" gpgv: Can't check signature: No public key @@ -30,135 +30,166 @@ 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/2324234/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1712056/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 11 10:24 /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/1712056/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1712056/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=12 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='8f3d0c4a710f4bc093e800c78366b007' - 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='2324234' - PS1='# ' - PS2='> ' + INVOCATION_ID=dcc304543c484ea79d9ded5c78b543d8 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1712056 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.gnekp4D2/pbuilderrc_YXVa --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gnekp4D2/b1 --logfile b1/build.log swupdate_2020.11-2+deb11u1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.104:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.gnekp4D2/pbuilderrc_HX76 --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gnekp4D2/b2 --logfile b2/build.log swupdate_2020.11-2+deb11u1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.104:3128 I: uname -a - Linux codethink03-arm64 6.1.0-18-cloud-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-cloud-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin total 5260 - -rwxr-xr-x 1 root root 1282512 Mar 27 2022 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jan 20 2022 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 64856 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 182496 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 93744 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 157864 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jan 20 2022 more - -rwsr-xr-x 1 root root 51360 Jan 20 2022 mount - -rwxr-xr-x 1 root root 14496 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Mar 11 03:47 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jan 20 2022 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 543960 Jan 19 2024 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jan 20 2022 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jan 20 2022 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 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 5898 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 8049 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/2324234/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Mar 28 2022 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jan 21 2022 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 64856 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 182496 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 93744 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 157864 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jan 21 2022 more + -rwsr-xr-x 1 root root 51360 Jan 21 2022 mount + -rwxr-xr-x 1 root root 14496 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Feb 11 10:24 sh -> /bin/bash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jan 21 2022 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 543960 Jan 20 23:59 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jan 21 2022 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jan 21 2022 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 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 5898 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 8049 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/1712056/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -447,7 +478,7 @@ Get: 201 http://deb.debian.org/debian bullseye/main arm64 tipa all 2:1.3-20.1 [2978 kB] Get: 202 http://deb.debian.org/debian bullseye/main arm64 texlive-xetex all 2020.20210202-3 [12.5 MB] Get: 203 http://deb.debian.org/debian bullseye/main arm64 texlive-formats-extra all 2020.20210202-3 [4711 kB] -Fetched 182 MB in 2s (103 MB/s) +Fetched 182 MB in 2s (98.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19702 files and directories currently installed.) @@ -1325,7 +1356,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/swupdate-2020.11/ && 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_2020.11-2+deb11u1_source.changes +I: user script /srv/workspace/pbuilder/1712056/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/1712056/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/swupdate-2020.11/ && 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_2020.11-2+deb11u1_source.changes dpkg-buildpackage: info: source package swupdate dpkg-buildpackage: info: source version 2020.11-2+deb11u1 dpkg-buildpackage: info: source distribution bullseye @@ -3103,25 +3138,21 @@ make -f scripts/Makefile.build obj=ipc make -f scripts/Makefile.build obj=core gcc -Wp,-MD,ipc/.network_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/network_ipc.o ipc/network_ipc.c - gcc -Wp,-MD,core/.swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate.o core/swupdate.c make -f scripts/Makefile.build obj=handlers gcc -Wp,-MD,ipc/.network_ipc-if.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/network_ipc-if.o ipc/network_ipc-if.c make -f scripts/Makefile.build obj=corelib - gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c - gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/progress_ipc.o ipc/progress_ipc.c gcc -Wp,-MD,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/dummy_handler.o handlers/dummy_handler.c + gcc -Wp,-MD,core/.swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate.o core/swupdate.c + gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/progress_ipc.o ipc/progress_ipc.c make -f scripts/Makefile.build obj=mongoose - gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/notifier.o core/notifier.c + gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/channel_curl.o corelib/channel_curl.c - gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/handler.o core/handler.c gcc -Wp,-MD,handlers/.archive_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/archive_handler.o handlers/archive_handler.c + gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/notifier.o core/notifier.c + gcc -Wp,-MD,handlers/.boot_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/boot_handler.o handlers/boot_handler.c gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/downloader.o corelib/downloader.c gcc -Wp,-MD,mongoose/.mongoose.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose.o mongoose/mongoose.c -In file included from core/cpio_utils.c:22: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from core/swupdate.c:30: +In file included from core/notifier.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3140,19 +3171,17 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/notifier.c:21: +In file included from handlers/dummy_handler.c:17: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from corelib/downloader.c:12: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(format, arg...) \ | ^~~ @@ -3165,6 +3194,20 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +In file included from core/cpio_utils.c:22: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from core/swupdate.c:30: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 113 | #define INFO(format, arg...) \ | ^~~ @@ -3174,11 +3217,9 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/lua_util.h:16, - from core/handler.c:17: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -3194,17 +3235,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/archive_handler.c:25: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from corelib/downloader.c:12: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(format, arg...) \ | ^~~ @@ -3217,7 +3247,11 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/dummy_handler.c:17: +In file included from handlers/boot_handler.c:20: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from handlers/archive_handler.c:25: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3251,11 +3285,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/boot_handler.o handlers/boot_handler.c + gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c In file included from corelib/channel_curl.c:24: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_handler.o handlers/flash_handler.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -3271,6 +3306,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,handlers/.diskpart_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/diskpart_handler.o handlers/diskpart_handler.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 mongoose/mongoose.c: In function 'mg_add_conn': mongoose/mongoose.c:2245:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_mgr *' [-Wformat=] 2245 | DBG(("%p %p", mgr, c)); @@ -3283,6 +3320,7 @@ mongoose/mongoose.c:2245:3: note: in expansion of macro 'DBG' 2245 | DBG(("%p %p", mgr, c)); | ^~~ +core/cpio_utils.c: In function 'copy_write': mongoose/mongoose.c:2245:10: note: format string is defined here 2245 | DBG(("%p %p", mgr, c)); | ~^ @@ -3304,7 +3342,6 @@ | ~^ | | | void * - gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_handler.o handlers/flash_handler.c mongoose/mongoose.c: In function 'mg_call': mongoose/mongoose.c:2275:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2275 | DBG(("%p %s ev=%d ev_data=%p flags=0x%lx rmbl=%d smbl=%d", nc, @@ -3317,6 +3354,9 @@ mongoose/mongoose.c:2275:5: note: in expansion of macro 'DBG' 2275 | DBG(("%p %s ev=%d ev_data=%p flags=0x%lx rmbl=%d smbl=%d", nc, | ^~~ +core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 144 | buf += ret; + | ^~ mongoose/mongoose.c:2275:12: note: format string is defined here 2275 | DBG(("%p %s ev=%d ev_data=%p flags=0x%lx rmbl=%d smbl=%d", nc, | ~^ @@ -3338,11 +3378,11 @@ | ~^ | | | void * -core/cpio_utils.c: In function 'copy_write': -core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 144 | buf += ret; - | ^~ mongoose/mongoose.c: In function 'mg_destroy_conn': +core/swupdate.c: In function 'usage': +core/swupdate.c:120:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 120 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ mongoose/mongoose.c:2359:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2359 | LOG(LL_DEBUG, ("%p 0x%lx %d", conn, conn->flags, destroy_if)); | ^~~~~~~~~~~~~ ~~~~ @@ -3356,7 +3396,12 @@ | ~^ | | | void * +In file included from handlers/diskpart_handler.c:20: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c: In function 'mg_mgr_init_opt': + gcc -Wp,-MD,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_compat.o corelib/lua_compat.c mongoose/mongoose.c:2445:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_mgr *' [-Wformat=] 2445 | DBG(("init mgr=%p", m)); | ^~~~~~~~~~~~~ ~ @@ -3368,6 +3413,7 @@ mongoose/mongoose.c:2445:3: note: in expansion of macro 'DBG' 2445 | DBG(("init mgr=%p", m)); | ^~~ +make -f scripts/Makefile.build obj=parser mongoose/mongoose.c:2445:19: note: format string is defined here 2445 | DBG(("init mgr=%p", m)); | ~^ @@ -3390,7 +3436,22 @@ | ~^ | | | void * +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ mongoose/mongoose.c: In function 'mg_if_accept_new_conn': +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:2736:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2736 | LOG(LL_DEBUG, ("%p %p %d %d", lc, nc, nc->sock, (int) nc->flags)); | ^~~~~~~~~~~~~ ~~ @@ -3418,7 +3479,10 @@ | | | void * mongoose/mongoose.c: In function 'mg_if_accept_tcp_cb': - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o +In file included from handlers/flash_handler.c:30: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c:2742:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2742 | LOG(LL_DEBUG, ("%p %s://%s:%hu", nc, (nc->flags & MG_F_UDP ? "udp" : "tcp"), | ^~~~~~~~~~~~~~~~ ~~ @@ -3444,12 +3508,26 @@ mongoose/mongoose.c:2807:7: note: in expansion of macro 'DBG' 2807 | DBG(("%p <- %d bytes (SSL)", nc, n)); | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:2807:14: note: format string is defined here 2807 | DBG(("%p <- %d bytes (SSL)", nc, n)); | ~^ | | | void * - gcc -Wp,-MD,handlers/.diskpart_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c mongoose/mongoose.c:2825:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2825 | DBG(("%p <- %d bytes", nc, n)); | ^~~~~~~~~~~~~~~~ ~~ @@ -3484,6 +3562,7 @@ | | | void * mongoose/mongoose.c: In function 'mg_if_can_send_cb': + gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parse_external.o parser/parse_external.c mongoose/mongoose.c:2937:14: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2937 | DBG(("%p -> %d bytes (SSL)", nc, n)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3500,7 +3579,6 @@ | ~^ | | | void * - gcc -Wp,-MD,core/.util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/util.o core/util.c mongoose/mongoose.c:2960:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2960 | DBG(("%p -> %d bytes", nc, n)); | ^~~~~~~~~~~~~~~~ ~~ @@ -3545,6 +3623,10 @@ | ~^ | | | void * +In file included from mongoose/mongoose_interface.c:32: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c: In function 'mg_connect_opt': mongoose/mongoose.c:3118:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3118 | ("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), @@ -3588,12 +3670,32 @@ mongoose/mongoose.c:3358:3: note: in expansion of macro 'DBG' 3358 | DBG(("%p %p %d -> %lu", c, c->priv_2, (c->flags & MG_F_RESOLVING ? 1 : 0), | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:3358:10: note: format string is defined here 3358 | DBG(("%p %p %d -> %lu", c, c->priv_2, (c->flags & MG_F_RESOLVING ? 1 : 0), | ~^ | | | void * +mongoose/mongoose_interface.c: In function 'restart_handler': mongoose/mongoose.c: In function 'mg_socket_if_connect_tcp': +mongoose/mongoose_interface.c:112:20: warning: ISO C forbids empty initializer braces [-Wpedantic] + 112 | ipc_message msg = {}; + | ^ +mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': mongoose/mongoose.c:3709:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3709 | DBG(("%p sock %d rc %d errno %d err %d", nc, nc->sock, rc, mg_get_errno(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3611,10 +3713,11 @@ | | | void * mongoose/mongoose.c: In function 'mg_accept_conn': -In file included from handlers/boot_handler.c:20: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ +mongoose/mongoose_interface.c:233:22: warning: ISO C forbids empty initializer braces [-Wpedantic] + 233 | ipc_message ipc = {}; + | ^ + gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/handler.o core/handler.c + gcc -Wp,-MD,handlers/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c mongoose/mongoose.c:3809:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3809 | DBG(("%p: failed to accept: %d", lc, mg_get_errno())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3648,22 +3751,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_mgr_handle_conn': -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -make -f scripts/Makefile.build obj=parser mongoose/mongoose.c:3880:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3880 | DBG(("%p fd=%d fd_flags=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3691,10 +3778,6 @@ mongoose/mongoose.c:3933:5: note: in expansion of macro 'DBG' 3933 | DBG(("%p after fd=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~ -In file included from handlers/flash_handler.c:30: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ mongoose/mongoose.c:3933:12: note: format string is defined here 3933 | DBG(("%p after fd=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ~^ @@ -3729,11 +3812,28 @@ mongoose/mongoose.c:3966:3: note: in expansion of macro 'DBG' 3966 | DBG(("%p using select()", iface->mgr)); | ^~~ +In file included from /usr/include/string.h:495, + from handlers/diskpart_handler.c:13: +In function 'strncpy', + inlined from 'diskpart' at handlers/diskpart_handler.c:220:7: mongoose/mongoose.c:3966:10: note: format string is defined here 3966 | DBG(("%p using select()", iface->mgr)); | ~^ | | | void * +In file included from include/lua_util.h:16, + from corelib/lua_compat.c:9: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'diskpart' at handlers/diskpart_handler.c:217:7: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -3749,13 +3849,16 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_compat.o corelib/lua_compat.c -core/swupdate.c: In function 'usage': -core/swupdate.c:120:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 120 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parse_external.o parser/parse_external.c -In file included from handlers/diskpart_handler.c:20: +corelib/channel_curl.c: In function 'channel_new': +corelib/channel_curl.c:105:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 105 | newchan->priv = (void *)newchan + sizeof(*newchan); + | ^ +In file included from handlers/flash_hamming1_handler.c:30: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +In file included from include/lua_util.h:16, + from core/handler.c:17: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -3774,19 +3877,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/util.c:28: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from /usr/include/string.h:495, - from handlers/diskpart_handler.c:13: -In function 'strncpy', - inlined from 'diskpart' at handlers/diskpart_handler.c:220:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'diskpart' at handlers/diskpart_handler.c:217:7: + gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_interface.o corelib/lua_interface.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -3802,20 +3893,20 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/util.c: In function 'get_hw_revision': -core/util.c:324:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 324 | ret = fscanf(fp, "%ms %ms", &b1, &b2); - | ^~~~~~~~~ -core/util.c:324:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/util.c: In function 'load_decryption_key': +handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/flash_hamming1_handler.c:221:24: note: in expansion of macro 'min' + 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); + | ^~~ + gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parser.o parser/parser.c In file included from include/lua_util.h:16, - from corelib/lua_compat.c:9: + from corelib/lua_interface.c:17: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +mongoose/mongoose.c: In function 'mg_ssl_if_conn_init': include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -3831,17 +3922,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/util.c:530:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 530 | ret = fscanf(fp, "%ms %ms", &b1, &b2); - | ^~~~~~~~~ -core/util.c:530:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parser.o core/parser.c -corelib/channel_curl.c: In function 'channel_new': -corelib/channel_curl.c:105:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 105 | newchan->priv = (void *)newchan + sizeof(*newchan); - | ^ - gcc -Wp,-MD,handlers/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c -mongoose/mongoose.c: In function 'mg_ssl_if_conn_init': mongoose/mongoose.c:4544:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 4544 | DBG(("%p %s,%s,%s", nc, (params->cert ? params->cert : ""), | ^~~~~~~~~~~~~ ~~ @@ -3853,7 +3933,6 @@ mongoose/mongoose.c:4544:3: note: in expansion of macro 'DBG' 4544 | DBG(("%p %s,%s,%s", nc, (params->cert ? params->cert : ""), | ^~~ - gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_interface.o corelib/lua_interface.c mongoose/mongoose.c:4544:10: note: format string is defined here 4544 | DBG(("%p %s,%s,%s", nc, (params->cert ? params->cert : ""), | ~^ @@ -3876,6 +3955,14 @@ | ~^ | | | void * +corelib/lua_interface.c: In function 'l_copy2file': +corelib/lua_interface.c:361:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 361 | struct img_type img = {}; + | ^ +corelib/lua_interface.c: In function 'l_istream_read': +corelib/lua_interface.c:430:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 430 | struct img_type img = {}; + | ^ mongoose/mongoose.c:4626:8: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'SSL_CTX *' {aka 'struct ssl_ctx_st *'} [-Wformat=] 4626 | DBG(("%p %p SSL error: %d %d", nc, ctx->ssl_ctx, res, err)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ @@ -3893,6 +3980,15 @@ | | | void * mongoose/mongoose.c: In function 'mg_ssl_if_read': +In file included from corelib/channel_curl.c:24: +corelib/channel_curl.c: In function 'put_read_callback': +corelib/lua_interface.c: In function 'l_call_handler': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +corelib/channel_curl.c:746:6: note: in expansion of macro 'min' + 746 | n = min(bytes, size * nmemb); + | ^~~ mongoose/mongoose.c:4647:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 4647 | DBG(("%p %d -> %d", nc, (int) buf_size, n)); | ^~~~~~~~~~~~~ ~~ @@ -3921,13 +4017,38 @@ mongoose/mongoose.c:4656:3: note: in expansion of macro 'DBG' 4656 | DBG(("%p %d -> %d", nc, (int) len, n)); | ^~~ +corelib/channel_curl.c: In function 'channel_post_method': +corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] + 846 | output_data_t outdata = {}; + | ^ mongoose/mongoose.c:4656:10: note: format string is defined here 4656 | DBG(("%p %d -> %d", nc, (int) len, n)); | ~^ | | | void * +corelib/lua_interface.c:1060:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1060 | struct img_type img = {}; + | ^ +In file included from parser/parser.c:21: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c: In function 'mg_http_transfer_file_data': - gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c mongoose/mongoose.c:6190:14: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6190 | DBG(("%p sent %d (total %d)", nc, (int) n, (int) pd->file.sent)); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3952,12 +4073,16 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ - gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parser.o parser/parser.c mongoose/mongoose.c:6196:24: note: format string is defined here 6196 | LOG(LL_DEBUG, ("%p done, %d bytes, ka %d", nc, (int) pd->file.sent, | ~^ | | | void * +corelib/channel_curl.c: In function 'channel_get': +corelib/channel_curl.c:1227:26: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1227 | output_data_t outdata = {}; + | ^ + gcc -Wp,-MD,core/.util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/util.o core/util.c mongoose/mongoose.c: In function 'mg_http_handler': mongoose/mongoose.c:6513:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6513 | DBG(("%p WebSocket upgrade code %d", nc, hm->resp_code)); @@ -3975,10 +4100,6 @@ | ~^ | | | void * -In file included from handlers/flash_hamming1_handler.c:30: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ mongoose/mongoose.c:6567:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6567 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4006,55 +4127,12 @@ mongoose/mongoose.c:6580:7: note: in expansion of macro 'DBG' 6580 | DBG(("%p %s %.*s %.*s", nc, addr, (int) hm->method.len, hm->method.p, | ^~~ -In file included from include/lua_util.h:16, - from corelib/lua_interface.c:17: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ mongoose/mongoose.c:6580:14: note: format string is defined here 6580 | DBG(("%p %s %.*s %.*s", nc, addr, (int) hm->method.len, hm->method.p, | ~^ | | | void * mongoose/mongoose.c: In function 'mg_http_send_error': -handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/flash_hamming1_handler.c:221:24: note: in expansion of macro 'min' - 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); - | ^~~ -corelib/lua_interface.c: In function 'l_copy2file': mongoose/mongoose.c:7085:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7085 | LOG(LL_DEBUG, ("%p %d %s", nc, code, reason)); | ^~~~~~~~~~ ~~ @@ -4069,13 +4147,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_http_serve_file': -corelib/lua_interface.c:361:24: warning: ISO C forbids empty initializer braces [-Wpedantic] - 361 | struct img_type img = {}; - | ^ -corelib/lua_interface.c: In function 'l_istream_read': -corelib/lua_interface.c:430:24: warning: ISO C forbids empty initializer braces [-Wpedantic] - 430 | struct img_type img = {}; - | ^ mongoose/mongoose.c:7129:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7129 | LOG(LL_DEBUG, ("%p [%s] %.*s", nc, path, (int) mime_type.len, mime_type.p)); | ^~~~~~~~~~~~~~ ~~ @@ -4089,11 +4160,8 @@ | ~^ | | | void * -corelib/lua_interface.c: In function 'l_call_handler': -corelib/lua_interface.c:1060:24: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1060 | struct img_type img = {}; - | ^ mongoose/mongoose.c: In function 'mg_scan_directory': + gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c mongoose/mongoose.c:7754:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7754 | LOG(LL_DEBUG, ("%p [%s]", nc, dir)); | ^~~~~~~~~ ~~ @@ -4115,19 +4183,11 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ -In file included from corelib/channel_curl.c:24: -corelib/channel_curl.c: In function 'put_read_callback': mongoose/mongoose.c:7768:22: note: format string is defined here 7768 | LOG(LL_DEBUG, ("%p opendir(%s) -> %d", nc, dir, mg_get_errno())); | ~^ | | | void * -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -corelib/channel_curl.c:746:6: note: in expansion of macro 'min' - 746 | n = min(bytes, size * nmemb); - | ^~~ mongoose/mongoose.c: In function 'mg_reverse_proxy_handler': mongoose/mongoose.c:7898:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7898 | DBG(("%p: upstream closed", nc)); @@ -4145,15 +4205,12 @@ | ~^ | | | void * -corelib/channel_curl.c: In function 'channel_post_method': -corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] - 846 | output_data_t outdata = {}; - | ^ -In file included from core/parser.c:17: + gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/raw_handler.o handlers/raw_handler.c +mongoose/mongoose.c: In function 'mg_send_http_file': +In file included from core/util.c:28: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -mongoose/mongoose.c: In function 'mg_send_http_file': mongoose/mongoose.c:8274:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 8274 | ("%p %.*s [%s] exists=%d is_dir=%d is_dav=%d is_cgi=%d index=%s", nc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4177,12 +4234,22 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +core/util.c: In function 'get_hw_revision': mongoose/mongoose.c:8274:10: note: format string is defined here 8274 | ("%p %.*s [%s] exists=%d is_dir=%d is_dav=%d is_cgi=%d index=%s", nc, | ~^ | | | void * +core/util.c:324:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 324 | ret = fscanf(fp, "%ms %ms", &b1, &b2); + | ^~~~~~~~~ +core/util.c:324:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] mongoose/mongoose.c: In function 'mg_file_upload_handler': +core/util.c: In function 'load_decryption_key': +core/util.c:530:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 530 | ret = fscanf(fp, "%ms %ms", &b1, &b2); + | ^~~~~~~~~ +core/util.c:530:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] mongoose/mongoose.c:8441:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 8441 | LOG(LL_ERROR, ("%p Not allowed to upload %s", nc, mp->file_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4209,10 +4276,6 @@ | ~^ | | | void * -In file included from parser/parser.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ mongoose/mongoose.c:8514:22: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 8514 | LOG(LL_DEBUG, ("%p rec'd %d bytes, %d total", nc, (int) mp->data.len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4226,21 +4289,6 @@ | ~^ | | | void * -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ mongoose/mongoose.c:8525:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 8525 | LOG(LL_DEBUG, ("%p Uploaded %s (%s), %d bytes", nc, mp->file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4254,14 +4302,28 @@ | ~^ | | | void * -corelib/channel_curl.c: In function 'channel_get': -corelib/channel_curl.c:1227:26: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1227 | output_data_t outdata = {}; - | ^ + gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c +mongoose/mongoose.c: In function 'mg_cgi_ev_handler': +mongoose/mongoose.c:9229:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] + 9229 | DBG(("%p CLOSE", cgi_nc)); + | ^~~~~~~~~~ ~~~~~~ + | | + | struct mg_connection * +mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' + 505 | cs_log_printf x; \ + | ^ +mongoose/mongoose.c:9229:7: note: in expansion of macro 'DBG' + 9229 | DBG(("%p CLOSE", cgi_nc)); + | ^~~ In file included from handlers/lua_scripthandler.c:23: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +mongoose/mongoose.c:9229:14: note: format string is defined here + 9229 | DBG(("%p CLOSE", cgi_nc)); + | ~^ + | | + | void * include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -4277,23 +4339,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -mongoose/mongoose.c: In function 'mg_cgi_ev_handler': -mongoose/mongoose.c:9229:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] - 9229 | DBG(("%p CLOSE", cgi_nc)); - | ^~~~~~~~~~ ~~~~~~ - | | - | struct mg_connection * -mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' - 505 | cs_log_printf x; \ - | ^ -mongoose/mongoose.c:9229:7: note: in expansion of macro 'DBG' - 9229 | DBG(("%p CLOSE", cgi_nc)); - | ^~~ -mongoose/mongoose.c:9229:14: note: format string is defined here - 9229 | DBG(("%p CLOSE", cgi_nc)); - | ~^ - | | - | void * mongoose/mongoose.c: In function 'mg_handle_cgi': mongoose/mongoose.c:9245:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 9245 | DBG(("%p [%s]", nc, prog)); @@ -4311,6 +4356,25 @@ | ~^ | | | void * +In file included from handlers/raw_handler.c:24: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c: In function 'mg_handle_ssi_request': mongoose/mongoose.c:9484:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 9484 | DBG(("%p %s", nc, path)); @@ -4328,8 +4392,8 @@ | ~^ | | | void * - gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/raw_handler.o handlers/raw_handler.c mongoose/mongoose.c: In function 'mg_send_websocket_frame': + gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/readback_handler.o handlers/readback_handler.c mongoose/mongoose.c:10073:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 10073 | DBG(("%p %d %d", nc, op, (int) len)); | ^~~~~~~~~~ ~~ @@ -4363,6 +4427,30 @@ | ~^ | | | void * +In file included from handlers/rdiff_handler.c:24: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ + gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +handlers/rdiff_handler.c: In function 'apply_rdiff_patch': +handlers/rdiff_handler.c:226:31: warning: ISO C forbids empty initializer braces [-Wpedantic] + 226 | struct rdiff_t rdiff_state = {}; + | ^ mongoose/mongoose.c: In function 'mqtt_handler': mongoose/mongoose.c:10809:30: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 10809 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " @@ -4393,7 +4481,6 @@ | ~^ | | | void * - gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c mongoose/mongoose.c: In function 'mg_resolve_async_opt': mongoose/mongoose.c:12053:8: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct mg_connection **' [-Wformat=] 12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); @@ -4411,51 +4498,6 @@ | ~^ | | | void * - gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/readback_handler.o handlers/readback_handler.c -In file included from handlers/raw_handler.c:24: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/pctl.o core/pctl.c - gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c -In file included from handlers/rdiff_handler.c:24: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -handlers/rdiff_handler.c: In function 'apply_rdiff_patch': -handlers/rdiff_handler.c:226:31: warning: ISO C forbids empty initializer braces [-Wpedantic] - 226 | struct rdiff_t rdiff_state = {}; - | ^ In file included from /usr/include/string.h:495, from include/util.h:13, from include/lua_util.h:16, @@ -4520,7 +4562,7 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/state.c:12: +In file included from handlers/shell_scripthandler.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4539,12 +4581,13 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/pctl.c:22: + gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parser.o core/parser.c + gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c + gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c +In file included from handlers/ssbl_handler.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ - gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/syslog.o core/syslog.c - gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c In file included from handlers/readback_handler.c:18: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -4555,6 +4598,15 @@ include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(format, arg...) \ | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -4570,6 +4622,17 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c +In file included from handlers/swuforward_handler.c:35: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 113 | #define INFO(format, arg...) \ | ^~~ @@ -4579,18 +4642,14 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/pctl.c:22: -core/pctl.c: In function 'run_system_cmd': -include/util.h:162:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 162 | #define max(a, b) ({\ - | ^ -core/pctl.c:314:18: note: in expansion of macro 'max' - 314 | ret = select(max(fds[0], fds[1]) + 1, &readfds, NULL, NULL, &tv); - | ^~~ -In file included from core/syslog.c:9: +handlers/swuforward_handler.c: In function 'swu_forward_data': +In file included from handlers/swuforward-ws.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +handlers/swuforward_handler.c:119:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 119 | tmp += written; + | ^~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -4606,7 +4665,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/shell_scripthandler.c:21: +In file included from core/parser.c:17: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4625,10 +4684,10 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c - gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/installer.o core/installer.c - gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c -In file included from handlers/ssbl_handler.c:21: + gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c + gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/pctl.o core/pctl.c + gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c +In file included from core/pctl.c:22: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4647,11 +4706,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c -In file included from core/installer.c:27: +In file included from handlers/ubivol_handler.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +In file included from core/pctl.c:22: +core/pctl.c: In function 'run_system_cmd': include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -4667,7 +4727,27 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/swuforward_handler.c:35: + gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/syslog.o core/syslog.c +include/util.h:162:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 162 | #define max(a, b) ({\ + | ^ +core/pctl.c:314:18: note: in expansion of macro 'max' + 314 | ret = select(max(fds[0], fds[1]) + 1, &readfds, NULL, NULL, &tv); + | ^~~ +handlers/ubivol_handler.c: In function 'swap_volume': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:588:40: note: in expansion of macro 'min' + 588 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); + | ^~~ +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:593:40: note: in expansion of macro 'min' + 593 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); + | ^~~ +In file included from core/state.c:12: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4686,8 +4766,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/network_thread.o core/network_thread.c -In file included from handlers/swuforward-ws.c:21: + gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/installer.o core/installer.c +In file included from core/syslog.c:9: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4706,13 +4786,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/swuforward_handler.c: In function 'swu_forward_data': -handlers/swuforward_handler.c:119:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 119 | tmp += written; - | ^~ - gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c - gcc -Wp,-MD,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/stream_interface.o core/stream_interface.c -In file included from core/network_thread.c:26: +In file included from core/installer.c:27: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4731,7 +4805,10 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/ubivol_handler.c:21: + gcc -Wp,-MD,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/network_thread.o core/network_thread.c + gcc -Wp,-MD,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/stream_interface.o core/stream_interface.c + gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/progress_thread.o core/progress_thread.c +In file included from core/network_thread.c:26: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4750,21 +4827,10 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/ubivol_handler.c: In function 'swap_volume': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:588:40: note: in expansion of macro 'min' - 588 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); - | ^~~ -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:593:40: note: in expansion of macro 'min' - 593 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); - | ^~~ - gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/progress_thread.o core/progress_thread.c -In file included from core/stream_interface.c:33: + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o + gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parsing_library.o core/parsing_library.c +make -f scripts/Makefile.build obj=suricatta +In file included from core/progress_thread.c:27: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4783,8 +4849,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/stream_interface.c: In function 'cpfiles': -In file included from core/progress_thread.c:27: + gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/common.o suricatta/common.c +In file included from core/stream_interface.c:33: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4803,6 +4869,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c +core/stream_interface.c: In function 'cpfiles': include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 167 | #define min(a, b) ({\ | ^ @@ -4810,18 +4878,13 @@ 329 | maxread = min(bufsize, max); | ^~~ core/stream_interface.c: In function 'get_install_info': - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 167 | #define min(a, b) ({\ | ^ core/stream_interface.c:668:8: note: in expansion of macro 'min' 668 | len = min(len - 1, strlen(inst.req.info)); | ^~~ - gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/mtd-interface.o corelib/mtd-interface.c -make -f scripts/Makefile.build obj=suricatta - gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/common.o suricatta/common.c - gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parsing_library.o core/parsing_library.c -In file included from corelib/mtd-interface.c:20: +In file included from core/parsing_library.c:19: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4840,8 +4903,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/artifacts_versions.o core/artifacts_versions.c - gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate_dict.o core/swupdate_dict.c In file included from suricatta/common.c:12: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -4861,7 +4922,21 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/parsing_library.c:19: +core/parsing_library.c: In function 'get_field': +core/parsing_library.c:128:10: 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:10: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 130 | return get_field_json((json_object *)e, path, dest); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +core/parsing_library.c:124:6: note: declared here + 124 | void get_field(parsertype p, void *e, const char *path, void *dest) + | ^~~~~~~~~ + gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/mtd-interface.o corelib/mtd-interface.c +In file included from suricatta/server_hawkbit.c:18: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4880,23 +4955,9 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/parsing_library.c: In function 'get_field': -core/parsing_library.c:128:10: 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:10: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 130 | return get_field_json((json_object *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:124:6: note: declared here - 124 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ - gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/semver.o core/semver.c - gcc -Wp,-MD,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c - gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c -In file included from core/swupdate_dict.c:22: + gcc -Wp,-MD,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/artifacts_versions.o core/artifacts_versions.c + gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate_dict.o core/swupdate_dict.c +In file included from corelib/mtd-interface.c:20: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4915,7 +4976,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/artifacts_versions.c:24: +In file included from core/swupdate_dict.c:22: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4934,19 +4995,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/artifacts_versions.c: In function 'read_sw_version_file': -core/artifacts_versions.c:57:20: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 57 | ret = fscanf(fp, "%ms %ms", &name, &version); - | ^~~~~~~~~ -core/artifacts_versions.c:57:20: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/artifacts_versions.c: In function 'compare_versions': -core/artifacts_versions.c:238:23: warning: ISO C forbids empty initializer braces [-Wpedantic] - 238 | semver_t left_sem = {}; - | ^ -core/artifacts_versions.c:239:24: warning: ISO C forbids empty initializer braces [-Wpedantic] - 239 | semver_t right_sem = {}; - | ^ -In file included from suricatta/server_hawkbit.c:18: + gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c +In file included from core/artifacts_versions.c:24: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4965,7 +5015,19 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.parsing_library_libconfig.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c +core/artifacts_versions.c: In function 'read_sw_version_file': +core/artifacts_versions.c:57:20: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 57 | ret = fscanf(fp, "%ms %ms", &name, &version); + | ^~~~~~~~~ +core/artifacts_versions.c:57:20: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +core/artifacts_versions.c: In function 'compare_versions': +core/artifacts_versions.c:238:23: warning: ISO C forbids empty initializer braces [-Wpedantic] + 238 | semver_t left_sem = {}; + | ^ +core/artifacts_versions.c:239:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 239 | semver_t right_sem = {}; + | ^ + gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/semver.o core/semver.c In file included from suricatta/suricatta.c:12: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -4985,6 +5047,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,corelib/.parsing_library_libconfig.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c In file included from suricatta/suricatta.c:12: suricatta/suricatta.c: In function 'start_suricatta': include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] @@ -4993,15 +5056,15 @@ suricatta/suricatta.c:237:20: note: in expansion of macro 'min' 237 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { | ^~~ - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o handlers/built-in.o handlers/dummy_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/flash_handler.o handlers/diskpart_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 -make -f scripts/Makefile.build obj=bootloader gcc -Wp,-MD,corelib/.parsing_library_libjson.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c - gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o bootloader/none.o bootloader/none.c + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o handlers/built-in.o handlers/dummy_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/flash_handler.o handlers/diskpart_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 gcc -Wp,-MD,corelib/.swupdate_cms_verify.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_cms_verify.o corelib/swupdate_cms_verify.c +make -f scripts/Makefile.build obj=bootloader In file included from corelib/parsing_library_libconfig.c:19: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o bootloader/none.o bootloader/none.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -5017,7 +5080,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c In file included from corelib/parsing_library_libjson.c:19: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -5037,8 +5099,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c - gcc -Wp,-MD,corelib/.verify_signature.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/verify_signature.o corelib/verify_signature.c In file included from corelib/swupdate_cms_verify.c:16: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -5058,13 +5118,20 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o - gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c make -f scripts/Makefile.build obj=tools + gcc -Wp,-MD,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c + gcc -Wp,-MD,corelib/.swupdate_settings.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c + gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-client.o tools/swupdate-client.c + rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o +make -f scripts/Makefile.build obj=bindings + gcc -Wp,-MD,corelib/.verify_signature.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/verify_signature.o corelib/verify_signature.c + gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/auxiliar.o bindings/auxiliar.c + /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " In file included from corelib/swupdate_settings.c:24: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,tools/.swupdate-hawkbitcfg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-hawkbitcfg.o tools/swupdate-hawkbitcfg.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -5080,11 +5147,10 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -make -f scripts/Makefile.build obj=bindings - gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-client.o tools/swupdate-client.c - /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " - gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/auxiliar.o bindings/auxiliar.c - gcc -Wp,-MD,tools/.swupdate-hawkbitcfg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-hawkbitcfg.o tools/swupdate-hawkbitcfg.c +tools/swupdate-hawkbitcfg.c: In function 'usage': +tools/swupdate-hawkbitcfg.c:35:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 35 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ In file included from corelib/swupdate_decrypt.c:17: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -5104,7 +5170,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from mongoose/mongoose_interface.c:32: + gcc -Wp,-MD,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-progress.o tools/swupdate-progress.c + gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c + gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c + gcc -Wp,-MD,tools/.swupdate-sendtohawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sendtohawkbit.o tools/swupdate-sendtohawkbit.c +In file included from include/lua_util.h:16, + from bindings/lua_swupdate.c:10: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5123,22 +5194,13 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -mongoose/mongoose_interface.c: In function 'restart_handler': -mongoose/mongoose_interface.c:112:20: warning: ISO C forbids empty initializer braces [-Wpedantic] - 112 | ipc_message msg = {}; - | ^ -mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': -mongoose/mongoose_interface.c:233:22: warning: ISO C forbids empty initializer braces [-Wpedantic] - 233 | ipc_message ipc = {}; - | ^ -tools/swupdate-hawkbitcfg.c: In function 'usage': -tools/swupdate-hawkbitcfg.c:35:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 35 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ -In file included from corelib/verify_signature.c:16: +In file included from include/lua_util.h:16, + from include/../corelib/lua_compat.c:9, + from bindings/lua_compat_shared.c:1: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,tools/.swupdate-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -5154,13 +5216,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c - gcc -Wp,-MD,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-progress.o tools/swupdate-progress.c - gcc -Wp,-MD,tools/.swupdate-sendtohawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sendtohawkbit.o tools/swupdate-sendtohawkbit.c - gcc -Wp,-MD,tools/.swupdate-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o core/built-in.o core/swupdate.o core/cpio_utils.o core/notifier.o core/handler.o core/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 -In file included from include/lua_util.h:16, - from bindings/lua_swupdate.c:10: +In file included from corelib/verify_signature.c:16: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5170,6 +5226,7 @@ include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(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/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 include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 113 | #define INFO(format, arg...) \ | ^~~ @@ -5179,40 +5236,18 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c tools/swupdate-progress.c: In function 'usage': tools/swupdate-progress.c:78:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 78 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); | ^~~~~~~~ - 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/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 tools/swupdate-sysrestart.c: In function 'usage': tools/swupdate-sysrestart.c:56:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 56 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); | ^~~~~~~~ -In file included from include/lua_util.h:16, - from include/../corelib/lua_compat.c:9, - from bindings/lua_compat_shared.c:1: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o - rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-hawkbitcfg.o tools/swupdate-progress.o tools/swupdate-sendtohawkbit.o tools/swupdate-sysrestart.o /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "bindings/built-in.o ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " + 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/parsing_library_libconfig.o corelib/parsing_library_libjson.o corelib/swupdate_cms_verify.o corelib/swupdate_decrypt.o corelib/swupdate_settings.o corelib/verify_signature.o + rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-hawkbitcfg.o tools/swupdate-progress.o tools/swupdate-sendtohawkbit.o tools/swupdate-sysrestart.o rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o rm -f mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E" "core/built-in.o handlers/built-in.o ipc/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " @@ -5221,10 +5256,10 @@ /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-progress.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-sendtohawkbit" "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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-sendtohawkbit.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-sysrestart" "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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-sysrestart.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit 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-hawkbitcfg_unstripped -o tools/swupdate-hawkbitcfg; chmod a+x tools/swupdate-hawkbitcfg - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sysrestart_unstripped -o tools/swupdate-sysrestart; chmod a+x tools/swupdate-sysrestart strip -s --remove-section=.note --remove-section=.comment swupdate_unstripped -o swupdate; chmod a+x swupdate make[2]: Leaving directory '/build/reproducible-path/swupdate-2020.11' @@ -5296,6 +5331,9 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o + /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" +strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o In file included from /usr/include/string.h:495, from test/test_server_hawkbit.c:22: In function 'strncpy', @@ -5303,13 +5341,10 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 41 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o - /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" + /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o - /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" -strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -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" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" RUN test_crypt 1..4 @@ -5352,22 +5387,27 @@ make -f scripts/Makefile.build obj=handlers gcc -Wp,-MD,ipc/.network_ipc-if.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/network_ipc-if.o ipc/network_ipc-if.c make -f scripts/Makefile.build obj=corelib - gcc -Wp,-MD,core/.swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate.o core/swupdate.c -make -f scripts/Makefile.build obj=mongoose - gcc -Wp,-MD,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/dummy_handler.o handlers/dummy_handler.c gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/progress_ipc.o ipc/progress_ipc.c - gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c +make -f scripts/Makefile.build obj=mongoose + gcc -Wp,-MD,core/.swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate.o core/swupdate.c make -f scripts/Makefile.build obj=parser + gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c +make -f scripts/Makefile.build obj=suricatta + gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parse_external.o parser/parse_external.c + gcc -Wp,-MD,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/dummy_handler.o handlers/dummy_handler.c gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/channel_curl.o corelib/channel_curl.c - gcc -Wp,-MD,handlers/.archive_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/archive_handler.o handlers/archive_handler.c gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/notifier.o core/notifier.c - gcc -Wp,-MD,handlers/.boot_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/boot_handler.o handlers/boot_handler.c gcc -Wp,-MD,mongoose/.mongoose.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose.o mongoose/mongoose.c - gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parser.o parser/parser.c + gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/common.o suricatta/common.c In file included from core/cpio_utils.c:22: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +In file included from handlers/dummy_handler.c:17: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -5383,10 +5423,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/boot_handler.c:20: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -5402,11 +5438,11 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/swupdate.c:30: +In file included from suricatta/common.c:12: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -In file included from handlers/archive_handler.c:25: +In file included from core/notifier.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5440,7 +5476,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/dummy_handler.c:17: +In file included from parser/parser.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5459,11 +5495,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/notifier.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from corelib/channel_curl.c:24: +In file included from core/swupdate.c:30: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5482,6 +5514,11 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +make -f scripts/Makefile.build obj=bootloader +In file included from corelib/channel_curl.c:24: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -5497,12 +5534,13 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/cpio_utils.c: In function 'copy_write': -core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 144 | buf += ret; - | ^~ - gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parser.o parser/parser.c + gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o bootloader/none.o bootloader/none.c +make -f scripts/Makefile.build obj=tools + gcc -Wp,-MD,handlers/.archive_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/archive_handler.o handlers/archive_handler.c + gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-client.o tools/swupdate-client.c + gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/downloader.o corelib/downloader.c mongoose/mongoose.c: In function 'mg_add_conn': + gcc -Wp,-MD,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c mongoose/mongoose.c:2245:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_mgr *' [-Wformat=] 2245 | DBG(("%p %p", mgr, c)); | ^~~~~~~ ~~~ @@ -5536,7 +5574,7 @@ | | | void * mongoose/mongoose.c: In function 'mg_call': - gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c +core/cpio_utils.c: In function 'copy_write': mongoose/mongoose.c:2275:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2275 | DBG(("%p %s ev=%d ev_data=%p flags=0x%lx rmbl=%d smbl=%d", nc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5553,6 +5591,9 @@ | ~^ | | | void * +core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 144 | buf += ret; + | ^~ mongoose/mongoose.c:2297:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2297 | DBG(("%p after %s flags=0x%lx rmbl=%d smbl=%d", nc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5617,7 +5658,6 @@ | ~^ | | | void * - gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/handler.o core/handler.c mongoose/mongoose.c: In function 'mg_if_accept_new_conn': mongoose/mongoose.c:2736:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2736 | LOG(LL_DEBUG, ("%p %p %d %d", lc, nc, nc->sock, (int) nc->flags)); @@ -5627,13 +5667,11 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ - gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/downloader.o corelib/downloader.c mongoose/mongoose.c:2736:20: note: format string is defined here 2736 | LOG(LL_DEBUG, ("%p %p %d %d", lc, nc, nc->sock, (int) nc->flags)); | ~^ | | | void * - gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_handler.o handlers/flash_handler.c mongoose/mongoose.c:2736:18: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct mg_connection *' [-Wformat=] 2736 | LOG(LL_DEBUG, ("%p %p %d %d", lc, nc, nc->sock, (int) nc->flags)); | ^~~~~~~~~~~~~ ~~ @@ -5662,6 +5700,7 @@ | | | void * mongoose/mongoose.c: In function 'mg_recv_tcp': + rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o mongoose/mongoose.c:2807:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2807 | DBG(("%p <- %d bytes (SSL)", nc, n)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5678,6 +5717,10 @@ | ~^ | | | void * +In file included from corelib/downloader.c:12: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c:2825:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2825 | DBG(("%p <- %d bytes", nc, n)); | ^~~~~~~~~~~~~~~~ ~~ @@ -5695,6 +5738,21 @@ | | | void * mongoose/mongoose.c: In function 'mg_recv_udp': +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:2896:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2896 | DBG(("%p <- %d bytes from %s:%d", nc, n, inet_ntoa(nc->sa.sin.sin_addr), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5745,7 +5803,7 @@ | | | void * mongoose/mongoose.c: In function 'mg_do_connect': - 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=bindings mongoose/mongoose.c:2987:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2987 | LOG(LL_DEBUG, ("%p %s://%s:%hu", nc, proto == SOCK_DGRAM ? "udp" : "tcp", | ^~~~~~~~~~~~~~~~ ~~ @@ -5773,12 +5831,7 @@ | ~^ | | | void * -corelib/channel_curl.c: In function 'channel_new': mongoose/mongoose.c: In function 'mg_connect_opt': -In file included from parser/parser.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ mongoose/mongoose.c:3118:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3118 | ("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), | ^~~~~~~~~~~~~~~~ ~~ @@ -5793,9 +5846,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_bind_opt': -corelib/channel_curl.c:105:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 105 | newchan->priv = (void *)newchan + sizeof(*newchan); - | ^ mongoose/mongoose.c:3228:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3228 | DBG(("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), | ^~~~~~~~~~~~~~~~ ~~ @@ -5807,27 +5857,13 @@ mongoose/mongoose.c:3228:3: note: in expansion of macro 'DBG' 3228 | DBG(("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ mongoose/mongoose.c:3228:10: note: format string is defined here 3228 | DBG(("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), | ~^ | | | void * mongoose/mongoose.c: In function 'mg_set_timer': + gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/auxiliar.o bindings/auxiliar.c mongoose/mongoose.c:3358:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3358 | DBG(("%p %p %d -> %lu", c, c->priv_2, (c->flags & MG_F_RESOLVING ? 1 : 0), | ^~~~~~~~~~~~~~~~~ ~ @@ -5839,12 +5875,31 @@ mongoose/mongoose.c:3358:3: note: in expansion of macro 'DBG' 3358 | DBG(("%p %p %d -> %lu", c, c->priv_2, (c->flags & MG_F_RESOLVING ? 1 : 0), | ^~~ +In file included from handlers/archive_handler.c:25: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c:3358:10: note: format string is defined here 3358 | DBG(("%p %p %d -> %lu", c, c->priv_2, (c->flags & MG_F_RESOLVING ? 1 : 0), | ~^ | | | void * mongoose/mongoose.c: In function 'mg_socket_if_connect_tcp': +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:3709:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3709 | DBG(("%p sock %d rc %d errno %d err %d", nc, nc->sock, rc, mg_get_errno(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5895,7 +5950,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_mgr_handle_conn': -core/swupdate.c: In function 'usage': mongoose/mongoose.c:3880:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3880 | DBG(("%p fd=%d fd_flags=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5907,6 +5961,8 @@ mongoose/mongoose.c:3880:5: note: in expansion of macro 'DBG' 3880 | DBG(("%p fd=%d fd_flags=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~ + 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 +corelib/channel_curl.c: In function 'channel_new': mongoose/mongoose.c:3880:12: note: format string is defined here 3880 | DBG(("%p fd=%d fd_flags=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ~^ @@ -5923,19 +5979,16 @@ mongoose/mongoose.c:3933:5: note: in expansion of macro 'DBG' 3933 | DBG(("%p after fd=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~ -In file included from corelib/downloader.c:12: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ mongoose/mongoose.c:3933:12: note: format string is defined here 3933 | DBG(("%p after fd=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ~^ | | | void * +In file included from suricatta/server_hawkbit.c:18: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c: In function 'mg_socket_if_sock_set': -core/swupdate.c:120:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 120 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ mongoose/mongoose.c:3961:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3961 | DBG(("%p %d", nc, sock)); | ^~~~~~~ ~~ @@ -5947,47 +6000,12 @@ mongoose/mongoose.c:3961:3: note: in expansion of macro 'DBG' 3961 | DBG(("%p %d", nc, sock)); | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ mongoose/mongoose.c:3961:10: note: format string is defined here 3961 | DBG(("%p %d", nc, sock)); | ~^ | | | void * mongoose/mongoose.c: In function 'mg_socket_if_init': -In file included from include/lua_util.h:16, - from core/handler.c:17: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ mongoose/mongoose.c:3966:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_mgr *' [-Wformat=] 3966 | DBG(("%p using select()", iface->mgr)); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ @@ -6004,10 +6022,6 @@ | ~^ | | | void * -In file included from handlers/flash_handler.c:30: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -6023,20 +6037,17 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -make -f scripts/Makefile.build obj=suricatta - gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/common.o suricatta/common.c -In file included from corelib/channel_curl.c:24: -corelib/channel_curl.c: In function 'put_read_callback': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -corelib/channel_curl.c:746:6: note: in expansion of macro 'min' - 746 | n = min(bytes, size * nmemb); - | ^~~ -corelib/channel_curl.c: In function 'channel_post_method': -corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] - 846 | output_data_t outdata = {}; - | ^ +corelib/channel_curl.c:105:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 105 | newchan->priv = (void *)newchan + sizeof(*newchan); + | ^ +core/swupdate.c: In function 'usage': +core/swupdate.c:120:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 120 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " + gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/handler.o core/handler.c + gcc -Wp,-MD,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_compat.o corelib/lua_compat.c + gcc -Wp,-MD,tools/.swupdate-hawkbitcfg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-hawkbitcfg.o tools/swupdate-hawkbitcfg.c mongoose/mongoose.c: In function 'mg_ssl_if_conn_init': mongoose/mongoose.c:4544:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 4544 | DBG(("%p %s,%s,%s", nc, (params->cert ? params->cert : ""), @@ -6055,7 +6066,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_ssl_if_ssl_err': -corelib/channel_curl.c: In function 'channel_get': mongoose/mongoose.c:4626:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 4626 | DBG(("%p %p SSL error: %d %d", nc, ctx->ssl_ctx, res, err)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6067,20 +6077,16 @@ mongoose/mongoose.c:4626:3: note: in expansion of macro 'DBG' 4626 | DBG(("%p %p SSL error: %d %d", nc, ctx->ssl_ctx, res, err)); | ^~~ -In file included from mongoose/mongoose_interface.c:32: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -corelib/channel_curl.c:1227:26: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1227 | output_data_t outdata = {}; - | ^ mongoose/mongoose.c:4626:10: note: format string is defined here 4626 | DBG(("%p %p SSL error: %d %d", nc, ctx->ssl_ctx, res, err)); | ~^ | | | void * -make -f scripts/Makefile.build obj=bootloader - gcc -Wp,-MD,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_compat.o corelib/lua_compat.c +In file included from include/lua_util.h:16, + from core/handler.c:17: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c:4626:8: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'SSL_CTX *' {aka 'struct ssl_ctx_st *'} [-Wformat=] 4626 | DBG(("%p %p SSL error: %d %d", nc, ctx->ssl_ctx, res, err)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ @@ -6109,12 +6115,6 @@ mongoose/mongoose.c:4647:3: note: in expansion of macro 'DBG' 4647 | DBG(("%p %d -> %d", nc, (int) buf_size, n)); | ^~~ -mongoose/mongoose.c:4647:10: note: format string is defined here - 4647 | DBG(("%p %d -> %d", nc, (int) buf_size, n)); - | ~^ - | | - | void * -mongoose/mongoose.c: In function 'mg_ssl_if_write': include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -6130,8 +6130,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/util.o core/util.c -mongoose/mongoose_interface.c: In function 'restart_handler': +mongoose/mongoose.c:4647:10: note: format string is defined here + 4647 | DBG(("%p %d -> %d", nc, (int) buf_size, n)); + | ~^ + | | + | void * +mongoose/mongoose.c: In function 'mg_ssl_if_write': mongoose/mongoose.c:4656:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 4656 | DBG(("%p %d -> %d", nc, (int) len, n)); | ^~~~~~~~~~~~~ ~~ @@ -6143,40 +6147,20 @@ mongoose/mongoose.c:4656:3: note: in expansion of macro 'DBG' 4656 | DBG(("%p %d -> %d", nc, (int) len, n)); | ^~~ - gcc -Wp,-MD,handlers/.diskpart_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c -mongoose/mongoose_interface.c:112:20: warning: ISO C forbids empty initializer braces [-Wpedantic] - 112 | ipc_message msg = {}; - | ^ mongoose/mongoose.c:4656:10: note: format string is defined here 4656 | DBG(("%p %d -> %d", nc, (int) len, n)); | ~^ | | | void * -mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': -mongoose/mongoose_interface.c:233:22: warning: ISO C forbids empty initializer braces [-Wpedantic] - 233 | ipc_message ipc = {}; - | ^ -In file included from suricatta/common.c:12: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ +In file included from corelib/channel_curl.c:24: +corelib/channel_curl.c: In function 'put_read_callback': mongoose/mongoose.c: In function 'mg_http_transfer_file_data': -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o bootloader/none.o bootloader/none.c +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +corelib/channel_curl.c:746:6: note: in expansion of macro 'min' + 746 | n = min(bytes, size * nmemb); + | ^~~ mongoose/mongoose.c:6190:14: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6190 | DBG(("%p sent %d (total %d)", nc, (int) n, (int) pd->file.sent)); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6201,13 +6185,9 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ -mongoose/mongoose.c:6196:24: note: format string is defined here - 6196 | LOG(LL_DEBUG, ("%p done, %d bytes, ka %d", nc, (int) pd->file.sent, - | ~^ - | | - | void * -mongoose/mongoose.c: In function 'mg_http_handler': -In file included from core/util.c:28: +corelib/channel_curl.c: In function 'channel_post_method': +In file included from include/lua_util.h:16, + from corelib/lua_compat.c:9: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6226,6 +6206,15 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +mongoose/mongoose.c:6196:24: note: format string is defined here + 6196 | LOG(LL_DEBUG, ("%p done, %d bytes, ka %d", nc, (int) pd->file.sent, + | ~^ + | | + | void * +corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] + 846 | output_data_t outdata = {}; + | ^ +mongoose/mongoose.c: In function 'mg_http_handler': mongoose/mongoose.c:6513:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6513 | DBG(("%p WebSocket upgrade code %d", nc, hm->resp_code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6237,16 +6226,6 @@ mongoose/mongoose.c:6513:7: note: in expansion of macro 'DBG' 6513 | DBG(("%p WebSocket upgrade code %d", nc, hm->resp_code)); | ^~~ -core/util.c: In function 'get_hw_revision': -core/util.c:324:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 324 | ret = fscanf(fp, "%ms %ms", &b1, &b2); - | ^~~~~~~~~ -core/util.c:324:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/util.c: In function 'load_decryption_key': -core/util.c:530:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 530 | ret = fscanf(fp, "%ms %ms", &b1, &b2); - | ^~~~~~~~~ -core/util.c:530:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] mongoose/mongoose.c:6513:14: note: format string is defined here 6513 | DBG(("%p WebSocket upgrade code %d", nc, hm->resp_code)); | ~^ @@ -6285,6 +6264,7 @@ | | | void * mongoose/mongoose.c: In function 'mg_http_send_error': +tools/swupdate-hawkbitcfg.c: In function 'usage': mongoose/mongoose.c:7085:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7085 | LOG(LL_DEBUG, ("%p %d %s", nc, code, reason)); | ^~~~~~~~~~ ~~ @@ -6293,32 +6273,15 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +tools/swupdate-hawkbitcfg.c:35:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 35 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ mongoose/mongoose.c:7085:20: note: format string is defined here 7085 | LOG(LL_DEBUG, ("%p %d %s", nc, code, reason)); | ~^ | | | void * mongoose/mongoose.c: In function 'mg_http_serve_file': -In file included from include/lua_util.h:16, - from corelib/lua_compat.c:9: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ mongoose/mongoose.c:7129:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7129 | LOG(LL_DEBUG, ("%p [%s] %.*s", nc, path, (int) mime_type.len, mime_type.p)); | ^~~~~~~~~~~~~~ ~~ @@ -6332,7 +6295,12 @@ | ~^ | | | void * + gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c +corelib/channel_curl.c: In function 'channel_get': mongoose/mongoose.c: In function 'mg_scan_directory': +corelib/channel_curl.c:1227:26: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1227 | output_data_t outdata = {}; + | ^ mongoose/mongoose.c:7754:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7754 | LOG(LL_DEBUG, ("%p [%s]", nc, dir)); | ^~~~~~~~~ ~~ @@ -6346,6 +6314,7 @@ | ~^ | | | void * + gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_interface.o corelib/lua_interface.c mongoose/mongoose.c:7768:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7768 | LOG(LL_DEBUG, ("%p opendir(%s) -> %d", nc, dir, mg_get_errno())); | ^~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6376,25 +6345,6 @@ | ~^ | | | void * -In file included from handlers/diskpart_handler.c:20: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ mongoose/mongoose.c: In function 'mg_send_http_file': mongoose/mongoose.c:8274:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 8274 | ("%p %.*s [%s] exists=%d is_dir=%d is_dav=%d is_cgi=%d index=%s", nc, @@ -6431,6 +6381,7 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ + gcc -Wp,-MD,core/.util.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/util.o core/util.c mongoose/mongoose.c:8461:14: note: format string is defined here 8461 | ("%p Receiving file %s -> %s", nc, mp->file_name, fus->lfn)); | ~^ @@ -6444,6 +6395,11 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +In file included from include/lua_util.h:16, + from bindings/lua_swupdate.c:10: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c:8514:24: note: format string is defined here 8514 | LOG(LL_DEBUG, ("%p rec'd %d bytes, %d total", nc, (int) mp->data.len, | ~^ @@ -6457,12 +6413,26 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:8525:26: note: format string is defined here 8525 | LOG(LL_DEBUG, ("%p Uploaded %s (%s), %d bytes", nc, mp->file_name, | ~^ | | | void * - gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_interface.o corelib/lua_interface.c mongoose/mongoose.c: In function 'mg_cgi_ev_handler': mongoose/mongoose.c:9229:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 9229 | DBG(("%p CLOSE", cgi_nc)); @@ -6475,7 +6445,6 @@ mongoose/mongoose.c:9229:7: note: in expansion of macro 'DBG' 9229 | DBG(("%p CLOSE", cgi_nc)); | ^~~ - rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o mongoose/mongoose.c:9229:14: note: format string is defined here 9229 | DBG(("%p CLOSE", cgi_nc)); | ~^ @@ -6493,12 +6462,41 @@ mongoose/mongoose.c:9245:3: note: in expansion of macro 'DBG' 9245 | DBG(("%p [%s]", nc, prog)); | ^~~ +In file included from include/lua_util.h:16, + from corelib/lua_interface.c:17: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:9245:10: note: format string is defined here 9245 | DBG(("%p [%s]", nc, prog)); | ~^ | | | void * mongoose/mongoose.c: In function 'mg_handle_ssi_request': +corelib/lua_interface.c: In function 'l_copy2file': +corelib/lua_interface.c:361:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 361 | struct img_type img = {}; + | ^ +corelib/lua_interface.c: In function 'l_istream_read': +corelib/lua_interface.c:430:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 430 | struct img_type img = {}; + | ^ + gcc -Wp,-MD,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-progress.o tools/swupdate-progress.c mongoose/mongoose.c:9484:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 9484 | DBG(("%p %s", nc, path)); | ^~~~~~~ ~~ @@ -6510,6 +6508,11 @@ mongoose/mongoose.c:9484:3: note: in expansion of macro 'DBG' 9484 | DBG(("%p %s", nc, path)); | ^~~ +corelib/lua_interface.c: In function 'l_call_handler': +corelib/lua_interface.c:1060:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1060 | struct img_type img = {}; + | ^ + gcc -Wp,-MD,handlers/.boot_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/boot_handler.o handlers/boot_handler.c mongoose/mongoose.c:9484:10: note: format string is defined here 9484 | DBG(("%p %s", nc, path)); | ~^ @@ -6527,14 +6530,16 @@ mongoose/mongoose.c:10073:3: note: in expansion of macro 'DBG' 10073 | DBG(("%p %d %d", nc, op, (int) len)); | ^~~ -make -f scripts/Makefile.build obj=tools mongoose/mongoose.c:10073:10: note: format string is defined here 10073 | DBG(("%p %d %d", nc, op, (int) len)); | ~^ | | | void * mongoose/mongoose.c: In function 'mg_ws_handshake': - gcc -Wp,-MD,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c +In file included from core/util.c:28: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ mongoose/mongoose.c:10189:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 10189 | DBG(("%p %.*s %s", nc, (int) key->len, key->p, b64_sha)); | ^~~~~~~~~~~~ ~~ @@ -6546,36 +6551,17 @@ mongoose/mongoose.c:10189:3: note: in expansion of macro 'DBG' 10189 | DBG(("%p %.*s %s", nc, (int) key->len, key->p, b64_sha)); | ^~~ -mongoose/mongoose.c:10189:10: note: format string is defined here -10189 | DBG(("%p %.*s %s", nc, (int) key->len, key->p, b64_sha)); - | ~^ - | | - | void * -In file included from /usr/include/string.h:495, - from handlers/diskpart_handler.c:13: -In function 'strncpy', - inlined from 'diskpart' at handlers/diskpart_handler.c:220:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'diskpart' at handlers/diskpart_handler.c:217:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-client.o tools/swupdate-client.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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c -In file included from include/lua_util.h:16, - from corelib/lua_interface.c:17: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(format, arg...) \ | ^~~ +mongoose/mongoose.c:10189:10: note: format string is defined here +10189 | DBG(("%p %.*s %s", nc, (int) key->len, key->p, b64_sha)); + | ~^ + | | + | void * include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 113 | #define INFO(format, arg...) \ | ^~~ @@ -6585,6 +6571,16 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +core/util.c: In function 'get_hw_revision': +core/util.c:324:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 324 | ret = fscanf(fp, "%ms %ms", &b1, &b2); + | ^~~~~~~~~ +core/util.c:324:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] +core/util.c: In function 'load_decryption_key': +core/util.c:530:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] + 530 | ret = fscanf(fp, "%ms %ms", &b1, &b2); + | ^~~~~~~~~ +core/util.c:530:19: warning: ISO C does not support the 'm' scanf flag [-Wformat=] mongoose/mongoose.c: In function 'mqtt_handler': mongoose/mongoose.c:10809:30: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 10809 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " @@ -6597,19 +6593,11 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ -corelib/lua_interface.c: In function 'l_copy2file': mongoose/mongoose.c:10809:32: note: format string is defined here 10809 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " | ~^ | | | void * -corelib/lua_interface.c:361:24: warning: ISO C forbids empty initializer braces [-Wpedantic] - 361 | struct img_type img = {}; - | ^ -corelib/lua_interface.c: In function 'l_istream_read': -corelib/lua_interface.c:430:24: warning: ISO C forbids empty initializer braces [-Wpedantic] - 430 | struct img_type img = {}; - | ^ mongoose/mongoose.c:10817:28: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 10817 | LOG(LL_ERROR, ("%p invalid len: %d, closing", nc, len)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6623,10 +6611,6 @@ | ~^ | | | void * -corelib/lua_interface.c: In function 'l_call_handler': -corelib/lua_interface.c:1060:24: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1060 | struct img_type img = {}; - | ^ mongoose/mongoose.c: In function 'mg_resolve_async_opt': mongoose/mongoose.c:12053:8: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct mg_connection **' [-Wformat=] 12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); @@ -6644,11 +6628,11 @@ | ~^ | | | void * -In file included from suricatta/server_hawkbit.c:18: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -In file included from handlers/flash_hamming1_handler.c:30: +tools/swupdate-progress.c: In function 'usage': +tools/swupdate-progress.c:78:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 78 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ +In file included from handlers/boot_handler.c:20: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6667,6 +6651,14 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c + gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_handler.o handlers/flash_handler.c +In file included from include/lua_util.h:16, + from include/../corelib/lua_compat.c:9, + from bindings/lua_compat_shared.c:1: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -6682,15 +6674,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/flash_hamming1_handler.c:221:24: note: in expansion of macro 'min' - 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); - | ^~~ - gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parser.o core/parser.c - gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/pctl.o core/pctl.c In file included from /usr/include/string.h:495, from include/util.h:13, from include/lua_util.h:16, @@ -6700,7 +6683,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c In function 'strncpy', inlined from 'lua_string_to_img' at corelib/lua_interface.c:268:3: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] @@ -6756,8 +6738,8 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gcc -Wp,-MD,tools/.swupdate-hawkbitcfg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-hawkbitcfg.o tools/swupdate-hawkbitcfg.c -In file included from core/state.c:12: + gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parser.o core/parser.c +In file included from handlers/flash_handler.c:30: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6776,7 +6758,11 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/pctl.c:22: + gcc -Wp,-MD,handlers/.diskpart_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/diskpart_handler.o handlers/diskpart_handler.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 + /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "bindings/built-in.o ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " + gcc -Wp,-MD,tools/.swupdate-sendtohawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sendtohawkbit.o tools/swupdate-sendtohawkbit.c +In file included from handlers/diskpart_handler.c:20: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6795,24 +6781,20 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/pctl.c:22: -core/pctl.c: In function 'run_system_cmd': -include/util.h:162:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 162 | #define max(a, b) ({\ - | ^ -core/pctl.c:314:18: note: in expansion of macro 'max' - 314 | ret = select(max(fds[0], fds[1]) + 1, &readfds, NULL, NULL, &tv); - | ^~~ -tools/swupdate-hawkbitcfg.c: In function 'usage': + gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/pctl.o core/pctl.c rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o -tools/swupdate-hawkbitcfg.c:35:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 35 | 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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-progress.o tools/swupdate-progress.c +In file included from /usr/include/string.h:495, + from handlers/diskpart_handler.c:13: +In function 'strncpy', + inlined from 'diskpart' at handlers/diskpart_handler.c:220:7: In file included from core/parser.c:17: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -6822,21 +6804,18 @@ include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 113 | #define INFO(format, arg...) \ | ^~~ +In function 'strncpy', + inlined from 'diskpart' at handlers/diskpart_handler.c:217:7: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 116 | #define TRACE(format, arg...) \ | ^~~ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c -tools/swupdate-progress.c: In function 'usage': -tools/swupdate-progress.c:78:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 78 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/syslog.o core/syslog.c - gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/raw_handler.o handlers/raw_handler.c - gcc -Wp,-MD,tools/.swupdate-sendtohawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sendtohawkbit.o tools/swupdate-sendtohawkbit.c -In file included from core/syslog.c:9: +In file included from core/state.c:12: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6855,7 +6834,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/lua_scripthandler.c:23: +In file included from core/pctl.c:22: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6874,7 +6853,19 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/raw_handler.c:24: +In file included from core/pctl.c:22: +core/pctl.c: In function 'run_system_cmd': +include/util.h:162:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 162 | #define max(a, b) ({\ + | ^ +core/pctl.c:314:18: note: in expansion of macro 'max' + 314 | ret = select(max(fds[0], fds[1]) + 1, &readfds, NULL, NULL, &tv); + | ^~~ + gcc -Wp,-MD,tools/.swupdate-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c + gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/syslog.o core/syslog.c + gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c +In file included from core/syslog.c:9: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6893,11 +6884,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/installer.o core/installer.c +tools/swupdate-sysrestart.c: In function 'usage': +tools/swupdate-sysrestart.c:56:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 56 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ gcc -Wp,-MD,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/network_thread.o core/network_thread.c - gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c - gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/readback_handler.o handlers/readback_handler.c -In file included from core/installer.c:27: +In file included from handlers/flash_hamming1_handler.c:30: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6916,7 +6908,16 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/network_thread.c:26: + gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/mtd-interface.o corelib/mtd-interface.c +handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/flash_hamming1_handler.c:221:24: note: in expansion of macro 'min' + 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); + | ^~~ + gcc -Wp,-MD,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/stream_interface.o core/stream_interface.c +In file included from core/installer.c:27: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6935,8 +6936,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c -In file included from handlers/rdiff_handler.c:24: +In file included from core/network_thread.c:26: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6955,14 +6955,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/rdiff_handler.c: In function 'apply_rdiff_patch': -handlers/rdiff_handler.c:226:31: warning: ISO C forbids empty initializer braces [-Wpedantic] - 226 | struct rdiff_t rdiff_state = {}; - | ^ - gcc -Wp,-MD,core/.stream_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/stream_interface.o core/stream_interface.c - gcc -Wp,-MD,tools/.swupdate-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c - gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/progress_thread.o core/progress_thread.c -In file included from handlers/readback_handler.c:18: +In file included from corelib/mtd-interface.c:20: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6985,7 +6978,6 @@ include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ - gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/mtd-interface.o corelib/mtd-interface.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -7001,6 +6993,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,corelib/.parsing_library_libconfig.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c core/stream_interface.c: In function 'cpfiles': include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 167 | #define min(a, b) ({\ @@ -7009,16 +7002,18 @@ 329 | maxread = min(bufsize, max); | ^~~ core/stream_interface.c: In function 'get_install_info': -In file included from handlers/shell_scripthandler.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 167 | #define min(a, b) ({\ | ^ core/stream_interface.c:668:8: note: in expansion of macro 'min' 668 | len = min(len - 1, strlen(inst.req.info)); | ^~~ + rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-hawkbitcfg.o tools/swupdate-progress.o tools/swupdate-sendtohawkbit.o tools/swupdate-sysrestart.o + gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c +In file included from corelib/parsing_library_libconfig.c:19: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -7034,11 +7029,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -tools/swupdate-sysrestart.c: In function 'usage': -tools/swupdate-sysrestart.c:56:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 56 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ -In file included from core/progress_thread.c:27: + gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/progress_thread.o core/progress_thread.c +In file included from handlers/lua_scripthandler.c:23: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7057,8 +7049,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.parsing_library_libconfig.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libconfig.o corelib/parsing_library_libconfig.c -In file included from corelib/mtd-interface.c:20: +In file included from core/progress_thread.c:27: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7077,11 +7068,13 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c -In file included from corelib/parsing_library_libconfig.c:19: + gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parsing_library.o core/parsing_library.c + gcc -Wp,-MD,corelib/.parsing_library_libjson.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c +In file included from core/parsing_library.c:19: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/raw_handler.o handlers/raw_handler.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -7097,7 +7090,21 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/ssbl_handler.c:21: +core/parsing_library.c: In function 'get_field': + gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c +core/parsing_library.c:128:10: 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:10: 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 corelib/parsing_library_libjson.c:19: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7116,9 +7123,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c - gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parsing_library.o core/parsing_library.c -In file included from core/parsing_library.c:19: +In file included from handlers/rdiff_handler.c:24: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7137,22 +7142,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/parsing_library.c: In function 'get_field': -core/parsing_library.c:128:10: 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:10: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 130 | return get_field_json((json_object *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:124:6: note: declared here - 124 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ - gcc -Wp,-MD,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/artifacts_versions.o core/artifacts_versions.c - gcc -Wp,-MD,corelib/.parsing_library_libjson.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c -In file included from handlers/swuforward_handler.c:35: +handlers/rdiff_handler.c: In function 'apply_rdiff_patch': +In file included from handlers/raw_handler.c:24: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7171,15 +7162,23 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/swuforward_handler.c: In function 'swu_forward_data': -handlers/swuforward_handler.c:119:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 119 | tmp += written; - | ^~ - rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-hawkbitcfg.o tools/swupdate-progress.o tools/swupdate-sendtohawkbit.o tools/swupdate-sysrestart.o +handlers/rdiff_handler.c:226:31: warning: ISO C forbids empty initializer braces [-Wpedantic] + 226 | struct rdiff_t rdiff_state = {}; + | ^ + gcc -Wp,-MD,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/artifacts_versions.o core/artifacts_versions.c + gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate_dict.o core/swupdate_dict.c + gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/semver.o core/semver.c In file included from core/artifacts_versions.c:24: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ +In file included from core/swupdate_dict.c:22: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -7195,7 +7194,19 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_cms_verify.o corelib/swupdate_cms_verify.c core/artifacts_versions.c: In function 'read_sw_version_file': core/artifacts_versions.c:57:20: warning: ISO C does not support the 'm' scanf flag [-Wformat=] 57 | ret = fscanf(fp, "%ms %ms", &name, &version); @@ -7208,9 +7219,11 @@ core/artifacts_versions.c:239:24: warning: ISO C forbids empty initializer braces [-Wpedantic] 239 | semver_t right_sem = {}; | ^ -make -f scripts/Makefile.build obj=bindings - gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate_dict.o core/swupdate_dict.c -In file included from corelib/parsing_library_libjson.c:19: + gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c + gcc -Wp,-MD,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c + gcc -Wp,-MD,corelib/.swupdate_settings.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c + gcc -Wp,-MD,corelib/.verify_signature.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/verify_signature.o corelib/verify_signature.c +In file included from suricatta/suricatta.c:12: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7229,9 +7242,15 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/auxiliar.o bindings/auxiliar.c - gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c -In file included from handlers/swuforward-ws.c:21: +In file included from suricatta/suricatta.c:12: +suricatta/suricatta.c: In function 'start_suricatta': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +suricatta/suricatta.c:237:20: note: in expansion of macro 'min' + 237 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { + | ^~~ +In file included from corelib/swupdate_settings.c:24: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7250,7 +7269,10 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/swupdate_dict.c:22: + gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/readback_handler.o handlers/readback_handler.c + gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c + gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c +In file included from corelib/swupdate_cms_verify.c:16: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7269,10 +7291,11 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/ubivol_handler.c:21: +In file included from handlers/ssbl_handler.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -7288,30 +7311,14 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/ubivol_handler.c: In function 'swap_volume': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:588:40: note: in expansion of macro 'min' - 588 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); - | ^~~ -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:593:40: note: in expansion of macro 'min' - 593 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); - | ^~~ - gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/semver.o core/semver.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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_cms_verify.o corelib/swupdate_cms_verify.c - gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c -In file included from suricatta/suricatta.c:12: + rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o +In file included from handlers/shell_scripthandler.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(format, arg...) \ | ^~~ @@ -7324,22 +7331,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c - gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c -In file included from suricatta/suricatta.c:12: -suricatta/suricatta.c: In function 'start_suricatta': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -suricatta/suricatta.c:237:20: note: in expansion of macro 'min' - 237 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { - | ^~~ - gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -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: + gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c +In file included from corelib/verify_signature.c:16: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ + gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -7355,9 +7352,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from include/lua_util.h:16, - from include/../corelib/lua_compat.c:9, - from bindings/lua_compat_shared.c:1: +In file included from handlers/swuforward_handler.c:35: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7376,7 +7371,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/swupdate_settings.c:24: +In file included from handlers/readback_handler.c:18: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7414,8 +7409,11 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #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=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/verify_signature.o corelib/verify_signature.c -In file included from corelib/swupdate_cms_verify.c:16: +handlers/swuforward_handler.c: In function 'swu_forward_data': +handlers/swuforward_handler.c:119:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 119 | tmp += written; + | ^~ +In file included from handlers/swuforward-ws.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7434,10 +7432,9 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o core/built-in.o core/swupdate.o core/cpio_utils.o core/notifier.o core/handler.o core/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 - 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/archive_handler.o handlers/boot_handler.o handlers/flash_handler.o handlers/diskpart_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 -In file included from corelib/verify_signature.c:16: +In file included from mongoose/mongoose_interface.c:32: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -7456,10 +7453,48 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " - 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 +mongoose/mongoose_interface.c: In function 'restart_handler': +mongoose/mongoose_interface.c:112:20: warning: ISO C forbids empty initializer braces [-Wpedantic] + 112 | ipc_message msg = {}; + | ^ +mongoose/mongoose_interface.c: In function 'broadcast_progress_thread': +mongoose/mongoose_interface.c:233:22: warning: ISO C forbids empty initializer braces [-Wpedantic] + 233 | ipc_message ipc = {}; + | ^ +In file included from handlers/ubivol_handler.c:21: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +handlers/ubivol_handler.c: In function 'swap_volume': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:588:40: note: in expansion of macro 'min' + 588 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); + | ^~~ +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:593:40: note: in expansion of macro 'min' + 593 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); + | ^~~ 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/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 - /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "bindings/built-in.o ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o handlers/built-in.o handlers/dummy_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/flash_handler.o handlers/diskpart_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 rm -f mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E" "core/built-in.o handlers/built-in.o ipc/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-client.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" @@ -7467,8 +7502,8 @@ /build/reproducible-path/swupdate-2020.11/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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-progress.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-sendtohawkbit" "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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-sendtohawkbit.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-sysrestart" "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 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-sysrestart.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit 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-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit 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-hawkbitcfg_unstripped -o tools/swupdate-hawkbitcfg; chmod a+x tools/swupdate-hawkbitcfg strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sysrestart_unstripped -o tools/swupdate-sysrestart; chmod a+x tools/swupdate-sysrestart @@ -7529,10 +7564,10 @@ dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/aarch64-linux-gnu/lua/5.2/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_pushboolean: it's probably a plugin +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/aarch64-linux-gnu/lua/5.2/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_typename: it's probably a plugin dpkg-shlibdeps: warning: 31 other similar warnings have been skipped (use -v to see them all) -dpkg-shlibdeps: warning: symbol pthread_sigmask used by debian/libswupdate0.1/usr/lib/aarch64-linux-gnu/libswupdate.so.0.1 found in none of the libraries dpkg-shlibdeps: warning: symbol pthread_create used by debian/libswupdate0.1/usr/lib/aarch64-linux-gnu/libswupdate.so.0.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol pthread_sigmask used by debian/libswupdate0.1/usr/lib/aarch64-linux-gnu/libswupdate.so.0.1 found in none of the libraries dh_installdeb debian/rules override_dh_gencontrol make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' @@ -7540,13 +7575,13 @@ make[1]: Leaving directory '/build/reproducible-path/swupdate-2020.11' dh_md5sums dh_builddeb -dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2020.11-2+deb11u1_arm64.deb'. -dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2020.11-2+deb11u1_arm64.deb'. -dpkg-deb: building package 'swupdate' in '../swupdate_2020.11-2+deb11u1_arm64.deb'. -dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2020.11-2+deb11u1_all.deb'. dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2020.11-2+deb11u1_arm64.deb'. +dpkg-deb: building package 'swupdate' in '../swupdate_2020.11-2+deb11u1_arm64.deb'. dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2020.11-2+deb11u1_arm64.deb'. +dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2020.11-2+deb11u1_arm64.deb'. +dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2020.11-2+deb11u1_arm64.deb'. dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2020.11-2+deb11u1_arm64.deb'. +dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2020.11-2+deb11u1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../swupdate_2020.11-2+deb11u1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -7554,12 +7589,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/1712056/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1712056/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/2324234 and its subdirectories -I: Current time: Fri Mar 14 14:46:55 -12 2025 -I: pbuilder-time-stamp: 1742006815 +I: removing directory /srv/workspace/pbuilder/1712056 and its subdirectories +I: Current time: Sun Feb 11 10:30:27 +14 2024 +I: pbuilder-time-stamp: 1707597027