Diff of the two buildlogs: -- --- b1/build.log 2023-04-19 10:50:55.484426147 +0000 +++ b2/build.log 2023-04-19 10:51:14.699573801 +0000 @@ -1,9 +1,6 @@ -W: cgroups are not available on the host, not using them. -unshare: unshare failed: Cannot allocate memory -W: pbuilder: unshare CLONE_NEWNET not available -I: pbuilder: network access is available during build! -I: Current time: Tue Apr 18 22:50:30 -12 2023 -I: pbuilder-time-stamp: 1681901430 +I: pbuilder: network access will be disabled during build +I: Current time: Wed May 22 07:13:57 +14 2024 +I: pbuilder-time-stamp: 1716311637 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -20,7 +17,7 @@ I: copying [./cfingerd_1.4.3.orig.tar.gz] I: copying [./cfingerd_1.4.3-7.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Aug 20 09:41:45 2022 -12 +gpgv: Signature made Sun Aug 21 11:41:45 2022 +14 gpgv: using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./cfingerd_1.4.3-7.dsc: no acceptable signature found @@ -33,136 +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/11501/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/47649/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 22 07:14 /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/47649/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/47649/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='11501' - PS1='# ' - PS2='> ' + INVOCATION_ID=3811705c5b674f46bff27ab59d88b170 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=47649 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.P9lOsCCM/pbuilderrc_D9BS --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.P9lOsCCM/b1 --logfile b1/build.log cfingerd_1.4.3-7.dsc' - SUDO_GID='112' - SUDO_UID='107' - 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/r-b-build.P9lOsCCM/pbuilderrc_mJIA --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.P9lOsCCM/b2 --logfile b2/build.log --extrapackages usrmerge cfingerd_1.4.3-7.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Feb 12 08:21 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:21 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 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 6460 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 8103 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/11501/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Feb 13 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 22 07:14 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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 6460 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 8103 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/47649/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -228,7 +258,7 @@ Get: 28 http://deb.debian.org/debian bookworm/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main i386 debhelper all 13.11.4 [942 kB] -Fetched 19.0 MB in 0s (52.0 MB/s) +Fetched 19.0 MB in 0s (79.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19604 files and directories currently installed.) @@ -365,10 +395,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 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-7_source.changes +I: user script /srv/workspace/pbuilder/47649/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/47649/tmp/hooks/A99_set_merged_usr finished +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-7_source.changes dpkg-buildpackage: info: source package cfingerd dpkg-buildpackage: info: source version 1.4.3-7 dpkg-buildpackage: info: source distribution unstable @@ -429,7 +466,7 @@ *** DON'T FORGET TO READ THE FAQ!!! dh_auto_build -- all - make -j8 "INSTALL=install --strip-program=true" all + make -j15 "INSTALL=install --strip-program=true" all make[1]: Entering directory '/build/cfingerd-1.4.3' @@ -441,14 +478,22 @@ cd userlist ; make userlist 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 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 util.o util.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 display.o display.c +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 options.o options.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 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 configure.o configure.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 signal.o signal.c display.c: In function 'process_display': display.c:95:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 95 | if ((x = index (pwent->pw_gecos, ',')) != NULL) /* username */ @@ -456,6 +501,7 @@ display.c:97:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 97 | if ((username = (char *)malloc (strlen(cp)+1)) != NULL) { | ^~ +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o standard.o standard.c main.c: In function 'main': main.c:114:27: warning: the comparison will always evaluate as 'true' for the address of 'remote_addr' will never be NULL [-Waddress] 114 | if (remote_addr != NULL && *remote_addr) { @@ -466,7 +512,7 @@ main.c:257:39: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 257 | memset (ident_user, 0, sizeof (ident_user)); | ^ -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 userlist.o userlist.c In file included from main.c:20: privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | setreuid(real_uid, 0); \ @@ -504,71 +550,7 @@ main.c:109:5: note: in expansion of macro 'NOBODY_PRIVS' 109 | NOBODY_PRIVS; | ^~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from util.c:22: -util.c: In function 'safe_exec': -privs.h:129:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 129 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -util.c:603:9: note: in expansion of macro 'DROP_ALL_PRIVS' - 603 | DROP_ALL_PRIVS(uid, gid); - | ^~~~~~~~~~~~~~ -privs.h:130:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 130 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -util.c:603:9: note: in expansion of macro 'DROP_ALL_PRIVS' - 603 | DROP_ALL_PRIVS(uid, gid); - | ^~~~~~~~~~~~~~ -privs.h:135:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 135 | setregid(effective_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -util.c:603:9: note: in expansion of macro 'DROP_ALL_PRIVS' - 603 | DROP_ALL_PRIVS(uid, gid); - | ^~~~~~~~~~~~~~ -privs.h:136:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 136 | setreuid(effective_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -util.c:603:9: note: in expansion of macro 'DROP_ALL_PRIVS' - 603 | DROP_ALL_PRIVS(uid, gid); - | ^~~~~~~~~~~~~~ -util.c:609:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 609 | fgets (line, 600, file); - | ^~~~~~~~~~~~~~~~~~~~~~~ -util.c:610:17: 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 options.o options.c -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c -initialize.c: In function 'initialize_userlist': -initialize.c:68:13: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 31 [-Wstringop-truncation] - 68 | strncpy(tty_list[times_on].tty, cp, ULIST_TTY); - | ^ -initialize.c:78:13: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] - 78 | strncpy(tty_list[times_on].locale, cp, ULIST_LOCALE); - | ^ -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o configure.o configure.c -initialize.c:79:17: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overread] - 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/i386-linux-gnu/bits/utmp.h:68:8: note: argument 'ut_host' declared here - 68 | char ut_host[UT_HOSTSIZE] - | ^~~~~~~ -main.c:92:13: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] - 92 | strncpy(username, argv[2], sizeof(username)); - | ^ -main.c:228:13: warning: '__builtin_strncpy' specified bound 46 equals destination size [-Wstringop-truncation] - 228 | strncpy(remote_addr, host_ent->h_name, INET6_ADDRSTRLEN); - | ^ -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 fakeuser.o fakeuser.c configure.c: In function 'do_files': configure.c:194:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 194 | fscanf(file, "%[^\r\n]\r\n", line); @@ -606,6 +588,10 @@ configure.c:425:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | fgets(line, 80, file); | ^~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configure.c: In function 'read_configuration': privs.h:100:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 100 | setreuid(real_uid, 0); \ @@ -637,8 +623,39 @@ configure.c:713:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 713 | fgets(line, 80, file); | ^~~~~~~~~~~~~~~~~~~~~ -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 +In file included from util.c:22: +util.c: In function 'safe_exec': +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o search.o search.c +privs.h:129:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 129 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +util.c:603:9: note: in expansion of macro 'DROP_ALL_PRIVS' + 603 | DROP_ALL_PRIVS(uid, gid); + | ^~~~~~~~~~~~~~ +privs.h:130:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 130 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +util.c:603:9: note: in expansion of macro 'DROP_ALL_PRIVS' + 603 | DROP_ALL_PRIVS(uid, gid); + | ^~~~~~~~~~~~~~ +privs.h:135:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 135 | setregid(effective_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c:603:9: note: in expansion of macro 'DROP_ALL_PRIVS' + 603 | DROP_ALL_PRIVS(uid, gid); + | ^~~~~~~~~~~~~~ +privs.h:136:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 136 | setreuid(effective_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c:603:9: note: in expansion of macro 'DROP_ALL_PRIVS' + 603 | DROP_ALL_PRIVS(uid, gid); + | ^~~~~~~~~~~~~~ +util.c:609:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 609 | fgets (line, 600, file); + | ^~~~~~~~~~~~~~~~~~~~~~~ +util.c:610:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 610 | write (fd[1], line, strlen (line)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signal.c: In function 'start_handler': signal.c:136:9: warning: iteration 23 invokes undefined behavior [-Waggressive-loop-optimizations] 136 | signal(signals[i], int_handler); @@ -646,48 +663,304 @@ signal.c:135:19: note: within this loop 135 | for (i = 0; i < sigs; i++) | ~~^~~~~~ +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rfc1413.o rfc1413.c +initialize.c: In function 'initialize_userlist': +initialize.c:68:13: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 31 [-Wstringop-truncation] + 68 | strncpy(tty_list[times_on].tty, cp, ULIST_TTY); + | ^ +initialize.c:78:13: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] + 78 | strncpy(tty_list[times_on].locale, cp, ULIST_LOCALE); + | ^ +initialize.c:79:17: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overread] + 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/i386-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 wildmat.o wildmat.c +cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o log.o log.c +main.c:92:13: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] + 92 | strncpy(username, argv[2], sizeof(username)); + | ^ +main.c:228:13: warning: '__builtin_strncpy' specified bound 46 equals destination size [-Wstringop-truncation] + 228 | strncpy(remote_addr, host_ent->h_name, INET6_ADDRSTRLEN); + | ^ cc -o userlist main.o initialize.o display.o options.o idle.o ../src/getutent.o -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fakeuser.o fakeuser.c -In file included from /usr/include/string.h:535, - from cfingerd.h:22, - from util.c:16: -In function 'strncat', - inlined from 'parse_line' at util.c:167:18: -/usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] - 138 | return __builtin___strncat_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 139 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncat', - inlined from 'parse_line' at util.c:212:19: -/usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] - 138 | return __builtin___strncat_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 139 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncat', - inlined from 'parse_line' at util.c:228:19: -/usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] - 138 | return __builtin___strncat_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 139 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncat', - inlined from 'parse_line' at util.c:238:19: -/usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] - 138 | return __builtin___strncat_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 139 | __glibc_objsize (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from userlist.c:18: +userlist.c: In function 'handle_userlist': +privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' + 51 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' + 51 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' + 51 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' + 51 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ make[2]: Leaving directory '/build/cfingerd-1.4.3/userlist' 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; | ^~~~~ -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 log.c:18: +log.c: In function 'userlog': +privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +log.c:54:5: note: in expansion of macro 'USER_PRIVS' + 54 | USER_PRIVS(uid,gid) + | ^~~~~~~~~~ +privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +log.c:54:5: note: in expansion of macro 'USER_PRIVS' + 54 | USER_PRIVS(uid,gid) + | ^~~~~~~~~~ +privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log.c:54:5: note: in expansion of macro 'USER_PRIVS' + 54 | USER_PRIVS(uid,gid) + | ^~~~~~~~~~ +privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log.c:54:5: note: in expansion of macro 'USER_PRIVS' + 54 | USER_PRIVS(uid,gid) + | ^~~~~~~~~~ +privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +log.c:67:5: note: in expansion of macro 'NOBODY_PRIVS' + 67 | NOBODY_PRIVS + | ^~~~~~~~~~~~ +privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +log.c:67:5: note: in expansion of macro 'NOBODY_PRIVS' + 67 | NOBODY_PRIVS + | ^~~~~~~~~~~~ +privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +log.c:67:5: note: in expansion of macro 'NOBODY_PRIVS' + 67 | NOBODY_PRIVS + | ^~~~~~~~~~~~ +privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +log.c:67:5: note: in expansion of macro 'NOBODY_PRIVS' + 67 | NOBODY_PRIVS + | ^~~~~~~~~~~~ +privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +log.c:72:9: note: in expansion of macro 'USER_PRIVS' + 72 | USER_PRIVS(uid,gid) + | ^~~~~~~~~~ +privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +log.c:72:9: note: in expansion of macro 'USER_PRIVS' + 72 | USER_PRIVS(uid,gid) + | ^~~~~~~~~~ +privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log.c:72:9: note: in expansion of macro 'USER_PRIVS' + 72 | USER_PRIVS(uid,gid) + | ^~~~~~~~~~ +privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log.c:72:9: note: in expansion of macro 'USER_PRIVS' + 72 | USER_PRIVS(uid,gid) + | ^~~~~~~~~~ +privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' + 78 | NOBODY_PRIVS + | ^~~~~~~~~~~~ +privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' + 78 | NOBODY_PRIVS + | ^~~~~~~~~~~~ +privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' + 78 | NOBODY_PRIVS + | ^~~~~~~~~~~~ +privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' + 78 | 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; + | ^~~ +In file included from search.c:18: +search.c: In function 'show_search': +privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: 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:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: 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:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: 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:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: 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:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 101 | fgets(crappp, 300, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +search.c:149:17: note: in expansion of macro 'USER_PRIVS' + 149 | USER_PRIVS(Uid, Gid); + | ^~~~~~~~~~ +privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +search.c:149:17: note: in expansion of macro 'USER_PRIVS' + 149 | USER_PRIVS(Uid, Gid); + | ^~~~~~~~~~ +privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +search.c:149:17: note: in expansion of macro 'USER_PRIVS' + 149 | USER_PRIVS(Uid, Gid); + | ^~~~~~~~~~ +privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +search.c:149:17: note: in expansion of macro 'USER_PRIVS' + 149 | USER_PRIVS(Uid, Gid); + | ^~~~~~~~~~ +privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | setreuid(real_uid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:151:17: note: in expansion of macro 'NOBODY_PRIVS' + 151 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | setregid(real_gid, 0); \ + | ^~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:151:17: note: in expansion of macro 'NOBODY_PRIVS' + 151 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ +privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | setregid(real_gid, effective_gid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:151:17: note: in expansion of macro 'NOBODY_PRIVS' + 151 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ In file included from standard.c:27: standard.c: In function 'show_pfile': +privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | setreuid(real_uid, effective_uid); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +privs.h:82:25: note: in expansion of macro 'USER_PRIVS' + 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) + | ^~~~~~~~~~ +search.c:151:17: note: in expansion of macro 'NOBODY_PRIVS' + 151 | NOBODY_PRIVS; + | ^~~~~~~~~~~~ privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | setreuid(real_uid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ @@ -1243,6 +1516,7 @@ standard.c:551:21: note: in expansion of macro 'NOBODY_PRIVS' 551 | NOBODY_PRIVS; | ^~~~~~~~~~~~ +rfc1413.c: In function 'get_rfc1413_data': privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | setregid(real_gid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ @@ -1252,6 +1526,9 @@ standard.c:551:21: note: in expansion of macro 'NOBODY_PRIVS' 551 | NOBODY_PRIVS; | ^~~~~~~~~~~~ +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:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | setregid(real_gid, effective_gid); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1331,7 +1608,6 @@ standard.c:652:9: note: in expansion of macro 'NOBODY_PRIVS' 652 | NOBODY_PRIVS; | ^~~~~~~~~~~~ -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wildmat.o wildmat.c standard.c: In function 'show_qmail_stats': privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | setreuid(real_uid, 0); \ @@ -1339,44 +1615,6 @@ standard.c:723:13: note: in expansion of macro 'USER_PRIVS' 723 | USER_PRIVS(nuid, ngid); | ^~~~~~~~~~ -In file included from userlist.c:18: -userlist.c: In function 'handle_userlist': -privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' - 51 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' - 51 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' - 51 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -userlist.c:51:9: note: in expansion of macro 'NOBODY_PRIVS' - 51 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | setregid(real_gid, 0); \ | ^~~~~~~~~~~~~~~~~~~~~ @@ -1708,116 +1946,6 @@ standard.c:937:9: note: in expansion of macro 'NOBODY_PRIVS' 937 | 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; - | ^~~ -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 search.c:18: -search.c: In function 'show_search': -privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: 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:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: 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:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: 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:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: 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:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 101 | fgets(crappp, 300, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -search.c:149:17: note: in expansion of macro 'USER_PRIVS' - 149 | USER_PRIVS(Uid, Gid); - | ^~~~~~~~~~ -privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -search.c:149:17: note: in expansion of macro 'USER_PRIVS' - 149 | USER_PRIVS(Uid, Gid); - | ^~~~~~~~~~ -privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -search.c:149:17: note: in expansion of macro 'USER_PRIVS' - 149 | USER_PRIVS(Uid, Gid); - | ^~~~~~~~~~ -privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -search.c:149:17: note: in expansion of macro 'USER_PRIVS' - 149 | USER_PRIVS(Uid, Gid); - | ^~~~~~~~~~ -privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:151:17: note: in expansion of macro 'NOBODY_PRIVS' - 151 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:151:17: note: in expansion of macro 'NOBODY_PRIVS' - 151 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:151:17: note: in expansion of macro 'NOBODY_PRIVS' - 151 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -search.c:151:17: note: in expansion of macro 'NOBODY_PRIVS' - 151 | NOBODY_PRIVS; - | ^~~~~~~~~~~~ -cc -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o log.o log.c search.c:107:40: 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); | ^~ ~~ @@ -1846,128 +1974,37 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from log.c:18: -log.c: In function 'userlog': -privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -log.c:54:5: note: in expansion of macro 'USER_PRIVS' - 54 | USER_PRIVS(uid,gid) - | ^~~~~~~~~~ -privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -log.c:54:5: note: in expansion of macro 'USER_PRIVS' - 54 | USER_PRIVS(uid,gid) - | ^~~~~~~~~~ -privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log.c:54:5: note: in expansion of macro 'USER_PRIVS' - 54 | USER_PRIVS(uid,gid) - | ^~~~~~~~~~ -privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log.c:54:5: note: in expansion of macro 'USER_PRIVS' - 54 | USER_PRIVS(uid,gid) - | ^~~~~~~~~~ -privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -log.c:67:5: note: in expansion of macro 'NOBODY_PRIVS' - 67 | NOBODY_PRIVS - | ^~~~~~~~~~~~ -privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -log.c:67:5: note: in expansion of macro 'NOBODY_PRIVS' - 67 | NOBODY_PRIVS - | ^~~~~~~~~~~~ -privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -log.c:67:5: note: in expansion of macro 'NOBODY_PRIVS' - 67 | NOBODY_PRIVS - | ^~~~~~~~~~~~ -privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -log.c:67:5: note: in expansion of macro 'NOBODY_PRIVS' - 67 | NOBODY_PRIVS - | ^~~~~~~~~~~~ -privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -log.c:72:9: note: in expansion of macro 'USER_PRIVS' - 72 | USER_PRIVS(uid,gid) - | ^~~~~~~~~~ -privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -log.c:72:9: note: in expansion of macro 'USER_PRIVS' - 72 | USER_PRIVS(uid,gid) - | ^~~~~~~~~~ -privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log.c:72:9: note: in expansion of macro 'USER_PRIVS' - 72 | USER_PRIVS(uid,gid) - | ^~~~~~~~~~ -privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log.c:72:9: note: in expansion of macro 'USER_PRIVS' - 72 | USER_PRIVS(uid,gid) - | ^~~~~~~~~~ -privs.h:118:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | setreuid(real_uid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' - 78 | NOBODY_PRIVS - | ^~~~~~~~~~~~ -privs.h:119:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | setregid(real_gid, 0); \ - | ^~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' - 78 | NOBODY_PRIVS - | ^~~~~~~~~~~~ -privs.h:124:29: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | setregid(real_gid, effective_gid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' - 78 | NOBODY_PRIVS - | ^~~~~~~~~~~~ -privs.h:125:29: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | setreuid(real_uid, effective_uid); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -privs.h:82:25: note: in expansion of macro 'USER_PRIVS' - 82 | #define NOBODY_PRIVS USER_PRIVS (NOBODY_UID,NOBODY_GID) - | ^~~~~~~~~~ -log.c:78:9: note: in expansion of macro 'NOBODY_PRIVS' - 78 | NOBODY_PRIVS - | ^~~~~~~~~~~~ +In file included from /usr/include/string.h:535, + from cfingerd.h:22, + from util.c:16: +In function 'strncat', + inlined from 'parse_line' at util.c:167:18: +/usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] + 138 | return __builtin___strncat_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 139 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncat', + inlined from 'parse_line' at util.c:212:19: +/usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] + 138 | return __builtin___strncat_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 139 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncat', + inlined from 'parse_line' at util.c:228:19: +/usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] + 138 | return __builtin___strncat_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 139 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncat', + inlined from 'parse_line' at util.c:238:19: +/usr/include/i386-linux-gnu/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 160 equals destination size [-Wstringop-overflow=] + 138 | return __builtin___strncat_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 139 | __glibc_objsize (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~ standard.c: In function 'show_login_stats': standard.c:537:18: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overread] 537 | (strlen((char *) ut->ut_user) == strlen(user))) { @@ -2057,12 +2094,15 @@ dpkg-source --after-build . 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/47649/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/47649/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/11501 and its subdirectories -I: Current time: Tue Apr 18 22:50:55 -12 2023 -I: pbuilder-time-stamp: 1681901455 +I: removing directory /srv/workspace/pbuilder/47649 and its subdirectories +I: Current time: Wed May 22 07:14:14 +14 2024 +I: pbuilder-time-stamp: 1716311654