Diff of the two buildlogs: -- --- b1/build.log 2024-03-14 22:56:02.460525541 +0000 +++ b2/build.log 2024-03-14 22:58:20.179289315 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Mar 14 10:51:03 -12 2024 -I: pbuilder-time-stamp: 1710456663 +I: Current time: Thu Apr 17 19:19:06 +14 2025 +I: pbuilder-time-stamp: 1744867146 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -18,8 +18,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.wTh1fy7z/trustedkeys.kbx': General error -gpgv: Signature made Tue Dec 19 11:11:41 2023 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.7lW0kNld/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 @@ -31,137 +31,168 @@ 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/65394/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10838/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Apr 17 19:19 /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/10838/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10838/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + 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=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='0914f7d0b1504d8bafdc726ecf7db5e7' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='65394' - PS1='# ' - PS2='> ' + INVOCATION_ID=296aa76be7bb48cabd23225196180ab1 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=10838 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.pAwrfkgK/pbuilderrc_kezB --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.pAwrfkgK/b1 --logfile b1/build.log swupdate_2020.11-2+deb11u1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.pAwrfkgK/pbuilderrc_Ofer --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.pAwrfkgK/b2 --logfile b2/build.log swupdate_2020.11-2+deb11u1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) 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 5772 - -rwxr-xr-x 1 root root 1367848 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 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 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 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 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 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 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 71928 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 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 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Jan 20 2022 more - -rwsr-xr-x 1 root root 50720 Jan 20 2022 mount - -rwxr-xr-x 1 root root 13856 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Mar 6 21:24 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Jan 20 2022 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 598488 Jan 19 21:59 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Jan 20 2022 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 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/65394/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 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 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 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 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 71928 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 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 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Jan 21 2022 more + -rwsr-xr-x 1 root root 50720 Jan 21 2022 mount + -rwxr-xr-x 1 root root 13856 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Apr 17 19:19 sh -> /bin/bash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Jan 21 2022 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 598488 Jan 20 2024 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Jan 21 2022 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 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/10838/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -451,7 +482,7 @@ Get: 202 http://deb.debian.org/debian bullseye/main i386 tipa all 2:1.3-20.1 [2978 kB] Get: 203 http://deb.debian.org/debian bullseye/main i386 texlive-xetex all 2020.20210202-3 [12.5 MB] Get: 204 http://deb.debian.org/debian bullseye/main i386 texlive-formats-extra all 2020.20210202-3 [4711 kB] -Fetched 188 MB in 4s (43.9 MB/s) +Fetched 188 MB in 3s (63.8 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 ... 19731 files and directories currently installed.) @@ -1333,7 +1364,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/10838/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/10838/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 @@ -1343,7 +1378,7 @@ debian/rules clean dh clean --with sysuser,lua dh_auto_clean - make -j8 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/* @@ -3106,22 +3141,52 @@ 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 -j8 "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 make -f scripts/Makefile.build obj=handlers +make -f scripts/Makefile.build obj=corelib +make -f scripts/Makefile.build obj=mongoose +make -f scripts/Makefile.build obj=parser +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,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=corelib +make -f scripts/Makefile.build obj=tools 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,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/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/dummy_handler.o handlers/dummy_handler.c + gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/channel_curl.o corelib/channel_curl.c gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/progress_ipc.o ipc/progress_ipc.c + gcc -Wp,-MD,handlers/.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 -In file included from core/cpio_utils.c:22: + 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,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,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,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 +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...) \ + | ^~~ +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 { \ | ^~~ @@ -3159,7 +3224,46 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/swupdate.c:30: +In file included from 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...) \ + | ^~~ +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/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...) \ + | ^~~ + rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o +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 { \ | ^~~ @@ -3178,12 +3282,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,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,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 -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: 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 { \ @@ -3203,8 +3301,41 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -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 +core/notifier.c: In function 'notify_init': +core/notifier.c:481:43: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 3 has type 'dev_t *' {aka 'long long unsigned int *'} [-Wformat=] + 481 | if (sscanf(getenv("JOURNAL_STREAM"), "%lu:%lu", &device, &inode) == 2) { + | ~~^ ~~~~~~~ + | | | + | | dev_t * {aka long long unsigned int *} + | long unsigned int * + | %llu +make -f scripts/Makefile.build obj=bindings +In file included from core/swupdate.c:30: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +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,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/auxiliar.o bindings/auxiliar.c gcc -Wp,-MD,handlers/.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 -In file included from handlers/boot_handler.c:20: + gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c + gcc -Wp,-MD,tools/.swupdate-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,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-progress.o tools/swupdate-progress.c +In file included from 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 { \ | ^~~ @@ -3223,7 +3354,8 @@ 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 ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o + 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,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c mongoose/mongoose.c: 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)); @@ -3305,6 +3437,26 @@ | | | void * mongoose/mongoose.c: In function 'mg_mgr_init_opt': +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: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)); | ^~~~~~~~~~~~~ ~ @@ -3338,26 +3490,6 @@ | ~^ | | | void * -make -f scripts/Makefile.build obj=parser -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 { \ - | ^~~ -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)); @@ -3400,6 +3532,25 @@ | | | void * mongoose/mongoose.c: In function 'mg_recv_tcp': +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:2807:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2807 | DBG(("%p <- %d bytes (SSL)", nc, n)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3416,6 +3567,7 @@ | ~^ | | | 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: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)); | ^~~~~~~~~~~~~~~~ ~~ @@ -3466,6 +3618,10 @@ | ~^ | | | 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: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)); | ^~~~~~~~~~~~~~~~ ~~ @@ -3482,7 +3638,10 @@ | ~^ | | | void * - 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 +core/cpio_utils.c: In function 'copy_write': +core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 144 | buf += ret; + | ^~ mongoose/mongoose.c: In function 'mg_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", @@ -3492,10 +3651,6 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ -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:2987:20: note: format string is defined here 2987 | LOG(LL_DEBUG, ("%p %s://%s:%hu", nc, proto == SOCK_DGRAM ? "udp" : "tcp", | ~^ @@ -3546,7 +3701,15 @@ | ~^ | | | 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_set_timer': +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: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), | ^~~~~~~~~~~~~~~~~ ~ @@ -3563,7 +3726,50 @@ | ~^ | | | void * +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: In function 'mg_socket_if_connect_tcp': +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...) \ + | ^~~ +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...) \ + | ^~~ 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(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3592,6 +3798,7 @@ mongoose/mongoose.c:3809:7: note: in expansion of macro 'DBG' 3809 | DBG(("%p: failed to accept: %d", lc, mg_get_errno())); | ^~~ + 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:3809:14: note: format string is defined here 3809 | DBG(("%p: failed to accept: %d", lc, mg_get_errno())); | ~^ @@ -3625,11 +3832,13 @@ mongoose/mongoose.c:3880:5: note: in expansion of macro 'DBG' 3880 | DBG(("%p fd=%d fd_flags=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~ + gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_interface.o corelib/lua_interface.c mongoose/mongoose.c:3880:12: note: format string is defined here 3880 | DBG(("%p fd=%d fd_flags=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ~^ | | | void * + /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 " 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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3680,7 +3889,11 @@ | ~^ | | | void * -In file included from mongoose/mongoose_interface.c:32: + 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,tools/.swupdate-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c + gcc -Wp,-MD,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 { \ | ^~~ @@ -3699,20 +3912,38 @@ 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_new': -corelib/channel_curl.c:105:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 105 | newchan->priv = (void *)newchan + sizeof(*newchan); - | ^ gcc -Wp,-MD,handlers/.flash_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_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,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 +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 = {}; + | ^ +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/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 { \ + | ^~~ +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/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] @@ -3721,10 +3952,27 @@ corelib/channel_curl.c:746:6: note: in expansion of macro 'min' 746 | n = min(bytes, size * nmemb); | ^~~ -corelib/channel_curl.c: In function 'channel_post_method': -corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] - 846 | output_data_t outdata = {}; - | ^ + gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c +In file included from 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/.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 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 { \ @@ -3744,6 +3992,14 @@ 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 = {}; + | ^ +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__); + | ^~~~~~~~ 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 : ""), @@ -3762,10 +4018,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_ssl_if_ssl_err': -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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3832,7 +4084,9 @@ | ~^ | | | void * -In file included from parser/parser.c:21: +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 { \ | ^~~ @@ -3868,6 +4122,7 @@ | ~^ | | | 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 mongoose/mongoose.c:6196:22: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6196 | LOG(LL_DEBUG, ("%p done, %d bytes, ka %d", nc, (int) pd->file.sent, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3882,6 +4137,11 @@ | | | void * mongoose/mongoose.c: In function 'mg_http_handler': +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/.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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3909,11 +4169,86 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +In file included from handlers/diskpart_handler.c:20: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:6567:26: note: format string is defined here 6567 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " | ~^ | | | void * + gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/handler.o core/handler.c +handlers/diskpart_handler.c: In function 'diskpart_partition_cmp': +include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 90 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 90 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 97 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 97 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 101 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 101 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ 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, | ^~~~~~~~~~~~~~~~~ ~~ @@ -3930,6 +4265,34 @@ | ~^ | | | void * +handlers/diskpart_handler.c: In function 'diskpart': +include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 90 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' + 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); + | ^~~~~ +include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 97 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' + 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); + | ^~~~~ +include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 101 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' + 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); + | ^~~~~ 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)); @@ -3972,6 +4335,7 @@ | ~^ | | | void * + 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 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())); | ^~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -3997,11 +4361,38 @@ mongoose/mongoose.c:7898:5: note: in expansion of macro 'DBG' 7898 | DBG(("%p: upstream closed", nc)); | ^~~ + gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c +In file included from 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:7898:12: note: format string is defined here 7898 | DBG(("%p: upstream closed", nc)); | ~^ | | | 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...) \ + | ^~~ +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, @@ -4030,6 +4421,26 @@ | ~^ | | | void * +In file included from include/lua_util.h:16, + from core/handler.c:17: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:8461:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 8461 | ("%p Receiving file %s -> %s", nc, mp->file_name, fus->lfn)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4056,7 +4467,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:8525:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 8525 | LOG(LL_DEBUG, ("%p Uploaded %s (%s), %d bytes", nc, mp->file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4070,8 +4480,19 @@ | ~^ | | | 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/i386-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/i386-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': - 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: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)); | ^~~~~~~~~~ ~~~~~~ @@ -4089,6 +4510,25 @@ | | | void * mongoose/mongoose.c: In function 'mg_handle_cgi': +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...) \ + | ^~~ mongoose/mongoose.c:9245:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 9245 | DBG(("%p [%s]", nc, prog)); | ^~~~~~~~~ ~~ @@ -4151,140 +4591,13 @@ mongoose/mongoose.c:10189:3: note: in expansion of macro 'DBG' 10189 | DBG(("%p %.*s %s", nc, (int) key->len, key->p, b64_sha)); | ^~~ -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:10189:10: note: format string is defined here 10189 | DBG(("%p %.*s %s", nc, (int) key->len, key->p, b64_sha)); | ~^ | | | 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)); - | ^~~ -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...) \ - | ^~~ -handlers/diskpart_handler.c: In function 'diskpart_partition_cmp': -include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] - 90 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] - 90 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] - 97 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] - 97 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] - 101 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] - 101 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -handlers/diskpart_handler.c: In function 'diskpart': -include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 90 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' - 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); - | ^~~~~ -include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 97 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' - 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); - | ^~~~~ -include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 101 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' - 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); - | ^~~~~ - 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 + 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 + 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 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 " @@ -4302,6 +4615,7 @@ | ~^ | | | void * + /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 " 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4315,8 +4629,71 @@ | ~^ | | | void * -mongoose/mongoose.c: In function 'mg_resolve_async_opt': -In file included from handlers/lua_scripthandler.c:23: +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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from 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 { \ | ^~~ @@ -4335,6 +4712,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.c: In function 'mg_resolve_async_opt': +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: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)); | ^~~~~~~~~~ ~~~~~~~~~~~~~ @@ -4351,21 +4737,7 @@ | ~^ | | | 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/i386-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/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/notifier.o core/notifier.c - gcc -Wp,-MD,handlers/.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/notifier.c:21: +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 { \ | ^~~ @@ -4384,15 +4756,19 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/notifier.c: In function 'notify_init': -core/notifier.c:481:43: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 3 has type 'dev_t *' {aka 'long long unsigned int *'} [-Wformat=] - 481 | if (sscanf(getenv("JOURNAL_STREAM"), "%lu:%lu", &device, &inode) == 2) { - | ~~^ ~~~~~~~ - | | | - | | dev_t * {aka long long unsigned int *} - | long unsigned int * - | %llu -In file included from handlers/raw_handler.c:24: +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,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 + 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 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 { \ | ^~~ @@ -4411,10 +4787,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/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/handler.o core/handler.c + gcc -Wp,-MD,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c + gcc -Wp,-MD,core/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parser.o core/parser.c + gcc -Wp,-MD,handlers/.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,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,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 core/handler.c:17: + 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 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 { \ | ^~~ @@ -4434,8 +4813,46 @@ 119 | #define DEBUG(format, arg...) \ | ^~~ rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o +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 { \ + | ^~~ +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_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...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/pctl.o core/pctl.c gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/readback_handler.o handlers/readback_handler.c - gcc -Wp,-MD,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 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 { \ @@ -4514,77 +4931,8 @@ handlers/rdiff_handler.c:226:31: warning: ISO C forbids empty initializer braces [-Wpedantic] 226 | struct rdiff_t rdiff_state = {}; | ^ - gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c - gcc -Wp,-MD,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: -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...) \ - | ^~~ -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 { \ - | ^~~ -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...) \ - | ^~~ -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=] -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...) \ - | ^~~ -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/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c -In file included from handlers/ssbl_handler.c:21: + 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 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 { \ | ^~~ @@ -4603,8 +4951,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,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c - gcc -Wp,-MD,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/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 { \ @@ -4624,103 +4970,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/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...) \ - | ^~~ -In file included from handlers/swuforward_handler.c:35: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -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 -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,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 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...) \ - | ^~~ -In file included from handlers/ubivol_handler.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ - 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 -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,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 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 { \ @@ -4740,10 +4989,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/.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,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c -In file included from include/lua_util.h:16, - from corelib/lua_compat.c:9: +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 { \ | ^~~ @@ -4770,9 +5016,7 @@ 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,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 include/lua_util.h:16, - from corelib/lua_interface.c:17: +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 { \ | ^~~ @@ -4791,18 +5035,14 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -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 = {}; - | ^ -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,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 +suricatta/suricatta.c: In function 'start_suricatta': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +suricatta/suricatta.c:237:20: note: in expansion of macro 'min' + 237 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { + | ^~~ In file included from 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 { \ @@ -4822,112 +5062,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/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 { \ - | ^~~ -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_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 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 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...) \ - | ^~~ -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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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,corelib/.parsing_library_libjson.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c -In file included from core/syslog.c:9: +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 { \ | ^~~ @@ -4946,13 +5082,11 @@ 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 -make -f scripts/Makefile.build obj=suricatta - gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/common.o suricatta/common.c - gcc -Wp,-MD,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,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c + gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c gcc -Wp,-MD,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 corelib/parsing_library_libjson.c:19: + 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 +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 { \ | ^~~ @@ -4971,7 +5105,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 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 { \ | ^~~ @@ -4990,7 +5124,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/network_thread.o core/network_thread.c In file included from 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 { \ @@ -5010,7 +5143,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,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,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 + 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 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 { \ @@ -5030,85 +5165,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 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 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 { \ - | ^~~ -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/.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/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...) \ - | ^~~ -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/.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 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 { \ - | ^~~ -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/.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,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/.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/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 { \ @@ -5128,6 +5186,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c In file included from core/stream_interface.c:33: core/stream_interface.c: In function 'cpfiles': include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] @@ -5136,7 +5195,6 @@ core/stream_interface.c:329:13: note: in expansion of macro 'min' 329 | maxread = min(bufsize, max); | ^~~ - 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 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) ({\ @@ -5144,8 +5202,7 @@ core/stream_interface.c:668:8: note: in expansion of macro 'min' 668 | len = min(len - 1, strlen(inst.req.info)); | ^~~ - gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c -In file included from suricatta/suricatta.c:12: +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 { \ | ^~~ @@ -5164,7 +5221,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 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 { \ | ^~~ @@ -5183,14 +5240,21 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -suricatta/suricatta.c: In function 'start_suricatta': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -suricatta/suricatta.c:237:20: note: in expansion of macro 'min' - 237 | wait_seconds = min(wait_seconds, (int)server.get_polling_interval())) { - | ^~~ -In file included from core/progress_thread.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 +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/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 { \ | ^~~ @@ -5209,8 +5273,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/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parsing_library.o core/parsing_library.c -In file included from core/parsing_library.c:19: +In file included from handlers/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 { \ | ^~~ @@ -5229,29 +5292,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -make -f scripts/Makefile.build obj=bootloader -core/parsing_library.c: In function 'get_field': -core/parsing_library.c:128:10: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 128 | return get_field_cfg((config_setting_t *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:124:6: note: declared here - 124 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ -core/parsing_library.c:130:10: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 130 | return get_field_json((json_object *)e, path, dest); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -core/parsing_library.c:124:6: note: declared here - 124 | void get_field(parsertype p, void *e, const char *path, void *dest) - | ^~~~~~~~~ - gcc -Wp,-MD,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 - 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 -make -f scripts/Makefile.build obj=tools - 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,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,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 - rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o -make -f scripts/Makefile.build obj=bindings +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': 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 { \ @@ -5259,6 +5305,12 @@ include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ +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 = {}; + | ^ include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 110 | #define WARN(format, arg...) \ | ^~~ @@ -5271,8 +5323,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,bindings/.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/artifacts_versions.c:24: +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 { \ | ^~~ @@ -5291,32 +5342,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 = {}; - | ^ - 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,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-progress.o tools/swupdate-progress.c - gcc -Wp,-MD,bindings/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c - gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c -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__); - | ^~~~~~~~ -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: +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 { \ | ^~~ @@ -5335,10 +5361,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,tools/.swupdate-sendtohawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sendtohawkbit.o tools/swupdate-sendtohawkbit.c -In file included from include/lua_util.h:16, - from include/../corelib/lua_compat.c:9, - from bindings/lua_compat_shared.c:1: +handlers/swuforward_handler.c: In function 'swu_forward_data': +handlers/swuforward_handler.c:119:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 119 | tmp += written; + | ^~ + gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c + gcc -Wp,-MD,core/.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 + 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 { \ | ^~~ @@ -5357,17 +5387,22 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +handlers/ubivol_handler.c: In function 'swap_volume': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:588:40: note: in expansion of macro 'min' + 588 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); + | ^~~ +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:593:40: note: in expansion of macro 'min' + 593 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); + | ^~~ + rm -f corelib/lib.a; ar rcs corelib/lib.a corelib/channel_curl.o corelib/downloader.o corelib/lua_compat.o corelib/lua_interface.o corelib/mtd-interface.o corelib/parsing_library_libconfig.o corelib/parsing_library_libjson.o corelib/swupdate_cms_verify.o corelib/swupdate_decrypt.o corelib/swupdate_settings.o corelib/verify_signature.o 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 - 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 - /build/reproducible-path/swupdate-2020.11/scripts/trylink "libswupdate.so.0.1" "gcc" "-shared -Wl,-soname,libswupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o -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__); - | ^~~~~~~~ - rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o - rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-hawkbitcfg.o tools/swupdate-progress.o tools/swupdate-sendtohawkbit.o tools/swupdate-sysrestart.o - /build/reproducible-path/swupdate-2020.11/scripts/trylink "lua_swupdate.so.0.1" "gcc" "-shared -Wl,-soname,lua_swupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "bindings/built-in.o ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o handlers/built-in.o handlers/dummy_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/flash_handler.o handlers/diskpart_handler.o handlers/flash_hamming1_handler.o handlers/lua_scripthandler.o handlers/raw_handler.o handlers/rdiff_handler.o handlers/readback_handler.o handlers/shell_scripthandler.o handlers/ssbl_handler.o handlers/swuforward_handler.o handlers/swuforward-ws.o handlers/ubivol_handler.o rm -f mongoose/lib.a; ar rcs mongoose/lib.a mongoose/mongoose.o mongoose/mongoose_interface.o /build/reproducible-path/swupdate-2020.11/scripts/trylink "swupdate_unstripped" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E" "core/built-in.o handlers/built-in.o ipc/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-client" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-client.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" @@ -5377,8 +5412,8 @@ /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-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-hawkbitcfg_unstripped -o tools/swupdate-hawkbitcfg; chmod a+x tools/swupdate-hawkbitcfg strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-hawkbitcfg_unstripped -o tools/swupdate-hawkbitcfg; chmod a+x tools/swupdate-hawkbitcfg strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sysrestart_unstripped -o tools/swupdate-sysrestart; chmod a+x tools/swupdate-sysrestart 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' @@ -5386,7 +5421,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' dh_auto_test -- V=1 - make -j8 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 @@ -5397,10 +5432,6 @@ include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ -In file included from test/test_server_hawkbit.c:31: -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...) \ | ^~~ @@ -5416,6 +5447,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 test/test_server_hawkbit.c:31: +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...) \ | ^~~ @@ -5432,6 +5467,7 @@ 119 | #define DEBUG(format, arg...) \ | ^~~ strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o + /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_json" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_json.c`" "test/test_json.o core/built-in.o.tmp handlers/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" 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 { \ @@ -5451,7 +5487,6 @@ 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 "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', @@ -5461,8 +5496,8 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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" + /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_hash" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_hash.c`" "test/test_hash.o core/built-in.o.tmp handlers/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_crypt" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_crypt.c`" "test/test_crypt.o core/built-in.o.tmp handlers/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" RUN test_crypt @@ -5498,22 +5533,54 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' dh_auto_install -- V=1 - make -j8 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,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 +make -f scripts/Makefile.build obj=parser +make -f scripts/Makefile.build obj=suricatta +make -f scripts/Makefile.build obj=bootloader +make -f scripts/Makefile.build obj=tools +make -f scripts/Makefile.build obj=bindings + 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,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,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,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,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/progress_ipc.o ipc/progress_ipc.c - gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c - 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,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,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,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/auxiliar.o bindings/auxiliar.c + gcc -Wp,-MD,handlers/.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,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/.lua_swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_swupdate.o bindings/lua_swupdate.c + gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-client.o tools/swupdate-client.c gcc -Wp,-MD,corelib/.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 -In file included from core/cpio_utils.c:22: + 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 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...) \ + | ^~~ +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 { \ | ^~~ @@ -5551,7 +5618,47 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -make -f scripts/Makefile.build obj=parser +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...) \ + | ^~~ +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...) \ + | ^~~ + rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o + gcc -Wp,-MD,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-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/.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 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 { \ @@ -5571,7 +5678,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,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parse_external.o parser/parse_external.c In file included from 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 { \ @@ -5591,13 +5697,50 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -make -f scripts/Makefile.build obj=suricatta - gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/common.o suricatta/common.c -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/.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,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 +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,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,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c +In file included from 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...) \ + | ^~~ +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_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)); @@ -5610,6 +5753,7 @@ mongoose/mongoose.c:2245:3: note: in expansion of macro 'DBG' 2245 | DBG(("%p %p", mgr, 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 mongoose/mongoose.c:2245:10: note: format string is defined here 2245 | DBG(("%p %p", mgr, c)); | ~^ @@ -5643,11 +5787,6 @@ mongoose/mongoose.c:2275:5: note: in expansion of macro 'DBG' 2275 | DBG(("%p %s ev=%d ev_data=%p flags=0x%lx rmbl=%d smbl=%d", nc, | ^~~ -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 { \ - | ^~~ - gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parser.o parser/parser.c mongoose/mongoose.c:2275:12: note: format string is defined here 2275 | DBG(("%p %s ev=%d ev_data=%p flags=0x%lx rmbl=%d smbl=%d", nc, | ~^ @@ -5664,21 +5803,6 @@ mongoose/mongoose.c:2297:5: note: in expansion of macro 'DBG' 2297 | DBG(("%p after %s flags=0x%lx rmbl=%d smbl=%d", nc, | ^~~ -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:2297:12: note: format string is defined here 2297 | DBG(("%p after %s flags=0x%lx rmbl=%d smbl=%d", nc, | ~^ @@ -5693,15 +5817,12 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ -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:2359:22: note: format string is defined here 2359 | LOG(LL_DEBUG, ("%p 0x%lx %d", conn, conn->flags, destroy_if)); | ~^ | | | void * + gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_handler.o handlers/flash_handler.c mongoose/mongoose.c: In function 'mg_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)); @@ -5719,10 +5840,6 @@ | ~^ | | | void * -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: In function 'mg_mgr_free': mongoose/mongoose.c:2460:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_mgr *' [-Wformat=] 2460 | DBG(("%p", m)); @@ -5814,6 +5931,25 @@ | ~^ | | | void * +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: In function 'mg_recv_udp': mongoose/mongoose.c:2896:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2896 | DBG(("%p <- %d bytes from %s:%d", nc, n, inet_ntoa(nc->sa.sin.sin_addr), @@ -5832,6 +5968,10 @@ | | | void * mongoose/mongoose.c: In function 'mg_if_can_send_cb': +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: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)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5848,6 +5988,10 @@ | ~^ | | | 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: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)); | ^~~~~~~~~~~~~~~~ ~~ @@ -5887,12 +6031,12 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ + 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:3002:10: note: format string is defined here 3002 | ("%p %s://%s:%hu -> %d", nc, (nc->flags & MG_F_UDP ? "udp" : "tcp"), | ~^ | | | 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: In function 'mg_connect_opt': mongoose/mongoose.c:3118:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3118 | ("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), @@ -5902,12 +6046,41 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +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 { \ + | ^~~ +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: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': +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 { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ mongoose/mongoose.c: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 : "-"), | ^~~~~~~~~~~~~~~~ ~~ @@ -5919,11 +6092,21 @@ mongoose/mongoose.c:3228:3: note: in expansion of macro 'DBG' 3228 | DBG(("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:3228:10: note: format string is defined here 3228 | DBG(("%p %s %s,%s,%s", nc, address, (opts.ssl_cert ? opts.ssl_cert : "-"), | ~^ | | | void * + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o mongoose/mongoose.c: In function 'mg_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), @@ -5941,6 +6124,7 @@ | ~^ | | | 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 mongoose/mongoose.c: In function 'mg_socket_if_connect_tcp': 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(), @@ -5958,26 +6142,8 @@ | ~^ | | | void * -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 { \ - | ^~~ + /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 " mongoose/mongoose.c: In function 'mg_accept_conn': -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ mongoose/mongoose.c:3809:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 3809 | DBG(("%p: failed to accept: %d", lc, mg_get_errno())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -5994,6 +6160,7 @@ | ~^ | | | void * + gcc -Wp,-MD,corelib/.downloader.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/downloader.o corelib/downloader.c mongoose/mongoose.c: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), | ^~~~~~~~~~~~~~~~~~~~ ~~ @@ -6005,11 +6172,37 @@ mongoose/mongoose.c:3818:3: note: in expansion of macro 'DBG' 3818 | DBG(("%p conn from %s:%d", nc, inet_ntoa(sa.sin.sin_addr), | ^~~ +In file included from handlers/flash_handler.c:30: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +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:10: note: format string is defined here 3818 | DBG(("%p conn from %s:%d", nc, inet_ntoa(sa.sin.sin_addr), | ~^ | | | void * +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: 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, @@ -6022,31 +6215,11 @@ mongoose/mongoose.c:3880:5: note: in expansion of macro 'DBG' 3880 | DBG(("%p fd=%d fd_flags=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~ -make -f scripts/Makefile.build obj=bootloader mongoose/mongoose.c:3880:12: note: format string is defined here 3880 | DBG(("%p fd=%d fd_flags=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ~^ | | | void * -In file included from parser/parser.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -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: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6058,7 +6231,6 @@ mongoose/mongoose.c:3933:5: note: in expansion of macro 'DBG' 3933 | DBG(("%p after fd=%d nc_flags=0x%lx rmbl=%d smbl=%d", nc, nc->sock, | ^~~ - 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 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, | ~^ @@ -6076,6 +6248,10 @@ mongoose/mongoose.c:3961:3: note: in expansion of macro 'DBG' 3961 | DBG(("%p %d", nc, sock)); | ^~~ +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:3961:10: note: format string is defined here 3961 | DBG(("%p %d", nc, sock)); | ~^ @@ -6098,6 +6274,62 @@ | ~^ | | | 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 +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; + | ^~ +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 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...) \ + | ^~~ +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 = {}; + | ^ + 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 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] @@ -6107,16 +6339,30 @@ 746 | n = min(bytes, size * nmemb); | ^~~ corelib/channel_curl.c: In function 'channel_post_method': - 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 corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] 846 | output_data_t outdata = {}; | ^ - rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o -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 = {}; - | ^ -make -f scripts/Makefile.build obj=tools +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...) \ + | ^~~ + gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_interface.o corelib/lua_interface.c mongoose/mongoose.c: In function 'mg_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 : ""), @@ -6134,7 +6380,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_ssl_if_ssl_err': 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)); @@ -6163,31 +6408,16 @@ mongoose/mongoose.c:4626:3: note: in expansion of macro 'DBG' 4626 | DBG(("%p %p SSL error: %d %d", nc, ctx->ssl_ctx, res, err)); | ^~~ -In file included from suricatta/server_hawkbit.c:18: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ mongoose/mongoose.c:4626:13: note: format string is defined here 4626 | DBG(("%p %p SSL error: %d %d", nc, ctx->ssl_ctx, res, err)); | ~^ | | | void * +corelib/channel_curl.c: In function 'channel_get': mongoose/mongoose.c: In function 'mg_ssl_if_read': -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:1227:26: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1227 | output_data_t outdata = {}; + | ^ 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)); | ^~~~~~~~~~~~~ ~~ @@ -6204,7 +6434,9 @@ | ~^ | | | 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 mongoose/mongoose.c: In function 'mg_ssl_if_write': + 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 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)); | ^~~~~~~~~~~~~ ~~ @@ -6221,6 +6453,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 mongoose/mongoose.c: In function 'mg_http_transfer_file_data': 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)); @@ -6233,12 +6466,12 @@ mongoose/mongoose.c:6190:9: note: in expansion of macro 'DBG' 6190 | DBG(("%p sent %d (total %d)", nc, (int) n, (int) pd->file.sent)); | ^~~ - 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 mongoose/mongoose.c:6190:16: note: format string is defined here 6190 | DBG(("%p sent %d (total %d)", nc, (int) n, (int) pd->file.sent)); | ~^ | | | void * + 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 mongoose/mongoose.c:6196:22: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 6196 | LOG(LL_DEBUG, ("%p done, %d bytes, ka %d", nc, (int) pd->file.sent, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6252,6 +6485,26 @@ | ~^ | | | void * +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: 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)); @@ -6269,6 +6522,14 @@ | ~^ | | | void * +corelib/lua_interface.c: In function 'l_copy2file': +corelib/lua_interface.c:361:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 361 | struct img_type img = {}; + | ^ +corelib/lua_interface.c: In function 'l_istream_read': +corelib/lua_interface.c:430:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 430 | struct img_type img = {}; + | ^ mongoose/mongoose.c: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 " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6285,6 +6546,25 @@ | ~^ | | | void * +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 { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:6580: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, | ^~~~~~~~~~~~~~~~~ ~~ @@ -6301,6 +6581,10 @@ | ~^ | | | void * +corelib/lua_interface.c: In function 'l_call_handler': +corelib/lua_interface.c:1060:24: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1060 | struct img_type img = {}; + | ^ mongoose/mongoose.c: In function 'mg_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)); @@ -6310,12 +6594,86 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +In file included from handlers/diskpart_handler.c:20: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ mongoose/mongoose.c:7085:20: note: format string is defined here 7085 | LOG(LL_DEBUG, ("%p %d %s", nc, code, reason)); | ~^ | | | void * +handlers/diskpart_handler.c: In function 'diskpart_partition_cmp': mongoose/mongoose.c: In function 'mg_http_serve_file': +include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 90 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 90 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 97 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 97 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 101 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ +include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 101 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' + 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + | ^~~~~ mongoose/mongoose.c:7129:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7129 | LOG(LL_DEBUG, ("%p [%s] %.*s", nc, path, (int) mime_type.len, mime_type.p)); | ^~~~~~~~~~~~~~ ~~ @@ -6324,12 +6682,68 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ + /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 " 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 * +handlers/diskpart_handler.c: In function 'diskpart': +include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 90 | "ERROR %s : %s : %d : " format, \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' + 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); + | ^~~~~ +include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 97 | "ERROR : " format, ## arg); \ + | ^~~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' + 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); + | ^~~~~ +include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 101 | "[%s] : " format, __func__, ## arg); \ + | ^~~~~~~~~ +include/util.h:117:2: note: in expansion of macro 'swupdate_notify' + 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) + | ^~~~~~~~~~~~~~~ +handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' + 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); + | ^~~~~ +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...) \ + | ^~~ +core/notifier.c: In function 'notify_init': mongoose/mongoose.c: In function 'mg_scan_directory': +core/notifier.c:481:43: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 3 has type 'dev_t *' {aka 'long long unsigned int *'} [-Wformat=] + 481 | if (sscanf(getenv("JOURNAL_STREAM"), "%lu:%lu", &device, &inode) == 2) { + | ~~^ ~~~~~~~ + | | | + | | dev_t * {aka long long unsigned int *} + | long unsigned int * + | %llu 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)); | ^~~~~~~~~ ~~ @@ -6368,6 +6782,11 @@ mongoose/mongoose.c:7898:5: note: in expansion of macro 'DBG' 7898 | DBG(("%p: upstream closed", nc)); | ^~~ +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,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:7898:12: note: format string is defined here 7898 | DBG(("%p: upstream closed", nc)); | ~^ @@ -6388,6 +6807,7 @@ | | | void * mongoose/mongoose.c: In function 'mg_file_upload_handler': + 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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6414,7 +6834,6 @@ | ~^ | | | 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 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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6428,13 +6847,6 @@ | ~^ | | | void * -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...) \ - | ^~~ mongoose/mongoose.c:8525:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 8525 | LOG(LL_DEBUG, ("%p Uploaded %s (%s), %d bytes", nc, mp->file_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6443,11 +6855,31 @@ 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/i386-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/i386-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:8525:26: note: format string is defined here 8525 | LOG(LL_DEBUG, ("%p Uploaded %s (%s), %d bytes", nc, mp->file_name, | ~^ | | | void * +mongoose/mongoose.c: In function 'mg_cgi_ev_handler': +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...) \ | ^~~ @@ -6460,15 +6892,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/notifier.c: In function 'notify_init': -mongoose/mongoose.c: In function 'mg_cgi_ev_handler': -core/notifier.c:481:43: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 3 has type 'dev_t *' {aka 'long long unsigned int *'} [-Wformat=] - 481 | if (sscanf(getenv("JOURNAL_STREAM"), "%lu:%lu", &device, &inode) == 2) { - | ~~^ ~~~~~~~ - | | | - | | dev_t * {aka long long unsigned int *} - | long unsigned int * - | %llu 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)); | ^~~~~~~~~~ ~~~~~~ @@ -6486,6 +6909,13 @@ | | | void * mongoose/mongoose.c: In function 'mg_handle_cgi': +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:9245:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 9245 | DBG(("%p [%s]", nc, prog)); | ^~~~~~~~~ ~~ @@ -6502,6 +6932,7 @@ | ~^ | | | void * + gcc -Wp,-MD,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/raw_handler.o handlers/raw_handler.c mongoose/mongoose.c: In function 'mg_handle_ssi_request': mongoose/mongoose.c:9484:8: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 9484 | DBG(("%p %s", nc, path)); @@ -6519,6 +6950,25 @@ | ~^ | | | 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...) \ + | ^~~ 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)); @@ -6553,24 +7003,7 @@ | ~^ | | | void * -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 " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -10810 | "%lu bytes, and not drained, closing", -10811 | 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:10809:32: note: format string is defined here -10809 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " - | ~^ - | | - | void * -In file included from handlers/boot_handler.c:20: +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 { \ | ^~~ @@ -6589,6 +7022,24 @@ 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 '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 " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +10810 | "%lu bytes, and not drained, closing", +10811 | 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; \ + | ^ + gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/handler.o core/handler.c +mongoose/mongoose.c:10809:32: note: format string is defined here +10809 | LOG(LL_ERROR, ("%p recv buffer (%lu bytes) exceeds the limit " + | ~^ + | | + | void * 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -6597,6 +7048,7 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ + gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c mongoose/mongoose.c:10817:30: note: format string is defined here 10817 | LOG(LL_ERROR, ("%p invalid len: %d, closing", nc, len)); | ~^ @@ -6619,40 +7071,11 @@ | ~^ | | | 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 -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/.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 - 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,tools/.swupdate-progress.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-progress.o tools/swupdate-progress.c -In file included from handlers/flash_handler.c:30: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -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 parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o 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 { \ | ^~~ -make -f scripts/Makefile.build obj=bindings include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -6668,66 +7091,9 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -tools/swupdate-progress.c: In function 'usage': -tools/swupdate-progress.c:78:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 78 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,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,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,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: -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=] -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,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 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...) \ - | ^~~ - gcc -Wp,-MD,handlers/.diskpart_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c - gcc -Wp,-MD,tools/.swupdate-sendtohawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sendtohawkbit.o tools/swupdate-sendtohawkbit.c -In file included from handlers/diskpart_handler.c:20: + 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 + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o +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 { \ | ^~~ @@ -6746,171 +7112,135 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/diskpart_handler.c: In function 'diskpart_partition_cmp': -include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] + 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 +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/i386-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/i386-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/i386-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/i386-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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +handlers/rdiff_handler.c: In function 'rdiff_stats': + 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:90:11: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 90 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:117:2: note: in expansion of macro 'swupdate_notify' 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] +handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' + 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", + | ^~~~~ +In function 'strncpy', + inlined from 'lua_string_to_img' at corelib/lua_interface.c:279:3: +/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +include/util.h:90:11: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 90 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:117:2: note: in expansion of macro 'swupdate_notify' 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] +handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' + 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", + | ^~~~~ +include/util.h:97:14: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 97 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:117:2: note: in expansion of macro 'swupdate_notify' 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] +handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' + 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", + | ^~~~~ +include/util.h:97:14: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 97 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:117:2: note: in expansion of macro 'swupdate_notify' 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] - 101 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'fdisk_sector_t' {aka 'long long unsigned int'} [-Wformat=] +handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' + 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", + | ^~~~~ +include/util.h:101:13: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 101 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:117:2: note: in expansion of macro 'swupdate_notify' 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:129:3: note: in expansion of macro 'TRACE' - 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", - | ^~~~~ -handlers/diskpart_handler.c: In function 'diskpart': -include/util.h:90:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 90 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' - 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); - | ^~~~~ -include/util.h:97:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 97 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' - 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); - | ^~~~~ -include/util.h:101:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] +handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' + 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", + | ^~~~~ +include/util.h:101:13: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 101 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:117:2: note: in expansion of macro 'swupdate_notify' 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) | ^~~~~~~~~~~~~~~ -handlers/diskpart_handler.c:333:4: note: in expansion of macro 'TRACE' - 333 | TRACE("Number of partitions differs on disk: %lu <--> requested: %lu", numpartondisk, i); - | ^~~~~ -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 /usr/include/string.h:495, - from handlers/diskpart_handler.c:13: +handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' + 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", + | ^~~~~ In function 'strncpy', - inlined from 'diskpart' at handlers/diskpart_handler.c:220:7: + inlined from 'lua_string_to_img' at corelib/lua_interface.c:282:3: /usr/include/i386-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: + inlined from 'lua_string_to_img' at corelib/lua_interface.c:285:3: + 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 /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - gcc -Wp,-MD,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,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,tools/.swupdate-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c - gcc -Wp,-MD,core/.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 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...) \ - | ^~~ -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...) \ - | ^~~ - 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 -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 -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o -In file included from core/pctl.c:22: +In function 'strncpy', + inlined from 'lua_string_to_img' at corelib/lua_interface.c:288:3: +/usr/include/i386-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/i386-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/i386-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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 function 'strncpy', + inlined from 'lua_string_to_img' at corelib/lua_interface.c:299:3: +/usr/include/i386-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/i386-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,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/.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/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 { \ | ^~~ @@ -6929,16 +7259,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/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,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c -In file included from core/state.c:12: +In file included from handlers/shell_scripthandler.c:21: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6957,8 +7278,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/.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 suricatta/suricatta.c:12: +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 { \ | ^~~ @@ -6977,8 +7297,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 include/lua_util.h:16, - from corelib/lua_compat.c:9: +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,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c + gcc -Wp,-MD,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 + 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,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c +In file included from handlers/swuforward_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 { \ | ^~~ @@ -6997,21 +7330,11 @@ 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 -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/.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,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 - /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,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 - 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 include/lua_util.h:16, - from corelib/lua_interface.c:17: +handlers/swuforward_handler.c: In function 'swu_forward_data': +handlers/swuforward_handler.c:119:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 119 | tmp += written; + | ^~ +In file included from handlers/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 { \ | ^~~ @@ -7030,7 +7353,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/flash_hamming1_handler.c:30: + 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,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 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 { \ | ^~~ @@ -7049,26 +7374,7 @@ 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)); - | ^~~ -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 = {}; - | ^ -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 core/syslog.c:9: +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 { \ | ^~~ @@ -7087,7 +7393,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/lua_scripthandler.c:23: +In file included from 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 { \ | ^~~ @@ -7106,11 +7412,7 @@ 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,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/installer.o core/installer.c - gcc -Wp,-MD,handlers/.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,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/installer.c:27: +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 { \ | ^~~ @@ -7129,7 +7431,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/raw_handler.c:24: +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/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c +In file included from 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 { \ | ^~~ @@ -7148,9 +7464,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/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/readback_handler.o handlers/readback_handler.c - gcc -Wp,-MD,core/.network_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/network_thread.o core/network_thread.c -In file included from handlers/rdiff_handler.c:24: +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 { \ | ^~~ @@ -7169,130 +7483,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 'rdiff_stats': -include/util.h:90:11: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 90 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' - 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", - | ^~~~~ -include/util.h:90:11: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 90 | "ERROR %s : %s : %d : " format, \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' - 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", - | ^~~~~ -include/util.h:97:14: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 97 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' - 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", - | ^~~~~ -include/util.h:97:14: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 97 | "ERROR : " format, ## arg); \ - | ^~~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' - 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", - | ^~~~~ -include/util.h:101:13: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 101 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' - 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", - | ^~~~~ -include/util.h:101:13: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 101 | "[%s] : " format, __func__, ## arg); \ - | ^~~~~~~~~ -include/util.h:117:2: note: in expansion of macro 'swupdate_notify' - 117 | swupdate_notify(RUN, format, TRACELEVEL, ## arg) - | ^~~~~~~~~~~~~~~ -handlers/rdiff_handler.c:176:2: note: in expansion of macro 'TRACE' - 176 | TRACE("%s avail_in=%ld avail_out=%ld result=%s", - | ^~~~~ -handlers/rdiff_handler.c: In function 'apply_rdiff_patch': -handlers/rdiff_handler.c:226:31: warning: ISO C forbids empty initializer braces [-Wpedantic] - 226 | struct rdiff_t rdiff_state = {}; - | ^ -In file included from /usr/include/string.h:495, - from include/util.h:13, - from include/lua_util.h:16, - from corelib/lua_interface.c:17: -In function 'strncpy', - inlined from 'lua_string_to_img' at corelib/lua_interface.c:264:3: -/usr/include/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/network_thread.c:26: +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 { \ | ^~~ @@ -7311,8 +7502,19 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c -In file included from handlers/shell_scripthandler.c:21: +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,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,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,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c + gcc -Wp,-MD,corelib/.swupdate_settings.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c +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 { \ | ^~~ @@ -7331,8 +7533,8 @@ 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 "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/readback_handler.c:18: + 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 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 { \ | ^~~ @@ -7351,10 +7553,10 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ + gcc -Wp,-MD,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,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/.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,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/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/progress_thread.o core/progress_thread.c -In file included from core/stream_interface.c:33: +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 { \ | ^~~ @@ -7373,23 +7575,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/stream_interface.c:33: -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)); - | ^~~ - 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/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 { \ | ^~~ @@ -7408,7 +7594,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/progress_thread.c:27: +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 { \ | ^~~ @@ -7427,7 +7613,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 handlers/swuforward_handler.c:35: + gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/progress_thread.o core/progress_thread.c +In file included from 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 { \ | ^~~ @@ -7446,46 +7633,9 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/swuforward_handler.c: In function 'swu_forward_data': -handlers/swuforward_handler.c:119:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 119 | tmp += written; - | ^~ gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parsing_library.o core/parsing_library.c - gcc -Wp,-MD,corelib/.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,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/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 { \ - | ^~~ -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/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 handlers/swuforward-ws.c:21: + 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 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 { \ | ^~~ @@ -7504,7 +7654,22 @@ 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/stream_interface.c:33: +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: 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 { \ | ^~~ @@ -7523,9 +7688,9 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c - gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c -In file included from handlers/ubivol_handler.c:21: + gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -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 + rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o +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 { \ | ^~~ @@ -7544,22 +7709,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); - | ^~~ - gcc -Wp,-MD,core/.artifacts_versions.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/artifacts_versions.o core/artifacts_versions.c - gcc -Wp,-MD,corelib/.parsing_library_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 mongoose/mongoose_interface.c:32: +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 { \ | ^~~ @@ -7578,15 +7728,7 @@ 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 = {}; - | ^ -In file included from core/artifacts_versions.c:24: +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 { \ | ^~~ @@ -7599,6 +7741,7 @@ 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/.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 include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 116 | #define TRACE(format, arg...) \ | ^~~ @@ -7617,27 +7760,19 @@ core/artifacts_versions.c:239:24: warning: ISO C forbids empty initializer braces [-Wpedantic] 239 | semver_t right_sem = {}; | ^ - 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,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...) \ - | ^~~ -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/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: 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 { \ @@ -7657,109 +7792,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 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...) \ - | ^~~ - 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,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_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c - gcc -Wp,-MD,corelib/.swupdate_settings.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_settings.o corelib/swupdate_settings.c - gcc -Wp,-MD,corelib/.verify_signature.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/verify_signature.o corelib/verify_signature.c -In file included from 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...) \ - | ^~~ -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_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 { \ - | ^~~ -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: -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/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...) \ - | ^~~ 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 + 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 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" @@ -7767,10 +7802,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-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-hawkbitcfg_unstripped -o tools/swupdate-hawkbitcfg; chmod a+x tools/swupdate-hawkbitcfg strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sysrestart_unstripped -o tools/swupdate-sysrestart; chmod a+x tools/swupdate-sysrestart 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 @@ -7829,10 +7864,10 @@ dh_strip -a dh_makeshlibs -a dh_shlibdeps -a +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/i386-linux-gnu/lua/5.2/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_pushnumber: 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_create used by debian/libswupdate0.1/usr/lib/i386-linux-gnu/libswupdate.so.0.1 found in none of the libraries dpkg-shlibdeps: warning: symbol pthread_sigmask used by debian/libswupdate0.1/usr/lib/i386-linux-gnu/libswupdate.so.0.1 found in none of the libraries -dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/i386-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) dh_installdeb debian/rules override_dh_gencontrol make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' @@ -7840,13 +7875,13 @@ make[1]: Leaving directory '/build/reproducible-path/swupdate-2020.11' dh_md5sums dh_builddeb -dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2020.11-2+deb11u1_i386.deb'. +dpkg-deb: building package 'swupdate' in '../swupdate_2020.11-2+deb11u1_i386.deb'. dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2020.11-2+deb11u1_i386.deb'. +dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2020.11-2+deb11u1_i386.deb'. dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2020.11-2+deb11u1_i386.deb'. -dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2020.11-2+deb11u1_i386.deb'. -dpkg-deb: building package 'swupdate' in '../swupdate_2020.11-2+deb11u1_i386.deb'. dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2020.11-2+deb11u1_all.deb'. dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2020.11-2+deb11u1_i386.deb'. +dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2020.11-2+deb11u1_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../swupdate_2020.11-2+deb11u1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -7854,12 +7889,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/10838/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10838/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/65394 and its subdirectories -I: Current time: Thu Mar 14 10:56:01 -12 2024 -I: pbuilder-time-stamp: 1710456961 +I: removing directory /srv/workspace/pbuilder/10838 and its subdirectories +I: Current time: Thu Apr 17 19:21:19 +14 2025 +I: pbuilder-time-stamp: 1744867279