Diff of the two buildlogs: -- --- b1/build.log 2025-02-06 13:27:57.173802201 +0000 +++ b2/build.log 2025-02-06 13:29:48.556759295 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Mar 11 07:50:08 -12 2026 -I: pbuilder-time-stamp: 1773258608 +I: Current time: Fri Feb 7 03:27:59 +14 2025 +I: pbuilder-time-stamp: 1738848479 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,51 +29,83 @@ dpkg-source: info: applying missing-prototypes.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3282531/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/386871/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-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 Feb 6 13:28 /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/386871/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/386871/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' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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='8a5b530e703e47578211e9c2d1f06ae6' - 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='3282531' - PS1='# ' - PS2='> ' + INVOCATION_ID=bf3a458585dc4997a35b65388b289b97 + 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=386871 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.MjjypVaC/pbuilderrc_lt4K --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.MjjypVaC/b1 --logfile b1/build.log weplab_0.1.5-7.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.MjjypVaC/pbuilderrc_CQuH --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.MjjypVaC/b2 --logfile b2/build.log weplab_0.1.5-7.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3282531/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/386871/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -152,7 +184,7 @@ Get: 39 http://deb.debian.org/debian unstable/main amd64 libdbus-1-dev amd64 1.16.0-1 [214 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 libpcap0.8t64 amd64 1.10.5-1 [169 kB] Get: 41 http://deb.debian.org/debian unstable/main amd64 libpcap0.8-dev amd64 1.10.5-1 [284 kB] -Fetched 23.4 MB in 7s (3599 kB/s) +Fetched 23.4 MB in 1s (17.8 MB/s) Preconfiguring packages ... Selecting previously unselected package sgml-base. (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 ... 19806 files and directories currently installed.) @@ -332,7 +364,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/weplab-0.1.5/ && 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 > ../weplab_0.1.5-7_source.changes +I: user script /srv/workspace/pbuilder/386871/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/386871/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/weplab-0.1.5/ && 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 > ../weplab_0.1.5-7_source.changes dpkg-buildpackage: info: source package weplab dpkg-buildpackage: info: source version 0.1.5-7 dpkg-buildpackage: info: source distribution unstable @@ -428,6 +464,10 @@ 132 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ wep.c: In function 'GetLessSizedPackets': +main.c: In function 'ReadHexByteArray': +main.c:138:15: warning: unused variable 'j' [-Wunused-variable] + 138 | int i,j; + | ^ wep.c:294:56: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] 294 | if (GetPacketBssid(pkt,global_v.target_bssid)){ | ~~~~~~~~^~~~~~~~~~~~~ @@ -444,61 +484,6 @@ | | long unsigned int | unsigned int | %lu -heuristics.c: In function 'GuessOutputByte': -heuristics.c:61:10: warning: unused variable 'E' [-Wunused-variable] - 61 | u_char E, S[N]; - | ^ -heuristics.c: In function 'CalculateSimpleHeuristics': -heuristics.c:397:108: warning: unknown conversion type character ')' in format [-Wformat=] - 397 | printf("Perhaps you should increase the default probability (--perc) to a higher value (default 70%), or capture more packets.\n"); - | ^ -analpfile.c: In function 'AnalyzePcapFile': -analpfile.c:105:44: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] - 105 | if (GetPacketBssid(pkt+144,bssid)){ - | ^~~~~ - | | - | char * -In file included from analpfile.c:33: -wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' - 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); - | ~~~~~~~~~~~~~~~^~~~~ -analpfile.c:106:70: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 106 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:106:88: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 106 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:114:40: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] - 114 | if (GetPacketBssid(pkt,bssid)){ - | ^~~~~ - | | - | char * -wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' - 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); - | ~~~~~~~~~~~~~~~^~~~~ -analpfile.c:115:71: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 115 | indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:115:89: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 115 | indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -heuristics.c:394:17: warning: 'GuessOutputByte' accessing 17408 bytes in a region of size 13312 [-Wstringop-overflow=] - 394 | GuessOutputByte(i, global_v.debugKey, packets, controlPackets, votes); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -heuristics.c:394:17: note: referencing argument 5 of type 'unsigned int[17][256]' -heuristics.c:57:6: note: in a call to function 'GuessOutputByte' - 57 | void GuessOutputByte(int keyByte, u_char *sKey, t_StoredPacketsIV *packets, t_storedPacket **controlPackets, unsigned int votes[17][256]) - | ^~~~~~~~~~~~~~~ -analpfile.c:187:54: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:187:72: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -main.c: In function 'ReadHexByteArray': -main.c:138:15: warning: unused variable 'j' [-Wunused-variable] - 138 | int i,j; - | ^ main.c: In function 'main': main.c:303:45: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 303 | saux=optarg; @@ -549,10 +534,6 @@ 196 | int h1, h2; | ^~ dictionary.c: In function 'GetNextWord': -attack.c: In function 'AttackAndEvaluate': -attack.c:88:23: warning: variable 'foundWeak' set but not used [-Wunused-but-set-variable] - 88 | unsigned char foundWeak[NUMBER_ATTACKS]; - | ^~~~~~~~~ dictionary.c:143:27: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 143 | while (((rv=fgets(word, sz-1, wordfile))!=NULL)&&((word[0]=='\r')||(word[0]=='\n'))) { | ^~~~ @@ -584,6 +565,7 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'unsigned char *' 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ +heuristics.c: In function 'GuessOutputByte': dictionary.c:286:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 286 | strcpy(last_keys, keys); | ^~~~~~~~~ @@ -592,6 +574,9 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +heuristics.c:61:10: warning: unused variable 'E' [-Wunused-variable] + 61 | u_char E, S[N]; + | ^ dictionary.c:286:51: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 286 | strcpy(last_keys, keys); | ^~~~ @@ -616,6 +601,57 @@ dictionary.c:104:25: note: expected 'char *' but argument is of type 'unsigned char *' 104 | void wep_keygen40(char *str, u_char *keys){ | ~~~~~~^~~ +analpfile.c: In function 'AnalyzePcapFile': +analpfile.c:105:44: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] + 105 | if (GetPacketBssid(pkt+144,bssid)){ + | ^~~~~ + | | + | char * +In file included from analpfile.c:33: +wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' + 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); + | ~~~~~~~~~~~~~~~^~~~~ +analpfile.c:106:70: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 106 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +analpfile.c:106:88: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 106 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +analpfile.c:114:40: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] + 114 | if (GetPacketBssid(pkt,bssid)){ + | ^~~~~ + | | + | char * +wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' + 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); + | ~~~~~~~~~~~~~~~^~~~~ +analpfile.c:115:71: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 115 | indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +analpfile.c:115:89: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 115 | indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +attack.c: In function 'AttackAndEvaluate': +analpfile.c:187:54: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +attack.c:88:23: warning: variable 'foundWeak' set but not used [-Wunused-but-set-variable] + 88 | unsigned char foundWeak[NUMBER_ATTACKS]; + | ^~~~~~~~~ +analpfile.c:187:72: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +heuristics.c: In function 'CalculateSimpleHeuristics': +heuristics.c:397:108: warning: unknown conversion type character ')' in format [-Wformat=] + 397 | printf("Perhaps you should increase the default probability (--perc) to a higher value (default 70%), or capture more packets.\n"); + | ^ +heuristics.c:394:17: warning: 'GuessOutputByte' accessing 17408 bytes in a region of size 13312 [-Wstringop-overflow=] + 394 | GuessOutputByte(i, global_v.debugKey, packets, controlPackets, votes); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +heuristics.c:394:17: note: referencing argument 5 of type 'unsigned int[17][256]' +heuristics.c:57:6: note: in a call to function 'GuessOutputByte' + 57 | void GuessOutputByte(int keyByte, u_char *sKey, t_StoredPacketsIV *packets, t_storedPacket **controlPackets, unsigned int votes[17][256]) + | ^~~~~~~~~~~~~~~ bruteforce.c: In function 'bruteforce': bruteforce.c:170:42: warning: 'mpid' may be used uninitialized [-Wmaybe-uninitialized] 170 | for (i=0; i