Diff of the two buildlogs: -- --- b1/build.log 2025-09-11 08:31:16.367512494 +0000 +++ b2/build.log 2025-09-11 08:33:40.599685358 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 10 20:28:02 -12 2025 -I: pbuilder-time-stamp: 1757579282 +I: Current time: Thu Oct 15 04:54:18 +14 2026 +I: pbuilder-time-stamp: 1791989658 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -27,53 +27,85 @@ dpkg-source: info: applying 0005-fix-hatchling-breaking-backportability.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/393035/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1135686/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Oct 14 14:54 /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/1135686/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1135686/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]="3" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.3.3(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='forky' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='9f80c016dd6041068606ae9f6f45e09b' - 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='393035' - PS1='# ' - PS2='> ' + INVOCATION_ID=fe8908bbcd2f4ee5a29a7b488bd15845 + 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=1135686 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.WKxCmOSS/pbuilderrc_wo01 --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.WKxCmOSS/b1 --logfile b1/build.log yt-dlp_2025.09.05-1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - 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.WKxCmOSS/pbuilderrc_nGR8 --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.WKxCmOSS/b2 --logfile b2/build.log yt-dlp_2025.09.05-1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + 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 codethink04-arm64 6.12.43+deb13-cloud-arm64 #1 SMP Debian 6.12.43-1 (2025-08-27) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-cloud-arm64 #1 SMP Debian 6.12.43-1 (2025-08-27) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/393035/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1135686/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -185,7 +217,7 @@ Get: 60 http://deb.debian.org/debian forky/main arm64 python3-iniconfig all 1.1.1-2 [6396 B] Get: 61 http://deb.debian.org/debian forky/main arm64 python3-pytest all 8.3.5-2 [250 kB] Get: 62 http://deb.debian.org/debian forky/main arm64 zip arm64 3.0-15 [227 kB] -Fetched 45.0 MB in 0s (173 MB/s) +Fetched 45.0 MB in 1s (82.2 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1: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 ... 21045 files and directories currently installed.) @@ -400,8 +432,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Sep 11 08:28:27 UTC 2025. -Universal Time is now: Thu Sep 11 08:28:27 UTC 2025. +Local time is now: Wed Oct 14 14:54:47 UTC 2026. +Universal Time is now: Wed Oct 14 14:54:47 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up zip (3.0-15) ... @@ -460,7 +492,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/yt-dlp-2025.09.05/ && 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 > ../yt-dlp_2025.09.05-1_source.changes +I: user script /srv/workspace/pbuilder/1135686/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/1135686/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/yt-dlp-2025.09.05/ && 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 > ../yt-dlp_2025.09.05-1_source.changes dpkg-buildpackage: info: source package yt-dlp dpkg-buildpackage: info: source version 2025.09.05-1 dpkg-buildpackage: info: source distribution unstable @@ -668,7 +704,7 @@ test/test_downloader_http.py::TestHttpFD::test_regular PASSED [ 9%] test/test_execution.py::TestExecution::test_cmdline_umlauts PASSED [ 9%] test/test_execution.py::TestExecution::test_import PASSED [ 9%] -test/test_execution.py::TestExecution::test_lazy_extractors PASSED [ 9%] +test/test_execution.py::TestExecution::test_lazy_extractors FAILED [ 9%] test/test_execution.py::TestExecution::test_main_exec PASSED [ 9%] test/test_execution.py::TestExecution::test_module_exec PASSED [ 10%] test/test_http_proxy.py::TestHTTPProxy::test_http_no_auth[http-Urllib] PASSED [ 10%] @@ -854,7 +890,7 @@ test/test_networking.py::TestHTTPRequestHandler::test_connect_timeout[Urllib] PASSED [ 24%] test/test_networking.py::TestHTTPRequestHandler::test_connect_timeout[Requests] SKIPPED [ 24%] test/test_networking.py::TestHTTPRequestHandler::test_connect_timeout[CurlCFFI] SKIPPED [ 24%] -test/test_networking.py::TestHTTPRequestHandler::test_source_address[Urllib] PASSED [ 24%]Traceback (most recent call last): +test/test_networking.py::TestHTTPRequestHandler::test_source_address[Urllib] Traceback (most recent call last): File "/usr/lib/python3.13/socketserver.py", line 697, in process_request_thread self.finish_request(request, client_address) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -864,8 +900,7 @@ File "/usr/lib/python3.13/socketserver.py", line 766, in __init__ self.handle() ~~~~~~~~~~~^^ - -test/test_networking.py::TestHTTPRequestHandler::test_source_address[Requests] File "/usr/lib/python3.13/http/server.py", line 436, in handle + File "/usr/lib/python3.13/http/server.py", line 436, in handle self.handle_one_request() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/http/server.py", line 425, in handle_one_request @@ -873,7 +908,8 @@ ~~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. ---------------------------------------- -SKIPPED [ 24%] +PASSED [ 24%] +test/test_networking.py::TestHTTPRequestHandler::test_source_address[Requests] SKIPPED [ 24%] test/test_networking.py::TestHTTPRequestHandler::test_source_address[CurlCFFI] SKIPPED [ 24%] test/test_networking.py::TestHTTPRequestHandler::test_gzip_trailing_garbage[Urllib] PASSED [ 24%] test/test_networking.py::TestHTTPRequestHandler::test_gzip_trailing_garbage[Requests] SKIPPED [ 25%] @@ -1288,8 +1324,7 @@ test/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinyChaptersResultingFromSponsorOverlapAreIgnored PASSED [ 57%] test/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinySponsorsAreIgnored PASSED [ 57%] test/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinySponsorsOverlapsAreIgnored PASSED [ 57%] -test/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinySponsorsPrependedToTheNextSponsor Traceback (most recent call last): -PASSED [ 58%] +test/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_TinySponsorsPrependedToTheNextSponsor PASSED [ 58%] test/test_postprocessors.py::TestModifyChaptersPP::test_remove_marked_arrange_sponsors_UniqueNamesForOverlappingSponsors PASSED [ 58%] test/test_pot/test_pot_builtin_memorycache.py::TestMemoryLRUPCS::test_base_type PASSED [ 58%] test/test_pot/test_pot_builtin_memorycache.py::TestMemoryLRUPCS::test_is_registered PASSED [ 58%] @@ -1816,6 +1851,31 @@ test/test_websockets.py::TestWebsocketsRequestHandler::test_ws_recv_error_mapping[-TransportError-None3-Websockets] SKIPPED [ 99%] test/test_youtube_misc.py::TestYoutubeMisc::test_youtube_extract PASSED [100%] +=================================== FAILURES =================================== +______________________ TestExecution.test_lazy_extractors ______________________ + +self = + + def test_lazy_extractors(self): + try: + subprocess.check_call([sys.executable, 'devscripts/make_lazy_extractors.py', LAZY_EXTRACTORS], + cwd=rootDir, stdout=subprocess.DEVNULL) + self.assertTrue(os.path.exists(LAZY_EXTRACTORS)) + + _, stderr = self.run_yt_dlp(opts=('-s', 'test:')) + # `MIN_RECOMMENDED` emits a deprecated feature warning for deprecated Python versions + if stderr and stderr.startswith('Deprecated Feature: Support for Python'): + stderr = '' +> self.assertFalse(stderr) +E AssertionError: "WARNING: Your yt-dlp version (2025.09.05) is older than 90 days!\n It is strongly recommended to always use the latest version.\n As yt-dlp has been installed via apt, you should use that to update. If you're on a stable release, also check backports..\n To suppress this warning, add --no-update to your command/config." is not false + +test/test_execution.py:51: AssertionError +----------------------------- Captured stderr call ----------------------------- +WARNING: Your yt-dlp version (2025.09.05) is older than 90 days! + It is strongly recommended to always use the latest version. + As yt-dlp has been installed via apt, you should use that to update. If you're on a stable release, also check backports.. + To suppress this warning, add --no-update to your command/config. + =========================== short test summary info ============================ SKIPPED [1] test/test_downloader_external.py:115: ffmpeg not found SKIPPED [1] test/test_http_proxy.py:252: Requests request handler is not available @@ -2038,56 +2098,26 @@ SKIPPED [10] test/test_websockets.py:443: Websockets request handler is not available SKIPPED [6] test/test_websockets.py:474: Websockets request handler is not available SKIPPED [5] test/test_websockets.py:491: Websockets request handler is not available -======== 862 passed, 388 skipped, 6127 deselected in 133.12s (0:02:13) ========= +FAILED test/test_execution.py::TestExecution::test_lazy_extractors - Assertio... +==== 1 failed, 861 passed, 388 skipped, 6127 deselected in 91.84s (0:01:31) ==== +make[2]: *** [Makefile:82: offlinetest] Error 1 make[2]: Leaving directory '/build/reproducible-path/yt-dlp-2025.09.05' +make[1]: *** [debian/rules:19: override_dh_auto_test] Error 2 make[1]: Leaving directory '/build/reproducible-path/yt-dlp-2025.09.05' - create-stamp debian/debhelper-build-stamp - dh_testroot -O--buildsystem=pybuild - dh_prep -O--buildsystem=pybuild - dh_auto_install --destdir=debian/yt-dlp/ -O--buildsystem=pybuild -I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir - dh_installdocs -O--buildsystem=pybuild - debian/rules override_dh_installchangelogs -make[1]: Entering directory '/build/reproducible-path/yt-dlp-2025.09.05' -DEB_BUILD_OPTIONS=notrimdch dh_installchangelogs Changelog.md -make[1]: Leaving directory '/build/reproducible-path/yt-dlp-2025.09.05' - dh_installman -O--buildsystem=pybuild - debian/rules override_dh_python3 -make[1]: Entering directory '/build/reproducible-path/yt-dlp-2025.09.05' -dh_python3 --depends-section=default -I: dh_python3 tools:114: replacing shebang in debian/yt-dlp/usr/bin/yt-dlp -I: dh_python3 pydist:316: Cannot find package that provides curl_cffi. Please add package that provides it to Build-Depends or add "curl_cffi python3-curl-cffi" line to debian/py3dist-overrides or add proper dependency to Depends by hand and ignore this info. -I: dh_python3 pydist:339: Ignoring complex environment marker: brotli; (implementation_name == 'cpython') and extra == 'default' -I: dh_python3 pydist:339: Ignoring complex environment marker: brotlicffi; (implementation_name != 'cpython') and extra == 'default' -make[1]: Leaving directory '/build/reproducible-path/yt-dlp-2025.09.05' - 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 - debian/rules override_dh_gencontrol -make[1]: Entering directory '/build/reproducible-path/yt-dlp-2025.09.05' -dh_gencontrol -- -Vyt-dlp:Sites="$(sed -n -e 's/.* \- \*\*//g' -e 's/:.*//' -e 's/\*\*.*/,/p' supportedsites.md | fmt )" -make[1]: Leaving directory '/build/reproducible-path/yt-dlp-2025.09.05' - dh_md5sums -O--buildsystem=pybuild - dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'yt-dlp' in '../yt-dlp_2025.09.05-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../yt-dlp_2025.09.05-1_arm64.buildinfo - dpkg-genchanges --build=binary -O../yt-dlp_2025.09.05-1_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: including full source code in upload +make: *** [debian/rules:7: binary] Error 2 +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/1135686/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Wed Oct 14 14:56:39 UTC 2026 +Filesystem Size Used Avail Use% Mounted on +tmpfs 16G 0 16G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/1135686/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/393035 and its subdirectories -I: Current time: Wed Sep 10 20:31:15 -12 2025 -I: pbuilder-time-stamp: 1757579475 +I: removing directory /srv/workspace/pbuilder/1135686 and its subdirectories