Diff of the two buildlogs: -- --- b1/build.log 2022-02-09 13:30:52.278662164 +0000 +++ b2/build.log 2022-02-09 13:31:21.173777444 +0000 @@ -1,7 +1,6 @@ -W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 9 01:30:30 -12 2022 -I: pbuilder-time-stamp: 1644413430 +I: Current time: Wed Mar 15 09:53:53 +14 2023 +I: pbuilder-time-stamp: 1678823633 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +16,8 @@ I: copying [./cfingerd_1.4.3-5.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.kR5hkkan/trustedkeys.kbx': General error -gpgv: Signature made Tue Sep 22 23:16:54 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.okB98yhh/trustedkeys.kbx': General error +gpgv: Signature made Thu Sep 24 01:16:54 2020 +14 gpgv: using RSA key C2FE4BD271C139B86C533E461E953E27D4311E58 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./cfingerd_1.4.3-5.dsc @@ -31,134 +30,169 @@ dpkg-source: info: applying reproducible-build.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/545768/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3360159/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/3360159/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3360159/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - 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='545768' - PS1='# ' - PS2='> ' + INVOCATION_ID=91e512230b6341de9f86437e89c2281e + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3360159 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/tmp.MhprYABSUb/pbuilderrc_2NqM --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.MhprYABSUb/b1 --logfile b1/build.log cfingerd_1.4.3-5.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/sbin/chroot' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.MhprYABSUb/pbuilderrc_k5hg --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.MhprYABSUb/b2 --logfile b2/build.log cfingerd_1.4.3-5.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 6 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/545768/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Mar 15 09:54 sh -> bash + lrwxrwxrwx 1 root root 4 Mar 13 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/3360159/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -225,7 +259,7 @@ Get: 29 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] -Fetched 18.3 MB in 0s (72.4 MB/s) +Fetched 18.3 MB in 0s (69.6 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 ... 19655 files and directories currently installed.) @@ -370,7 +404,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/cfingerd-1.4.3/ && 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 > ../cfingerd_1.4.3-5_source.changes +hostname: Name or service not known +I: Running cd /build/cfingerd-1.4.3/ && 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 > ../cfingerd_1.4.3-5_source.changes dpkg-buildpackage: info: source package cfingerd dpkg-buildpackage: info: source version 1.4.3-5 dpkg-buildpackage: info: source distribution unstable @@ -431,7 +466,7 @@ *** DON'T FORGET TO READ THE FAQ!!! dh_auto_build -- all - make -j15 "INSTALL=install --strip-program=true" all + make -j16 "INSTALL=install --strip-program=true" all make[1]: Entering directory '/build/cfingerd-1.4.3' @@ -444,21 +479,22 @@ make[2]: Entering directory '/build/cfingerd-1.4.3/src' cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c -make[2]: Entering directory '/build/cfingerd-1.4.3/userlist' -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o version.o version.c -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o initialize.o initialize.c +make[2]: Entering directory '/build/cfingerd-1.4.3/userlist' cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o display.o display.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o errors.o errors.c -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o initialize.o initialize.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o strmcpy.o strmcpy.c -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o idle.o idle.c -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ../src/getutent.o ../src/getutent.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o display.o display.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o configure.o configure.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o options.o options.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o idle.o idle.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o internal.o internal.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ../src/getutent.o ../src/getutent.c cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o signal.o signal.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o standard.o standard.c display.c: In function 'process_display': display.c:95:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 95 | if ((x = index (pwent->pw_gecos, ',')) != NULL) /* username */ @@ -507,7 +543,47 @@ main.c:109:5: note: in expansion of macro 'NOBODY_PRIVS' 109 | NOBODY_PRIVS; | ^~~~~~~~~~~~ -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o standard.o standard.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o userlist.o userlist.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fakeuser.o fakeuser.c +In file included from /usr/include/string.h:495, + from userlist.h:9, + from initialize.c:6: +In function 'strncpy', + inlined from 'initialize_userlist' at initialize.c:68:6: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 31 [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'initialize_userlist' at initialize.c:78:6: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +initialize.c: In function 'initialize_userlist': +initialize.c:79:10: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] + 79 | if (strlen ((char *) ut->ut_host) > ULIST_LINE) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/utmp.h:29, + from userlist.h:54, + from initialize.c:6: +/usr/include/x86_64-linux-gnu/bits/utmp.h:68:8: note: argument 'ut_host' declared here + 68 | char ut_host[UT_HOSTSIZE] + | ^~~~~~~ +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o search.o search.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rfc1413.o rfc1413.c +In file included from /usr/include/string.h:495, + from cfingerd.h:22, + from main.c:16: +In function 'strncpy', + inlined from 'main' at main.c:92:6: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'main' at main.c:228:6: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 46 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wildmat.o wildmat.c util.c: In function 'get_localhost': util.c:463:5: warning: ignoring return value of 'getdomainname' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | getdomainname((char *) domname, (size_t) 80); @@ -544,7 +620,22 @@ util.c:610:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 610 | write (fd[1], line, strlen (line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o userlist.o userlist.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o log.o log.c +signal.c: In function 'start_handler': +signal.c:136:2: warning: iteration 23 invokes undefined behavior [-Waggressive-loop-optimizations] + 136 | signal(signals[i], int_handler); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +signal.c:135:5: note: within this loop + 135 | for (i = 0; i < sigs; i++) + | ^~~ +cc -o userlist main.o initialize.o display.o options.o idle.o ../src/getutent.o +standard.c: In function 'show_stuff': +standard.c:101:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 101 | snprintf(formatter, sizeof(formatter), "%%s%%-%d.%ds", (36 - strlen(prog_config.p_strings[t2])), + | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | int size_t {aka long unsigned int} + | %ld configure.c: In function 'do_files': configure.c:194:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 194 | fscanf(file, "%[^\r\n]\r\n", line); @@ -578,11 +669,14 @@ configure.c:363:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 363 | fscanf(file, "%[^\r\n]\r\n", line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +standard.c: In function 'show_lasttime_on': +standard.c:248:10: warning: variable 'found' set but not used [-Wunused-but-set-variable] + 248 | BOOL found = FALSE, can_show_orig = FALSE; + | ^~~~~ configure.c: In function 'do_config': configure.c:425:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | fgets(line, 80, file); | ^~~~~~~~~~~~~~~~~~~~~ -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fakeuser.o fakeuser.c In file included from configure.c:18: configure.c: In function 'read_configuration': privs.h:100:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -615,65 +709,6 @@ configure.c:713:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 713 | fgets(line, 80, file); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from userlist.h:9, - from initialize.c:6: -In function 'strncpy', - inlined from 'initialize_userlist' at initialize.c:68:6: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 31 [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'initialize_userlist' at initialize.c:78:6: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -initialize.c: In function 'initialize_userlist': -initialize.c:79:10: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] - 79 | if (strlen ((char *) ut->ut_host) > ULIST_LINE) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/utmp.h:29, - from userlist.h:54, - from initialize.c:6: -/usr/include/x86_64-linux-gnu/bits/utmp.h:68:8: note: argument 'ut_host' declared here - 68 | char ut_host[UT_HOSTSIZE] - | ^~~~~~~ -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o search.o search.c -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rfc1413.o rfc1413.c -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wildmat.o wildmat.c -In file included from /usr/include/string.h:495, - from cfingerd.h:22, - from main.c:16: -In function 'strncpy', - inlined from 'main' at main.c:92:6: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'main' at main.c:228:6: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 46 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o log.o log.c -signal.c: In function 'start_handler': -signal.c:136:2: warning: iteration 23 invokes undefined behavior [-Waggressive-loop-optimizations] - 136 | signal(signals[i], int_handler); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -signal.c:135:5: note: within this loop - 135 | for (i = 0; i < sigs; i++) - | ^~~ -cc -o userlist main.o initialize.o display.o options.o idle.o ../src/getutent.o -standard.c: In function 'show_stuff': -standard.c:101:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 101 | snprintf(formatter, sizeof(formatter), "%%s%%-%d.%ds", (36 - strlen(prog_config.p_strings[t2])), - | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | int size_t {aka long unsigned int} - | %ld -standard.c: In function 'show_lasttime_on': -standard.c:248:10: warning: variable 'found' set but not used [-Wunused-but-set-variable] - 248 | BOOL found = FALSE, can_show_orig = FALSE; - | ^~~~~ In file included from standard.c:27: standard.c: In function 'show_pfile': privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -832,66 +867,28 @@ standard.c:174:6: note: in expansion of macro 'NOBODY_PRIVS' 174 | NOBODY_PRIVS; | ^~~~~~~~~~~~ -In file included from userlist.c:18: -userlist.c: In function 'handle_userlist': standard.c: In function 'show_pfile2': privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | setreuid(real_uid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -userlist.c:51:2: note: in expansion of macro 'NOBODY_PRIVS' - 51 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ standard.c:215:2: note: in expansion of macro 'USER_PRIVS' 215 | USER_PRIVS(uid, gid); | ^~~~~~~~~~ privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | setregid(real_gid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -userlist.c:51:2: note: in expansion of macro 'NOBODY_PRIVS' - 51 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ standard.c:215:2: note: in expansion of macro 'USER_PRIVS' 215 | USER_PRIVS(uid, gid); | ^~~~~~~~~~ privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | setregid(real_gid, effective_gid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -userlist.c:51:2: note: in expansion of macro 'NOBODY_PRIVS' - 51 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ standard.c:215:2: note: in expansion of macro 'USER_PRIVS' 215 | USER_PRIVS(uid, gid); | ^~~~~~~~~~ privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | setreuid(real_uid, effective_uid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -userlist.c:51:2: note: in expansion of macro 'NOBODY_PRIVS' - 51 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ standard.c:215:2: note: in expansion of macro 'USER_PRIVS' 215 | USER_PRIVS(uid, gid); | ^~~~~~~~~~ @@ -1199,10 +1196,6 @@ 394 | NOBODY_PRIVS; | ^~~~~~~~~~~~ standard.c: In function 'show_times_on': -fakeuser.c: In function 'search_fake_pos': -fakeuser.c:44:12: warning: variable 'len' set but not used [-Wunused-but-set-variable] - 44 | int i, len; - | ^~~ privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | setreuid(real_uid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ @@ -1440,6 +1433,8 @@ standard.c:734:6: note: in expansion of macro 'USER_PRIVS' 734 | USER_PRIVS(nuid, ngid); | ^~~~~~~~~~ +In file included from userlist.c:18: +userlist.c: In function 'handle_userlist': privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | setreuid(real_uid, effective_uid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1452,9 +1447,45 @@ privs.h:82:22: note: in expansion of macro 'USER_PRIVS' 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) | ^~~~~~~~~~ +userlist.c:51:2: note: in expansion of macro 'NOBODY_PRIVS' + 51 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +userlist.c:51:2: note: in expansion of macro 'NOBODY_PRIVS' + 51 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ standard.c:742:6: note: in expansion of macro 'NOBODY_PRIVS' 742 | NOBODY_PRIVS; | ^~~~~~~~~~~~ +privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +userlist.c:51:2: note: in expansion of macro 'NOBODY_PRIVS' + 51 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +userlist.c:51:2: note: in expansion of macro 'NOBODY_PRIVS' + 51 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | setregid(real_gid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ @@ -1506,8 +1537,6 @@ standard.c:759:3: note: in expansion of macro 'USER_PRIVS' 759 | USER_PRIVS(nuid, ngid); | ^~~~~~~~~~ -In file included from search.c:18: -search.c: In function 'show_search': privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | setreuid(real_uid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ @@ -1517,45 +1546,6 @@ standard.c:761:3: note: in expansion of macro 'NOBODY_PRIVS' 761 | NOBODY_PRIVS; | ^~~~~~~~~~~~ -privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:83:5: note: in expansion of macro 'NOBODY_PRIVS' - 83 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:83:5: note: in expansion of macro 'NOBODY_PRIVS' - 83 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:83:5: note: in expansion of macro 'NOBODY_PRIVS' - 83 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:83:5: note: in expansion of macro 'NOBODY_PRIVS' - 83 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -search.c:101:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 101 | fgets(crappp, 300, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~ privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | setregid(real_gid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ @@ -1565,49 +1555,6 @@ standard.c:761:3: note: in expansion of macro 'NOBODY_PRIVS' 761 | NOBODY_PRIVS; | ^~~~~~~~~~~~ -In file included from search.c:18: -privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -search.c:149:3: note: in expansion of macro 'USER_PRIVS' - 149 | USER_PRIVS(Uid, Gid); - | ^~~~~~~~~~ -privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -search.c:149:3: note: in expansion of macro 'USER_PRIVS' - 149 | USER_PRIVS(Uid, Gid); - | ^~~~~~~~~~ -privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -search.c:149:3: note: in expansion of macro 'USER_PRIVS' - 149 | USER_PRIVS(Uid, Gid); - | ^~~~~~~~~~ -privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -search.c:149:3: note: in expansion of macro 'USER_PRIVS' - 149 | USER_PRIVS(Uid, Gid); - | ^~~~~~~~~~ -privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:151:3: note: in expansion of macro 'NOBODY_PRIVS' - 151 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:151:3: note: in expansion of macro 'NOBODY_PRIVS' - 151 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | setregid(real_gid, effective_gid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1617,24 +1564,6 @@ standard.c:761:3: note: in expansion of macro 'NOBODY_PRIVS' 761 | NOBODY_PRIVS; | ^~~~~~~~~~~~ -privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:151:3: note: in expansion of macro 'NOBODY_PRIVS' - 151 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:22: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:151:3: note: in expansion of macro 'NOBODY_PRIVS' - 151 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | setreuid(real_uid, effective_uid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1704,6 +1633,10 @@ standard.c:802:3: note: in expansion of macro 'NOBODY_PRIVS' 802 | NOBODY_PRIVS; | ^~~~~~~~~~~~ +fakeuser.c: In function 'search_fake_pos': +fakeuser.c:44:12: warning: variable 'len' set but not used [-Wunused-but-set-variable] + 44 | int i, len; + | ^~~ standard.c: In function 'show_fingerinfo': privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | setreuid(real_uid, 0); \ @@ -1717,10 +1650,6 @@ standard.c:932:5: note: in expansion of macro 'USER_PRIVS' 932 | USER_PRIVS(nuid, ngid); | ^~~~~~~~~~ -rfc1413.c: In function 'get_rfc1413_data': -rfc1413.c:106:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 106 | write(j, buffer, strlen(buffer)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | setregid(real_gid, effective_gid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1805,6 +1734,113 @@ standard.c:937:2: note: in expansion of macro 'NOBODY_PRIVS' 937 | NOBODY_PRIVS; | ^~~~~~~~~~~~ +In file included from search.c:18: +search.c: In function 'show_search': +privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:83:5: note: in expansion of macro 'NOBODY_PRIVS' + 83 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:83:5: note: in expansion of macro 'NOBODY_PRIVS' + 83 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:83:5: note: in expansion of macro 'NOBODY_PRIVS' + 83 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:83:5: note: in expansion of macro 'NOBODY_PRIVS' + 83 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +search.c:101:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 101 | fgets(crappp, 300, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from search.c:18: +privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +search.c:149:3: note: in expansion of macro 'USER_PRIVS' + 149 | USER_PRIVS(Uid, Gid); + | ^~~~~~~~~~ +privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +search.c:149:3: note: in expansion of macro 'USER_PRIVS' + 149 | USER_PRIVS(Uid, Gid); + | ^~~~~~~~~~ +privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +search.c:149:3: note: in expansion of macro 'USER_PRIVS' + 149 | USER_PRIVS(Uid, Gid); + | ^~~~~~~~~~ +privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +search.c:149:3: note: in expansion of macro 'USER_PRIVS' + 149 | USER_PRIVS(Uid, Gid); + | ^~~~~~~~~~ +privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:151:3: note: in expansion of macro 'NOBODY_PRIVS' + 151 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:119:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:151:3: note: in expansion of macro 'NOBODY_PRIVS' + 151 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:124:8: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:151:3: note: in expansion of macro 'NOBODY_PRIVS' + 151 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:125:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:22: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:151:3: note: in expansion of macro 'NOBODY_PRIVS' + 151 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +make[2]: Leaving directory '/build/cfingerd-1.4.3/userlist' +rfc1413.c: In function 'get_rfc1413_data': +rfc1413.c:106:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 106 | write(j, buffer, strlen(buffer)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from log.c:18: log.c: In function 'userlog': privs.h:118:8: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -1927,7 +1963,17 @@ log.c:78:2: note: in expansion of macro 'NOBODY_PRIVS' 78 | NOBODY_PRIVS | ^~~~~~~~~~~~ -make[2]: Leaving directory '/build/cfingerd-1.4.3/userlist' +search.c:107:33: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 80 [-Wformat-truncation=] + 107 | snprintf (Rn, sizeof(Rn), "%s", rn); + | ^~ ~~ +In file included from /usr/include/stdio.h:867, + from cfingerd.h:19, + from search.c:16: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 300 bytes into a destination of size 80 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from cfingerd.h:22, from util.c:16: @@ -1946,19 +1992,8 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -search.c:107:33: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 80 [-Wformat-truncation=] - 107 | snprintf (Rn, sizeof(Rn), "%s", rn); - | ^~ ~~ In function 'strncat', inlined from 'parse_line' at util.c:238:19: -In file included from /usr/include/stdio.h:867, - from cfingerd.h:19, - from search.c:16: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 300 bytes into a destination of size 80 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2037,12 +2072,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/3360159/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3360159/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/545768 and its subdirectories -I: Current time: Wed Feb 9 01:30:52 -12 2022 -I: pbuilder-time-stamp: 1644413452 +I: removing directory /srv/workspace/pbuilder/3360159 and its subdirectories +I: Current time: Wed Mar 15 09:54:20 +14 2023 +I: pbuilder-time-stamp: 1678823660