Diff of the two buildlogs: -- --- b1/build.log 2024-08-02 03:45:40.010620684 +0000 +++ b2/build.log 2024-08-02 03:47:22.170285367 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 1 15:41:29 -12 2024 -I: pbuilder-time-stamp: 1722570089 +I: Current time: Fri Aug 2 17:45:50 +14 2024 +I: pbuilder-time-stamp: 1722570350 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -36,52 +36,84 @@ dpkg-source: info: applying fix_error_message.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/20430/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9732/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +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 Aug 2 03:46 /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/9732/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9732/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='30d69727e339479abb980576150b18a1' - 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='20430' - PS1='# ' - PS2='> ' + INVOCATION_ID=5107cba101094e558013aef9957d05e6 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=9732 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.mdpc36xW/pbuilderrc_eYdZ --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.mdpc36xW/b1 --logfile b1/build.log kexec-tools_2.0.29-1.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.mdpc36xW/pbuilderrc_Av2B --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.mdpc36xW/b2 --logfile b2/build.log kexec-tools_2.0.29-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff64a 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/20430/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/9732/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -166,7 +198,7 @@ Get: 41 http://deb.debian.org/debian unstable/main armhf libyajl2 armhf 2.1.0-5+b1 [20.2 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf libxenmisc4.17t64 armhf 4.17.3+36-g54dacb5c02-1+b1 [388 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf libxen-dev armhf 4.17.3+36-g54dacb5c02-1+b1 [700 kB] -Fetched 20.5 MB in 1s (22.1 MB/s) +Fetched 20.5 MB in 1s (39.6 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 ... 19507 files and directories currently installed.) @@ -357,7 +389,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/kexec-tools-2.0.29/ && 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 > ../kexec-tools_2.0.29-1_source.changes +I: user script /srv/workspace/pbuilder/9732/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/9732/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/kexec-tools-2.0.29/ && 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 > ../kexec-tools_2.0.29-1_source.changes dpkg-buildpackage: info: source package kexec-tools dpkg-buildpackage: info: source version 1:2.0.29-1 dpkg-buildpackage: info: source distribution unstable @@ -552,7 +588,7 @@ config.status: creating include/config.h touch configure-stamp dh_testdir -/usr/bin/make -j 5 +/usr/bin/make -j 4 make[1]: Entering directory '/build/reproducible-path/kexec-tools-2.0.29' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/kexec.o kexec/kexec.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/ifdown.o kexec/ifdown.c @@ -589,7 +625,6 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/symbols.o kexec/symbols.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/proc_iomem.o kexec/proc_iomem.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/virt_to_phys.o kexec/virt_to_phys.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/arch/arm/phys_to_virt.o kexec/arch/arm/phys_to_virt.c kexec/kexec-xen.c: In function 'xen_kexec_load': kexec/kexec-xen.c:134:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 134 | for (s = 0; s < nr_segments && (uint64_t)segments[s].mem <= IDENTMAP_1MiB; s++) { @@ -615,6 +650,7 @@ kexec/kexec-xen.c:199:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | ret = xc_kexec_load(xch, type, arch, (uint64_t)info->entry, | ^ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/arch/arm/phys_to_virt.o kexec/arch/arm/phys_to_virt.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/add_segment.o kexec/add_segment.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/add_buffer.o kexec/add_buffer.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -c -MD -o kexec/arch_reuse_initrd.o kexec/arch_reuse_initrd.c @@ -642,15 +678,6 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -I./util_lib/include -c -MD -o util_lib/elf_info.o util_lib/elf_info.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -I./kexec/arch/arm/include -I./util_lib/include -c -MD -o util_lib/sha256.o util_lib/sha256.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/kexec-tools-2.0.29=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -D_FILE_OFFSET_BITS=64 -c -MD -o vmcore-dmesg/vmcore-dmesg.o vmcore-dmesg/vmcore-dmesg.c -cp kexec/kexec.8 build/share/man/man8/kexec.8 -mkdir -p build/share/man/man8 -cp vmcore-dmesg/vmcore-dmesg.8 build/share/man/man8/vmcore-dmesg.8 -cp kexec/coldreboot.8 build/share/man/man8/coldreboot.8 -cp kexec/kexec-load-kernel.8 build/share/man/man8/kexec-load-kernel.8 -cp kexec/coldreboot build/sbin/coldreboot -/bin/chmod 755 build/sbin/coldreboot -cp kexec/kexec-load-kernel build/sbin/kexec-load-kernel -/bin/chmod 755 build/sbin/kexec-load-kernel util_lib/elf_info.c: In function 'dump_dmesg_structured': util_lib/elf_info.c:893:64: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 893 | fprintf(stderr, "log_buf = 0x%lx, idx = 0x%x\n", @@ -672,6 +699,15 @@ | ~~~~~~~ | | | uint64_t {aka long long unsigned int} +cp kexec/kexec.8 build/share/man/man8/kexec.8 +mkdir -p build/share/man/man8 +cp vmcore-dmesg/vmcore-dmesg.8 build/share/man/man8/vmcore-dmesg.8 +cp kexec/coldreboot.8 build/share/man/man8/coldreboot.8 +cp kexec/kexec-load-kernel.8 build/share/man/man8/kexec-load-kernel.8 +cp kexec/coldreboot build/sbin/coldreboot +/bin/chmod 755 build/sbin/coldreboot +cp kexec/kexec-load-kernel build/sbin/kexec-load-kernel +/bin/chmod 755 build/sbin/kexec-load-kernel mkdir -p purgatory gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -Wl,--no-undefined -nostartfiles -nostdlib -nodefaultlibs -e purgatory_start -r -Wl,-Map=purgatory/purgatory.map -o purgatory/purgatory.ro.sym purgatory/purgatory.o purgatory/printf.o purgatory/string.o purgatory/sha256.o /usr/bin/ld: warning: cannot find entry symbol purgatory_start; not setting start address @@ -819,12 +855,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/9732/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9732/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/20430 and its subdirectories -I: Current time: Thu Aug 1 15:45:35 -12 2024 -I: pbuilder-time-stamp: 1722570335 +I: removing directory /srv/workspace/pbuilder/9732 and its subdirectories +I: Current time: Fri Aug 2 17:47:17 +14 2024 +I: pbuilder-time-stamp: 1722570437