Diff of the two buildlogs: -- --- b1/build.log 2024-10-06 18:02:42.928871191 +0000 +++ b2/build.log 2024-10-06 18:03:30.510845480 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Nov 8 12:25:15 -12 2025 -I: pbuilder-time-stamp: 1762647915 +I: Current time: Mon Oct 7 08:02:45 +14 2024 +I: pbuilder-time-stamp: 1728237765 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,54 +27,86 @@ 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/10020/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/17214/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 6 18:02 /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/17214/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/17214/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='970220f68ef84f4bbb0e1f1fc4744e32' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='10020' - PS1='# ' - PS2='> ' + INVOCATION_ID=28b23d602e0d4456bb9880a40ce7d5b9 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=17214 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.VZsksmE6/pbuilderrc_xzYo --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.VZsksmE6/b1 --logfile b1/build.log bfbtester_2.0.1-7.3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.VZsksmE6/pbuilderrc_6QWz --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.VZsksmE6/b2 --logfile b2/build.log bfbtester_2.0.1-7.3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10020/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/17214/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -139,7 +171,7 @@ Get: 27 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 debhelper all 13.20 [915 kB] -Fetched 20.1 MB in 0s (76.6 MB/s) +Fetched 20.1 MB in 0s (59.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19772 files and directories currently installed.) @@ -275,7 +307,11 @@ fakeroot is already the newest version (1.36-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/17214/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/17214/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 @@ -398,7 +434,7 @@ config.status: creating src/config.h config.status: executing depfiles commands dh_auto_build - make -j22 + make -j10 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' @@ -467,16 +503,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, | ~~~~~~~^~~~~~~~ +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, + | ~~~~~~~^~~~~~~~ tempfiles.c: In function 'tempfile_start': +../../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) | ^~~~~~~~~~~~~~~~~~~ -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: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: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"); + | ^~~~~~~~~~~~ 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] @@ -489,6 +543,7 @@ 44 | __bfbt_message(MsgType type, char * function, int line, | ~~~~~~~^~~~~~~~ ../../src/include/utils.h: In function '_xcalloc': +bfbtester.c: In function 'main': ../../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) | ^~~~~~~~~~~~~~~~~~~ @@ -498,6 +553,36 @@ ../../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__) + | ^~~~~~~~~~~~ +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: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: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, + | ~~~~~~~^~~~~~~~ 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) @@ -514,107 +599,106 @@ breaker.c:67:20: note: in expansion of macro 'xcalloc' 67 | long_arg = xcalloc(1, short_arg_len); | ^~~~~~~ +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: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': +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) | ^~~~~~~~~~~~~~~~~~~ -breaker.c:99:9: note: in expansion of macro 'bfbt_message' - 99 | bfbt_message(MSG_TYPE_MESSAGE, " * Multiple arguments 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: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: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: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); +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_env': +../../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:138:9: note: in expansion of macro 'bfbt_message' - 138 | bfbt_message(MSG_TYPE_MESSAGE, " * Environment variable testing"); - | ^~~~~~~~~~~~ +../../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]", + | ^~~~~~~~~~~~ +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: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: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)", + | ^~~~~~~~~~~~ +breaker.c: In function 'breaker_test_multiplearg': +In file included from exec.c:43: +../../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, | ~~~~~~~^~~~~~~~ -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\"", - | ^~~~~~~~~~~~ +../../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, | ~~~~~~~^~~~~~~~ -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) | ^~~~~~~~~~~~~~~~~~~ -breaker.c:186:9: note: in expansion of macro 'bfbt_message' - 186 | bfbt_message(MSG_TYPE_MESSAGE, "=> %s", entry->fullname); +breaker.c:99:9: note: in expansion of macro 'bfbt_message' + 99 | bfbt_message(MSG_TYPE_MESSAGE, " * Multiple arguments testing"); | ^~~~~~~~~~~~ -In file included from utils.c:37: -../../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: In function '_xcalloc': +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) | ^~~~~~~~~~~~~~~~~~~ -../../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': +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) | ^~~~~~~~~~~~~~~~~~~ @@ -624,68 +708,56 @@ ../../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: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, | ~~~~~~~^~~~~~~~ ../../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)", - | ^~~~~~~~~~~~ +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, + | ~~~~~~~^~~~~~~~ ../../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': -utils.c: In function 'find_exec_in_path': +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) | ^~~~~~~~~~~~~~~~~~~ -breaker.c:215:9: note: in expansion of macro 'bfbt_message' - 215 | bfbt_message(MSG_TYPE_MESSAGE, "Cleaning up...might take a few seconds"); - | ^~~~~~~~~~~~ +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: 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"); +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, | ~~~~~~~^~~~~~~~ -In file included from bfbtester.c:41: -../../src/include/utils.h: In function '_xmalloc': -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__) + | ^~~~~~~~~~~~ +breaker.c:100:20: note: in expansion of macro 'xcalloc' + 100 | long_arg = xcalloc(1, 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:66:17: note: in expansion of macro 'bfbt_message' - 66 | bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", - | ^~~~~~~~~~~~ +exec.c:81:25: note: in expansion of macro 'bfbt_message' + 81 | bfbt_message(MSG_TYPE_ERRNO_WARN, "Couldn't set process group"); + | ^~~~~~~~~~~~ +utils.c: In function 'args_to_str': ../../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: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__) | ^~~~~~~~~~~~ @@ -698,33 +770,17 @@ ../../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, - | ~~~~~~~^~~~~~~~ -../../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]", +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, | ~~~~~~~^~~~~~~~ +../../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': +exec.c: In function 'exec_process_close': ../../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__) | ^~~~~~~~~~~~ @@ -734,172 +790,152 @@ ../../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) | ~~~~~~^~~~~~~~ -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"); +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, | ~~~~~~~^~~~~~~~ +utils.c: In function 'env_create': +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__) + | ^~~~~~~~~~~~ +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) + | ~~~~~~^~~~~~~~ ../../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"); - | ^~~~~~~~~~~~ +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, | ~~~~~~~^~~~~~~~ -In file included from data_stuff.c:42: -../../src/include/utils.h: In function '_xmalloc': +../../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) | ^~~~~~~~~~~~~~~~~~~ -../../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]", - | ^~~~~~~~~~~~ +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, | ~~~~~~~^~~~~~~~ +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) | ^~~~~~~~~~~~~~~~~~~ -exec.c:81:25: note: in expansion of macro 'bfbt_message' - 81 | bfbt_message(MSG_TYPE_ERRNO_WARN, "Couldn't set process group"); - | ^~~~~~~~~~~~ -bfbtester.c: In function 'main': +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, | ~~~~~~~^~~~~~~~ -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__) - | ^~~~~~~~~~~~ -bfbtester.c:128:13: note: in expansion of macro 'xcalloc' - 128 | q = xcalloc(1, sizeof(THREAD_DATA)); - | ^~~~~~~ -../../src/include/utils.h: In function '_xcalloc': -../../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) - | ~~~~~~^~~~~~~~ +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) | ^~~~~~~~~~~~~~~~~~~ -../../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: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: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, | ~~~~~~~^~~~~~~~ ../../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); +breaker.c:188:17: note: in expansion of macro 'bfbt_message' + 188 | bfbt_message(MSG_TYPE_MESSAGE, " (setuid: %d)", | ^~~~~~~~~~~~ -../../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: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: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"); +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, | ~~~~~~~^~~~~~~~ -exec.c: In function 'exec_process_close': -data_stuff.c: In function 'ExecEntry_add': +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:156:17: note: in expansion of macro 'bfbt_message' - 156 | bfbt_message(MSG_TYPE_ERROR_WARN, - | ^~~~~~~~~~~~ -../../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)); - | ^~~~~~~ +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:61:29: note: expected 'char *' but argument is of type 'const char *' - 61 | _xmalloc(size_t size, 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_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", - | ^~~~~~~~~~~~ +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, | ~~~~~~~^~~~~~~~ -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, - | ^~~~~~~~~ +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) | ^~~~~~~~~~~~~~~~~~~ -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: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) | ^~~~~~~~~~~~~~~~~~~ -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: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) @@ -1003,7 +1039,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 -j22 check "TESTSUITEFLAGS=-j22 --verbose" VERBOSE=1 + make -j10 check "TESTSUITEFLAGS=-j10 --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' @@ -1025,7 +1061,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/bfbtester/ - make -j22 install DESTDIR=/build/reproducible-path/bfbtester-2.0.1/debian/bfbtester AM_UPDATE_INFO_DIR=no + make -j10 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' @@ -1068,8 +1104,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'bfbtester' in '../bfbtester_2.0.1-7.3_i386.deb'. dpkg-deb: building package 'bfbtester-dbgsym' in '../bfbtester-dbgsym_2.0.1-7.3_i386.deb'. +dpkg-deb: building package 'bfbtester' in '../bfbtester_2.0.1-7.3_i386.deb'. dpkg-genbuildinfo --build=binary -O../bfbtester_2.0.1-7.3_i386.buildinfo dpkg-genchanges --build=binary -O../bfbtester_2.0.1-7.3_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1077,12 +1113,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/17214/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/17214/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/10020 and its subdirectories -I: Current time: Sat Nov 8 12:25:42 -12 2025 -I: pbuilder-time-stamp: 1762647942 +I: removing directory /srv/workspace/pbuilder/17214 and its subdirectories +I: Current time: Mon Oct 7 08:03:29 +14 2024 +I: pbuilder-time-stamp: 1728237809