Diff of the two buildlogs: -- --- b1/build.log 2023-06-05 00:18:49.640237985 +0000 +++ b2/build.log 2023-06-05 00:19:27.946560730 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 6 18:39:57 -12 2024 -I: pbuilder-time-stamp: 1720334397 +I: Current time: Mon Jun 5 14:18:51 +14 2023 +I: pbuilder-time-stamp: 1685924331 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./bfbtester_2.0.1.orig.tar.gz] I: copying [./bfbtester_2.0.1-7.2.diff.gz] I: Extracting source -gpgv: Signature made Fri Jan 28 13:24:54 2022 -12 +gpgv: Signature made Sat Jan 29 15:24:54 2022 +14 gpgv: using RSA key 357DCB0EEC95A01AEBA1F0D2DE63B9C704EBE9EF gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./bfbtester_2.0.1-7.2.dsc: no acceptable signature found @@ -25,135 +25,167 @@ dpkg-source: info: applying bfbtester_2.0.1-7.2.diff.gz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/857429/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/311619/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 5 14:18 /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/311619/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/311619/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 parallel=16 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + 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=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='9c87209ece9244678400e3f593d85192' - 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='857429' - PS1='# ' - PS2='> ' + INVOCATION_ID=f118f2635c8243fa8d87a72e7d0b3e3d + 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=311619 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.dlT3QPa6/pbuilderrc_xGvl --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.dlT3QPa6/b1 --logfile b1/build.log bfbtester_2.0.1-7.2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dlT3QPa6/pbuilderrc_PJJv --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.dlT3QPa6/b2 --logfile b2/build.log --extrapackages usrmerge bfbtester_2.0.1-7.2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 6.1.0-0.deb11.7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-2~bpo11+1 (2023-04-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 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 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 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/857429/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 11:23 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:23 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Jun 5 14:18 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 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/311619/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -219,7 +251,7 @@ Get: 28 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] -Fetched 18.7 MB in 0s (39.0 MB/s) +Fetched 18.7 MB in 0s (40.0 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 ... 19591 files and directories currently installed.) @@ -356,10 +388,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/bfbtester-2.0.1/ && 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 > ../bfbtester_2.0.1-7.2_source.changes +I: user script /srv/workspace/pbuilder/311619/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/311619/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/bfbtester-2.0.1/ && 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 > ../bfbtester_2.0.1-7.2_source.changes dpkg-buildpackage: info: source package bfbtester dpkg-buildpackage: info: source version 2.0.1-7.2 dpkg-buildpackage: info: source distribution unstable @@ -423,7 +462,7 @@ checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -453,8 +492,8 @@ checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/time.h... yes @@ -480,7 +519,7 @@ config.status: creating src/config.h config.status: executing depfiles commands dh_auto_build - make -j16 + make -j15 make[1]: Entering directory '/build/bfbtester-2.0.1' Making all in src make[2]: Entering directory '/build/bfbtester-2.0.1/src' @@ -494,120 +533,8 @@ gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bfbtester-2.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o exec.o exec.c gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bfbtester-2.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o tempfiles.o tempfiles.c gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bfbtester-2.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o utils.o utils.c -In file included from bfbtester.c:41: -../../src/include/utils.h: In function '_xmalloc': -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -../../src/include/utils.h:66:17: note: in expansion of macro 'bfbt_message' - 66 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -../../src/include/utils.h: In function '_xcalloc': -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -../../src/include/utils.h:78:17: note: in expansion of macro 'bfbt_message' - 78 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -bfbtester.c: In function 'main': -../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) - | ^~~~~~~~~~~~ -bfbtester.c:128:13: note: in expansion of macro 'xcalloc' - 128 | q = xcalloc(1, sizeof(THREAD_DATA)); - | ^~~~~~~ -../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' - 73 | _xcalloc(size_t number, size_t size, char *function, int line) - | ~~~~~~^~~~~~~~ -../../src/include/utils.h:59:37: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 59 | #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) - | ^~~~~~~~~~~~ -bfbtester.c:130:18: note: in expansion of macro 'xmalloc' - 130 | q->mut = xmalloc(sizeof(pthread_mutex_t)); - | ^~~~~~~ -../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' - 61 | _xmalloc(size_t size, char *function, int line) - | ~~~~~~^~~~~~~~ -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -bfbtester.c:133:17: note: in expansion of macro 'bfbt_message' - 133 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "mutex init"); - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -bfbtester.c: In function 'load_execs': -../../src/include/utils.h:59:37: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 59 | #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) - | ^~~~~~~~~~~~ -bfbtester.c:243:49: note: in expansion of macro 'xmalloc' - 243 | && (filename = xmalloc(strlen(pwd) + strlen(*av) + 2)) - | ^~~~~~~ -../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' - 61 | _xmalloc(size_t size, char *function, int line) - | ~~~~~~^~~~~~~~ -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -bfbtester.c:261:41: note: in expansion of macro 'bfbt_message' - 261 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't open dir %s", - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -bfbtester.c:266:33: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] - 266 | ret = readdir_r(dir, &entry, &result); - | ^~~ -In file included from bfbtester.c:35: -/usr/include/dirent.h:185:12: note: declared here - 185 | extern int readdir_r (DIR *__restrict __dirp, - | ^~~~~~~~~ -bfbtester.c:272:41: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] - 272 | ret = readdir_r(dir, &entry, &result); - | ^~~ -/usr/include/dirent.h:185:12: note: declared here - 185 | extern int readdir_r (DIR *__restrict __dirp, - | ^~~~~~~~~ -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -bfbtester.c:278:33: note: in expansion of macro 'bfbt_message' - 278 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't access file: %s (%s)", - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -bfbtester.c:281:33: note: in expansion of macro 'bfbt_message' - 281 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't find file: %s", *av); - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ In file included from tempfiles.c:37: ../../src/include/utils.h: In function '_xmalloc': -In file included from exec.c:43: -../../src/include/utils.h: In function '_xmalloc': -In file included from breaker.c:34: -../../src/include/utils.h: In function '_xmalloc': -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -../../src/include/utils.h:66:17: note: in expansion of macro 'bfbt_message' - 66 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ @@ -661,6 +588,18 @@ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ +tempfiles.c: In function 'tempfile_start': +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +tempfiles.c:341:17: note: in expansion of macro 'bfbt_message' + 341 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "tempfile thread create"); + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +In file included from utils.c:37: +../../src/include/utils.h: In function '_xmalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ @@ -680,54 +619,104 @@ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ -exec.c: In function 'execute_program': +utils.c: In function 'find_exec_in_path': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ -exec.c:63:17: note: in expansion of macro 'bfbt_message' - 63 | bfbt_message(MSG_TYPE_DEBUG_L1, "Hit maximum execs"); - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, +utils.c:81:25: note: in expansion of macro 'bfbt_message' + 81 | bfbt_message(MSG_TYPE_ERROR_ABORT, "out of memory"); + | ^~~~~~~~~~~~ +utils.c:43:37: note: expected 'char *' but argument is of type 'const char *' + 43 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ +utils.c: In function 'args_to_str': +../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) + | ^~~~~~~~~~~~ +utils.c:115:15: note: in expansion of macro 'xcalloc' + 115 | str = xcalloc(1, i); + | ^~~~~~~ +../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' + 73 | _xcalloc(size_t number, size_t size, char *function, int line) + | ~~~~~~^~~~~~~~ +utils.c: In function 'env_to_str': +../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) + | ^~~~~~~~~~~~ +utils.c:143:15: note: in expansion of macro 'xcalloc' + 143 | str = xcalloc(1, i); + | ^~~~~~~ +../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' + 73 | _xcalloc(size_t number, size_t size, char *function, int line) + | ~~~~~~^~~~~~~~ +utils.c: In function 'env_create': +../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) + | ^~~~~~~~~~~~ +utils.c:188:17: note: in expansion of macro 'xcalloc' + 188 | temp2 = xcalloc(1, (i+1) * sizeof(*temp2)); + | ^~~~~~~ +../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' + 73 | _xcalloc(size_t number, size_t size, char *function, int line) + | ~~~~~~^~~~~~~~ +In file included from bfbtester.c:41: +../../src/include/utils.h: In function '_xmalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ -exec.c:71:17: note: in expansion of macro 'bfbt_message' - 71 | bfbt_message(MSG_TYPE_ERROR_WARN, "Couldn't fork process"); +../../src/include/utils.h:66:17: note: in expansion of macro 'bfbt_message' + 66 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", | ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ +../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ -exec.c:81:25: note: in expansion of macro 'bfbt_message' - 81 | bfbt_message(MSG_TYPE_ERRNO_WARN, "Couldn't set process group"); - | ^~~~~~~~~~~~ +../../src/include/utils.h:78:17: note: in expansion of macro 'bfbt_message' + 78 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", + | ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ +In file included from breaker.c:34: +../../src/include/utils.h: In function '_xmalloc': +bfbtester.c: In function 'main': +../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) + | ^~~~~~~~~~~~ +bfbtester.c:128:13: note: in expansion of macro 'xcalloc' + 128 | q = xcalloc(1, sizeof(THREAD_DATA)); + | ^~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ -exec.c:94:17: note: in expansion of macro 'bfbt_message' - 94 | bfbt_message(MSG_TYPE_ERRNO_WARN, "execve '%s'", test_entry->progname); +../../src/include/utils.h:66:17: note: in expansion of macro 'bfbt_message' + 66 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", | ^~~~~~~~~~~~ +../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' + 73 | _xcalloc(size_t number, size_t size, char *function, int line) + | ~~~~~~^~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ -exec.c: In function 'exec_process_close': +../../src/include/utils.h:59:37: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 59 | #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) + | ^~~~~~~~~~~~ +bfbtester.c:130:18: note: in expansion of macro 'xmalloc' + 130 | q->mut = xmalloc(sizeof(pthread_mutex_t)); + | ^~~~~~~ +../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' + 61 | _xmalloc(size_t size, char *function, int line) + | ~~~~~~^~~~~~~~ +../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ -exec.c:156:17: note: in expansion of macro 'bfbt_message' - 156 | bfbt_message(MSG_TYPE_ERROR_WARN, +bfbtester.c:133:17: note: in expansion of macro 'bfbt_message' + 133 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "mutex init"); | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ @@ -737,6 +726,19 @@ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +bfbtester.c: In function 'load_execs': +../../src/include/utils.h:59:37: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 59 | #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) + | ^~~~~~~~~~~~ +bfbtester.c:243:49: note: in expansion of macro 'xmalloc' + 243 | && (filename = xmalloc(strlen(pwd) + strlen(*av) + 2)) + | ^~~~~~~ +../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' + 61 | _xmalloc(size_t size, char *function, int line) + | ~~~~~~^~~~~~~~ breaker.c: In function 'breaker_test_singlearg': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) @@ -756,6 +758,22 @@ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' 73 | _xcalloc(size_t number, size_t size, char *function, int line) | ~~~~~~^~~~~~~~ +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +bfbtester.c:261:41: note: in expansion of macro 'bfbt_message' + 261 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't open dir %s", + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +bfbtester.c:266:33: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] + 266 | ret = readdir_r(dir, &entry, &result); + | ^~~ +In file included from bfbtester.c:35: +/usr/include/dirent.h:185:12: note: declared here + 185 | extern int readdir_r (DIR *__restrict __dirp, + | ^~~~~~~~~ ../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) | ^~~~~~~~~~~~ @@ -765,16 +783,40 @@ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' 73 | _xcalloc(size_t number, size_t size, char *function, int line) | ~~~~~~^~~~~~~~ +bfbtester.c:272:41: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] + 272 | ret = readdir_r(dir, &entry, &result); + | ^~~ +/usr/include/dirent.h:185:12: note: declared here + 185 | extern int readdir_r (DIR *__restrict __dirp, + | ^~~~~~~~~ breaker.c: In function 'breaker_test_multiplearg': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ +bfbtester.c:278:33: note: in expansion of macro 'bfbt_message' + 278 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't access file: %s (%s)", + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ breaker.c:99:9: note: in expansion of macro 'bfbt_message' 99 | bfbt_message(MSG_TYPE_MESSAGE, " * Multiple arguments testing"); | ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +bfbtester.c:281:33: note: in expansion of macro 'bfbt_message' + 281 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't find file: %s", *av); + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ ../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) | ^~~~~~~~~~~~ @@ -803,16 +845,6 @@ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' 73 | _xcalloc(size_t number, size_t size, char *function, int line) | ~~~~~~^~~~~~~~ -tempfiles.c: In function 'tempfile_start': -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -tempfiles.c:341:17: note: in expansion of macro 'bfbt_message' - 341 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "tempfile thread create"); - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ ../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) | ^~~~~~~~~~~~ @@ -890,6 +922,74 @@ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ +In file included from exec.c:43: +../../src/include/utils.h: In function '_xmalloc': +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +../../src/include/utils.h:66:17: note: in expansion of macro 'bfbt_message' + 66 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +../../src/include/utils.h: In function '_xcalloc': +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +../../src/include/utils.h:78:17: note: in expansion of macro 'bfbt_message' + 78 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +exec.c: In function 'execute_program': +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +exec.c:63:17: note: in expansion of macro 'bfbt_message' + 63 | bfbt_message(MSG_TYPE_DEBUG_L1, "Hit maximum execs"); + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +exec.c:71:17: note: in expansion of macro 'bfbt_message' + 71 | bfbt_message(MSG_TYPE_ERROR_WARN, "Couldn't fork process"); + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +exec.c:81:25: note: in expansion of macro 'bfbt_message' + 81 | bfbt_message(MSG_TYPE_ERRNO_WARN, "Couldn't set process group"); + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +exec.c:94:17: note: in expansion of macro 'bfbt_message' + 94 | bfbt_message(MSG_TYPE_ERRNO_WARN, "execve '%s'", test_entry->progname); + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ +exec.c: In function 'exec_process_close': +../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) + | ^~~~~~~~~~~~~~~~~~~ +exec.c:156:17: note: in expansion of macro 'bfbt_message' + 156 | bfbt_message(MSG_TYPE_ERROR_WARN, + | ^~~~~~~~~~~~ +../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' + 44 | __bfbt_message(MsgType type, char * function, int line, + | ~~~~~~~^~~~~~~~ In file included from data_stuff.c:42: ../../src/include/utils.h: In function '_xmalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] @@ -961,67 +1061,6 @@ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ -In file included from utils.c:37: -../../src/include/utils.h: In function '_xmalloc': -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -../../src/include/utils.h:66:17: note: in expansion of macro 'bfbt_message' - 66 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -../../src/include/utils.h: In function '_xcalloc': -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -../../src/include/utils.h:78:17: note: in expansion of macro 'bfbt_message' - 78 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", - | ^~~~~~~~~~~~ -../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' - 44 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -utils.c: In function 'find_exec_in_path': -../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) - | ^~~~~~~~~~~~~~~~~~~ -utils.c:81:25: note: in expansion of macro 'bfbt_message' - 81 | bfbt_message(MSG_TYPE_ERROR_ABORT, "out of memory"); - | ^~~~~~~~~~~~ -utils.c:43:37: note: expected 'char *' but argument is of type 'const char *' - 43 | __bfbt_message(MsgType type, char * function, int line, - | ~~~~~~~^~~~~~~~ -utils.c: In function 'args_to_str': -../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) - | ^~~~~~~~~~~~ -utils.c:115:15: note: in expansion of macro 'xcalloc' - 115 | str = xcalloc(1, i); - | ^~~~~~~ -../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' - 73 | _xcalloc(size_t number, size_t size, char *function, int line) - | ~~~~~~^~~~~~~~ -utils.c: In function 'env_to_str': -../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) - | ^~~~~~~~~~~~ -utils.c:143:15: note: in expansion of macro 'xcalloc' - 143 | str = xcalloc(1, i); - | ^~~~~~~ -../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' - 73 | _xcalloc(size_t number, size_t size, char *function, int line) - | ~~~~~~^~~~~~~~ -utils.c: In function 'env_create': -../../src/include/utils.h:71:40: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 71 | #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) - | ^~~~~~~~~~~~ -utils.c:188:17: note: in expansion of macro 'xcalloc' - 188 | temp2 = xcalloc(1, (i+1) * sizeof(*temp2)); - | ^~~~~~~ -../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' - 73 | _xcalloc(size_t number, size_t size, char *function, int line) - | ~~~~~~^~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/bfbtester-2.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -o bfbtester bfbtester.o breaker.o data_stuff.o exec.o tempfiles.o utils.o -lpthread make[4]: Leaving directory '/build/bfbtester-2.0.1/src/bfbt' make[4]: Entering directory '/build/bfbtester-2.0.1/src' @@ -1033,7 +1072,7 @@ make[2]: Leaving directory '/build/bfbtester-2.0.1' make[1]: Leaving directory '/build/bfbtester-2.0.1' dh_auto_test - make -j16 check "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 + make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 make[1]: Entering directory '/build/bfbtester-2.0.1' Making check in src make[2]: Entering directory '/build/bfbtester-2.0.1/src' @@ -1055,7 +1094,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/bfbtester/ - make -j16 install DESTDIR=/build/bfbtester-2.0.1/debian/bfbtester AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/bfbtester-2.0.1/debian/bfbtester AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/bfbtester-2.0.1' Making install in src make[2]: Entering directory '/build/bfbtester-2.0.1/src' @@ -1063,7 +1102,7 @@ make[3]: Entering directory '/build/bfbtester-2.0.1/src/bfbt' make[4]: Entering directory '/build/bfbtester-2.0.1/src/bfbt' make[4]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/bfbtester-2.0.1/debian/bfbtester/usr/bin' + /usr/bin/mkdir -p '/build/bfbtester-2.0.1/debian/bfbtester/usr/bin' /usr/bin/install -c bfbtester '/build/bfbtester-2.0.1/debian/bfbtester/usr/bin' make[4]: Leaving directory '/build/bfbtester-2.0.1/src/bfbt' make[3]: Leaving directory '/build/bfbtester-2.0.1/src/bfbt' @@ -1098,8 +1137,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'bfbtester' in '../bfbtester_2.0.1-7.2_amd64.deb'. dpkg-deb: building package 'bfbtester-dbgsym' in '../bfbtester-dbgsym_2.0.1-7.2_amd64.deb'. +dpkg-deb: building package 'bfbtester' in '../bfbtester_2.0.1-7.2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../bfbtester_2.0.1-7.2_amd64.buildinfo dpkg-genchanges --build=binary -O../bfbtester_2.0.1-7.2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1107,12 +1146,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/311619/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/311619/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/857429 and its subdirectories -I: Current time: Sat Jul 6 18:41:57 -12 2024 -I: pbuilder-time-stamp: 1720334517 +I: removing directory /srv/workspace/pbuilder/311619 and its subdirectories +I: Current time: Mon Jun 5 14:19:27 +14 2023 +I: pbuilder-time-stamp: 1685924367