Diff of the two buildlogs: -- --- b1/build.log 2023-05-12 17:00:12.197691773 +0000 +++ b2/build.log 2023-05-12 17:01:21.262667209 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 12 04:58:41 -12 2023 -I: pbuilder-time-stamp: 1683910721 +I: Current time: Fri Jun 14 13:23:15 +14 2024 +I: pbuilder-time-stamp: 1718320995 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./chntpw_140201.orig.tar.xz] I: copying [./chntpw_140201-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Jan 20 10:52:11 2022 -12 +gpgv: Signature made Fri Jan 21 12:52:11 2022 +14 gpgv: using RSA key 150F0AABAB6D211DC34FE00E8B1F6F48AB257F98 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./chntpw_140201-1.dsc: no acceptable signature found @@ -38,52 +38,84 @@ dpkg-source: info: applying 15_added_samunlock_binary I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/395/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23540/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 14 13:23 /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/23540/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23540/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='395' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=23540 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.9Rr9S2XT/pbuilderrc_7X9f --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9Rr9S2XT/b1 --logfile b1/build.log chntpw_140201-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.9Rr9S2XT/pbuilderrc_5SAb --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9Rr9S2XT/b2 --logfile b2/build.log --extrapackages usrmerge chntpw_140201-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink12-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 11 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/395/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 13 06:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/23540/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -162,7 +194,7 @@ Get: 34 http://deb.debian.org/debian bookworm/main arm64 libgcrypt20-dev arm64 1.10.1-3 [683 kB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 quilt all 0.67+really0.66-1 [303 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 sharutils arm64 1:4.15.2-9 [255 kB] -Fetched 19.8 MB in 1s (30.7 MB/s) +Fetched 19.8 MB in 0s (42.8 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 ... 19616 files and directories currently installed.) @@ -323,10 +355,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/chntpw-140201/ && 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 > ../chntpw_140201-1_source.changes +I: user script /srv/workspace/pbuilder/23540/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/23540/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/chntpw-140201/ && 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 > ../chntpw_140201-1_source.changes dpkg-buildpackage: info: source package chntpw dpkg-buildpackage: info: source version 140201-1 dpkg-buildpackage: info: source distribution unstable @@ -396,12 +433,22 @@ | | | unsigned int | %04lx +libsam.c: In function 'sam_put_grp_members_sid': ntreg.c:553:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] 553 | printf("%04x val-list offset = 0x%0x\n",D_OFFS(ofs_vallist),key->ofs_vallist + 0x1000); | ~~~^ | | | unsigned int | %04lx +libsam.c:514:28: warning: passing argument 1 of 'hexdump' from incompatible pointer type [-Wincompatible-pointer-types] + 514 | if (gverbose) hexdump(&c->data, 0, c->len, 1); + | ^~~~~~~~ + | | + | int * +In file included from libsam.c:47: +ntreg.h:394:20: note: expected 'char *' but argument is of type 'int *' + 394 | void hexdump(char *hbuf, int start, int stop, int ascii); + | ~~~~~~^~~~ ntreg.c:554:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] 554 | printf("%04x sk-record offset = 0x%0x\n",D_OFFS(ofs_sk),key->ofs_sk + 0x1000); | ~~~^ @@ -469,6 +516,20 @@ | | | unsigned int | %04lx +libsam.c:531:56: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'void *' [-Wformat=] + 531 | if (gverbose) printf(" copying : %d len %x, at %x\n",i,sarray[i].len, sidptr); + | ~^ ~~~~~~ + | | | + | unsigned int void * + | %p +libsam.c:542:27: warning: passing argument 1 of 'hexdump' from incompatible pointer type [-Wincompatible-pointer-types] + 542 | if (gverbose) hexdump(&c->data, 0, c->len, 1); + | ^~~~~~~~ + | | + | int * +ntreg.h:394:20: note: expected 'char *' but argument is of type 'int *' + 394 | void hexdump(char *hbuf, int start, int stop, int ascii); + | ~~~~~~^~~~ ntreg.c:586:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] 586 | printf("%04x length of data = %d (0x%0x)\n", D_OFFS(len_data), | ~~~^ @@ -615,30 +676,14 @@ chntpw.c:871:23: note: within this loop 871 | for (i = 0; i < 0x3b; i++) { | ~~^~~~~~ -libsam.c: In function 'sam_put_grp_members_sid': -libsam.c:514:28: warning: passing argument 1 of 'hexdump' from incompatible pointer type [-Wincompatible-pointer-types] - 514 | if (gverbose) hexdump(&c->data, 0, c->len, 1); - | ^~~~~~~~ - | | - | int * -In file included from libsam.c:47: -ntreg.h:394:20: note: expected 'char *' but argument is of type 'int *' - 394 | void hexdump(char *hbuf, int start, int stop, int ascii); - | ~~~~~~^~~~ -libsam.c:531:56: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'void *' [-Wformat=] - 531 | if (gverbose) printf(" copying : %d len %x, at %x\n",i,sarray[i].len, sidptr); - | ~^ ~~~~~~ - | | | - | unsigned int void * - | %p -libsam.c:542:27: warning: passing argument 1 of 'hexdump' from incompatible pointer type [-Wincompatible-pointer-types] - 542 | if (gverbose) hexdump(&c->data, 0, c->len, 1); - | ^~~~~~~~ - | | - | int * -ntreg.h:394:20: note: expected 'char *' but argument is of type 'int *' - 394 | void hexdump(char *hbuf, int start, int stop, int ascii); - | ~~~~~~^~~~ +gcc -c -DUSELIBGCRYPT -Wall -O2 samunlock.c +reged.c: In function 'main': +reged.c:218:30: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized] + 218 | if (logchange) fprintf(ch,"%s ",hive[il]->filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +reged.c:89:9: note: 'ch' was declared here + 89 | FILE *ch; + | ^~ ntreg.c: In function 'openHive': ntreg.c:4260:63: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 4260 | "file is too small; got %d bytes while expecting %d or more\n", @@ -650,14 +695,6 @@ | ~~~~~~~~~~~~~~~ | | | long unsigned int -gcc -c -DUSELIBGCRYPT -Wall -O2 samunlock.c -reged.c: In function 'main': -reged.c:218:30: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized] - 218 | if (logchange) fprintf(ch,"%s ",hive[il]->filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -reged.c:89:9: note: 'ch' was declared here - 89 | FILE *ch; - | ^~ sampasswd.c: In function 'main': sampasswd.c:253:14: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 253 | return(ret | wret); @@ -665,12 +702,6 @@ sampasswd.c:141:7: note: 'ret' was declared here 141 | int ret, wret, il; | ^~~ -chntpw.c:883:9: warning: 'secpol' may be used uninitialized [-Wmaybe-uninitialized] - 883 | put_buf2val(hive[H_SEC], secpol, 0, "\\Policy\\PolSecretEncryptionKey\\@", REG_BINARY, TPF_VK_EXACT); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -chntpw.c:778:25: note: 'secpol' was declared here - 778 | struct keyval *samf, *secpol /* , *lsad */ ; - | ^~~~~~ samunlock.c: In function 'main': samunlock.c:246:14: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 246 | return(ret | wret); @@ -679,6 +710,12 @@ 140 | int ret, wret, il; | ^~~ gcc -DUSELIBGCRYPT -Wall -O2 -o cpnt cpnt.o -L/usr/lib/aarch64-linux-gnu -lgcrypt +chntpw.c:883:9: warning: 'secpol' may be used uninitialized [-Wmaybe-uninitialized] + 883 | put_buf2val(hive[H_SEC], secpol, 0, "\\Policy\\PolSecretEncryptionKey\\@", REG_BINARY, TPF_VK_EXACT); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +chntpw.c:778:25: note: 'secpol' was declared here + 778 | struct keyval *samf, *secpol /* , *lsad */ ; + | ^~~~~~ libsam.c: In function 'sam_get_grp_members_sid': libsam.c:467:12: warning: pointer 'c' used after 'free' [-Wuse-after-free] 467 | return(cd->grp_members); @@ -808,8 +845,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'chntpw-dbgsym' in '../chntpw-dbgsym_140201-1_arm64.deb'. dpkg-deb: building package 'chntpw' in '../chntpw_140201-1_arm64.deb'. +dpkg-deb: building package 'chntpw-dbgsym' in '../chntpw-dbgsym_140201-1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../chntpw_140201-1_arm64.buildinfo dpkg-genchanges --build=binary -O../chntpw_140201-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -817,12 +854,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/23540/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23540/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/395 and its subdirectories -I: Current time: Fri May 12 05:00:11 -12 2023 -I: pbuilder-time-stamp: 1683910811 +I: removing directory /srv/workspace/pbuilder/23540 and its subdirectories +I: Current time: Fri Jun 14 13:24:20 +14 2024 +I: pbuilder-time-stamp: 1718321060