Diff of the two buildlogs: -- --- b1/build.log 2024-03-09 07:23:33.369907358 +0000 +++ b2/build.log 2024-03-09 07:31:59.006613295 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 11 01:41:20 -12 2025 -I: pbuilder-time-stamp: 1744378880 +I: Current time: Sat Mar 9 21:23:36 +14 2024 +I: pbuilder-time-stamp: 1709969016 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.AkDg0zZ3/trustedkeys.kbx': General error -gpgv: Signature made Tue Dec 19 11:11:41 2023 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.6hjvR81s/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/3849075/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2090680/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 9 21:23 /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/2090680/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2090680/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='74faeba609df41b9bea90781ba1b607b' - 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='3849075' - PS1='# ' - PS2='> ' + INVOCATION_ID=588837afec2d4ec08bfe1f1dee176f8b + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2090680 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.aIIS7vJS/pbuilderrc_dj8L --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.aIIS7vJS/b1 --logfile b1/build.log swupdate_2020.11-2+deb11u1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.aIIS7vJS/pbuilderrc_5GcK --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.aIIS7vJS/b2 --logfile b2/build.log swupdate_2020.11-2+deb11u1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 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 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jan 20 2022 more - -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount - -rwxr-xr-x 1 root root 18664 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 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 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Apr 9 08:02 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jan 20 2022 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jan 20 2022 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 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/3849075/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 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 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jan 21 2022 more + -rwsr-xr-x 1 root root 55528 Jan 21 2022 mount + -rwxr-xr-x 1 root root 18664 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 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 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Mar 9 21:23 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jan 21 2022 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 23:59 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jan 21 2022 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 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/2090680/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -448,7 +479,7 @@ Get: 202 http://deb.debian.org/debian bullseye/main amd64 tipa all 2:1.3-20.1 [2978 kB] Get: 203 http://deb.debian.org/debian bullseye/main amd64 texlive-xetex all 2020.20210202-3 [12.5 MB] Get: 204 http://deb.debian.org/debian bullseye/main amd64 texlive-formats-extra all 2020.20210202-3 [4711 kB] -Fetched 187 MB in 3s (67.1 MB/s) +Fetched 187 MB in 4s (48.2 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 ... 19711 files and directories currently installed.) @@ -1330,7 +1361,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/2090680/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/2090680/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 @@ -1340,7 +1375,7 @@ debian/rules clean dh clean --with sysuser,lua dh_auto_clean - make -j16 distclean + make -j15 distclean make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' /build/reproducible-path/swupdate-2020.11 rm -rf /build/reproducible-path/swupdate-2020.11/doc/build/* @@ -3103,33 +3138,30 @@ mv doc/build/man/progress.1 doc/build/man/swupdate-progress.1 mv doc/build/man/sysrestart.1 doc/build/man/swupdate-sysrestart.1 dh_auto_build -- V=1 - make -j16 "INSTALL=install --strip-program=true" V=1 + make -j15 "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2020.11' 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 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 + 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=corelib -make -f scripts/Makefile.build obj=mongoose -make -f scripts/Makefile.build obj=parser - 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 -make -f scripts/Makefile.build obj=suricatta 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/.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 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 -make -f scripts/Makefile.build obj=bootloader +make -f scripts/Makefile.build obj=parser 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,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,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/.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,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,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,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_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 - 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,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,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 -In file included from corelib/downloader.c:12: + 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/.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 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 { \ | ^~~ @@ -3148,7 +3180,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 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 { \ | ^~~ @@ -3167,7 +3199,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: +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 { \ | ^~~ @@ -3186,6 +3218,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 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 { \ + | ^~~ +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 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 { \ + | ^~~ 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 { \ @@ -3205,10 +3250,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 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...) \ | ^~~ @@ -3224,10 +3265,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 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 { \ - | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -3243,10 +3280,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 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 { \ - | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -3262,7 +3295,8 @@ 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/channel_curl.c:24: + 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 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 { \ | ^~~ @@ -3281,8 +3315,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 core/handler.c:17: +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 { \ | ^~~ @@ -3301,8 +3334,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/.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,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 + 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: 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)); @@ -3337,7 +3369,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_call': - 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: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3384,7 +3415,7 @@ | ~^ | | | void * - 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,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_mgr_init_opt': 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)); @@ -3433,7 +3464,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: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)); | ^~~~~~~~~~~~~ ~~ @@ -3442,13 +3472,32 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ + 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 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:2736:23: note: format string is defined here 2736 | LOG(LL_DEBUG, ("%p %p %d %d", lc, nc, nc->sock, (int) nc->flags)); | ~^ | | | void * mongoose/mongoose.c: In function 'mg_if_accept_tcp_cb': - rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o 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"), | ^~~~~~~~~~~~~~~~ ~~ @@ -3546,7 +3595,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_do_connect': -make -f scripts/Makefile.build obj=tools 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", | ^~~~~~~~~~~~~~~~ ~~ @@ -3605,7 +3653,6 @@ | ~^ | | | void * - 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 mongoose/mongoose.c: In function 'mg_set_timer': 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), @@ -3674,25 +3721,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_mgr_handle_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 { \ - | ^~~ -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: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3709,7 +3737,6 @@ | ~^ | | | void * - 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:3933:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3933 | DBG(("%p after fd=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3721,6 +3748,7 @@ 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, | ^~~ + 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: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, | ~^ @@ -3744,10 +3772,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_socket_if_init': -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: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)); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ @@ -3759,13 +3783,17 @@ mongoose/mongoose.c:3966:3: note: in expansion of macro 'DBG' 3966 | DBG(("%p using select()", iface->mgr)); | ^~~ + 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:3966:10: note: format string is defined here 3966 | DBG(("%p using select()", iface->mgr)); | ~^ | | | void * - 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 core/util.c:28: +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__); + | ^~~~~~~~ +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 { \ | ^~~ @@ -3784,12 +3812,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,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/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=] 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] @@ -3810,25 +3832,13 @@ 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 '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=] -make -f scripts/Makefile.build obj=bindings -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); - | ^ -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,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 -In file included from parser/parser.c:21: + 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 +make -f scripts/Makefile.build obj=suricatta +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 { \ | ^~~ +make -f scripts/Makefile.build obj=bootloader include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -3844,13 +3854,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,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,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 -In file included from handlers/flash_handler.c:30: + 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,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 +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 mongoose/mongoose_interface.c:32: +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 { \ | ^~~ @@ -3866,39 +3876,12 @@ 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_interface.c: In function 'restart_handler': -mongoose/mongoose_interface.c:112:20: warning: ISO C forbids empty initializer braces [-Wpedantic] - 112 | ipc_message msg = {}; - | ^ 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_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/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 { \ - | ^~~ -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...) \ | ^~~ @@ -3911,6 +3894,17 @@ 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=] + 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 +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 '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 : ""), @@ -3923,12 +3917,19 @@ mongoose/mongoose.c:4544:3: note: in expansion of macro 'DBG' 4544 | DBG(("%p %s,%s,%s", nc, (params->cert ? params->cert : ""), | ^~~ +handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': mongoose/mongoose.c:4544:10: note: format string is defined here 4544 | DBG(("%p %s,%s,%s", nc, (params->cert ? params->cert : ""), | ~^ | | | void * mongoose/mongoose.c: In function 'mg_ssl_if_ssl_err': +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)); + | ^~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3956,26 +3957,6 @@ 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 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:4626:13: note: format string is defined here 4626 | DBG(("%p %p SSL error: %d %d", nc, ctx->ssl_ctx, res, err)); | ~^ @@ -3999,14 +3980,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_ssl_if_write': -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: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)); | ^~~~~~~~~~~~~ ~~ @@ -4023,25 +3996,7 @@ | ~^ | | | 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 -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 = {}; - | ^ -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); - | ^~~ mongoose/mongoose.c: In function 'mg_http_transfer_file_data': - 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_post_method': -corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] - 846 | output_data_t outdata = {}; - | ^ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4072,7 +4027,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_http_handler': - 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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4089,7 +4043,7 @@ | ~^ | | | void * - 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 + 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 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 " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4106,6 +4060,20 @@ | ~^ | | | void * +core/cpio_utils.c: In function 'copy_write': +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 { \ + | ^~~ +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...) \ + | ^~~ mongoose/mongoose.c:6580:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6580 | DBG(("%p %s %.*s %.*s", nc, addr, (int) hm->method.len, hm->method.p, | ^~~~~~~~~~~~~~~~~ ~~ @@ -4122,6 +4090,15 @@ | ~^ | | | void * +core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 144 | buf += ret; + | ^~ +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_send_error': 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)); @@ -4131,25 +4108,6 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ -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 { \ - | ^~~ -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:7085:20: note: format string is defined here 7085 | LOG(LL_DEBUG, ("%p %d %s", nc, code, reason)); | ~^ @@ -4169,30 +4127,6 @@ | ~^ | | | void * -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 { \ - | ^~~ -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...) \ - | ^~~ -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 = {}; - | ^ mongoose/mongoose.c: In function 'mg_scan_directory': 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)); @@ -4232,19 +4166,11 @@ mongoose/mongoose.c:7898:5: note: in expansion of macro 'DBG' 7898 | DBG(("%p: upstream closed", nc)); | ^~~ -In file included from core/pctl.c:22: -core/pctl.c: In function 'run_system_cmd': mongoose/mongoose.c:7898:12: note: format string is defined here 7898 | DBG(("%p: upstream closed", nc)); | ~^ | | | void * -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); - | ^~~ 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, @@ -4259,7 +4185,47 @@ | ~^ | | | void * +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 { \ + | ^~~ +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...) \ + | ^~~ +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 { \ + | ^~~ mongoose/mongoose.c: In function 'mg_file_upload_handler': + rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o +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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4294,6 +4260,14 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +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:8514:24: note: format string is defined here 8514 | LOG(LL_DEBUG, ("%p rec'd %d bytes, %d total", nc, (int) mp->data.len, | ~^ @@ -4312,44 +4286,23 @@ | ~^ | | | void * -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 { \ - | ^~~ -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...) \ - | ^~~ -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...) \ - | ^~~ +make -f scripts/Makefile.build obj=tools +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: +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 = {}; + | ^ +/usr/include/x86_64-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/x86_64-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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); @@ -4362,6 +4315,7 @@ mongoose/mongoose.c:9229:7: note: in expansion of macro 'DBG' 9229 | DBG(("%p CLOSE", cgi_nc)); | ^~~ + 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 mongoose/mongoose.c:9229:14: note: format string is defined here 9229 | DBG(("%p CLOSE", cgi_nc)); | ~^ @@ -4379,36 +4333,12 @@ mongoose/mongoose.c:9245:3: note: in expansion of macro 'DBG' 9245 | DBG(("%p [%s]", nc, prog)); | ^~~ -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 { \ - | ^~~ -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 * -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__); - | ^~~~~~~~ mongoose/mongoose.c: In function 'mg_handle_ssi_request': -handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': 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)); | ^~~~~~~ ~~ @@ -4420,12 +4350,6 @@ mongoose/mongoose.c:9484:3: note: in expansion of macro 'DBG' 9484 | DBG(("%p %s", nc, path)); | ^~~ -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)); - | ^~~ mongoose/mongoose.c:9484:10: note: format string is defined here 9484 | DBG(("%p %s", nc, path)); | ~^ @@ -4465,7 +4389,10 @@ | ~^ | | | void * - 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 +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); + | ^ 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 " @@ -4496,6 +4423,151 @@ | ~^ | | | void * + 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,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_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)); + | ^~~~~~~~~~ ~~~~~~~~~~~~~ + | | + | struct mg_connection ** +mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' + 505 | cs_log_printf x; \ + | ^ +mongoose/mongoose.c:12053:3: note: in expansion of macro 'DBG' +12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); + | ^~~ +mongoose/mongoose.c:12053:16: note: format string is defined here +12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); + | ~^ + | | + | 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 { \ + | ^~~ +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...) \ + | ^~~ +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,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,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 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 { \ + | ^~~ +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...) \ + | ^~~ +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 = {}; + | ^ + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o +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); + | ^~~ + 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 +make -f scripts/Makefile.build obj=bindings +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 { \ + | ^~~ +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...) \ + | ^~~ +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 = {}; + | ^ + 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 +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-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 /usr/include/string.h:495, from include/util.h:13, from include/lua_util.h:16, @@ -4560,38 +4632,18 @@ /usr/include/x86_64-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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ^~~~~~~~~~ ~~~~~~~~~~~~~ - | | - | struct mg_connection ** -mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' - 505 | cs_log_printf x; \ - | ^ -mongoose/mongoose.c:12053:3: note: in expansion of macro 'DBG' -12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); - | ^~~ -mongoose/mongoose.c:12053:16: note: format string is defined here -12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); - | ~^ - | | - | 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/x86_64-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/x86_64-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 file included from include/lua_util.h:16, - from include/../corelib/lua_compat.c:9, - from bindings/lua_compat_shared.c:1: + 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 +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/.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 +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__); + | ^~~~~~~~ + 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/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 { \ | ^~~ @@ -4610,14 +4662,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,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,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 - 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 -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 core/state.c:12: + 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 +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 { \ | ^~~ @@ -4636,12 +4683,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,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/.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 - /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/.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,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/lua_scripthandler.c:23: +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 { \ | ^~~ @@ -4660,6 +4702,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,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 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 { \ @@ -4679,10 +4723,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o - 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,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 -In file included from core/installer.c:27: + 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 +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 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 { \ | ^~~ @@ -4701,11 +4747,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/.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,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 - 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 -In file included from core/network_thread.c:26: +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 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 { \ | ^~~ @@ -4724,8 +4771,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/.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: + 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 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 { \ | ^~~ @@ -4738,19 +4785,13 @@ include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 113 | #define INFO(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=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 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...) \ | ^~~ -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,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 handlers/rdiff_handler.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 { \ | ^~~ @@ -4769,11 +4810,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 = {}; - | ^ -In file included from core/stream_interface.c:33: +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 { \ | ^~~ @@ -4792,14 +4829,13 @@ 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': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -core/stream_interface.c:329:13: note: in expansion of macro 'min' - 329 | maxread = min(bufsize, max); - | ^~~ -In file included from core/parsing_library.c:19: + 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/.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 + 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,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 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 { \ | ^~~ @@ -4818,28 +4854,21 @@ 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/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) - | ^~~~~~~~~ -core/stream_interface.c: In function 'get_install_info': + 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 +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) ({\ | ^ -core/stream_interface.c:668:8: note: in expansion of macro 'min' - 668 | len = min(len - 1, strlen(inst.req.info)); - | ^~~ -In file included from core/progress_thread.c:27: +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/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 { \ | ^~~ @@ -4858,27 +4887,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 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 { \ | ^~~ -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,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 corelib/parsing_library_libconfig.c:19: + 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 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 { \ | ^~~ @@ -4897,13 +4911,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - 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/.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/.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 -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...) \ | ^~~ @@ -4919,10 +4926,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,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 - 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: +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 { \ + | ^~~ + 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 +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 { \ | ^~~ @@ -4941,10 +4952,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 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 { \ - | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -4960,19 +4967,23 @@ 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 handlers/readback_handler.c:18: +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())) { + | ^~~ +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) ({\ + | ^ +core/stream_interface.c:329:13: note: in expansion of macro 'min' + 329 | maxread = min(bufsize, max); + | ^~~ +core/stream_interface.c: In function 'get_install_info': +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 { \ | ^~~ @@ -4991,8 +5002,36 @@ 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/swupdate_dict.c:22: +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)); + | ^~~ +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 -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 "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 " +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,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 + 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,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 + 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: 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 { \ | ^~~ @@ -5011,11 +5050,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/.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,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 - /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,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 handlers/swuforward_handler.c:35: + 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 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 { \ | ^~~ @@ -5034,14 +5070,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-ws.c:21: +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 = {}; + | ^ + 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,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 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...) \ | ^~~ - 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 include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(format, arg...) \ | ^~~ @@ -5054,7 +5103,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 handlers/ubivol_handler.c:21: + 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 +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 { \ | ^~~ @@ -5073,24 +5124,7 @@ 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); - | ^~~ -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 suricatta/suricatta.c:12: +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 { \ | ^~~ @@ -5109,17 +5143,10 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o gcc -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 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,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 -In file included from corelib/parsing_library_libjson.c:19: +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 { \ | ^~~ @@ -5138,6 +5165,15 @@ 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 = {}; + | ^ + /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,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_settings.c:24: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -5158,7 +5194,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_cms_verify.c:16: +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 { \ | ^~~ @@ -5177,9 +5213,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o 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 corelib/swupdate_decrypt.c:17: + 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/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 { \ | ^~~ @@ -5198,7 +5233,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/verify_signature.c:16: +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 { \ | ^~~ @@ -5217,7 +5252,7 @@ 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 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 -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 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 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 " @@ -5226,10 +5261,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-hawkbitcfg_unstripped -o tools/swupdate-hawkbitcfg; chmod a+x tools/swupdate-hawkbitcfg 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-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit - 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-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress 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' @@ -5237,7 +5272,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' dh_auto_test -- V=1 - make -j16 test V=1 + make -j15 test V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2020.11' make -f scripts/Makefile.build obj=test SWOBJS="core/built-in.o handlers/built-in.o" SWLIBS="corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" LDLIBS="pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " tests gcc -Wp,-MD,test/.test_crypt.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 -Itest/../ -D"KBUILD_STR(s)=#s" -c -o test/test_crypt.o test/test_crypt.c @@ -5284,13 +5319,6 @@ | ^~~ 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" -In file included from /usr/include/string.h:495, - from test/test_server_hawkbit.c:22: -In function 'strncpy', - inlined from '__wrap_channel_get_file' at test/test_server_hawkbit.c:99:2: -/usr/include/x86_64-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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from test/test_hash.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 { \ @@ -5310,10 +5338,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 /usr/include/string.h:495, + from test/test_server_hawkbit.c:22: +In function 'strncpy', + inlined from '__wrap_channel_get_file' at test/test_server_hawkbit.c:99:2: +/usr/include/x86_64-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_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" + /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_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 @@ -5349,34 +5384,32 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' dh_auto_install -- V=1 - make -j16 install DESTDIR=/build/reproducible-path/swupdate-2020.11/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 + make -j15 install DESTDIR=/build/reproducible-path/swupdate-2020.11/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-2020.11' make -f scripts/Makefile.build obj=ipc make -f scripts/Makefile.build obj=core make -f scripts/Makefile.build obj=handlers + gcc -Wp,-MD,ipc/.network_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=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 make -f scripts/Makefile.build obj=corelib + 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=mongoose + 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=parser + 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=suricatta -make -f scripts/Makefile.build obj=bootloader - 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,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,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 - 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,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 -make -f scripts/Makefile.build obj=tools 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,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 - 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,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,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 +make -f scripts/Makefile.build obj=bootloader + gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=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,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,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,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,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/.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,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,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,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 -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,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,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 -In file included from suricatta/server_hawkbit.c:18: +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 { \ | ^~~ @@ -5395,6 +5428,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/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 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 { \ @@ -5414,7 +5451,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 suricatta/common.c:12: +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 { \ | ^~~ @@ -5433,9 +5470,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/.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 - rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o -In file included from handlers/dummy_handler.c:17: +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 { \ | ^~~ @@ -5448,7 +5483,28 @@ include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 113 | #define INFO(format, arg...) \ | ^~~ -In file included from suricatta/suricatta.c:12: +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...) \ + | ^~~ +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 { \ | ^~~ @@ -5467,12 +5523,67 @@ 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 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...) \ + | ^~~ +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/.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 + rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o +make -f scripts/Makefile.build obj=tools + 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_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 +make -f scripts/Makefile.build obj=bindings +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...) \ + | ^~~ 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 { \ @@ -5492,7 +5603,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 parser/parser.c: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/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 { \ | ^~~ @@ -5511,7 +5625,15 @@ 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/downloader.c:12: + 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,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,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': +core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 144 | buf += ret; + | ^~ + 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 +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 { \ | ^~~ @@ -5530,16 +5652,33 @@ 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 -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 -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 + 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 +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,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/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...) \ + | ^~~ mongoose/mongoose.c: In function 'mg_add_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: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)); | ^~~~~~~ ~~~ @@ -5556,7 +5695,6 @@ | ~^ | | | void * - 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:2245:8: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct mg_connection *' [-Wformat=] 2245 | DBG(("%p %p", mgr, c)); | ^~~~~~~ ~ @@ -5573,7 +5711,6 @@ | ~^ | | | void * - 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: 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, @@ -5602,6 +5739,33 @@ mongoose/mongoose.c:2297:5: note: in expansion of macro 'DBG' 2297 | DBG(("%p after %s flags=0x%lx rmbl=%d smbl=%d", nc, | ^~~ +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 { \ + | ^~~ +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_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 = {}; + | ^ mongoose/mongoose.c:2297:12: note: format string is defined here 2297 | DBG(("%p after %s flags=0x%lx rmbl=%d smbl=%d", nc, | ~^ @@ -5633,7 +5797,6 @@ mongoose/mongoose.c:2445:3: note: in expansion of macro 'DBG' 2445 | DBG(("init mgr=%p", m)); | ^~~ - 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 mongoose/mongoose.c:2445:19: note: format string is defined here 2445 | DBG(("init mgr=%p", m)); | ~^ @@ -5651,30 +5814,12 @@ mongoose/mongoose.c:2460:3: note: in expansion of macro 'DBG' 2460 | DBG(("%p", m)); | ^~~ -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 { \ - | ^~~ + 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:2460:10: note: format string is defined here 2460 | DBG(("%p", m)); | ~^ | | | 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: 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)); @@ -5703,6 +5848,7 @@ | | | void * mongoose/mongoose.c: In function 'mg_if_accept_tcp_cb': + 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 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"), | ^~~~~~~~~~~~~~~~ ~~ @@ -5711,6 +5857,30 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +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 { \ + | ^~~ +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...) \ + | ^~~ +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=] mongoose/mongoose.c:2742:20: note: format string is defined here 2742 | LOG(LL_DEBUG, ("%p %s://%s:%hu", nc, (nc->flags & MG_F_UDP ? "udp" : "tcp"), | ~^ @@ -5733,6 +5903,11 @@ | ~^ | | | void * +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: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)); | ^~~~~~~~~~~~~~~~ ~~ @@ -5766,6 +5941,7 @@ | ~^ | | | void * + 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: In function 'mg_if_can_send_cb': 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)); @@ -5783,6 +5959,7 @@ | ~^ | | | void * + 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: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)); | ^~~~~~~~~~~~~~~~ ~~ @@ -5799,7 +5976,10 @@ | ~^ | | | void * - 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 +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); + | ^ mongoose/mongoose.c: In function 'mg_do_connect': 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", @@ -5814,6 +5994,7 @@ | ~^ | | | 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 mongoose/mongoose.c: In function 'mg_if_connect_cb': mongoose/mongoose.c:3002:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3002 | ("%p %s://%s:%hu -> %d", nc, (nc->flags & MG_F_UDP ? "udp" : "tcp"), @@ -5837,13 +6018,24 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +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/x86_64-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/x86_64-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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mongoose/mongoose.c:3118:10: note: format string is defined here 3118 | ("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), | ~^ | | | void * mongoose/mongoose.c: In function 'mg_bind_opt': - 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: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 : "-"), | ^~~~~~~~~~~~~~~~ ~~ @@ -5855,26 +6047,6 @@ 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 : "-"), | ^~~ -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:3228:10: note: format string is defined here 3228 | DBG(("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), | ~^ @@ -5898,7 +6070,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_socket_if_connect_tcp': - 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: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(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5932,6 +6103,25 @@ | ~^ | | | 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 { \ + | ^~~ +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:3818:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3818 | DBG(("%p conn from %s:%d", nc, inet_ntoa(sa.sin.sin_addr), | ^~~~~~~~~~~~~~~~~~~~ ~~ @@ -5948,6 +6138,32 @@ | ~^ | | | void * +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 { \ + | ^~~ +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/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)); + | ^~~ mongoose/mongoose.c: In function 'mg_mgr_handle_conn': 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, @@ -5999,6 +6215,14 @@ | | | void * mongoose/mongoose.c: In function 'mg_socket_if_init': +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); + | ^~~ 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)); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ @@ -6015,7 +6239,12 @@ | ~^ | | | void * -In file included from handlers/boot_handler.c:20: +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 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 { \ | ^~~ @@ -6034,13 +6263,7 @@ 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 -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 -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 mongoose/mongoose_interface.c:32: +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 { \ | ^~~ @@ -6059,16 +6282,21 @@ 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 = {}; - | ^ - 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 core/cpio_utils.c:22: +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); + | ^~~ + 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 +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 = {}; + | ^ + 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 +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 { \ | ^~~ @@ -6087,7 +6315,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 handlers/flash_handler.c:30: + /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 " +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 = {}; + | ^ +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/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 { \ | ^~~ @@ -6106,8 +6343,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,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 - 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,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 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 : ""), @@ -6142,7 +6379,6 @@ | ~^ | | | void * - 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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ @@ -6159,7 +6395,6 @@ | ~^ | | | 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: In function 'mg_ssl_if_read': 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)); @@ -6194,8 +6429,7 @@ | ~^ | | | void * -In file included from include/lua_util.h:16, - from corelib/lua_interface.c:17: +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 { \ | ^~~ @@ -6214,7 +6448,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 corelib/mtd-interface.c:20: + 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 +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 { \ | ^~~ @@ -6233,28 +6470,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/.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 -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 = {}; - | ^ -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__); - | ^~~~~~~~ mongoose/mongoose.c: In function 'mg_http_transfer_file_data': -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 = {}; - | ^ -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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6284,26 +6500,6 @@ | ~^ | | | void * -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 { \ - | ^~~ -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_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)); @@ -6321,39 +6517,7 @@ | ~^ | | | 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; - | ^~ -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); - | ^~~ -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 " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6568 | "%lu bytes, and not drained, closing", - 6569 | nc, (unsigned long) nc->recv_mbuf.len, - | ~~ - | | - | struct mg_connection * -mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' - 505 | cs_log_printf x; \ - | ^ -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:6567:26: note: format string is defined here - 6567 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " - | ~^ - | | - | void * -In file included from handlers/diskpart_handler.c:20: +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 { \ | ^~~ @@ -6372,6 +6536,27 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +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 " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6568 | "%lu bytes, and not drained, closing", + 6569 | nc, (unsigned long) nc->recv_mbuf.len, + | ~~ + | | + | struct mg_connection * +mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' + 505 | cs_log_printf x; \ + | ^ +mongoose/mongoose.c:6567:26: note: format string is defined here + 6567 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " + | ~^ + | | + | void * + 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 +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:6580:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6580 | DBG(("%p %s %.*s %.*s", nc, addr, (int) hm->method.len, hm->method.p, | ^~~~~~~~~~~~~~~~~ ~~ @@ -6388,11 +6573,8 @@ | ~^ | | | void * -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__); - | ^~~~~~~~ mongoose/mongoose.c: In function 'mg_http_send_error': + 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 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)); | ^~~~~~~~~~ ~~ @@ -6415,15 +6597,12 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ + 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 mongoose/mongoose.c:7129:20: note: format string is defined here 7129 | LOG(LL_DEBUG, ("%p [%s] %.*s", nc, path, (int) mime_type.len, mime_type.p)); | ~^ | | | 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 = {}; - | ^ mongoose/mongoose.c: In function 'mg_scan_directory': 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)); @@ -6438,19 +6617,6 @@ | ~^ | | | void * - 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 /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/x86_64-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/x86_64-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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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())); | ^~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6464,26 +6630,10 @@ | ~^ | | | 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: In function 'mg_reverse_proxy_handler': -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/.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,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/.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: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)); | ^~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6500,13 +6650,6 @@ | ~^ | | | void * -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)); - | ^~~ 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, @@ -6521,7 +6664,26 @@ | ~^ | | | void * +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 { \ + | ^~~ mongoose/mongoose.c: In function 'mg_file_upload_handler': +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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6530,7 +6692,6 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ - 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:8441:26: note: format string is defined here 8441 | LOG(LL_ERROR, ("%p Not allowed to upload %s", nc, mp->file_name)); | ~^ @@ -6549,6 +6710,26 @@ | ~^ | | | void * + 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 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 { \ + | ^~~ +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: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6557,6 +6738,14 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +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())) { + | ^~~ 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, | ~^ @@ -6575,6 +6764,46 @@ | ~^ | | | void * + 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,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 { \ + | ^~~ +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...) \ + | ^~~ +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 { \ + | ^~~ +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_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)); @@ -6609,13 +6838,8 @@ | ~^ | | | void * + 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 mongoose/mongoose.c: In function 'mg_handle_ssi_request': -In file included from /usr/include/string.h:495, - from include/util.h:13, - from include/lua_util.h:16, - from corelib/lua_interface.c:17: -In function 'strncpy', - inlined from 'lua_string_to_img' at corelib/lua_interface.c:264:3: 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)); | ^~~~~~~ ~~ @@ -6627,70 +6851,12 @@ mongoose/mongoose.c:9484:3: note: in expansion of macro 'DBG' 9484 | DBG(("%p %s", nc, path)); | ^~~ -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:268:3: -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:272:3: -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:276:3: -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:279:3: -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:282:3: -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:285:3: -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:288:3: -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:291:3: mongoose/mongoose.c:9484:10: note: format string is defined here 9484 | DBG(("%p %s", nc, path)); | ~^ | | | void * -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:294:3: -/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:299:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'lua_string_to_img' at corelib/lua_interface.c:303:3: -/usr/include/x86_64-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,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,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 mongoose/mongoose.c: In function 'mg_send_websocket_frame': 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)); @@ -6725,6 +6891,7 @@ | ~^ | | | void * + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o 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 " @@ -6737,11 +6904,30 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +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 { \ + | ^~~ mongoose/mongoose.c:10809:32: note: format string is defined here 10809 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " | ~^ | | | 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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6750,13 +6936,14 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ + 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 mongoose/mongoose.c:10817:30: note: format string is defined here 10817 | LOG(LL_ERROR, ("%p invalid len: %d, closing", nc, len)); | ~^ | | | void * - 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 -In file included from handlers/lua_scripthandler.c:23: + /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 " +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 { \ | ^~~ @@ -6775,7 +6962,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/.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 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)); @@ -6793,78 +6979,8 @@ | ~^ | | | void * -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 -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 - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o - 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 -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 -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 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 { \ - | ^~~ -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...) \ - | ^~~ -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...) \ - | ^~~ -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,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,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,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 - /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 " -In file included from handlers/raw_handler.c:24: + 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 +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 { \ | ^~~ @@ -6883,12 +6999,24 @@ 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 handlers/rdiff_handler.c:24: +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) ({\ + | ^ +core/stream_interface.c:329:13: note: in expansion of macro 'min' + 329 | maxread = min(bufsize, max); + | ^~~ +core/stream_interface.c: In function 'get_install_info': +In file included from core/progress_thread.c:27: include/util.h: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: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)); + | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -6904,14 +7032,8 @@ 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,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 - 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 -In file included from handlers/shell_scripthandler.c:21: + 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 +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 { \ | ^~~ @@ -6930,51 +7052,24 @@ 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: -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/readback_handler.c:18: +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) + | ^~~~~~~~~ +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...) \ - | ^~~ -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...) \ - | ^~~ - 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/.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 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 { \ - | ^~~ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -6990,26 +7085,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 { \ - | ^~~ -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...) \ - | ^~~ -In file included from corelib/swupdate_decrypt.c:17: +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 { \ | ^~~ @@ -7028,30 +7104,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,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 +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 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 { \ | ^~~ -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 { \ - | ^~~ -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...) \ | ^~~ @@ -7067,77 +7127,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,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 + 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,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 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/.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 - 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 - rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o - 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 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 { \ - | ^~~ -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...) \ - | ^~~ -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 { \ - | ^~~ -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,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/.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 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...) \ - | ^~~ - 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 - 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 -In file included from core/util.c:28: + 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 { \ | ^~~ @@ -7156,18 +7156,10 @@ 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=] - 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/pctl.c:22: + 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,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 + 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 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 { \ | ^~~ @@ -7186,7 +7178,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/state.c:12: +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 { \ | ^~~ @@ -7205,7 +7197,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/syslog.c:9: +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 = {}; + | ^ + 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/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 { \ | ^~~ @@ -7224,9 +7229,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': -In file included from handlers/ubivol_handler.c:21: +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/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 { \ | ^~~ @@ -7245,29 +7261,9 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -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); - | ^~~ - 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 - 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 -In file included from core/installer.c:27: + 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 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 { \ | ^~~ @@ -7286,15 +7282,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,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 - 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/parser.c:17: +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 { \ | ^~~ + 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 +corelib/lua_interface.c: In function 'l_copy2file': include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ +corelib/lua_interface.c:361:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 361 | struct img_type img = {}; + | ^ include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(format, arg...) \ | ^~~ @@ -7307,10 +7306,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,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/network_thread.c:26: +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 = {}; + | ^ +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,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,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 +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 { \ | ^~~ @@ -7329,7 +7335,8 @@ 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/stream_interface.c:33: + 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 { \ | ^~~ @@ -7348,21 +7355,9 @@ 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': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -core/stream_interface.c:329:13: note: in expansion of macro 'min' - 329 | maxread = min(bufsize, max); - | ^~~ -core/stream_interface.c: In function 'get_install_info': -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)); - | ^~~ -In file included from core/progress_thread.c:27: + 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_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 { \ | ^~~ @@ -7381,7 +7376,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 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 { \ | ^~~ @@ -7400,7 +7395,72 @@ 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: +In file included from /usr/include/string.h:495, + from include/util.h:13, + from include/lua_util.h:16, + from corelib/lua_interface.c:17: +In function 'strncpy', + inlined from 'lua_string_to_img' at corelib/lua_interface.c:264:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:268:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:272:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:276:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:279:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:282:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:285:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:288:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:291:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:294:3: +/usr/include/x86_64-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 'lua_string_to_img' at corelib/lua_interface.c:299:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'lua_string_to_img' at corelib/lua_interface.c:303:3: +/usr/include/x86_64-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 -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 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 { \ | ^~~ @@ -7419,32 +7479,7 @@ 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 = {}; - | ^ -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) - | ^~~~~~~~~ -In file included from core/swupdate_dict.c:22: +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 { \ | ^~~ @@ -7464,7 +7499,7 @@ 119 | #define DEBUG(format, arg...) \ | ^~~ 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 -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 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 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" @@ -7472,10 +7507,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-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-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 install -d /build/reproducible-path/swupdate-2020.11/debian/tmp//usr/bin @@ -7534,7 +7569,7 @@ dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/x86_64-linux-gnu/lua/5.2/lua_swupdate.so.0.1 contains an unresolvable reference to symbol luaL_argerror: it's probably a plugin +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/x86_64-linux-gnu/lua/5.2/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_pushstring: 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/x86_64-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/x86_64-linux-gnu/libswupdate.so.0.1 found in none of the libraries @@ -7545,13 +7580,13 @@ make[1]: Leaving directory '/build/reproducible-path/swupdate-2020.11' dh_md5sums dh_builddeb +dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2020.11-2+deb11u1_amd64.deb'. dpkg-deb: building package 'swupdate' in '../swupdate_2020.11-2+deb11u1_amd64.deb'. -dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2020.11-2+deb11u1_amd64.deb'. +dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2020.11-2+deb11u1_amd64.deb'. dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2020.11-2+deb11u1_amd64.deb'. -dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2020.11-2+deb11u1_amd64.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_amd64.deb'. dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2020.11-2+deb11u1_amd64.deb'. -dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2020.11-2+deb11u1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../swupdate_2020.11-2+deb11u1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -7559,12 +7594,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/2090680/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2090680/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/3849075 and its subdirectories -I: Current time: Fri Apr 11 01:46:53 -12 2025 -I: pbuilder-time-stamp: 1744379213 +I: removing directory /srv/workspace/pbuilder/2090680 and its subdirectories +I: Current time: Sat Mar 9 21:31:58 +14 2024 +I: pbuilder-time-stamp: 1709969518