Diff of the two buildlogs: -- --- b1/build.log 2024-05-03 20:22:00.037374300 +0000 +++ b2/build.log 2024-05-03 20:23:04.194647297 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 3 08:21:08 -12 2024 -I: pbuilder-time-stamp: 1714767668 +I: Current time: Fri Jun 6 16:45:02 +14 2025 +I: pbuilder-time-stamp: 1749177902 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -34,51 +34,83 @@ dpkg-source: info: applying gcc10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1016325/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3910625/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 6 02:45 /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/3910625/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3910625/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]="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=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='8dea15d1878644819fa714c9eb8a7518' - 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='1016325' - PS1='# ' - PS2='> ' + INVOCATION_ID=1ecd20e3f70446428137f34ae2010146 + 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=3910625 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.GHvBx73B/pbuilderrc_TZp4 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GHvBx73B/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' + 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.GHvBx73B/pbuilderrc_OJM8 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GHvBx73B/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' I: uname -a - Linux infom01-amd64 6.1.0-20-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) 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 3 07:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1016325/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 5 14:11 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3910625/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -155,7 +187,7 @@ Get: 33 http://deb.debian.org/debian trixie/main amd64 libmm14 amd64 1.4.2-7 [16.5 kB] Get: 34 http://deb.debian.org/debian trixie/main amd64 libmm-dev amd64 1.4.2-7 [33.4 kB] Get: 35 http://deb.debian.org/debian trixie/main amd64 quilt all 0.68-1 [437 kB] -Fetched 19.6 MB in 0s (55.5 MB/s) +Fetched 19.6 MB in 0s (81.4 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 ... 19695 files and directories currently installed.) @@ -315,7 +347,11 @@ fakeroot is already the newest version (1.33-1). 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/3910625/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3910625/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 @@ -357,10 +393,25 @@ 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 +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +logging.c: In function 'flush_smart_logging': +logging.c:305:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 305 | write(Filehandle_trouble, trouble_logging_buffer, strlen(trouble_logging_buffer)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +logging.c:314:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 314 | write(Filehandle_trouble, text2, strlen(text2)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +logging.c:334:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 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 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); @@ -374,25 +425,18 @@ 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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -logging.c: In function 'flush_smart_logging': -logging.c:305:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 305 | write(Filehandle_trouble, trouble_logging_buffer, strlen(trouble_logging_buffer)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -logging.c:314:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 314 | write(Filehandle_trouble, text2, strlen(text2)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -logging.c:334:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 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 +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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 '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); @@ -408,10 +452,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -464,10 +504,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -556,19 +592,6 @@ extras.c:1666:7: note: length computed here 1666 | strncpy(p, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smsd_cfg.c: In function 'readcfg': -smsd_cfg.c:2669:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] - 2669 | snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); - | ^~ ~~~~~ -In function 'snprintf', - inlined from 'readcfg' at smsd_cfg.c:2669:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 256 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ modeminit.c: In function 'initmodem': modeminit.c:2055:34: warning: '%s' directive writing up to 499 bytes into a region of size 90 [-Wformat-overflow=] 2055 | sprintf(command, "AT+CSCA=\"+%s\"\r", answer); @@ -597,6 +620,19 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +smsd_cfg.c: In function 'readcfg': +smsd_cfg.c:2669:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] + 2669 | snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); + | ^~ ~~~~~ +In function 'snprintf', + inlined from 'readcfg' at smsd_cfg.c:2669:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 256 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3477:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 16 [-Wformat-truncation=] 3477 | snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); @@ -978,8 +1014,8 @@ dpkg-gencontrol: warning: package smstools: substitution variable ${misc:Pre-Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'smstools-dbgsym' in '../smstools-dbgsym_3.1.21-4_amd64.deb'. dpkg-deb: building package 'smstools' in '../smstools_3.1.21-4_amd64.deb'. +dpkg-deb: building package 'smstools-dbgsym' in '../smstools-dbgsym_3.1.21-4_amd64.deb'. dpkg-genbuildinfo --build=binary -O../smstools_3.1.21-4_amd64.buildinfo dpkg-genchanges --build=binary -O../smstools_3.1.21-4_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -987,12 +1023,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/3910625/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3910625/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/1016325 and its subdirectories -I: Current time: Fri May 3 08:21:59 -12 2024 -I: pbuilder-time-stamp: 1714767719 +I: removing directory /srv/workspace/pbuilder/3910625 and its subdirectories +I: Current time: Fri Jun 6 16:46:03 +14 2025 +I: pbuilder-time-stamp: 1749177963