Source: python-apt
Version: 2.9.6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20250124 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/python-apt-2.9.6'
> dh_auto_test || [ "linux" = "hurd" ];
> I: pybuild base:311: env 
> PYTHONPATH=/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build
>  python3.12 tests/test_all.py
> [tests] Running on 3.12.8 (main, Jan 11 2025, 09:42:09) [GCC 14.2.0]
> Using pybuild supplied build dir
> s/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpf2602n4t/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo  
> Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpf2602n4t/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ........./build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:562:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:Repositories should 
> provide a clear-signed InRelease file, but none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo2/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo2  
> Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:562:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:Repositories should 
> provide a clear-signed InRelease file, but none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo  
> Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ....../build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/data/test-provides/etc/apt/preferences.d/
>  - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/data/test-provides/etc/apt/preferences.d/
>  - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ..WARNING:root:skipping test_log_level_pkg_provides, cache empty?!?
> ......
> Reading package lists... 0%
> 
> Reading package lists... 100%
> 
> Reading package lists... Done
> 
> 
> Building dependency tree... 0%
> 
> Building dependency tree... 0%
> 
> Building dependency tree... 50%
> 
> Building dependency tree... 50%
> 
> Building dependency tree... Done
> 
> 
> Reading state information... 0% 
> 
> Reading state information... 0%
> 
> Reading state information... Done
> 
> .
> Reading package lists... 0%
> 
> Reading package lists... 100%
> 
> Reading package lists... Done
> 
> 
> Building dependency tree... 0%
> 
> Building dependency tree... 0%
> 
> Building dependency tree... 50%
> 
> Building dependency tree... 50%
> 
> Building dependency tree... Done
> 
> 
> Reading state information... 0% 
> 
> Reading state information... 0%
> 
> Reading state information... Done
> 
> ............................................................s..................................../build/reproducible-path/python-apt-2.9.6/tests/testcommon.py:25:
>  Warning: W:Unable to read data/test_debs/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   apt_pkg.init_config()
> ./build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> file:/build/reproducible-path/python-apt-2.9.6/tests/data/fake-packages/InRelease.,
>  W:The repository 
> 'file:/build/reproducible-path/python-apt-2.9.6/tests/data/fake-packages  
> Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ../build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpm9v_n6ey/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpm9v_n6ey/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/InRelease.,
>  W:Repositories should provide a clear-signed InRelease file, but none found 
> at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned
>   Release' is not signed., W:Data from such a repository can't be 
> authenticated and is therefore potentially dangerous to use., W:See 
> apt-secure(8) manpage for repository creation and user configuration 
> details., W:GPG error: 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release: List of files can't be created as 
> '/tmp/tmpm9v_n6ey/etc/apt/trusted.gpg.d/' is not a directory The signatures 
> couldn't be verified because no keyring is specified, W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ./build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpf1pl85tw/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/InRelease.,
>  W:Repositories should provide a clear-signed InRelease file, but none found 
> at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned
>   Release' is not signed., W:Data from such a repository can't be 
> authenticated and is therefore potentially dangerous to use., W:See 
> apt-secure(8) manpage for repository creation and user configuration 
> details., W:GPG error: 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release: List of files can't be created as 
> '/tmp/tmpf1pl85tw/etc/apt/trusted.gpg.d/' is not a directory The signatures 
> couldn't be verified because no keyring is specified, W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpf1pl85tw/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> E/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpnxhxbykj/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/InRelease.,
>  W:Repositories should provide a clear-signed InRelease file, but none found 
> at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned/InRelease.,
>  W:GPG error: 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release: List of files can't be created as 
> '/tmp/tmpnxhxbykj/etc/apt/trusted.gpg.d/' is not a directory The signatures 
> couldn't be verified because no keyring is specified, W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release' is not signed., W:Data from such a repository can't be 
> authenticated and is therefore potentially dangerous to use., W:See 
> apt-secure(8) manpage for repository creation and user configuration 
> details., W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned
>   Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpnxhxbykj/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> E/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpqn9_a8qb/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/InRelease.,
>  W:Repositories should provide a clear-signed InRelease file, but none found 
> at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned
>   Release' is not signed., W:Data from such a repository can't be 
> authenticated and is therefore potentially dangerous to use., W:See 
> apt-secure(8) manpage for repository creation and user configuration 
> details., W:GPG error: 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release: List of files can't be created as 
> '/tmp/tmpqn9_a8qb/etc/apt/trusted.gpg.d/' is not a directory The signatures 
> couldn't be verified because no keyring is specified, W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpqn9_a8qb/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ./build/reproducible-path/python-apt-2.9.6/tests/test_sourcerecords.py:43: 
> Warning: W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/data/tmp/etc/apt/apt.conf.d/ 
> - DirectoryExists (2: No such file or directory)
>   apt_pkg.init_config()
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/data/tmp/etc/apt/preferences.d/
>  - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ..................
> ======================================================================
> ERROR: testDefaultAllowButExplicitDeny 
> (test_signed_usable.TestSignedUsable.testDefaultAllowButExplicitDeny)
> Allow by config, but pass allow_unauthenticated=False
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/build/reproducible-path/python-apt-2.9.6/tests/test_signed_usable.py", line 
> 315, in testDefaultAllowButExplicitDeny
>     self.doInstall("signed-usable", bargs)
>   File 
> "/build/reproducible-path/python-apt-2.9.6/tests/test_signed_usable.py", line 
> 91, in doInstall
>     self.cache.commit(install_progress=ip, **bargs)
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py",
>  line 649, in commit
>     res = self._fetch_archives(fetcher, pm, allow_unauthenticated)
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py",
>  line 443, in _fetch_archives
>     return self._run_fetcher(fetcher, allow_unauthenticated)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py",
>  line 402, in _run_fetcher
>     raise UntrustedException(
> apt.cache.UntrustedException: Untrusted packages:
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/./signed-usable_1.0_all.deb
> 
> ======================================================================
> ERROR: testDefaultDeny (test_signed_usable.TestSignedUsable.testDefaultDeny)
> Test APT::Get::AllowUnauthenticated = False (default)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/build/reproducible-path/python-apt-2.9.6/tests/test_signed_usable.py", line 
> 225, in testDefaultDeny
>     self.doInstall("signed-usable", {})
>   File 
> "/build/reproducible-path/python-apt-2.9.6/tests/test_signed_usable.py", line 
> 91, in doInstall
>     self.cache.commit(install_progress=ip, **bargs)
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py",
>  line 649, in commit
>     res = self._fetch_archives(fetcher, pm, allow_unauthenticated)
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py",
>  line 443, in _fetch_archives
>     return self._run_fetcher(fetcher, allow_unauthenticated)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build/apt/cache.py",
>  line 402, in _run_fetcher
>     raise UntrustedException(
> apt.cache.UntrustedException: Untrusted packages:
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/./signed-usable_1.0_all.deb
> 
> ----------------------------------------------------------------------
> Ran 147 tests in 26.157s
> 
> FAILED (errors=2, skipped=2)
> E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: env 
> PYTHONPATH=/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.12_apt/build
>  python3.12 tests/test_all.py
> I: pybuild base:311: env 
> PYTHONPATH=/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build
>  python3.13 tests/test_all.py
> [tests] Running on 3.13.1 (main, Jan  3 2025, 10:26:34) [GCC 14.2.0]
> Using pybuild supplied build dir
> s/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpiztwed5f/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo  
> Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpiztwed5f/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ........./build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:562:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:Repositories should 
> provide a clear-signed InRelease file, but none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo2/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo2  
> Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:562:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:Repositories should 
> provide a clear-signed InRelease file, but none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-repo  
> Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ....../build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/data/test-provides/etc/apt/preferences.d/
>  - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/data/test-provides/etc/apt/preferences.d/
>  - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ..WARNING:root:skipping test_log_level_pkg_provides, cache empty?!?
> ......
> Reading package lists... 0%
> 
> Reading package lists... 100%
> 
> Reading package lists... Done
> 
> 
> Building dependency tree... 0%
> 
> Building dependency tree... 0%
> 
> Building dependency tree... 50%
> 
> Building dependency tree... 50%
> 
> Building dependency tree... Done
> 
> 
> Reading state information... 0% 
> 
> Reading state information... 0%
> 
> Reading state information... Done
> 
> .
> Reading package lists... 0%
> 
> Reading package lists... 100%
> 
> Reading package lists... Done
> 
> 
> Building dependency tree... 0%
> 
> Building dependency tree... 0%
> 
> Building dependency tree... 50%
> 
> Building dependency tree... 50%
> 
> Building dependency tree... Done
> 
> 
> Reading state information... 0% 
> 
> Reading state information... 0%
> 
> Reading state information... Done
> 
> ............................................................s..................................../build/reproducible-path/python-apt-2.9.6/tests/testcommon.py:25:
>  Warning: W:Unable to read data/test_debs/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   apt_pkg.init_config()
> ./build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> file:/build/reproducible-path/python-apt-2.9.6/tests/data/fake-packages/InRelease.,
>  W:The repository 
> 'file:/build/reproducible-path/python-apt-2.9.6/tests/data/fake-packages  
> Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ../build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpitkcoi6u/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpitkcoi6u/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/InRelease.,
>  W:Repositories should provide a clear-signed InRelease file, but none found 
> at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned/InRelease.,
>  W:GPG error: 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release: List of files can't be created as 
> '/tmp/tmpitkcoi6u/etc/apt/trusted.gpg.d/' is not a directory The signatures 
> couldn't be verified because no keyring is specified, W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release' is not signed., W:Data from such a repository can't be 
> authenticated and is therefore potentially dangerous to use., W:See 
> apt-secure(8) manpage for repository creation and user configuration 
> details., W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned
>   Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ./build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpq6l957nb/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/InRelease.,
>  W:Repositories should provide a clear-signed InRelease file, but none found 
> at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned
>   Release' is not signed., W:Data from such a repository can't be 
> authenticated and is therefore potentially dangerous to use., W:See 
> apt-secure(8) manpage for repository creation and user configuration 
> details., W:GPG error: 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release: List of files can't be created as 
> '/tmp/tmpq6l957nb/etc/apt/trusted.gpg.d/' is not a directory The signatures 
> couldn't be verified because no keyring is specified, W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpq6l957nb/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> E/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpsjhk45ca/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/InRelease.,
>  W:Repositories should provide a clear-signed InRelease file, but none found 
> at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned/InRelease.,
>  W:GPG error: 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release: List of files can't be created as 
> '/tmp/tmpsjhk45ca/etc/apt/trusted.gpg.d/' is not a directory The signatures 
> couldn't be verified because no keyring is specified, W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release' is not signed., W:Data from such a repository can't be 
> authenticated and is therefore potentially dangerous to use., W:See 
> apt-secure(8) manpage for repository creation and user configuration 
> details., W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned
>   Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpsjhk45ca/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> E/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /tmp/tmpa4o9egst/etc/apt/preferences.d/ - DirectoryExists (2: No such file or 
> directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:562:
>  Warning: W:Repositories should provide a clear-signed InRelease file, but 
> none found at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/InRelease.,
>  W:Repositories should provide a clear-signed InRelease file, but none found 
> at 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned/InRelease.,
>  W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/unsigned
>   Release' is not signed., W:Data from such a repository can't be 
> authenticated and is therefore potentially dangerous to use., W:See 
> apt-secure(8) manpage for repository creation and user configuration 
> details., W:GPG error: 
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release: List of files can't be created as 
> '/tmp/tmpa4o9egst/etc/apt/trusted.gpg.d/' is not a directory The signatures 
> couldn't be verified because no keyring is specified, W:The repository 
> 'copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed
>   Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:Data from such a repository can't be authenticated and is 
> therefore potentially dangerous to use., W:See apt-secure(8) manpage for 
> repository creation and user configuration details., W:The dpkg executable 
> set in Dir::Bin::dpkg is missing, falling back to using default dpkg., W:The 
> dpkg executable set in Dir::Bin::dpkg is missing, falling back to using 
> default dpkg., W:Unable to read /tmp/tmpa4o9egst/etc/apt/preferences.d/ - 
> DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ./build/reproducible-path/python-apt-2.9.6/tests/test_sourcerecords.py:43: 
> Warning: W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/data/tmp/etc/apt/apt.conf.d/ 
> - DirectoryExists (2: No such file or directory)
>   apt_pkg.init_config()
> /build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215:
>  Warning: W:The dpkg executable set in Dir::Bin::dpkg is missing, falling 
> back to using default dpkg., W:The dpkg executable set in Dir::Bin::dpkg is 
> missing, falling back to using default dpkg., W:Unable to read 
> /build/reproducible-path/python-apt-2.9.6/tests/data/tmp/etc/apt/preferences.d/
>  - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ..................
> ======================================================================
> ERROR: testDefaultAllowButExplicitDeny 
> (test_signed_usable.TestSignedUsable.testDefaultAllowButExplicitDeny)
> Allow by config, but pass allow_unauthenticated=False
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/build/reproducible-path/python-apt-2.9.6/tests/test_signed_usable.py", line 
> 315, in testDefaultAllowButExplicitDeny
>     self.doInstall("signed-usable", bargs)
>     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/tests/test_signed_usable.py", line 
> 91, in doInstall
>     self.cache.commit(install_progress=ip, **bargs)
>     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py",
>  line 649, in commit
>     res = self._fetch_archives(fetcher, pm, allow_unauthenticated)
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py",
>  line 443, in _fetch_archives
>     return self._run_fetcher(fetcher, allow_unauthenticated)
>            ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py",
>  line 402, in _run_fetcher
>     raise UntrustedException(
>         "Untrusted packages:\n%s" % "\n".join(i.desc_uri for i in untrusted)
>     )
> apt.cache.UntrustedException: Untrusted packages:
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/./signed-usable_1.0_all.deb
> 
> ======================================================================
> ERROR: testDefaultDeny (test_signed_usable.TestSignedUsable.testDefaultDeny)
> Test APT::Get::AllowUnauthenticated = False (default)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/build/reproducible-path/python-apt-2.9.6/tests/test_signed_usable.py", line 
> 225, in testDefaultDeny
>     self.doInstall("signed-usable", {})
>     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/tests/test_signed_usable.py", line 
> 91, in doInstall
>     self.cache.commit(install_progress=ip, **bargs)
>     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py",
>  line 649, in commit
>     res = self._fetch_archives(fetcher, pm, allow_unauthenticated)
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py",
>  line 443, in _fetch_archives
>     return self._run_fetcher(fetcher, allow_unauthenticated)
>            ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build/apt/cache.py",
>  line 402, in _run_fetcher
>     raise UntrustedException(
>         "Untrusted packages:\n%s" % "\n".join(i.desc_uri for i in untrusted)
>     )
> apt.cache.UntrustedException: Untrusted packages:
> copy:/build/reproducible-path/python-apt-2.9.6/tests/data/test-signed-usable-repo/signed/./signed-usable_1.0_all.deb
> 
> ----------------------------------------------------------------------
> Ran 147 tests in 23.794s
> 
> FAILED (errors=2, skipped=2)
> E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: env 
> PYTHONPATH=/build/reproducible-path/python-apt-2.9.6/.pybuild/cpython3_3.13_apt/build
>  python3.13 tests/test_all.py
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.13" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2025/01/24/python-apt_2.9.6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250124;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250124&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to