Diff of the two buildlogs:

--
--- b1/build.log	2025-01-22 23:29:16.867706117 +0000
+++ b2/build.log	2025-01-22 23:29:58.881808360 +0000
@@ -1,6 +1,6 @@
 I: pbuilder: network access will be disabled during build
-I: Current time: Tue Feb 24 17:51:47 -12 2026
-I: pbuilder-time-stamp: 1771998707
+I: Current time: Thu Jan 23 13:29:19 +14 2025
+I: pbuilder-time-stamp: 1737588559
 I: Building the build Environment
 I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
 I: copying local configuration
@@ -26,52 +26,84 @@
 dpkg-source: info: applying 0002_dont_set_crosscompile.patch
 I: Not using root during the build.
 I: Installing the build-deps
-I: user script /srv/workspace/pbuilder/3335519/tmp/hooks/D02_print_environment starting
+I: user script /srv/workspace/pbuilder/166623/tmp/hooks/D01_modify_environment starting
+debug: Running on codethink04-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 Jan 22 23:29 /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/166623/tmp/hooks/D01_modify_environment finished
+I: user script /srv/workspace/pbuilder/166623/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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-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=arm64
+  DEBIAN_FRONTEND=noninteractive
   DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 '
-  DISTRIBUTION='unstable'
-  HOME='/root'
-  HOST_ARCH='arm64'
+  DIRSTACK=()
+  DISTRIBUTION=unstable
+  EUID=0
+  FUNCNAME=([0]="Echo" [1]="main")
+  GROUPS=()
+  HOME=/root
+  HOSTNAME=i-capture-the-hostname
+  HOSTTYPE=aarch64
+  HOST_ARCH=arm64
   IFS=' 	
   '
-  INVOCATION_ID='d43f266e30c243f4a60ecf0a82635059'
-  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='3335519'
-  PS1='# '
-  PS2='> '
+  INVOCATION_ID=74bec982ef9440a7a1cd8b9a407439d4
+  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=166623
   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.pPtFsVpI/pbuilderrc_HFG9 --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.pPtFsVpI/b1 --logfile b1/build.log optee-client_4.5.0-1.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.4: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.pPtFsVpI/pbuilderrc_Vew9 --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.pPtFsVpI/b2 --logfile b2/build.log optee-client_4.5.0-1.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.4:3128
 I: uname -a
-  Linux codethink03-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux
+  Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux
 I: ls -l /bin
-  lrwxrwxrwx 1 root root 7 Nov 22  2024 /bin -> usr/bin
-I: user script /srv/workspace/pbuilder/3335519/tmp/hooks/D02_print_environment finished
+  lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin
+I: user script /srv/workspace/pbuilder/166623/tmp/hooks/D02_print_environment finished
  -> Attempting to satisfy build-dependencies
  -> Creating pbuilder-satisfydepends-dummy package
 Package: pbuilder-satisfydepends-dummy
@@ -160,7 +192,7 @@
 Get: 41 http://deb.debian.org/debian unstable/main arm64 pkgconf arm64 1.8.1-4 [26.1 kB]
 Get: 42 http://deb.debian.org/debian unstable/main arm64 uuid-dev arm64 2.40.4-1 [48.2 kB]
 Get: 43 http://deb.debian.org/debian unstable/main arm64 xsltproc arm64 1.1.35-1.1+b1 [115 kB]
-Fetched 22.9 MB in 0s (145 MB/s)
+Fetched 22.9 MB in 0s (196 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 ... 19946 files and directories currently installed.)
@@ -350,7 +382,11 @@
 Building tag database...
  -> Finished parsing the build-deps
 I: Building the package
-I: Running cd /build/reproducible-path/optee-client-4.5.0/ && 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  > ../optee-client_4.5.0-1_source.changes
+I: user script /srv/workspace/pbuilder/166623/tmp/hooks/A99_set_merged_usr starting
+Not re-configuring usrmerge for unstable
+I: user script /srv/workspace/pbuilder/166623/tmp/hooks/A99_set_merged_usr finished
+hostname: Name or service not known
+I: Running cd /build/reproducible-path/optee-client-4.5.0/ && 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  > ../optee-client_4.5.0-1_source.changes
 dpkg-buildpackage: info: source package optee-client
 dpkg-buildpackage: info: source version 4.5.0-1
 dpkg-buildpackage: info: source distribution unstable
