Diff of the two buildlogs: -- --- b1/build.log 2024-01-08 12:47:03.569707693 +0000 +++ b2/build.log 2024-01-08 12:47:41.636041464 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 8 00:45:42 -12 2024 -I: pbuilder-time-stamp: 1704717942 +I: Current time: Mon Feb 10 09:10:06 +14 2025 +I: pbuilder-time-stamp: 1739128206 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -34,49 +34,81 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3420687/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1332211/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-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 Feb 9 19:10 /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/1332211/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1332211/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='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/reproducible-path + 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=12 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='eeee569b205b45e19b417d50a29a80c0' - 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='3420687' - PS1='# ' - PS2='> ' + INVOCATION_ID=197eb725c7a8443fb9b70f08c28db77c + 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=1332211 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.OHg2jeKT/pbuilderrc_76OC --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.OHg2jeKT/b1 --logfile b1/build.log smstools_3.1.21-4.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' - http_proxy='http://192.168.101.104: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.OHg2jeKT/pbuilderrc_XNTg --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.OHg2jeKT/b2 --logfile b2/build.log smstools_3.1.21-4.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' + http_proxy=http://192.168.101.104:3128 I: uname -a - Linux codethink02-arm64 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 7104 -rwxr-xr-x 1 root root 1346480 Apr 23 2023 bash @@ -134,15 +166,15 @@ -rwxr-xr-x 1 root root 68456 Sep 20 2022 readlink -rwxr-xr-x 1 root root 68592 Sep 20 2022 rm -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 68392 Jul 28 23:46 run-parts + -rwxr-xr-x 1 root root 68392 Jul 28 2023 run-parts -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash + lrwxrwxrwx 1 root root 9 Feb 9 19:10 sh -> /bin/bash -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty -rwsr-xr-x 1 root root 133312 Mar 23 2023 su -rwxr-xr-x 1 root root 68448 Sep 20 2022 sync -rwxr-xr-x 1 root root 539896 Apr 6 2023 tar - -rwxr-xr-x 1 root root 67904 Jul 28 23:46 tempfile + -rwxr-xr-x 1 root root 67904 Jul 28 2023 tempfile -rwxr-xr-x 1 root root 134160 Sep 20 2022 touch -rwxr-xr-x 1 root root 68384 Sep 20 2022 true -rwxr-xr-x 1 root root 67664 Mar 23 2023 ulockmgr_server @@ -162,7 +194,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/3420687/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1332211/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -239,7 +271,7 @@ Get: 33 http://deb.debian.org/debian bookworm/main arm64 libmm14 arm64 1.4.2-7 [16.1 kB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 libmm-dev arm64 1.4.2-7 [33.4 kB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 quilt all 0.67+really0.66-1 [303 kB] -Fetched 18.8 MB in 1s (28.9 MB/s) +Fetched 18.8 MB in 0s (95.0 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 ... 18171 files and directories currently installed.) @@ -399,7 +431,11 @@ 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/reproducible-path/smstools-3.1.21/ && 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 > ../smstools_3.1.21-4_source.changes +I: user script /srv/workspace/pbuilder/1332211/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/1332211/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/smstools-3.1.21/ && 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 > ../smstools_3.1.21-4_source.changes dpkg-buildpackage: info: source package smstools dpkg-buildpackage: info: source version 3.1.21-4 dpkg-buildpackage: info: source distribution unstable @@ -441,10 +477,19 @@ cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o whitelist.o whitelist.c cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o modeminit.o modeminit.c cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pdu.o pdu.c -locking.c: In function 'lockfile': -locking.c:52:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 52 | write(lockfile, pid, strlen(pid)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +stats.c: In function 'loadstats': +stats.c:200:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 200 | fread(tmp, strlen(statistics_current_version) +1, 1, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +stats.c:206:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 206 | fread(&saved_time, sizeof(time_t), 1, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +stats.c:207:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 207 | fread(&start_time, sizeof(time_t), 1, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +stats.c:212:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 212 | fread(statistics[i], sizeof(_stats), 1, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c: In function 'writelogfile': logging.c:216:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 216 | write(Filehandle,text2,strlen(text2)); @@ -460,31 +505,18 @@ 334 | write(Filehandle_trouble, text2, strlen(text2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -W -Wall -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charshift.o charshift.c -extras.c: In function 'write_pid': -extras.c:1252:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1252 | write(pidfile, pid, strlen(pid)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -stats.c: In function 'loadstats': -stats.c:200:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 200 | fread(tmp, strlen(statistics_current_version) +1, 1, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -stats.c:206:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 206 | fread(&saved_time, sizeof(time_t), 1, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -stats.c:207:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 207 | fread(&start_time, sizeof(time_t), 1, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -stats.c:212:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 212 | fread(statistics[i], sizeof(_stats), 1, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smsd_cfg.c: In function 'startup_check': -smsd_cfg.c:3737:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 3737 | read(fd, tmp, sizeof(tmp)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +locking.c: In function 'lockfile': +locking.c:52:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 52 | write(lockfile, pid, strlen(pid)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modeminit.c: In function 'talk_with_modem': modeminit.c:2628:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2628 | write(STDOUT_FILENO, tmp, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +extras.c: In function 'write_pid': +extras.c:1252:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1252 | write(pidfile, pid, strlen(pid)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'savestats': stats.c:168:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 168 | sprintf(filename, "%s/stats.tmp", d_stats); @@ -500,6 +532,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +smsd_cfg.c: In function 'startup_check': +smsd_cfg.c:3737:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 3737 | read(fd, tmp, sizeof(tmp)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'loadstats': stats.c:197:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 197 | sprintf(filename, "%s/stats.tmp", d_stats); @@ -552,6 +588,21 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +charset.c: In function 'decode_7bit_packed': +charset.c:904:49: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 509 and 510 [-Wformat-truncation=] + 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); + | ^~ ~~~~~~ +In file included from /usr/include/stdio.h:906, + from charset.c:16: +In function 'snprintf', + inlined from 'decode_7bit_packed' at charset.c:904:2: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 515 bytes into a destination of size 512 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ extras.c: In function 'my_system': extras.c:1077:42: warning: '/smsd_' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1077 | snprintf(tmp1, sizeof(tmp1), ">%s/smsd_%s_1.XXXXXX", tmpdir, info); @@ -581,21 +632,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -charset.c: In function 'decode_7bit_packed': -charset.c:904:49: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 509 and 510 [-Wformat-truncation=] - 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); - | ^~ ~~~~~~ -In file included from /usr/include/stdio.h:906, - from charset.c:16: -In function 'snprintf', - inlined from 'decode_7bit_packed' at charset.c:904:2: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 515 bytes into a destination of size 512 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ extras.c: In function 'make_datetime_string': extras.c:1670:41: warning: '%03d' directive output may be truncated writing between 3 and 8 bytes into a region of size 7 [-Wformat-truncation=] 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); @@ -1063,8 +1099,8 @@ dpkg-gencontrol: warning: package smstools: substitution variable ${misc:Pre-Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'smstools' in '../smstools_3.1.21-4_arm64.deb'. dpkg-deb: building package 'smstools-dbgsym' in '../smstools-dbgsym_3.1.21-4_arm64.deb'. +dpkg-deb: building package 'smstools' in '../smstools_3.1.21-4_arm64.deb'. dpkg-genbuildinfo --build=binary -O../smstools_3.1.21-4_arm64.buildinfo dpkg-genchanges --build=binary -O../smstools_3.1.21-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1072,12 +1108,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/1332211/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1332211/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/3420687 and its subdirectories -I: Current time: Mon Jan 8 00:47:02 -12 2024 -I: pbuilder-time-stamp: 1704718022 +I: removing directory /srv/workspace/pbuilder/1332211 and its subdirectories +I: Current time: Mon Feb 10 09:10:40 +14 2025 +I: pbuilder-time-stamp: 1739128240