Diff of the two buildlogs: -- --- b1/build.log 2024-05-17 07:44:31.660267709 +0000 +++ b2/build.log 2024-05-17 07:45:27.289902280 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 16 19:41:56 -12 2024 -I: pbuilder-time-stamp: 1715931716 +I: Current time: Fri Jun 20 04:07:33 +14 2025 +I: pbuilder-time-stamp: 1750342053 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -35,52 +35,84 @@ dpkg-source: info: applying 70-fix-typos.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1661919/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/766419/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 19 14:07 /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/766419/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/766419/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='3d1709a3517b4750b01a5e0489db395a' - 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='1661919' - PS1='# ' - PS2='> ' + INVOCATION_ID=c735a67556f1485787975311e65a9ae9 + 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=766419 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.snhL2jyp/pbuilderrc_XVGs --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.snhL2jyp/b1 --logfile b1/build.log fcrackzip_1.0-11.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://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.snhL2jyp/pbuilderrc_ZYuY --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.snhL2jyp/b2 --logfile b2/build.log fcrackzip_1.0-11.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-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.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 15 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1661919/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 19 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/766419/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -146,7 +178,7 @@ Get: 28 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.15.3 [901 kB] -Fetched 19.1 MB in 1s (15.7 MB/s) +Fetched 19.1 MB in 0s (133 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.) @@ -286,7 +318,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/fcrackzip-1.0/ && 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 > ../fcrackzip_1.0-11_source.changes +I: user script /srv/workspace/pbuilder/766419/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/766419/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/fcrackzip-1.0/ && 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 > ../fcrackzip_1.0-11_source.changes dpkg-buildpackage: info: source package fcrackzip dpkg-buildpackage: info: source version 1.0-11 dpkg-buildpackage: info: source distribution unstable @@ -370,87 +406,13 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/fcrackzip-1.0' make all-am make[2]: Entering directory '/build/reproducible-path/fcrackzip-1.0' gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fcrackzip-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -funroll-all-loops -O3 -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fcrackzip-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -funroll-all-loops -O3 -c -o crack.o crack.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fcrackzip-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -funroll-all-loops -O3 -c -o zipinfo.o zipinfo.c -main.c: In function 'dictionary_gen': -main.c:231:14: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 231 | if (fgets (pw, MAX_PW+1, dict_file)) - | ^~ - | | - | u8 * {aka unsigned char *} -In file included from /usr/include/stdio.h:964, - from main.c:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:195:25: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} - 195 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) - | ~~~~~~~~~~~~~~~~~^~~ -main.c:233:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 233 | pw[strlen (pw) - 1] = 0; - | ^~ - | | - | u8 * {aka unsigned char *} -In file included from main.c:26: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -main.c: In function 'validate': -main.c:265:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 265 | strcpy (pw, "Martha"); - | ^~ - | | - | u8 * {aka unsigned char *} -In file included from /usr/include/features.h:502, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -main.c: In function 'benchmark': -main.c:360:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 360 | strcpy (pw, "abcdefghij"); - | ^~ - | | - | u8 * {aka unsigned char *} -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -main.c: In function 'main': -main.c:477:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 477 | strncpy (pw, optarg, sizeof(pw)-1); - | ^~ - | | - | u8 * {aka unsigned char *} -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -main.c:611:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 611 | pw_end = pw + strlen (pw); - | ^~ - | | - | u8 * {aka unsigned char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -main.c:628:32: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] - 628 | if (!(dict_file = fopen (pw, "r"))) - | ^~ - | | - | u8 * {aka unsigned char *} -/usr/include/stdio.h:263:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} - 263 | extern FILE *fopen (const char *__restrict __filename, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -main.c:630:19: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] - 630 | perror (pw); - | ^~ - | | - | u8 * {aka unsigned char *} -/usr/include/stdio.h:862:33: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} - 862 | extern void perror (const char *__s) __COLD; - | ~~~~~~~~~~~~^~~ zipinfo.c: In function 'parse_zip': zipinfo.c:82:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 82 | fread (zip_path, name_len, 1, f); @@ -521,6 +483,26 @@ crack.c:94:19: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | fread (file, FILE_SIZE, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'dictionary_gen': +main.c:231:14: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] + 231 | if (fgets (pw, MAX_PW+1, dict_file)) + | ^~ + | | + | u8 * {aka unsigned char *} +In file included from /usr/include/stdio.h:964, + from main.c:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:195:25: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} + 195 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) + | ~~~~~~~~~~~~~~~~~^~~ +main.c:233:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 233 | pw[strlen (pw) - 1] = 0; + | ^~ + | | + | u8 * {aka unsigned char *} +In file included from main.c:26: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ cpmask.c: In function 'load_img': cpmask.c:71:15: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fscanf (img, "#%*[^\012\015] "); /* comment */ @@ -531,10 +513,64 @@ cpmask.c:81:23: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | fscanf (img, "#%*[^\012\015] "); /* comment */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'validate': +main.c:265:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 265 | strcpy (pw, "Martha"); + | ^~ + | | + | u8 * {aka unsigned char *} +In file included from /usr/include/features.h:502, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +main.c: In function 'benchmark': +main.c:360:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 360 | strcpy (pw, "abcdefghij"); + | ^~ + | | + | u8 * {aka unsigned char *} +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +main.c: In function 'main': +main.c:477:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 477 | strncpy (pw, optarg, sizeof(pw)-1); + | ^~ + | | + | u8 * {aka unsigned char *} cpmask.c: At top level: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ cpmask.c:294:1: warning: 'cp_cleanup' defined but not used [-Wunused-function] 294 | cp_cleanup (void) | ^~~~~~~~~~ +main.c:611:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 611 | pw_end = pw + strlen (pw); + | ^~ + | | + | u8 * {aka unsigned char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +main.c:628:32: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] + 628 | if (!(dict_file = fopen (pw, "r"))) + | ^~ + | | + | u8 * {aka unsigned char *} +/usr/include/stdio.h:263:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} + 263 | extern FILE *fopen (const char *__restrict __filename, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +main.c:630:19: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] + 630 | perror (pw); + | ^~ + | | + | u8 * {aka unsigned char *} +/usr/include/stdio.h:862:33: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} + 862 | extern void perror (const char *__s) __COLD; + | ~~~~~~~~~~~~^~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fcrackzip-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -funroll-all-loops -O3 -Wl,-z,relro -Wl,-z,now -o zipinfo zipinfo.o main.c: In function 'check_unzip': main.c:151:38: warning: '%s' directive writing up to 1023 bytes into a region of size between 754 and 1009 [-Wformat-overflow=] @@ -581,7 +617,7 @@ rm -f pod*.tmp make[2]: Leaving directory '/build/reproducible-path/fcrackzip-1.0/debian' dh_auto_install - make -j20 install DESTDIR=/build/reproducible-path/fcrackzip-1.0/debian/fcrackzip AM_UPDATE_INFO_DIR=no + make -j42 install DESTDIR=/build/reproducible-path/fcrackzip-1.0/debian/fcrackzip AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/fcrackzip-1.0' make[3]: Entering directory '/build/reproducible-path/fcrackzip-1.0' /usr/bin/mkdir -p '/build/reproducible-path/fcrackzip-1.0/debian/fcrackzip/usr/bin' @@ -626,12 +662,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/766419/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/766419/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/1661919 and its subdirectories -I: Current time: Thu May 16 19:44:30 -12 2024 -I: pbuilder-time-stamp: 1715931870 +I: removing directory /srv/workspace/pbuilder/766419 and its subdirectories +I: Current time: Fri Jun 20 04:08:25 +14 2025 +I: pbuilder-time-stamp: 1750342105