@@ -369,24 +405,24 @@
 rm -f /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/tee_supplicant.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/teec_ta_load.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/tee_supp_fs.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/rpmb.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/handle.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/sd_notify.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/tee_socket.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/sha2.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/hmac_sha2.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/prof.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/plugin.o /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/tee-supplicant
 rm -f /build/reproducible-path/optee-client-4.5.0/libteec/../out/libteec/libteec.a
 if [ -d "/build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant" ] ; then rmdir --ignore-fail-on-non-empty /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant ; fi
+if [ -d "/build/reproducible-path/optee-client-4.5.0/libteec/../out/libteec" ] ; then rmdir --ignore-fail-on-non-empty /build/reproducible-path/optee-client-4.5.0/libteec/../out/libteec ; fi
 rm -f /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/pkcs11_api.o /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/ck_debug.o /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/ck_helpers.o /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/invoke_ta.o /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/pkcs11_processing.o /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/pkcs11_token.o /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/serializer.o /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/serialize_ck.o
+rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/se.o
 rm -f /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/libckteec.so.0.1.0
+rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0.1.0
 rm -f /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/libckteec.so.0.1
-if [ -d "/build/reproducible-path/optee-client-4.5.0/libteec/../out/libteec" ] ; then rmdir --ignore-fail-on-non-empty /build/reproducible-path/optee-client-4.5.0/libteec/../out/libteec ; fi
+rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0.1
 rm -f /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/libckteec.so.0
-rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/se.o
-rm -f /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/libckteec.so.0.1.0
+rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0
 rm -f /build/reproducible-path/optee-client-4.5.0/libteeacl/../out/libteeacl/group.o /build/reproducible-path/optee-client-4.5.0/libteeacl/../out/libteeacl/tee_uuid.o
+rm -f /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/libckteec.so.0.1.0
 rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0.1.0
-rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0.1
 rm -f /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec/libckteec.a
 rm -f /build/reproducible-path/optee-client-4.5.0/libteeacl/../out/libteeacl/libteeacl.so.0.1.0
-if [ -d "/build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec" ] ; then rmdir --ignore-fail-on-non-empty /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec ; fi
-rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0
-rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0.1.0
 rm -f /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.a
-if [ -d "/build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec" ] ; then rmdir --ignore-fail-on-non-empty /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec ; fi
+if [ -d "/build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec" ] ; then rmdir --ignore-fail-on-non-empty /build/reproducible-path/optee-client-4.5.0/libckteec/../out/libckteec ; fi
 rm -f /build/reproducible-path/optee-client-4.5.0/libteeacl/../out/libteeacl/libteeacl.so.0.1
+if [ -d "/build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec" ] ; then rmdir --ignore-fail-on-non-empty /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec ; fi
 rm -f /build/reproducible-path/optee-client-4.5.0/libteeacl/../out/libteeacl/libteeacl.so.0
 rm -f /build/reproducible-path/optee-client-4.5.0/libteeacl/../out/libteeacl/libteeacl.so.0.1.0
 rm -f /build/reproducible-path/optee-client-4.5.0/libteeacl/../out/libteeacl/libteeacl.a
@@ -423,31 +459,31 @@
   AR      /build/reproducible-path/optee-client-4.5.0/libteec/../out/libteec/libteec.a
 
 Building tee-supplicant
-make --directory=tee-supplicant  --no-print-directory --no-builtin-variables CFG_TEE_SUPP_LOG_LEVEL=1
 Building libckteec.so
+make --directory=tee-supplicant  --no-print-directory --no-builtin-variables CFG_TEE_SUPP_LOG_LEVEL=1
 Building libseteec.so
-  CC      src/pkcs11_api.c
+  CC      src/se.c
   CC      src/tee_supplicant.c
+  CC      src/pkcs11_api.c
   CC      src/teec_ta_load.c
-  CC      src/ck_debug.c
-  CC      src/ck_helpers.c
   CC      src/tee_supp_fs.c
-  CC      src/se.c
-  CC      src/invoke_ta.c
+  CC      src/ck_debug.c
   CC      src/rpmb.c
+  CC      src/ck_helpers.c
   CC      src/handle.c
+  CC      src/invoke_ta.c
   CC      src/pkcs11_processing.c
-  CC      src/pkcs11_token.c
   CC      src/sd_notify.c
-  CC      src/serializer.c
-  CC      src/serialize_ck.c
-  LINK    /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0.1.0
+  CC      src/pkcs11_token.c
   CC      src/tee_socket.c
