Diff of the two buildlogs:

--
--- b1/build.log	2025-02-25 11:36:29.967038475 +0000
+++ b2/build.log	2025-02-25 11:38:47.344898918 +0000
@@ -1,6 +1,6 @@
 I: pbuilder: network access will be disabled during build
-I: Current time: Mon Mar 30 05:54:19 -12 2026
-I: pbuilder-time-stamp: 1774893259
+I: Current time: Wed Feb 26 01:36:33 +14 2025
+I: pbuilder-time-stamp: 1740483393
 I: Building the build Environment
 I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
 I: copying local configuration
@@ -27,52 +27,84 @@
 dpkg-source: info: applying 2025-future
 I: Not using root during the build.
 I: Installing the build-deps
-I: user script /srv/workspace/pbuilder/1953287/tmp/hooks/D02_print_environment starting
+I: user script /srv/workspace/pbuilder/1569153/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 Feb 25 11:36 /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/1569153/tmp/hooks/D01_modify_environment finished
+I: user script /srv/workspace/pbuilder/1569153/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='52467ec9c23e43bfb3194b0aac7b1284'
-  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='1953287'
-  PS1='# '
-  PS2='> '
+  INVOCATION_ID=c68f262087c8440790d6ff3b6f1e4197
+  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=1569153
   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.hy1MS0Rr/pbuilderrc_dzoa --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.hy1MS0Rr/b1 --logfile b1/build.log beets_2.2.0-2.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.hy1MS0Rr/pbuilderrc_GPYD --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.hy1MS0Rr/b2 --logfile b2/build.log beets_2.2.0-2.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-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux
+  Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux
 I: ls -l /bin
-  lrwxrwxrwx 1 root root 7 Nov 22  2024 /bin -> usr/bin
-I: user script /srv/workspace/pbuilder/1953287/tmp/hooks/D02_print_environment finished
+  lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin
+I: user script /srv/workspace/pbuilder/1569153/tmp/hooks/D02_print_environment finished
  -> Attempting to satisfy build-dependencies
  -> Creating pbuilder-satisfydepends-dummy package
 Package: pbuilder-satisfydepends-dummy
@@ -329,7 +361,7 @@
 Get: 165 http://deb.debian.org/debian unstable/main arm64 python3-responses all 0.25.6-1 [46.0 kB]
 Get: 166 http://deb.debian.org/debian unstable/main arm64 python3-unidecode all 1.3.8-1 [115 kB]
 Get: 167 http://deb.debian.org/debian unstable/main arm64 python3-xdg all 0.28-2 [40.5 kB]
-Fetched 55.6 MB in 1s (59.4 MB/s)
+Fetched 55.6 MB in 0s (157 MB/s)
 Preconfiguring packages ...
 Selecting previously unselected package libpython3.13-minimal:arm64.
 (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 ... 19889 files and directories currently installed.)
@@ -869,8 +901,8 @@
 Setting up tzdata (2025a-2) ...
 
 Current default time zone: 'Etc/UTC'
-Local time is now:      Mon Mar 30 17:55:17 UTC 2026.
-Universal Time is now:  Mon Mar 30 17:55:17 UTC 2026.
+Local time is now:      Tue Feb 25 11:36:58 UTC 2025.
+Universal Time is now:  Tue Feb 25 11:36:58 UTC 2025.
 Run 'dpkg-reconfigure tzdata' if you wish to change it.
 
 Setting up autotools-dev (20220109.1) ...
@@ -1036,7 +1068,11 @@
 Building tag database...
  -> Finished parsing the build-deps
 I: Building the package
-I: Running cd /build/reproducible-path/beets-2.2.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  > ../beets_2.2.0-2_source.changes
+I: user script /srv/workspace/pbuilder/1569153/tmp/hooks/A99_set_merged_usr starting
+Not re-configuring usrmerge for unstable
+I: user script /srv/workspace/pbuilder/1569153/tmp/hooks/A99_set_merged_usr finished
+hostname: Name or service not known
+I: Running cd /build/reproducible-path/beets-2.2.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  > ../beets_2.2.0-2_source.changes
 dpkg-buildpackage: info: source package beets
 dpkg-buildpackage: info: source version 2.2.0-2
 dpkg-buildpackage: info: source distribution unstable
@@ -1356,7 +1392,7 @@
 test/plugins/test_mbsync.py ..                                      [ 331/1797]
 test/plugins/test_mpdstats.py ...                                   [ 334/1797]
 test/plugins/test_parentwork.py ssss....                            [ 342/1797]
