Diff of the two buildlogs: -- --- b1/build.log 2024-03-13 07:10:07.990730685 +0000 +++ b2/build.log 2024-03-13 07:18:48.790841883 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 12 19:04:01 -12 2024 -I: pbuilder-time-stamp: 1710313441 +I: Current time: Wed Mar 13 21:10:24 +14 2024 +I: pbuilder-time-stamp: 1710313824 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./swupdate_2020.11-2+deb11u1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.KcY0M9Yt/trustedkeys.kbx': General error -gpgv: Signature made Tue Dec 19 11:11:41 2023 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.GxzyaNB5/trustedkeys.kbx': General error +gpgv: Signature made Wed Dec 20 13:11:41 2023 +14 gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "bage@debian.org" gpgv: Can't check signature: No public key @@ -30,135 +30,166 @@ dpkg-source: info: applying use-gcc-compiler.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/13590/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24656/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 13 21:10 /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/24656/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24656/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='29a91e48d14b4204ab86b7e8785f6093' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='13590' - PS1='# ' - PS2='> ' + INVOCATION_ID=0d67152dfcab4063b3f8490ab7764199 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=24656 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.ymEfaY89/pbuilderrc_0BGJ --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.ymEfaY89/b1 --logfile b1/build.log swupdate_2020.11-2+deb11u1.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ymEfaY89/pbuilderrc_iXXL --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.ymEfaY89/b2 --logfile b2/build.log swupdate_2020.11-2+deb11u1.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Mar 27 2022 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 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 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 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 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 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 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 47492 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 124508 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 64212 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jan 20 2022 more - -rwsr-xr-x 1 root root 34400 Jan 20 2022 mount - -rwxr-xr-x 1 root root 9824 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 88524 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 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Mar 7 01:40 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jan 20 2022 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Jan 19 21:59 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jan 20 2022 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 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/13590/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Mar 28 2022 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 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 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 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 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 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 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 47492 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 124508 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 64212 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jan 21 2022 more + -rwsr-xr-x 1 root root 34400 Jan 21 2022 mount + -rwxr-xr-x 1 root root 9824 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 88524 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 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Mar 13 21:10 sh -> /bin/bash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jan 21 2022 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Jan 20 23:59 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jan 21 2022 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 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/24656/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -448,7 +479,7 @@ Get: 202 http://deb.debian.org/debian bullseye/main armhf tipa all 2:1.3-20.1 [2978 kB] Get: 203 http://deb.debian.org/debian bullseye/main armhf texlive-xetex all 2020.20210202-3 [12.5 MB] Get: 204 http://deb.debian.org/debian bullseye/main armhf texlive-formats-extra all 2020.20210202-3 [4711 kB] -Fetched 181 MB in 2s (94.7 MB/s) +Fetched 181 MB in 3s (54.1 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 ... 19454 files and directories currently installed.) @@ -1330,7 +1361,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/swupdate-2020.11/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../swupdate_2020.11-2+deb11u1_source.changes +I: user script /srv/workspace/pbuilder/24656/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/24656/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/swupdate-2020.11/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../swupdate_2020.11-2+deb11u1_source.changes dpkg-buildpackage: info: source package swupdate dpkg-buildpackage: info: source version 2020.11-2+deb11u1 dpkg-buildpackage: info: source distribution bullseye @@ -1340,7 +1375,7 @@ debian/rules clean dh clean --with sysuser,lua dh_auto_clean - make -j3 distclean + make -j4 distclean make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' /build/reproducible-path/swupdate-2020.11 rm -rf /build/reproducible-path/swupdate-2020.11/doc/build/* @@ -3103,14 +3138,16 @@ 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 -j3 "INSTALL=install --strip-program=true" V=1 + make -j4 "INSTALL=install --strip-program=true" V=1 make[2]: Entering directory '/build/reproducible-path/swupdate-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 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 gcc -Wp,-MD,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/dummy_handler.o handlers/dummy_handler.c + gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/channel_curl.o corelib/channel_curl.c In file included from handlers/dummy_handler.c:17: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -3150,36 +3187,7 @@ 119 | #define DEBUG(format, arg...) \ | ^~~ 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 -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...) \ - | ^~~ - 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 -core/swupdate.c: In function 'usage': -core/swupdate.c:120:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 120 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,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 -Wl,-z,relro -Wl,-z,now -nostdlib -r -o ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o -make -f scripts/Makefile.build obj=corelib - gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/channel_curl.o corelib/channel_curl.c - gcc -Wp,-MD,handlers/.boot_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/boot_handler.o handlers/boot_handler.c -In file included from handlers/boot_handler.c:20: +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 { \ | ^~~ @@ -3198,7 +3206,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/channel_curl.c:24: +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 { \ | ^~~ @@ -3217,31 +3225,16 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,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,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 +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__); + | ^~~~~~~~ corelib/channel_curl.c: In function 'channel_new': corelib/channel_curl.c:105:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 105 | newchan->priv = (void *)newchan + sizeof(*newchan); | ^ -In file included from handlers/flash_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...) \ - | ^~~ - gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c + gcc -Wp,-MD,ipc/.progress_ipc.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o ipc/progress_ipc.o ipc/progress_ipc.c 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] @@ -3255,932 +3248,14 @@ 846 | output_data_t outdata = {}; | ^ corelib/channel_curl.c: In function 'channel_get': -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...) \ - | ^~~ corelib/channel_curl.c:1227:26: warning: ISO C forbids empty initializer braces [-Wpedantic] 1227 | output_data_t outdata = {}; | ^ -core/cpio_utils.c: In function 'copy_write': -core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 144 | buf += ret; - | ^~ - gcc -Wp,-MD,handlers/.diskpart_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/diskpart_handler.o handlers/diskpart_handler.c -In file included from 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); - | ^~~~~ -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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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,handlers/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c -In file included from 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...) \ - | ^~~ -handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/flash_hamming1_handler.c:221:24: note: in expansion of macro 'min' - 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); - | ^~~ - gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/notifier.o core/notifier.c -In file included from 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': -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 - 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/.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/.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 handlers/lua_scripthandler.c:23: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -In file included from include/lua_util.h:16, - from 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...) \ - | ^~~ -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,handlers/.raw_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/raw_handler.o handlers/raw_handler.c - gcc -Wp,-MD,core/.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/raw_handler.c:24: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,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/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=] -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 -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...) \ - | ^~~ -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,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 handlers/rdiff_handler.c:24: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -handlers/rdiff_handler.c: In function '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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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,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/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...) \ - | ^~~ - 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/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/pctl.o core/pctl.c - gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/mtd-interface.o corelib/mtd-interface.c -In file included from core/pctl.c:22: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -In file included from core/pctl.c:22: -core/pctl.c: In function 'run_system_cmd': -include/util.h:162:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 162 | #define max(a, b) ({\ - | ^ -core/pctl.c:314:18: note: in expansion of macro 'max' - 314 | ret = select(max(fds[0], fds[1]) + 1, &readfds, NULL, NULL, &tv); - | ^~~ -In file included from 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 { \ - | ^~~ -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: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:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,handlers/.shell_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/shell_scripthandler.o handlers/shell_scripthandler.c -In file included from 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 - gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c -In file included from handlers/ssbl_handler.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -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 { \ - | ^~~ -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 core/syslog.c:9: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ - 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_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/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/installer.o core/installer.c -In file included from handlers/swuforward_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...) \ - | ^~~ -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 { \ - | ^~~ -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; - | ^~ -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/installer.c:27: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,corelib/.swupdate_cms_verify.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_cms_verify.o corelib/swupdate_cms_verify.c -In file included from corelib/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,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c -In file included from handlers/swuforward-ws.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ - gcc -Wp,-MD,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/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c -In file included from core/network_thread.c:26: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ -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,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c - gcc -Wp,-MD,corelib/.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 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/.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 -handlers/ubivol_handler.c: In function 'swap_volume': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:588:40: note: in expansion of macro 'min' - 588 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); - | ^~~ -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/ubivol_handler.c:593:40: note: in expansion of macro 'min' - 593 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); - | ^~~ -In file included from 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 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 { \ - | ^~~ -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/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,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/verify_signature.c:16: + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o +make -f scripts/Makefile.build obj=mongoose + 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,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: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -4199,13 +3274,6 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - 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=mongoose - 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 -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=parser - gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parse_external.o parser/parse_external.c - gcc -Wp,-MD,core/.progress_thread.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/progress_thread.o core/progress_thread.c mongoose/mongoose.c: In function 'mg_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)); @@ -4256,7 +3324,6 @@ | ~^ | | | void * - gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parser.o parser/parser.c mongoose/mongoose.c:2297:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2297 | DBG(("%p after %s flags=0x%lx rmbl=%d smbl=%d", nc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4538,25 +3605,6 @@ | ~^ | | | void * -In file included from parser/parser.c:21: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -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_accept_conn': 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())); @@ -4574,25 +3622,6 @@ | ~^ | | | void * -In file included from core/progress_thread.c:27: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ 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), | ^~~~~~~~~~~~~~~~~~~~ ~~ @@ -4626,6 +3655,7 @@ | ~^ | | | 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: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -4676,6 +3706,25 @@ | ~^ | | | void * +In file included from handlers/flash_handler.c:30: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +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_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 : ""), @@ -4760,7 +3809,6 @@ | ~^ | | | void * - gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parsing_library.o core/parsing_library.c mongoose/mongoose.c: 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)); @@ -4840,6 +3888,7 @@ | ~^ | | | void * + gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c mongoose/mongoose.c: 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)); @@ -4855,25 +3904,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_http_serve_file': -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...) \ - | ^~~ 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)); | ^~~~~~~~~~~~~~ ~~ @@ -4887,19 +3917,6 @@ | ~^ | | | void * -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) - | ^~~~~~~~~ mongoose/mongoose.c: In function 'mg_scan_directory': mongoose/mongoose.c:7754:18: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7754 | LOG(LL_DEBUG, ("%p [%s]", nc, dir)); @@ -4980,6 +3997,25 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ +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:8461:14: note: format string is defined here 8461 | ("%p Receiving file %s -> %s", nc, mp->file_name, fus->lfn)); | ~^ @@ -5096,7 +4132,6 @@ | ~^ | | | void * - 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 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 " @@ -5127,8 +4162,29 @@ | ~^ | | | 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 +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_resolve_async_opt': -In file included from core/artifacts_versions.c:24: +mongoose/mongoose.c:12053:8: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct mg_connection **' [-Wformat=] +12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); + | ^~~~~~~~~~ ~~~~~~~~~~~~~ + | | + | struct mg_connection ** +mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' + 505 | cs_log_printf x; \ + | ^ +mongoose/mongoose.c:12053:3: note: in expansion of macro 'DBG' +12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); + | ^~~ +mongoose/mongoose.c:12053:16: note: format string is defined here +12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); + | ~^ + | | + | void * +In file included from 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 { \ | ^~~ @@ -5147,38 +4203,103 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -mongoose/mongoose.c:12053:8: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct mg_connection **' [-Wformat=] -12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); - | ^~~~~~~~~~ ~~~~~~~~~~~~~ - | | - | struct mg_connection ** -mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' - 505 | cs_log_printf x; \ - | ^ -mongoose/mongoose.c:12053:3: note: in expansion of macro 'DBG' -12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); - | ^~~ -mongoose/mongoose.c:12053:16: note: format string is defined here -12053 | DBG(("%s %d %p", name, query, opts.dns_conn)); - | ~^ - | | - | void * -core/artifacts_versions.c: In function 'read_sw_version_file': -core/artifacts_versions.c:57:20: warning: ISO C does not support the 'm' scanf flag [-Wformat=] - 57 | ret = fscanf(fp, "%ms %ms", &name, &version); - | ^~~~~~~~~ -core/artifacts_versions.c:57:20: warning: ISO C does not support the 'm' scanf flag [-Wformat=] -core/artifacts_versions.c: In function 'compare_versions': -core/artifacts_versions.c:238:23: warning: ISO C forbids empty initializer braces [-Wpedantic] - 238 | semver_t left_sem = {}; - | ^ -core/artifacts_versions.c:239:24: warning: ISO C forbids empty initializer braces [-Wpedantic] - 239 | semver_t right_sem = {}; - | ^ - gcc -Wp,-MD,core/.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 parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o - gcc -Wp,-MD,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/semver.o core/semver.c -In file included from core/swupdate_dict.c:22: +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); + | ^~~~~ +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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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,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 { \ | ^~~ @@ -5197,8 +4318,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,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 mongoose/mongoose_interface.c:32: + gcc -Wp,-MD,handlers/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c +In file included from 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 { \ | ^~~ @@ -5217,18 +4338,16 @@ 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 -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 -make -f scripts/Makefile.build obj=suricatta - gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/common.o suricatta/common.c -In file included from suricatta/common.c:12: +handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/flash_hamming1_handler.c:221:24: note: in expansion of macro 'min' + 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); + | ^~~ + gcc -Wp,-MD,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_compat.o corelib/lua_compat.c +In file included from include/lua_util.h:16, + from 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 { \ | ^~~ @@ -5247,8 +4366,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 -In file included from suricatta/server_hawkbit.c:18: + gcc -Wp,-MD,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_interface.o corelib/lua_interface.c +In file included from 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 { \ | ^~~ @@ -5267,32 +4387,20 @@ 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 - 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 bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o -make -f scripts/Makefile.build obj=tools - gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-client.o tools/swupdate-client.c - gcc -Wp,-MD,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,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 -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,tools/.swupdate-sendtohawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sendtohawkbit.o tools/swupdate-sendtohawkbit.c - gcc -Wp,-MD,tools/.swupdate-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c -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 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 -make -f scripts/Makefile.build obj=bindings - 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,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: +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/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/notifier.o core/notifier.c +In file included from 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 { \ | ^~~ @@ -5311,16 +4419,80 @@ 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())) { - | ^~~ - 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: +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 + gcc -Wp,-MD,handlers/.lua_scripthandler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/lua_scripthandler.o handlers/lua_scripthandler.c +In file included from /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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 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 { \ | ^~~ @@ -5339,12 +4511,10 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o - gcc -Wp,-MD,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 - /build/reproducible-path/swupdate-2020.11/scripts/trylink "libswupdate.so.0.1" "gcc" "-shared -Wl,-soname,libswupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " + gcc -Wp,-MD,core/.handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/handler.o core/handler.c + gcc -Wp,-MD,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 include/lua_util.h:16, - from include/../corelib/lua_compat.c:9, - from bindings/lua_compat_shared.c:1: + 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 { \ | ^~~ @@ -5363,33 +4533,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o - /build/reproducible-path/swupdate-2020.11/scripts/trylink "lua_swupdate.so.0.1" "gcc" "-shared -Wl,-soname,lua_swupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "bindings/built-in.o ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " - 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" - /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-hawkbitcfg" "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-hawkbitcfg.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 - /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" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-hawkbitcfg_unstripped -o tools/swupdate-hawkbitcfg; chmod a+x tools/swupdate-hawkbitcfg - /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" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress - /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-sysrestart" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-sysrestart.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit - strip -s --remove-section=.note --remove-section=.comment swupdate_unstripped -o swupdate; chmod a+x swupdate - strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sysrestart_unstripped -o tools/swupdate-sysrestart; chmod a+x tools/swupdate-sysrestart -make[2]: Leaving directory '/build/reproducible-path/swupdate-2020.11' -make[1]: Leaving directory '/build/reproducible-path/swupdate-2020.11' - debian/rules override_dh_auto_test -make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' -dh_auto_test -- V=1 - make -j3 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 - gcc -Wp,-MD,test/.test_hash.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-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_hash.o test/test_hash.c - gcc -Wp,-MD,test/.test_json.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-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_json.o test/test_json.c -In file included from test/test_crypt.c:25: +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 { \ | ^~~ @@ -5408,8 +4552,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,test/.test_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 -Itest/../ -D"KBUILD_STR(s)=#s" -c -o test/test_server_hawkbit.o test/test_server_hawkbit.c -In file included from test/test_hash.c:24: + 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 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 { \ | ^~~ @@ -5428,7 +4572,18 @@ 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: +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/.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 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 { \ | ^~~ @@ -5447,63 +4602,67 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o - /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_json" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_json.c`" "test/test_json.o core/built-in.o.tmp handlers/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" -In file included from /usr/include/string.h:495, - from test/test_server_hawkbit.c:22: -In function 'strncpy', - inlined from '__wrap_channel_get_file' at test/test_server_hawkbit.c:99:2: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 41 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o - /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_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" -strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o - /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_hash" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_hash.c`" "test/test_hash.o core/built-in.o.tmp handlers/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" -strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o - /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_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" -RUN test_crypt -1..4 -ok 1 - test_crypt_128 -ok 2 - test_crypt_192 -ok 3 - test_crypt_256 -ok 4 - test_crypt_failure -# ok - crypt -RUN test_hash -1..2 -ok 1 - test_hash_compare -ok 2 - test_hash_vectors -# ok - hash -RUN test_json -1..2 -ok 1 - test_json_get_key -ok 2 - test_json_get_path_key -# ok - json -RUN test_server_hawkbit -1..6 -ok 1 - test_server_install_update -ok 2 - test_server_send_deployment_reply -ok 3 - test_server_send_cancel_reply -ok 4 - test_server_process_update_artifact -ok 5 - test_server_set_polling_interval_json -ok 6 - test_server_has_pending_action -# ok - server_hawkbit -make[2]: Leaving directory '/build/reproducible-path/swupdate-2020.11' -make[1]: Leaving directory '/build/reproducible-path/swupdate-2020.11' - create-stamp debian/debhelper-build-stamp - dh_prep - debian/rules override_dh_auto_install -make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' -dh_auto_install -- V=1 - make -j3 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 - gcc -Wp,-MD,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/dummy_handler.o handlers/dummy_handler.c - gcc -Wp,-MD,core/.swupdate.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate.o core/swupdate.c -In file included from handlers/dummy_handler.c:17: +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 = {}; + | ^ + 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 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 { \ | ^~~ @@ -5522,7 +4681,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 core/swupdate.c:30: + 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,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 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 { \ | ^~~ @@ -5541,8 +4702,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,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 -In file included from handlers/archive_handler.c:25: + gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/readback_handler.o handlers/readback_handler.c +In file included from 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 { \ | ^~~ @@ -5561,17 +4722,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,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 -core/swupdate.c: In function 'usage': -core/swupdate.c:120:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 120 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); - | ^~~~~~~~ - gcc -Wp,-MD,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 -Wl,-z,relro -Wl,-z,now -nostdlib -r -o ipc/built-in.o ipc/network_ipc.o ipc/network_ipc-if.o ipc/progress_ipc.o -make -f scripts/Makefile.build obj=corelib - gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/channel_curl.o corelib/channel_curl.c - gcc -Wp,-MD,handlers/.boot_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/boot_handler.o handlers/boot_handler.c -In file included from handlers/boot_handler.c:20: + 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/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 { \ | ^~~ @@ -5590,7 +4743,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/channel_curl.c:24: +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 { \ | ^~~ @@ -5609,12 +4762,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.flash_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 -corelib/channel_curl.c: In function 'channel_new': -corelib/channel_curl.c:105:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 105 | newchan->priv = (void *)newchan + sizeof(*newchan); - | ^ -In file included from handlers/flash_handler.c:30: +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 { \ | ^~~ @@ -5633,24 +4781,17 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/channel_curl.c:24: -corelib/channel_curl.c: In function 'put_read_callback': - 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 -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ +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) ({\ | ^ -corelib/channel_curl.c:746:6: note: in expansion of macro 'min' - 746 | n = min(bytes, size * nmemb); - | ^~~ -corelib/channel_curl.c: In function 'channel_post_method': -corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] - 846 | output_data_t outdata = {}; - | ^ -corelib/channel_curl.c: In function 'channel_get': -corelib/channel_curl.c:1227:26: warning: ISO C forbids empty initializer braces [-Wpedantic] - 1227 | output_data_t outdata = {}; - | ^ -In file included from core/cpio_utils.c:22: +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,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,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/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 { \ | ^~~ @@ -5669,12 +4810,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -core/cpio_utils.c: In function 'copy_write': -core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 144 | buf += ret; - | ^~ - gcc -Wp,-MD,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/diskpart_handler.c:20: + gcc -Wp,-MD,handlers/.ssbl_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ssbl_handler.o handlers/ssbl_handler.c +In file included from corelib/swupdate_cms_verify.c:16: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -5693,103 +4830,7 @@ 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); - | ^~~~~ -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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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,handlers/.flash_hamming1_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_hamming1_handler.o handlers/flash_hamming1_handler.c -In file included from handlers/flash_hamming1_handler.c:30: +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 { \ | ^~~ @@ -5808,15 +4849,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/flash_hamming1_handler.c: In function 'flash_write_nand_hamming1': -include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 167 | #define min(a, b) ({\ - | ^ -handlers/flash_hamming1_handler.c:221:24: note: in expansion of macro 'min' - 221 | cnt = read(fd, page, min(mtd->min_io_size, imglen)); - | ^~~ - gcc -Wp,-MD,core/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/notifier.o core/notifier.c -In file included from core/notifier.c:21: + gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c +In file included from core/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 { \ | ^~~ @@ -5835,17 +4869,10 @@ 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 - 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/.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 handlers/lua_scripthandler.c:23: + 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/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c + gcc -Wp,-MD,core/.syslog.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/syslog.o core/syslog.c +In file included from handlers/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 { \ | ^~~ @@ -5864,8 +4891,11 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,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 -In file included from corelib/downloader.c:12: +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 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 { \ | ^~~ @@ -5884,9 +4914,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/.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 include/lua_util.h:16, - from core/handler.c:17: +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 { \ | ^~~ @@ -5905,7 +4933,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/raw_handler.c:24: + gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/installer.o core/installer.c + 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/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 { \ | ^~~ @@ -5924,10 +4954,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 - 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 include/lua_util.h:16, - from corelib/lua_compat.c:9: +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 { \ | ^~~ @@ -5946,8 +4973,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,corelib/.lua_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_interface.o corelib/lua_interface.c -In file included from core/util.c:28: + 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/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c +In file included from handlers/swuforward-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 { \ | ^~~ @@ -5966,18 +4994,7 @@ 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 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 { \ | ^~~ @@ -5996,20 +5013,11 @@ 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,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 handlers/rdiff_handler.c:24: + 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 -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 +make -f scripts/Makefile.build obj=parser + 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 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 { \ | ^~~ @@ -6028,131 +5036,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -handlers/rdiff_handler.c: In function '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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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,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/parser.c:17: + gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parser.o parser/parser.c +In file included from 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 { \ | ^~~ @@ -6171,10 +5056,8 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.readback_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/readback_handler.o handlers/readback_handler.c - gcc -Wp,-MD,corelib/.mtd-interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/mtd-interface.o corelib/mtd-interface.c - gcc -Wp,-MD,core/.pctl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/pctl.o core/pctl.c -In file included from corelib/mtd-interface.c:20: + 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/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 { \ | ^~~ @@ -6193,7 +5076,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/readback_handler.c:18: +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/.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/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 { \ | ^~~ @@ -6212,7 +5109,28 @@ 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: +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)); + | ^~~ + rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.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 -Wl,-z,relro -Wl,-z,now -nostdlib -r -o handlers/built-in.o handlers/dummy_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/flash_handler.o handlers/diskpart_handler.o handlers/flash_hamming1_handler.o handlers/lua_scripthandler.o handlers/raw_handler.o handlers/rdiff_handler.o handlers/readback_handler.o handlers/shell_scripthandler.o handlers/ssbl_handler.o handlers/swuforward_handler.o handlers/swuforward-ws.o handlers/ubivol_handler.o +make -f scripts/Makefile.build obj=bootloader + gcc -Wp,-MD,bootloader/.none.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o bootloader/none.o bootloader/none.c +In file included from 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 { \ | ^~~ @@ -6231,16 +5149,11 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from core/pctl.c:22: -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,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: + rm -f bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o +make -f scripts/Makefile.build obj=tools + gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-client.o tools/swupdate-client.c + gcc -Wp,-MD,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c +In file included from 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 { \ | ^~~ @@ -6259,8 +5172,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/.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,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,tools/.swupdate-hawkbitcfg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-hawkbitcfg.o tools/swupdate-hawkbitcfg.c +In file included from core/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 { \ | ^~~ @@ -6279,9 +5193,17 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,core/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c - gcc -Wp,-MD,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 core/state.c:12: +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,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 +tools/swupdate-progress.c: In function 'usage': +tools/swupdate-progress.c:78:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 78 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + gcc -Wp,-MD,core/.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: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6300,7 +5222,23 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from corelib/parsing_library_libconfig.c:19: +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,tools/.swupdate-sendtohawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sendtohawkbit.o tools/swupdate-sendtohawkbit.c + gcc -Wp,-MD,core/.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-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c +In file included from core/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 { \ | ^~~ @@ -6319,13 +5257,28 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c - gcc -Wp,-MD,core/.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/.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: +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 = {}; + | ^ +tools/swupdate-sysrestart.c: In function 'usage': +tools/swupdate-sysrestart.c:56:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 56 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ + gcc -Wp,-MD,core/.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/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 { \ | ^~~ + 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 include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 107 | #define ERROR(format, arg...) \ | ^~~ @@ -6341,7 +5294,13 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ -In file included from handlers/swuforward_handler.c:35: +make -f scripts/Makefile.build obj=bindings + gcc -Wp,-MD,bindings/.auxiliar.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/auxiliar.o bindings/auxiliar.c + gcc -Wp,-MD,mongoose/.mongoose_interface.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 -DMG_ENABLE_HTTP_WEBSOCKET=1 -DMG_ENABLE_THREADS=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSL=1 -DMG_SSL_IF=MG_SSL_IF_OPENSSL -D"KBUILD_STR(s)=#s" -c -o mongoose/mongoose_interface.o mongoose/mongoose_interface.c + 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,core/.semver.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/semver.o core/semver.c +In file included from include/lua_util.h:16, + from 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 { \ | ^~~ @@ -6360,7 +5319,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/parsing_library_libjson.c:19: +In file included from mongoose/mongoose_interface.c:32: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6379,12 +5338,18 @@ 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/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/installer.o core/installer.c -In file included from core/installer.c:27: +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,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c +In file included from include/lua_util.h:16, + from 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 { \ | ^~~ @@ -6403,8 +5368,12 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,corelib/.swupdate_cms_verify.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_cms_verify.o corelib/swupdate_cms_verify.c -In file included from corelib/swupdate_cms_verify.c:16: + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o + /build/reproducible-path/swupdate-2020.11/scripts/trylink "libswupdate.so.0.1" "gcc" "-shared -Wl,-soname,libswupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " + gcc -Wp,-MD,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c + gcc -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 +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 { \ | ^~~ @@ -6423,8 +5392,40 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.swuforward-ws.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward-ws.o handlers/swuforward-ws.c -In file included from handlers/swuforward-ws.c:21: +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())) { + | ^~~ + /build/reproducible-path/swupdate-2020.11/scripts/trylink "lua_swupdate.so.0.1" "gcc" "-shared -Wl,-soname,lua_swupdate.so.0.1" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "bindings/built-in.o ipc/built-in.o" "" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser " + rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.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" + /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-hawkbitcfg" "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-hawkbitcfg.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-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" + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-client_unstripped -o tools/swupdate-client; chmod a+x tools/swupdate-client + /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" + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-hawkbitcfg_unstripped -o tools/swupdate-hawkbitcfg; chmod a+x tools/swupdate-hawkbitcfg + /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-sysrestart" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 " "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -Wl,-E -L/build/reproducible-path/swupdate-2020.11" "tools/swupdate-sysrestart.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser :libswupdate.so.0.1" + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit + strip -s --remove-section=.note --remove-section=.comment tools/swupdate-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' +make[1]: Leaving directory '/build/reproducible-path/swupdate-2020.11' + debian/rules override_dh_auto_test +make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' +dh_auto_test -- V=1 + make -j4 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 + gcc -Wp,-MD,test/.test_hash.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-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_hash.o test/test_hash.c + gcc -Wp,-MD,test/.test_json.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-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_json.o test/test_json.c + gcc -Wp,-MD,test/.test_server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-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_server_hawkbit.o test/test_server_hawkbit.c +In file included from test/test_crypt.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 { \ | ^~~ @@ -6443,9 +5444,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/.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/.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/network_thread.c:26: +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 { \ | ^~~ @@ -6464,7 +5463,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/swupdate_decrypt.c:17: +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 { \ | ^~~ @@ -6483,9 +5484,63 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wp,-MD,handlers/.ubivol_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/ubivol_handler.o handlers/ubivol_handler.c - gcc -Wp,-MD,corelib/.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_settings.c:24: +In file included from /usr/include/string.h:495, + from test/test_server_hawkbit.c:22: +In function 'strncpy', + inlined from '__wrap_channel_get_file' at test/test_server_hawkbit.c:99:2: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 41 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o + /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_server_hawkbit" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_server_hawkbit.c`" "test/test_server_hawkbit.o core/built-in.o.tmp handlers/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" +strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o + /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_hash" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_hash.c`" "test/test_hash.o core/built-in.o.tmp handlers/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" +strip -N main -o /build/reproducible-path/swupdate-2020.11/core/built-in.o.tmp /build/reproducible-path/swupdate-2020.11/core/built-in.o + /build/reproducible-path/swupdate-2020.11/scripts/trylink "test/test_crypt" "gcc" "-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2" "-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now `/usr/bin/gawk '/^[^(extern)|(static)]*([\*_[:alnum:]]+[[:blank:]]+)+[\*]*__wrap_/{where = match($0,"__wrap_[_[:alnum:]]+"); if (RSTART > 0) { print "-Wl,--wrap=" substr($0, RSTART+7, RLENGTH-7);}}' test/test_crypt.c`" "test/test_crypt.o core/built-in.o.tmp handlers/built-in.o" "corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a libswupdate.so.0.1" "pthread lua5.2 curl config archive json-c crypto ssl ubi mtd z zstd fdisk rsync systemd websockets uriparser cmocka" +RUN test_crypt +1..4 +ok 1 - test_crypt_128 +ok 2 - test_crypt_192 +ok 3 - test_crypt_256 +ok 4 - test_crypt_failure +# ok - crypt +RUN test_hash +1..2 +ok 1 - test_hash_compare +ok 2 - test_hash_vectors +# ok - hash +RUN test_json +1..2 +ok 1 - test_json_get_key +ok 2 - test_json_get_path_key +# ok - json +RUN test_server_hawkbit +1..6 +ok 1 - test_server_install_update +ok 2 - test_server_send_deployment_reply +ok 3 - test_server_send_cancel_reply +ok 4 - test_server_process_update_artifact +ok 5 - test_server_set_polling_interval_json +ok 6 - test_server_has_pending_action +# ok - server_hawkbit +make[2]: Leaving directory '/build/reproducible-path/swupdate-2020.11' +make[1]: Leaving directory '/build/reproducible-path/swupdate-2020.11' + create-stamp debian/debhelper-build-stamp + dh_prep + debian/rules override_dh_auto_install +make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' +dh_auto_install -- V=1 + make -j4 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 +make -f scripts/Makefile.build obj=corelib + 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,handlers/.dummy_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/dummy_handler.o handlers/dummy_handler.c + gcc -Wp,-MD,corelib/.channel_curl.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/channel_curl.o corelib/channel_curl.c + gcc -Wp,-MD,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 handlers/dummy_handler.c:17: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ | ^~~ @@ -6504,7 +5559,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/ubivol_handler.c:21: +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 { \ | ^~~ @@ -6523,22 +5578,8 @@ 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/.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,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 core/stream_interface.c:33: + 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 +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 { \ | ^~~ @@ -6557,22 +5598,56 @@ 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': +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...) \ + | ^~~ + 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 +corelib/channel_curl.c: In function 'channel_new': +corelib/channel_curl.c:105:35: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 105 | newchan->priv = (void *)newchan + sizeof(*newchan); + | ^ +core/swupdate.c: In function 'usage': +core/swupdate.c:120:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 120 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); + | ^~~~~~~~ +In file included from corelib/channel_curl.c:24: +corelib/channel_curl.c: In function 'put_read_callback': include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 167 | #define min(a, b) ({\ | ^ -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 corelib/verify_signature.c:16: +corelib/channel_curl.c:746:6: note: in expansion of macro 'min' + 746 | n = min(bytes, size * nmemb); + | ^~~ + 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 +corelib/channel_curl.c: In function 'channel_post_method': +corelib/channel_curl.c:846:26: warning: ISO C forbids empty initializer braces [-Wpedantic] + 846 | output_data_t outdata = {}; + | ^ +corelib/channel_curl.c: In function 'channel_get': +corelib/channel_curl.c:1227:26: warning: ISO C forbids empty initializer braces [-Wpedantic] + 1227 | output_data_t outdata = {}; + | ^ + 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,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 +make -f scripts/Makefile.build obj=mongoose + 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 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 { \ | ^~~ @@ -6591,12 +5666,7 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - 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=mongoose - 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 -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=parser - gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parse_external.o parser/parse_external.c + gcc -Wp,-MD,handlers/.flash_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/flash_handler.o handlers/flash_handler.c 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)); @@ -6678,7 +5748,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_mgr_init_opt': - 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: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)); | ^~~~~~~~~~~~~ ~ @@ -6803,6 +5872,25 @@ | ~^ | | | void * +In file included from handlers/flash_handler.c:30: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +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_can_send_cb': mongoose/mongoose.c:2937:14: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 2937 | DBG(("%p -> %d bytes (SSL)", nc, n)); @@ -6963,26 +6051,6 @@ | | | void * mongoose/mongoose.c: In function 'mg_mgr_handle_conn': - 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 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: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -7049,25 +6117,6 @@ | ~^ | | | void * -In file included from core/progress_thread.c:27: -include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 84 | #define swupdate_notify(status, format, level, arg...) do { \ - | ^~~ -include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 107 | #define ERROR(format, arg...) \ - | ^~~ -include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 110 | #define WARN(format, arg...) \ - | ^~~ -include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 113 | #define INFO(format, arg...) \ - | ^~~ -include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 116 | #define TRACE(format, arg...) \ - | ^~~ -include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] - 119 | #define DEBUG(format, arg...) \ - | ^~~ 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 : ""), @@ -7169,6 +6218,7 @@ | ~^ | | | void * + gcc -Wp,-MD,core/.cpio_utils.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/cpio_utils.o core/cpio_utils.c mongoose/mongoose.c: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -7268,7 +6318,6 @@ mongoose/mongoose.c:505:21: note: in definition of macro 'LOG' 505 | cs_log_printf x; \ | ^ - gcc -Wp,-MD,core/.parsing_library.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/parsing_library.o core/parsing_library.c mongoose/mongoose.c:7754:20: note: format string is defined here 7754 | LOG(LL_DEBUG, ("%p [%s]", nc, dir)); | ~^ @@ -7288,6 +6337,25 @@ | | | void * mongoose/mongoose.c: In function 'mg_reverse_proxy_handler': +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:7898:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 7898 | DBG(("%p: upstream closed", nc)); | ^~~~~~~~~~~~~~~~~~~~~ ~~ @@ -7304,6 +6372,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_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, @@ -7371,38 +6440,6 @@ | ~^ | | | void * -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) - | ^~~~~~~~~ mongoose/mongoose.c: In function 'mg_cgi_ev_handler': mongoose/mongoose.c:9229:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct mg_connection *' [-Wformat=] 9229 | DBG(("%p CLOSE", cgi_nc)); @@ -7421,6 +6458,25 @@ | | | void * mongoose/mongoose.c: In function 'mg_handle_cgi': +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: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)); | ^~~~~~~~~ ~~ @@ -7432,11 +6488,94 @@ mongoose/mongoose.c:9245:3: note: in expansion of macro 'DBG' 9245 | DBG(("%p [%s]", nc, prog)); | ^~~ +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:9245:10: note: format string is defined here 9245 | DBG(("%p [%s]", nc, prog)); | ~^ | | | 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_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)); @@ -7488,7 +6627,23 @@ | ~^ | | | void * +core/cpio_utils.c: In function 'copy_write': +core/cpio_utils.c:144:7: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 144 | buf += ret; + | ^~ mongoose/mongoose.c: In function 'mqtt_handler': +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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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: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 " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7535,8 +6690,9 @@ | ~^ | | | void * - 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/artifacts_versions.c:24: + 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 + 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 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 { \ | ^~~ @@ -7555,22 +6711,780 @@ 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 = {}; +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 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,corelib/.lua_compat.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/lua_compat.o corelib/lua_compat.c +In file included from include/lua_util.h:16, + from 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 +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...) \ + | ^~~ +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 = {}; | ^ - rm -f parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o +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,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/.notifier.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/notifier.o core/notifier.c +In file included from handlers/lua_scripthandler.c:23: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +In file included from 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': +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 + 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 handlers/raw_handler.c:24: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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,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 +In file included from include/lua_util.h:16, + from core/handler.c:17: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,handlers/.rdiff_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/rdiff_handler.o handlers/rdiff_handler.c + gcc -Wp,-MD,core/.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 { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +handlers/rdiff_handler.c: In function '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 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,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 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,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/.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/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: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 +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 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/.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,corelib/.parsing_library_libjson.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/parsing_library_libjson.o corelib/parsing_library_libjson.c +In file included from handlers/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...) \ + | ^~~ +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,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/.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: +include/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/pctl.c:22: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +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,handlers/.swuforward_handler.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o handlers/swuforward_handler.o handlers/swuforward_handler.c +In file included from corelib/swupdate_cms_verify.c:16: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +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...) \ + | ^~~ +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/.state.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/state.o core/state.c + gcc -Wp,-MD,corelib/.swupdate_decrypt.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o corelib/swupdate_decrypt.o corelib/swupdate_decrypt.c +In file included from 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 { \ + | ^~~ +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/.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/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,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/syslog.c:9: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ + gcc -Wp,-MD,core/.installer.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/installer.o core/installer.c +In file included from handlers/swuforward-ws.c:21: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +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 core/installer.c:27: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +In file included from 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/.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 corelib/verify_signature.c:16: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +In file included from handlers/ubivol_handler.c:21: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +handlers/ubivol_handler.c: In function 'swap_volume': +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:588:40: note: in expansion of macro 'min' + 588 | rnvol.ents[2 * count + 0].name_len = min(strlen(name[1]), UBI_MAX_VOLUME_NAME); + | ^~~ +include/util.h:167:19: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 167 | #define min(a, b) ({\ + | ^ +handlers/ubivol_handler.c:593:40: note: in expansion of macro 'min' + 593 | rnvol.ents[2 * count + 1].name_len = min(strlen(name[0]), UBI_MAX_VOLUME_NAME); + | ^~~ + rm -f corelib/lib.a; ar rcs corelib/lib.a corelib/channel_curl.o corelib/downloader.o corelib/lua_compat.o corelib/lua_interface.o corelib/mtd-interface.o corelib/parsing_library_libconfig.o corelib/parsing_library_libjson.o corelib/swupdate_cms_verify.o corelib/swupdate_decrypt.o corelib/swupdate_settings.o corelib/verify_signature.o + 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 +make -f scripts/Makefile.build obj=parser + gcc -Wp,-MD,parser/.parse_external.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parse_external.o parser/parse_external.c + gcc -Wp,-MD,parser/.parser.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o parser/parser.o parser/parser.c +In file included from core/network_thread.c:26: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ +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...) \ + | ^~~ + gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o handlers/built-in.o handlers/dummy_handler.o handlers/archive_handler.o handlers/boot_handler.o handlers/flash_handler.o handlers/diskpart_handler.o handlers/flash_hamming1_handler.o handlers/lua_scripthandler.o handlers/raw_handler.o handlers/rdiff_handler.o handlers/readback_handler.o handlers/shell_scripthandler.o handlers/ssbl_handler.o handlers/swuforward_handler.o handlers/swuforward-ws.o handlers/ubivol_handler.o + gcc -Wp,-MD,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 make -f scripts/Makefile.build obj=suricatta gcc -Wp,-MD,suricatta/.common.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/common.o suricatta/common.c - gcc -Wp,-MD,core/.swupdate_dict.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o core/swupdate_dict.o core/swupdate_dict.c In file included from suricatta/common.c:12: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 84 | #define swupdate_notify(status, format, level, arg...) do { \ @@ -7590,7 +7504,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/swupdate_dict.c:22: +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 { \ | ^~~ @@ -7609,6 +7523,21 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ +In file included from core/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,suricatta/.server_hawkbit.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/server_hawkbit.o suricatta/server_hawkbit.c In file included from suricatta/server_hawkbit.c:18: include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] @@ -7629,27 +7558,79 @@ 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/.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 -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 parser/lib.a; ar rcs parser/lib.a parser/parse_external.o parser/parser.o make -f scripts/Makefile.build obj=bootloader 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 bootloader/lib.a; ar rcs bootloader/lib.a bootloader/none.o make -f scripts/Makefile.build obj=tools gcc -Wp,-MD,tools/.swupdate-client.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-client.o tools/swupdate-client.c gcc -Wp,-MD,tools/.swupdate-hawkbitcfg.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-hawkbitcfg.o tools/swupdate-hawkbitcfg.c + gcc -Wp,-MD,core/.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 tools/swupdate-hawkbitcfg.c: In function 'usage': tools/swupdate-hawkbitcfg.c:35:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 35 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); | ^~~~~~~~ +In file included from core/progress_thread.c:27: +include/util.h:84:51: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 84 | #define swupdate_notify(status, format, level, arg...) do { \ + | ^~~ +include/util.h:107:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 107 | #define ERROR(format, arg...) \ + | ^~~ +include/util.h:110:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 110 | #define WARN(format, arg...) \ + | ^~~ +include/util.h:113:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 113 | #define INFO(format, arg...) \ + | ^~~ +include/util.h:116:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 116 | #define TRACE(format, arg...) \ + | ^~~ +include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] + 119 | #define DEBUG(format, arg...) \ + | ^~~ gcc -Wp,-MD,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 tools/swupdate-progress.c: In function 'usage': tools/swupdate-progress.c:78:53: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 78 | fprintf(stdout, "%s (compiled %s)\n", programname, __DATE__); | ^~~~~~~~ + gcc -Wp,-MD,core/.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: +include/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) + | ^~~~~~~~~ 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/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c + gcc -Wp,-MD,core/.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-sysrestart.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o tools/swupdate-sysrestart.o tools/swupdate-sysrestart.c -In file included from suricatta/suricatta.c:12: +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 { \ | ^~~ @@ -7668,25 +7649,47 @@ 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())) { - | ^~~ +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 = {}; + | ^ 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 + 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,suricatta/.suricatta.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -D"KBUILD_STR(s)=#s" -c -o suricatta/suricatta.o suricatta/suricatta.c +In file included from core/swupdate_dict.c:22: +include/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 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 make -f scripts/Makefile.build obj=bindings 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 - rm -f tools/lib.a; ar rcs tools/lib.a tools/swupdate-client.o tools/swupdate-hawkbitcfg.o tools/swupdate-progress.o tools/swupdate-sendtohawkbit.o tools/swupdate-sysrestart.o - gcc -Wp,-MD,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,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: +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 { \ | ^~~ @@ -7705,7 +7708,18 @@ 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: +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,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,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 + rm -f suricatta/lib.a; ar rcs suricatta/lib.a suricatta/common.o suricatta/server_hawkbit.o suricatta/suricatta.o +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 { \ | ^~~ @@ -7724,14 +7738,6 @@ 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,bindings/.lua_compat_shared.o.d -Iinclude -include include/generated/autoconf.h -std=gnu99 -D_GNU_SOURCE -DNDEBUG -D"SWU_VER=KBUILD_STR(2020.11.0)" -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -g -O2 -fdebug-prefix-map=/build/reproducible-path/swupdate-2020.11=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.2 -fPIC -D"KBUILD_STR(s)=#s" -c -o bindings/lua_compat_shared.o bindings/lua_compat_shared.c In file included from include/lua_util.h:16, from include/../corelib/lua_compat.c:9, @@ -7754,22 +7760,51 @@ include/util.h:119:26: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 119 | #define DEBUG(format, arg...) \ | ^~~ - gcc -Wl,-z,relro -Wl,-z,now -nostdlib -r -o bindings/built-in.o bindings/auxiliar.o bindings/lua_swupdate.o bindings/lua_compat_shared.o /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 + 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 -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 /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 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 = {}; + | ^ 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" /build/reproducible-path/swupdate-2020.11/scripts/trylink "tools/swupdate-hawkbitcfg" "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-hawkbitcfg.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 /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" - 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 /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" strip -s --remove-section=.note --remove-section=.comment tools/swupdate-progress_unstripped -o tools/swupdate-progress; chmod a+x tools/swupdate-progress /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-sendtohawkbit_unstripped -o tools/swupdate-sendtohawkbit; chmod a+x tools/swupdate-sendtohawkbit - strip -s --remove-section=.note --remove-section=.comment swupdate_unstripped -o swupdate; chmod a+x swupdate 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 install -d /build/reproducible-path/swupdate-2020.11/debian/tmp//usr/include install -d /build/reproducible-path/swupdate-2020.11/debian/tmp/usr/lib/arm-linux-gnueabihf @@ -7826,10 +7861,10 @@ dh_strip -a dh_makeshlibs -a dh_shlibdeps -a -dpkg-shlibdeps: warning: symbol pthread_sigmask used by debian/libswupdate0.1/usr/lib/arm-linux-gnueabihf/libswupdate.so.0.1 found in none of the libraries -dpkg-shlibdeps: warning: symbol pthread_create used by debian/libswupdate0.1/usr/lib/arm-linux-gnueabihf/libswupdate.so.0.1 found in none of the libraries -dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/arm-linux-gnueabihf/lua/5.2/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_pushstring: it's probably a plugin +dpkg-shlibdeps: warning: debian/lua-swupdate/usr/lib/arm-linux-gnueabihf/lua/5.2/lua_swupdate.so.0.1 contains an unresolvable reference to symbol lua_touserdata: 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/arm-linux-gnueabihf/libswupdate.so.0.1 found in none of the libraries +dpkg-shlibdeps: warning: symbol pthread_sigmask used by debian/libswupdate0.1/usr/lib/arm-linux-gnueabihf/libswupdate.so.0.1 found in none of the libraries dh_installdeb debian/rules override_dh_gencontrol make[1]: Entering directory '/build/reproducible-path/swupdate-2020.11' @@ -7838,11 +7873,11 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'swupdate' in '../swupdate_2020.11-2+deb11u1_armhf.deb'. -dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2020.11-2+deb11u1_armhf.deb'. +dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2020.11-2+deb11u1_armhf.deb'. dpkg-deb: building package 'lua-swupdate-dbgsym' in '../lua-swupdate-dbgsym_2020.11-2+deb11u1_armhf.deb'. dpkg-deb: building package 'swupdate-doc' in '../swupdate-doc_2020.11-2+deb11u1_all.deb'. +dpkg-deb: building package 'libswupdate0.1-dbgsym' in '../libswupdate0.1-dbgsym_2020.11-2+deb11u1_armhf.deb'. dpkg-deb: building package 'libswupdate-dev' in '../libswupdate-dev_2020.11-2+deb11u1_armhf.deb'. -dpkg-deb: building package 'libswupdate0.1' in '../libswupdate0.1_2020.11-2+deb11u1_armhf.deb'. dpkg-deb: building package 'lua-swupdate' in '../lua-swupdate_2020.11-2+deb11u1_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../swupdate_2020.11-2+deb11u1_armhf.changes @@ -7851,12 +7886,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/24656/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24656/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/13590 and its subdirectories -I: Current time: Tue Mar 12 19:10:03 -12 2024 -I: pbuilder-time-stamp: 1710313803 +I: removing directory /srv/workspace/pbuilder/24656 and its subdirectories +I: Current time: Wed Mar 13 21:18:36 +14 2024 +I: pbuilder-time-stamp: 1710314316