+  LINK    /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.so.0.1.0
 
   AR      /build/reproducible-path/optee-client-4.5.0/libseteec/../out/libseteec/libseteec.a
   CC      src/sha2.c
+  CC      src/serializer.c
   CC      src/hmac_sha2.c
   CC      src/prof.c
+  CC      src/serialize_ck.c
   CC      src/plugin.c
   LINK    /build/reproducible-path/optee-client-4.5.0/tee-supplicant/../out/tee-supplicant/tee-supplicant
 
@@ -484,11 +520,11 @@
 make[2]: Entering directory '/build/reproducible-path/optee-client-4.5.0'
 Building libteec.so
 Building libteeacl.so
-Building tee-supplicant
   Finding uuid.pc
+Building libseteec.so
+Building tee-supplicant
 Building libckteec.so
 make --directory=tee-supplicant  --no-print-directory --no-builtin-variables CFG_TEE_SUPP_LOG_LEVEL=1
-Building libseteec.so
 make[3]: Nothing to be done for 'all'.
 mkdir -p /build/reproducible-path/optee-client-4.5.0/debian/tmp/usr/sbin /build/reproducible-path/optee-client-4.5.0/debian/tmp/usr/lib/aarch64-linux-gnu /build/reproducible-path/optee-client-4.5.0/debian/tmp/usr/include
 cp config.mk /build/reproducible-path/optee-client-4.5.0/debian/tmp//usr/include/optee_client_config.mk
@@ -551,15 +587,15 @@
 dpkg-gencontrol: warning: Provides field of package libteec2: substitution variable ${t64:Provides} used, but is not defined
    dh_md5sums -O--exclude=.a
    dh_builddeb -O--exclude=.a
-dpkg-deb: building package 'libteeacl0.1.0t64' in '../libteeacl0.1.0t64_4.5.0-1_arm64.deb'.
 dpkg-deb: building package 'optee-client-dev' in '../optee-client-dev_4.5.0-1_arm64.deb'.
+dpkg-deb: building package 'libteeacl0.1.0t64' in '../libteeacl0.1.0t64_4.5.0-1_arm64.deb'.
+dpkg-deb: building package 'libteeacl0.1.0t64-dbgsym' in '../libteeacl0.1.0t64-dbgsym_4.5.0-1_arm64.deb'.
 dpkg-deb: building package 'libckteec0t64-dbgsym' in '../libckteec0t64-dbgsym_4.5.0-1_arm64.deb'.
-dpkg-deb: building package 'libckteec0t64' in '../libckteec0t64_4.5.0-1_arm64.deb'.
-dpkg-deb: building package 'libseteec0t64' in '../libseteec0t64_4.5.0-1_arm64.deb'.
 dpkg-deb: building package 'libteec2' in '../libteec2_4.5.0-1_arm64.deb'.
-dpkg-deb: building package 'libseteec0t64-dbgsym' in '../libseteec0t64-dbgsym_4.5.0-1_arm64.deb'.
 dpkg-deb: building package 'libteec2-dbgsym' in '../libteec2-dbgsym_4.5.0-1_arm64.deb'.
-dpkg-deb: building package 'libteeacl0.1.0t64-dbgsym' in '../libteeacl0.1.0t64-dbgsym_4.5.0-1_arm64.deb'.
+dpkg-deb: building package 'libckteec0t64' in '../libckteec0t64_4.5.0-1_arm64.deb'.
+dpkg-deb: building package 'libseteec0t64-dbgsym' in '../libseteec0t64-dbgsym_4.5.0-1_arm64.deb'.
+dpkg-deb: building package 'libseteec0t64' in '../libseteec0t64_4.5.0-1_arm64.deb'.
 dpkg-deb: building package 'tee-supplicant-dbgsym' in '../tee-supplicant-dbgsym_4.5.0-1_arm64.deb'.
 dpkg-deb: building package 'tee-supplicant' in '../tee-supplicant_4.5.0-1_arm64.deb'.
  dpkg-genbuildinfo --build=binary -O../optee-client_4.5.0-1_arm64.buildinfo
@@ -569,12 +605,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/166623/tmp/hooks/B01_cleanup starting
+I: user script /srv/workspace/pbuilder/166623/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/3335519 and its subdirectories
-I: Current time: Tue Feb 24 17:52:16 -12 2026
-I: pbuilder-time-stamp: 1771998736
+I: removing directory /srv/workspace/pbuilder/166623 and its subdirectories
+I: Current time: Thu Jan 23 13:29:57 +14 2025
+I: pbuilder-time-stamp: 1737588597