-test/plugins/test_permissions.py .......                            [ 349/1797]
+test/plugins/test_permissions.py ...F...                            [ 349/1797]
 test/plugins/test_play.py ............                              [ 361/1797]
 test/plugins/test_player.py ....................................... [ 400/1797]
 ...x....x....s............xxx....sxx.xx                             [ 439/1797]
@@ -1414,6 +1450,86 @@
 test/test_util.py .s.....s...............                           [1795/1797]
 test/test_vfs.py ..                                                 [1797/1797]
 
+=================================== FAILURES ===================================
+____________ PermissionsPluginTest.test_failing_to_set_permissions _____________
+
+self = <test.plugins.test_permissions.PermissionsPluginTest testMethod=test_failing_to_set_permissions>
+
+    @patch("os.chmod", Mock())
+    def test_failing_to_set_permissions(self):
+>       self.do_thing(False)
+
+test/plugins/test_permissions.py:34: 
+_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
+test/plugins/test_permissions.py:60: in do_thing
+    self.assertPerms(item.path, "file", expect_success)
+_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
+
+self = <test.plugins.test_permissions.PermissionsPluginTest testMethod=test_failing_to_set_permissions>
+path = b'/tmp/tmpo3235ksc/libdir/Tag Artist/Tag Album/Tag Track 1.mp3'
+typ = 'file', expect_success = False
+
+    def assertPerms(self, path, typ, expect_success):
+        for x in [
+            (True, self.exp_perms[expect_success][typ], "!="),
+            (False, self.exp_perms[not expect_success][typ], "=="),
+        ]:
+            msg = "{} : {} {} {}".format(
+                displayable_path(path),
+                oct(os.stat(path).st_mode),
+                x[2],
+                oct(x[1]),
+            )
+>           assert x[0] == check_permissions(path, x[1]), msg
+E           AssertionError: /tmp/tmpo3235ksc/libdir/Tag Artist/Tag Album/Tag Track 1.mp3 : 0o100644 != 0o664
+E           assert True == False
+E            +  where False = check_permissions(b'/tmp/tmpo3235ksc/libdir/Tag Artist/Tag Album/Tag Track 1.mp3', 436)
+
+test/plugins/test_permissions.py:76: AssertionError
+----------------------------- Captured stderr call -----------------------------
+Sending event: import_begin
+Sending event: import_task_created
+/tmp/tmpo3235ksc/import/album
+0 of 1 items replaced
+Sending event: database_change
+Sending event: database_change
+Sending event: database_change
+Sending event: database_change
+Parsed query: AndQuery([NoneQuery('album_id', True)])
+Parsed sort: NullSort()
+Parsed query: AndQuery([BooleanQuery('comp', 1, fast=True)])
+Parsed sort: NullSort()
+Sending event: item_copied
+Sending event: database_change
+Sending event: database_change
+Sending event: database_change
+Sending event: import_task_files
+Sending event: album_imported
+permissions: could not set permissions on /tmp/tmpo3235ksc/libdir/Tag Artist/Tag Album/Tag Track 1.mp3
+permissions: could not set permissions on /tmp/tmpo3235ksc/libdir/Tag Artist
+permissions: could not set permissions on /tmp/tmpo3235ksc/libdir/Tag Artist/Tag Album
+------------------------------ Captured log call -------------------------------
+DEBUG    beets:logging.py:112 Sending event: import_begin
+DEBUG    beets:logging.py:112 Sending event: import_task_created
+INFO     beets:logging.py:112 /tmp/tmpo3235ksc/import/album
+DEBUG    beets:logging.py:112 0 of 1 items replaced
+DEBUG    beets:logging.py:112 Sending event: database_change
+DEBUG    beets:logging.py:112 Sending event: database_change
+DEBUG    beets:logging.py:112 Sending event: database_change
+DEBUG    beets:logging.py:112 Sending event: database_change
+DEBUG    beets:logging.py:112 Parsed query: AndQuery([NoneQuery('album_id', True)])
+DEBUG    beets:logging.py:112 Parsed sort: NullSort()
+DEBUG    beets:logging.py:112 Parsed query: AndQuery([BooleanQuery('comp', 1, fast=True)])
+DEBUG    beets:logging.py:112 Parsed sort: NullSort()
+DEBUG    beets:logging.py:112 Sending event: item_copied
+DEBUG    beets:logging.py:112 Sending event: database_change
+DEBUG    beets:logging.py:112 Sending event: database_change
+DEBUG    beets:logging.py:112 Sending event: database_change
+DEBUG    beets:logging.py:112 Sending event: import_task_files
+DEBUG    beets:logging.py:112 Sending event: album_imported
+WARNING  beets.permissions:logging.py:112 permissions: could not set permissions on /tmp/tmpo3235ksc/libdir/Tag Artist/Tag Album/Tag Track 1.mp3
+WARNING  beets.permissions:logging.py:112 permissions: could not set permissions on /tmp/tmpo3235ksc/libdir/Tag Artist
+WARNING  beets.permissions:logging.py:112 permissions: could not set permissions on /tmp/tmpo3235ksc/libdir/Tag Artist/Tag Album
 =============================== warnings summary ===============================
 ../../../../../../usr/lib/python3/dist-packages/confuse/util.py:118
   /usr/lib/python3/dist-packages/confuse/util.py:118: DeprecationWarning: 'pkgutil.get_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead
