Diff of the two buildlogs: -- --- b1/build.log 2024-05-19 12:03:39.941729070 +0000 +++ b2/build.log 2024-05-19 12:04:56.162485845 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 19 00:02:48 -12 2024 -I: pbuilder-time-stamp: 1716120168 +I: Current time: Mon May 20 02:03:43 +14 2024 +I: pbuilder-time-stamp: 1716120223 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking bfbtester_2.0.1-7.3.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2834322/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1458342/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 19 12:03 /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/1458342/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1458342/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='d50c78808711462db39fc5efe522c2f6' - 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='2834322' - PS1='# ' - PS2='> ' + INVOCATION_ID=3895cb3cdd8e4b67ac5cb192797f07cd + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=1458342 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.8xe1n6EW/pbuilderrc_cHDz --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8xe1n6EW/b1 --logfile b1/build.log bfbtester_2.0.1-7.3.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.8xe1n6EW/pbuilderrc_ERYu --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8xe1n6EW/b2 --logfile b2/build.log bfbtester_2.0.1-7.3.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 18 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2834322/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 17 11:23 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1458342/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -137,7 +169,7 @@ Get: 28 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.15.3 [901 kB] -Fetched 18.7 MB in 0s (110 MB/s) +Fetched 18.7 MB in 0s (94.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 ... 19747 files and directories currently installed.) @@ -277,7 +309,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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.3_source.changes +I: user script /srv/workspace/pbuilder/1458342/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1458342/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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.3_source.changes dpkg-buildpackage: info: source package bfbtester dpkg-buildpackage: info: source version 2.0.1-7.3 dpkg-buildpackage: info: source distribution unstable @@ -416,8 +452,6 @@ gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bfbtester-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -c -o utils.o utils.c In file included from bfbtester.c:41: ../../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) | ^~~~~~~~~~~~~~~~~~~ @@ -437,7 +471,86 @@ ../../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, | ~~~~~~~^~~~~~~~ -breaker.c: In function 'breaker_test_singlearg': +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 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) | ^~~~~~~~~~~~~~~~~~~ @@ -447,13 +560,23 @@ ../../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, + | ~~~~~~~^~~~~~~~ +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) | ^~~~~~~~~~~~~~~~~~~ breaker.c:66:9: note: in expansion of macro 'bfbt_message' 66 | bfbt_message(MSG_TYPE_MESSAGE, " * Single argument testing"); | ^~~~~~~~~~~~ -../../src/include/utils.h: In function '_xcalloc': ../../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, | ~~~~~~~^~~~~~~~ @@ -472,16 +595,6 @@ breaker.c:75:20: note: in expansion of macro 'xcalloc' 75 | long_arg = xcalloc(1, long_arg_len); | ^~~~~~~ -../../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:73:44: note: expected 'char *' but argument is of type 'const char *' 73 | _xcalloc(size_t number, size_t size, char *function, int line) | ~~~~~~^~~~~~~~ @@ -505,30 +618,6 @@ 73 | _xcalloc(size_t number, size_t size, char *function, int line) | ~~~~~~^~~~~~~~ breaker.c: In function 'breaker_test_env': -../../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: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) | ^~~~~~~~~~~~~~~~~~~ @@ -544,10 +633,6 @@ breaker.c:139:20: note: in expansion of macro 'xcalloc' 139 | long_arg = xcalloc(1, long_arg_len); | ^~~~~~~ -../../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:73:44: note: expected 'char *' but argument is of type 'const char *' 73 | _xcalloc(size_t number, size_t size, char *function, int line) | ~~~~~~^~~~~~~~ @@ -570,22 +655,7 @@ ../../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: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)) - | ^~~~~~~ breaker.c: In function 'breaker_tempfile_removecb': -../../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: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) | ^~~~~~~~~~~~~~~~~~~ @@ -614,57 +684,26 @@ ../../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); - | ^~~ -../../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:191:17: note: in expansion of macro 'bfbt_message' 191 | bfbt_message(MSG_TYPE_MESSAGE, " (setgid: %d)", | ^~~~~~~~~~~~ -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); - | ^~~ ../../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, | ~~~~~~~^~~~~~~~ breaker.c: In function 'breaker_cleanup': -/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) | ^~~~~~~~~~~~~~~~~~~ breaker.c:215:9: note: in expansion of macro 'bfbt_message' 215 | bfbt_message(MSG_TYPE_MESSAGE, "Cleaning up...might take a few seconds"); | ^~~~~~~~~~~~ -../../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, | ~~~~~~~^~~~~~~~ breaker.c: In function 'breaker_start': -../../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: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) | ^~~~~~~~~~~~~~~~~~~ @@ -676,9 +715,6 @@ | ~~~~~~~^~~~~~~~ In file included from data_stuff.c:42: ../../src/include/utils.h: In function '_xmalloc': -../../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) | ^~~~~~~~~~~~~~~~~~~ @@ -709,6 +745,8 @@ 61 | _xmalloc(size_t size, char *function, int line) | ~~~~~~^~~~~~~~ data_stuff.c: In function 'TestEntry_init': +In file included from tempfiles.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) | ^~~~~~~~~~~~~~~~~~~ @@ -728,10 +766,35 @@ ../../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) | ~~~~~~^~~~~~~~ -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': +../../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, + | ~~~~~~~^~~~~~~~ +tempfiles.c: In function 'addFile': +../../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__) + | ^~~~~~~~~~~~ +tempfiles.c:112:15: note: in expansion of macro 'xmalloc' + 112 | new = xmalloc(sizeof(FileEntry)); + | ^~~~~~~ +../../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) + | ~~~~~~^~~~~~~~ data_stuff.c: In function 'CrashReport_add': ../../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__) @@ -742,36 +805,52 @@ ../../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) | ~~~~~~^~~~~~~~ -data_stuff.c: In function 'CrashReport_log': +tempfiles.c: In function 'tempfile_scandir': +tempfiles.c:219:9: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] + 219 | ret = readdir_r(dir, &entry, &result); + | ^~~ +In file included from tempfiles.c:32: +/usr/include/dirent.h:185:12: note: declared here + 185 | extern int readdir_r (DIR *__restrict __dirp, + | ^~~~~~~~~ +tempfiles.c:222:17: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] + 222 | ret = readdir_r(dir, &entry, &result); + | ^~~ +/usr/include/dirent.h:185:12: note: declared here + 185 | extern int readdir_r (DIR *__restrict __dirp, + | ^~~~~~~~~ +tempfiles.c: In function 'tempfile_watch': ../../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) | ^~~~~~~~~~~~~~~~~~~ -data_stuff.c:277:9: note: in expansion of macro 'bfbt_message' - 277 | bfbt_message(MSG_TYPE_MESSAGE, - | ^~~~~~~~~~~~ +tempfiles.c:269:17: note: in expansion of macro 'bfbt_message' + 269 | bfbt_message(MSG_TYPE_ERROR_ABORT, "opendir: %s failed", dirname); + | ^~~~~~~~~~~~ ../../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, | ~~~~~~~^~~~~~~~ +data_stuff.c: In function 'CrashReport_log': ../../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]", - | ^~~~~~~~~~~~ +data_stuff.c:277:9: note: in expansion of macro 'bfbt_message' + 277 | bfbt_message(MSG_TYPE_MESSAGE, + | ^~~~~~~~~~~~ ../../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': +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) | ^~~~~~~~~~~~~~~~~~~ -../../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]", +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, | ~~~~~~~^~~~~~~~ -tempfiles.c: In function 'addFile': +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) | ^~~~~~~~~~~~~~~~~~~ @@ -791,15 +870,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, | ~~~~~~~^~~~~~~~ -../../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__) - | ^~~~~~~~~~~~ -tempfiles.c:112:15: note: in expansion of macro 'xmalloc' - 112 | new = xmalloc(sizeof(FileEntry)); - | ^~~~~~~ -../../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) - | ~~~~~~^~~~~~~~ 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) @@ -847,40 +917,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, | ~~~~~~~^~~~~~~~ -tempfiles.c: In function 'tempfile_scandir': -tempfiles.c:219:9: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] - 219 | ret = readdir_r(dir, &entry, &result); - | ^~~ -In file included from tempfiles.c:32: -/usr/include/dirent.h:185:12: note: declared here - 185 | extern int readdir_r (DIR *__restrict __dirp, - | ^~~~~~~~~ -tempfiles.c:222:17: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] - 222 | ret = readdir_r(dir, &entry, &result); - | ^~~ -/usr/include/dirent.h:185:12: note: declared here - 185 | extern int readdir_r (DIR *__restrict __dirp, - | ^~~~~~~~~ -tempfiles.c: In function 'tempfile_watch': -../../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:269:17: note: in expansion of macro 'bfbt_message' - 269 | bfbt_message(MSG_TYPE_ERROR_ABORT, "opendir: %s failed", dirname); - | ^~~~~~~~~~~~ -../../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] @@ -982,8 +1018,8 @@ Making install in bfbt make[3]: Entering directory '/build/reproducible-path/bfbtester-2.0.1/src/bfbt' make[4]: Entering directory '/build/reproducible-path/bfbtester-2.0.1/src/bfbt' - /usr/bin/mkdir -p '/build/reproducible-path/bfbtester-2.0.1/debian/bfbtester/usr/bin' make[4]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/reproducible-path/bfbtester-2.0.1/debian/bfbtester/usr/bin' /usr/bin/install -c bfbtester '/build/reproducible-path/bfbtester-2.0.1/debian/bfbtester/usr/bin' make[4]: Leaving directory '/build/reproducible-path/bfbtester-2.0.1/src/bfbt' make[3]: Leaving directory '/build/reproducible-path/bfbtester-2.0.1/src/bfbt' @@ -1018,8 +1054,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'bfbtester' in '../bfbtester_2.0.1-7.3_arm64.deb'. dpkg-deb: building package 'bfbtester-dbgsym' in '../bfbtester-dbgsym_2.0.1-7.3_arm64.deb'. +dpkg-deb: building package 'bfbtester' in '../bfbtester_2.0.1-7.3_arm64.deb'. dpkg-genbuildinfo --build=binary -O../bfbtester_2.0.1-7.3_arm64.buildinfo dpkg-genchanges --build=binary -O../bfbtester_2.0.1-7.3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1027,12 +1063,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/1458342/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1458342/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/2834322 and its subdirectories -I: Current time: Sun May 19 00:03:38 -12 2024 -I: pbuilder-time-stamp: 1716120218 +I: removing directory /srv/workspace/pbuilder/1458342 and its subdirectories +I: Current time: Mon May 20 02:04:55 +14 2024 +I: pbuilder-time-stamp: 1716120295