Diff of the two buildlogs: -- --- b1/build.log 2024-05-31 13:41:24.365845845 +0000 +++ b2/build.log 2024-05-31 13:42:20.579455371 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 31 01:38:05 -12 2024 -I: pbuilder-time-stamp: 1717162685 +I: Current time: Fri Jul 4 10:04:27 +14 2025 +I: pbuilder-time-stamp: 1751573067 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/1268304/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2001770/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Jul 3 20:04 /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/2001770/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2001770/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='afe29e8eaa5a4883a22be05cd760af0e' - 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='1268304' - PS1='# ' - PS2='> ' + INVOCATION_ID=1e2e183908f04ed5add30355da9ff4dd + 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=2001770 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.h11MtuJC/pbuilderrc_h55l --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.h11MtuJC/b1 --logfile b1/build.log bfbtester_2.0.1-7.3.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.h11MtuJC/pbuilderrc_pZIq --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.h11MtuJC/b2 --logfile b2/build.log bfbtester_2.0.1-7.3.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 27 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1268304/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 30 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2001770/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -136,7 +168,7 @@ Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.15.3 [901 kB] -Fetched 19.0 MB in 2s (10.7 MB/s) +Fetched 19.0 MB in 0s (79.3 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 ... 19719 files and directories currently installed.) @@ -272,7 +304,11 @@ fakeroot is already the newest version (1.34-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/2001770/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2001770/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 @@ -395,7 +431,7 @@ config.status: creating src/config.h config.status: executing depfiles commands dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/bfbtester-2.0.1' Making all in src make[2]: Entering directory '/build/reproducible-path/bfbtester-2.0.1/src' @@ -409,7 +445,7 @@ 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 -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bfbtester-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bfbtester-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o utils.o utils.c -In file included from bfbtester.c:41: +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) @@ -430,61 +466,51 @@ ../../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) - | ~~~~~~^~~~~~~~ +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__) | ^~~~~~~~~~~~ -bfbtester.c:130:18: note: in expansion of macro 'xmalloc' - 130 | q->mut = xmalloc(sizeof(pthread_mutex_t)); - | ^~~~~~~ +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) | ~~~~~~^~~~~~~~ +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) | ^~~~~~~~~~~~~~~~~~~ -bfbtester.c:133:17: note: in expansion of macro 'bfbt_message' - 133 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "mutex init"); +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, | ~~~~~~~^~~~~~~~ -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) - | ~~~~~~^~~~~~~~ +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) | ^~~~~~~~~~~~~~~~~~~ -bfbtester.c:261:41: note: in expansion of macro 'bfbt_message' - 261 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't open dir %s", - | ^~~~~~~~~~~~ +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, | ~~~~~~~^~~~~~~~ -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, - | ^~~~~~~~~ -In file included from tempfiles.c:37: +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) @@ -505,84 +531,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, | ~~~~~~~^~~~~~~~ -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, - | ^~~~~~~~~ -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) - | ~~~~~~^~~~~~~~ -tempfiles.c: In function 'tempfile_scandir': +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) | ^~~~~~~~~~~~~~~~~~~ -bfbtester.c:278:33: note: in expansion of macro 'bfbt_message' - 278 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't access file: %s (%s)", - | ^~~~~~~~~~~~ +breaker.c:66:9: note: in expansion of macro 'bfbt_message' + 66 | bfbt_message(MSG_TYPE_MESSAGE, " * Single argument 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: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__) + | ^~~~~~~~~~~~ +breaker.c:67:20: note: in expansion of macro 'xcalloc' + 67 | long_arg = xcalloc(1, short_arg_len); + | ^~~~~~~ +../../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: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__) + | ^~~~~~~~~~~~ +breaker.c:75:20: note: in expansion of macro 'xcalloc' + 75 | long_arg = xcalloc(1, long_arg_len); + | ^~~~~~~ +../../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) + | ~~~~~~^~~~~~~~ +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:281:33: note: in expansion of macro 'bfbt_message' - 281 | bfbt_message(MSG_TYPE_ERROR_WARN, "Can't find file: %s", *av); - | ^~~~~~~~~~~~ +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, | ~~~~~~~^~~~~~~~ -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: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__) + | ^~~~~~~~~~~~ +breaker.c:100:20: note: in expansion of macro 'xcalloc' + 100 | long_arg = xcalloc(1, arg_len); + | ^~~~~~~ +../../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) + | ~~~~~~^~~~~~~~ +breaker.c: In function 'breaker_test_env': ../../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); - | ^~~~~~~~~~~~ +breaker.c:138:9: note: in expansion of macro 'bfbt_message' + 138 | bfbt_message(MSG_TYPE_MESSAGE, " * Environment variable 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, | ~~~~~~~^~~~~~~~ -tempfiles.c: In function 'tempfile_start': +../../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__) + | ^~~~~~~~~~~~ +breaker.c:139:20: note: in expansion of macro 'xcalloc' + 139 | long_arg = xcalloc(1, long_arg_len); + | ^~~~~~~ +../../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: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__) + | ^~~~~~~~~~~~ +breaker.c:140:21: note: in expansion of macro 'xcalloc' + 140 | long_arg2 = xcalloc(1, long_arg_len); + | ^~~~~~~ +../../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) + | ~~~~~~^~~~~~~~ +breaker.c: In function 'breaker_tempfile_createcb': ../../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"); - | ^~~~~~~~~~~~ +breaker.c:165:9: note: in expansion of macro 'bfbt_message' + 165 | bfbt_message(MSG_TYPE_MESSAGE, "[Tempfile: %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, | ~~~~~~~^~~~~~~~ -In file included from exec.c:43: -../../src/include/utils.h: In function '_xmalloc': +breaker.c: In function 'breaker_tempfile_removecb': ../../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]", - | ^~~~~~~~~~~~ -In file included from utils.c:37: +breaker.c:174:9: note: in expansion of macro 'bfbt_message' + 174 | bfbt_message(MSG_TYPE_MESSAGE, "[Tempfile: %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, + | ~~~~~~~^~~~~~~~ +In file included from exec.c:43: ../../src/include/utils.h: In function '_xmalloc': +breaker.c: In function 'breaker_runtests': ../../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) | ^~~~~~~~~~~~~~~~~~~ @@ -592,6 +638,12 @@ ../../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:186:9: note: in expansion of macro 'bfbt_message' + 186 | bfbt_message(MSG_TYPE_MESSAGE, "=> %s", entry->fullname); + | ^~~~~~~~~~~~ ../../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, | ~~~~~~~^~~~~~~~ @@ -605,46 +657,34 @@ ../../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]", +breaker.c:188:17: note: in expansion of macro 'bfbt_message' + 188 | bfbt_message(MSG_TYPE_MESSAGE, " (setuid: %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': -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, + | ~~~~~~~^~~~~~~~ ../../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, - | ~~~~~~~^~~~~~~~ +breaker.c:191:17: note: in expansion of macro 'bfbt_message' + 191 | bfbt_message(MSG_TYPE_MESSAGE, " (setgid: %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 '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) - | ~~~~~~^~~~~~~~ ../../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) | ^~~~~~~~~~~~~~~~~~~ @@ -654,34 +694,95 @@ ../../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': ../../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: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: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, | ~~~~~~~^~~~~~~~ +breaker.c: In function 'breaker_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) | ^~~~~~~~~~~~~~~~~~~ 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: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:263:17: note: in expansion of macro 'bfbt_message' + 263 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Can't create run thread"); + | ^~~~~~~~~~~~ +../../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, | ~~~~~~~^~~~~~~~ exec.c: In function 'exec_process_close': +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: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: 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, + | ~~~~~~~^~~~~~~~ ../../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__) @@ -702,7 +803,7 @@ ../../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 data_stuff.c:42: +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) @@ -723,220 +824,155 @@ ../../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 'ExecEntry_add': +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__) | ^~~~~~~~~~~~ -data_stuff.c:96:15: note: in expansion of macro 'xmalloc' - 96 | new = xmalloc(sizeof(ExecEntry)); - | ^~~~~~~ +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) | ~~~~~~^~~~~~~~ -data_stuff.c: In function 'TestEntry_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) | ^~~~~~~~~~~~~~~~~~~ -data_stuff.c:162:17: note: in expansion of macro 'bfbt_message' - 162 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Out of memory"); +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, | ~~~~~~~^~~~~~~~ -data_stuff.c: In function 'TestEntry_create': -../../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__) - | ^~~~~~~~~~~~ -data_stuff.c:192:15: note: in expansion of macro 'xmalloc' - 192 | new = xmalloc(sizeof(TestEntry)); - | ^~~~~~~ -../../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': +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__) | ^~~~~~~~~~~~ -data_stuff.c:260:15: note: in expansion of macro 'xmalloc' - 260 | new = xmalloc(sizeof(CrashReport)); - | ^~~~~~~ +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) | ~~~~~~^~~~~~~~ -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) - | ^~~~~~~~~~~~~~~~~~~ -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, - | ~~~~~~~^~~~~~~~ -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: 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: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__) - | ^~~~~~~~~~~~ -breaker.c:67:20: note: in expansion of macro 'xcalloc' - 67 | long_arg = xcalloc(1, short_arg_len); - | ^~~~~~~ -../../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: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__) - | ^~~~~~~~~~~~ -breaker.c:75:20: note: in expansion of macro 'xcalloc' - 75 | long_arg = xcalloc(1, long_arg_len); - | ^~~~~~~ -../../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) - | ~~~~~~^~~~~~~~ -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) - | ^~~~~~~~~~~~~~~~~~~ -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: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__) - | ^~~~~~~~~~~~ -breaker.c:100:20: note: in expansion of macro 'xcalloc' - 100 | long_arg = xcalloc(1, arg_len); - | ^~~~~~~ -../../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) - | ~~~~~~^~~~~~~~ -breaker.c: In function 'breaker_test_env': -../../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:138:9: note: in expansion of macro 'bfbt_message' - 138 | bfbt_message(MSG_TYPE_MESSAGE, " * Environment variable testing"); - | ^~~~~~~~~~~~ +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, | ~~~~~~~^~~~~~~~ -../../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__) - | ^~~~~~~~~~~~ -breaker.c:139:20: note: in expansion of macro 'xcalloc' - 139 | long_arg = xcalloc(1, long_arg_len); - | ^~~~~~~ -../../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: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__) - | ^~~~~~~~~~~~ -breaker.c:140:21: note: in expansion of macro 'xcalloc' - 140 | long_arg2 = xcalloc(1, long_arg_len); - | ^~~~~~~ -../../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) - | ~~~~~~^~~~~~~~ -breaker.c: In function 'breaker_tempfile_createcb': +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) | ^~~~~~~~~~~~~~~~~~~ -breaker.c:165:9: note: in expansion of macro 'bfbt_message' - 165 | bfbt_message(MSG_TYPE_MESSAGE, "[Tempfile: %s]+ \"%s\"", - | ^~~~~~~~~~~~ +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_tempfile_removecb': ../../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:174:9: note: in expansion of macro 'bfbt_message' - 174 | bfbt_message(MSG_TYPE_MESSAGE, "[Tempfile: %s]- \"%s\"", - | ^~~~~~~~~~~~ +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, | ~~~~~~~^~~~~~~~ -breaker.c: In function 'breaker_runtests': +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] 41 | __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) | ^~~~~~~~~~~~~~~~~~~ -breaker.c:186:9: note: in expansion of macro 'bfbt_message' - 186 | bfbt_message(MSG_TYPE_MESSAGE, "=> %s", entry->fullname); - | ^~~~~~~~~~~~ +../../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) | ^~~~~~~~~~~~~~~~~~~ -breaker.c:188:17: note: in expansion of macro 'bfbt_message' - 188 | bfbt_message(MSG_TYPE_MESSAGE, " (setuid: %d)", +../../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, | ~~~~~~~^~~~~~~~ +data_stuff.c: In function 'ExecEntry_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__) + | ^~~~~~~~~~~~ +data_stuff.c:96:15: note: in expansion of macro 'xmalloc' + 96 | new = xmalloc(sizeof(ExecEntry)); + | ^~~~~~~ +../../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 'TestEntry_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) | ^~~~~~~~~~~~~~~~~~~ -breaker.c:191:17: note: in expansion of macro 'bfbt_message' - 191 | bfbt_message(MSG_TYPE_MESSAGE, " (setgid: %d)", +data_stuff.c:162:17: note: in expansion of macro 'bfbt_message' + 162 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Out of memory"); | ^~~~~~~~~~~~ ../../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': +data_stuff.c: In function 'TestEntry_create': +../../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__) + | ^~~~~~~~~~~~ +data_stuff.c:192:15: note: in expansion of macro 'xmalloc' + 192 | new = xmalloc(sizeof(TestEntry)); + | ^~~~~~~ +../../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__) + | ^~~~~~~~~~~~ +data_stuff.c:260:15: note: in expansion of macro 'xmalloc' + 260 | new = xmalloc(sizeof(CrashReport)); + | ^~~~~~~ +../../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': ../../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"); +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, | ~~~~~~~^~~~~~~~ -breaker.c: In function 'breaker_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) - | ^~~~~~~~~~~~~~~~~~~ -breaker.c:263:17: note: in expansion of macro 'bfbt_message' - 263 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Can't create run thread"); - | ^~~~~~~~~~~~ -../../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, - | ~~~~~~~^~~~~~~~ gcc -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 -fcf-protection -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/reproducible-path/bfbtester-2.0.1/src/bfbt' make[4]: Entering directory '/build/reproducible-path/bfbtester-2.0.1/src' @@ -948,7 +984,7 @@ make[2]: Leaving directory '/build/reproducible-path/bfbtester-2.0.1' make[1]: Leaving directory '/build/reproducible-path/bfbtester-2.0.1' dh_auto_test - make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/bfbtester-2.0.1' Making check in src make[2]: Entering directory '/build/reproducible-path/bfbtester-2.0.1/src' @@ -970,7 +1006,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/bfbtester/ - make -j20 install DESTDIR=/build/reproducible-path/bfbtester-2.0.1/debian/bfbtester AM_UPDATE_INFO_DIR=no + make -j42 install DESTDIR=/build/reproducible-path/bfbtester-2.0.1/debian/bfbtester AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/bfbtester-2.0.1' Making install in src make[2]: Entering directory '/build/reproducible-path/bfbtester-2.0.1/src' @@ -1013,8 +1049,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'bfbtester-dbgsym' in '../bfbtester-dbgsym_2.0.1-7.3_amd64.deb'. dpkg-deb: building package 'bfbtester' in '../bfbtester_2.0.1-7.3_amd64.deb'. +dpkg-deb: building package 'bfbtester-dbgsym' in '../bfbtester-dbgsym_2.0.1-7.3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../bfbtester_2.0.1-7.3_amd64.buildinfo dpkg-genchanges --build=binary -O../bfbtester_2.0.1-7.3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1022,12 +1058,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/2001770/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2001770/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/1268304 and its subdirectories -I: Current time: Fri May 31 01:41:23 -12 2024 -I: pbuilder-time-stamp: 1717162883 +I: removing directory /srv/workspace/pbuilder/2001770 and its subdirectories +I: Current time: Fri Jul 4 10:05:19 +14 2025 +I: pbuilder-time-stamp: 1751573119