@@ -1512,49 +1628,24 @@
 XFAIL test/plugins/test_player.py::BPDDeviceTest::test_implements_devices - reason: 
 XFAIL test/plugins/test_player.py::BPDReflectionTest::test_implements_reflection - reason: 
 XFAIL test/plugins/test_player.py::BPDPeersTest::test_implements_peers - reason: 
-= 1691 passed, 98 skipped, 1 deselected, 9 xfailed, 1 warning in 105.48s (0:01:45) =
-   create-stamp debian/debhelper-build-stamp
-   dh_testroot -O--buildsystem=pybuild
-   dh_prep -O--buildsystem=pybuild
-   dh_auto_install -O--buildsystem=pybuild
-I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
-   dh_install -O--buildsystem=pybuild
-   dh_installdocs -O--buildsystem=pybuild
-   dh_sphinxdoc -O--buildsystem=pybuild
-dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/beets-doc/usr/share/doc/beets/html/_static/scripts/fontawesome.js
-   debian/rules override_dh_installchangelogs
-make[1]: Entering directory '/build/reproducible-path/beets-2.2.0'
-dh_installchangelogs docs/changelog.rst
-make[1]: Leaving directory '/build/reproducible-path/beets-2.2.0'
-   dh_installman -O--buildsystem=pybuild
-   dh_python3 -O--buildsystem=pybuild
-   dh_installsystemduser -O--buildsystem=pybuild
-   dh_perl -O--buildsystem=pybuild
-   dh_link -O--buildsystem=pybuild
-   dh_strip_nondeterminism -O--buildsystem=pybuild
-   dh_compress -O--buildsystem=pybuild
-   dh_fixperms -O--buildsystem=pybuild
-   dh_missing -O--buildsystem=pybuild
-   dh_installdeb -O--buildsystem=pybuild
-   dh_gencontrol -O--buildsystem=pybuild
-dpkg-gencontrol: warning: package beets-doc: substitution variable ${sphinxdoc:Built-Using} unused, but is defined
-   dh_md5sums -O--buildsystem=pybuild
-   dh_builddeb -O--buildsystem=pybuild
-dpkg-deb: building package 'beets-doc' in '../beets-doc_2.2.0-2_all.deb'.
-dpkg-deb: building package 'beets' in '../beets_2.2.0-2_all.deb'.
- dpkg-genbuildinfo --build=binary -O../beets_2.2.0-2_arm64.buildinfo
- dpkg-genchanges --build=binary -O../beets_2.2.0-2_arm64.changes
-dpkg-genchanges: info: binary-only upload (no source code included)
- dpkg-source --after-build .
-dpkg-buildpackage: info: binary-only upload (no source included)
-dpkg-genchanges: info: not including original source code in upload
+FAILED test/plugins/test_permissions.py::PermissionsPluginTest::test_failing_to_set_permissions
+= 1 failed, 1690 passed, 98 skipped, 1 deselected, 9 xfailed, 1 warning in 49.84s =
+E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/beets-2.2.0/.pybuild/cpython3_3.13/build; python3.13 -m pytest -k "not test_completion"
+dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
+make: *** [debian/rules:9: binary] Error 25
+dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
 I: copying local configuration
+E: Failed autobuilding of package
+I: user script /srv/workspace/pbuilder/1569153/tmp/hooks/C01_cleanup starting
+debug output: disk usage on i-capture-the-hostname at Tue Feb 25 11:38:45 UTC 2025
+Filesystem      Size  Used Avail Use% Mounted on
+tmpfs            30G     0   30G   0% /dev/shm
+
+I: user script /srv/workspace/pbuilder/1569153/tmp/hooks/C01_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/1953287 and its subdirectories
-I: Current time: Mon Mar 30 05:59:28 -12 2026
-I: pbuilder-time-stamp: 1774893568
+I: removing directory /srv/workspace/pbuilder/1569153 and its subdirectories