Diff of the two buildlogs: -- --- b1/build.log 2025-09-09 03:18:32.942908469 +0000 +++ b2/build.log 2025-09-09 03:25:28.715454974 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Sep 8 15:11:26 -12 2025 -I: pbuilder-time-stamp: 1757387486 +I: Current time: Mon Oct 12 23:41:37 +14 2026 +I: pbuilder-time-stamp: 1791798097 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/1580915/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3512613/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Oct 12 09:42 /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/3512613/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3512613/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' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='8647bfa74ba64dfeab0efda76fe4cf4f' - 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='1580915' - PS1='# ' - PS2='> ' + INVOCATION_ID=6cbc42d457a948b48872b89e5fec0f6b + 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=3512613 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.RZk61s0r/pbuilderrc_fTbh --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.RZk61s0r/b1 --logfile b1/build.log yt-dlp_2025.09.05-1.dsc' - SUDO_GID='110' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.RZk61s0r/pbuilderrc_Gxw2 --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.RZk61s0r/b2 --logfile b2/build.log yt-dlp_2025.09.05-1.dsc' + SUDO_GID=111 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1580915/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3512613/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -186,7 +218,7 @@ Get: 61 http://deb.debian.org/debian unstable/main amd64 python3-pygments all 2.18.0+dfsg-2 [836 kB] Get: 62 http://deb.debian.org/debian unstable/main amd64 python3-pytest all 8.4.2-1 [266 kB] Get: 63 http://deb.debian.org/debian unstable/main amd64 zip amd64 3.0-15 [235 kB] -Fetched 46.6 MB in 16s (2888 kB/s) +Fetched 46.6 MB in 7s (6522 kB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 19917 files and directories currently installed.) @@ -404,8 +436,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Sep 9 03:13:32 UTC 2025. -Universal Time is now: Tue Sep 9 03:13:32 UTC 2025. +Local time is now: Mon Oct 12 09:43:20 UTC 2026. +Universal Time is now: Mon Oct 12 09:43:20 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up zip (3.0-15) ... @@ -465,7 +497,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/3512613/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3512613/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 @@ -673,7 +709,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%] @@ -859,11 +895,13 @@ 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] Traceback (most recent call last): +test/test_networking.py::TestHTTPRequestHandler::test_source_address[Urllib] Exception occurred during processing of request from ('127.0.0.43', 45781) +PASSED [ 24%]Traceback (most recent call last): File "/usr/lib/python3.13/socketserver.py", line 697, in process_request_thread self.finish_request(request, client_address) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/usr/lib/python3.13/socketserver.py", line 362, in finish_request + +test/test_networking.py::TestHTTPRequestHandler::test_source_address[Requests] SKIPPED [ 24%] File "/usr/lib/python3.13/socketserver.py", line 362, in finish_request self.RequestHandlerClass(request, client_address, self) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/socketserver.py", line 766, in __init__ @@ -877,8 +915,7 @@ ~~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. ---------------------------------------- -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%] @@ -1820,6 +1857,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 @@ -2042,56 +2104,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 220.91s (0:03:40) ========= +FAILED test/test_execution.py::TestExecution::test_lazy_extractors - Assertio... +=== 1 failed, 861 passed, 388 skipped, 6127 deselected in 242.17s (0:04:02) ==== +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_amd64.buildinfo - dpkg-genchanges --build=binary -O../yt-dlp_2025.09.05-1_amd64.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/3512613/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Mon Oct 12 09:48:25 UTC 2026 +Filesystem Size Used Avail Use% Mounted on +tmpfs 40G 0 40G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/3512613/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/1580915 and its subdirectories -I: Current time: Mon Sep 8 15:18:32 -12 2025 -I: pbuilder-time-stamp: 1757387912 +I: removing directory /srv/workspace/pbuilder/3512613 and its subdirectories