[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1091571: python-apt: FTBFS on i386: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /<<PKGBUILDDIR>>/tests/data/tmp/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)



Source: python-apt
Version: 2.9.5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20241228 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, this package failed to build
on i386.

This package currently has binary packages on i386, so this is a regression.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test || [ "linux" = "hurd" ];
> I: pybuild base:311: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build python3.13 tests/test_all.py
> [tests] Running on 3.13.1 (main, Dec 12 2024, 10:12:28) [GCC 14.2.0]
> Using pybuild supplied build dir
> s/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmp4_r_9b2r/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-repo/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-repo  Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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 /tmp/tmp4_r_9b2r/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ........./<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-repo2/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-repo2  Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-repo/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-repo  Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ....../<<PKGBUILDDIR>>/.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 /<<PKGBUILDDIR>>/tests/data/test-provides/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215: Warning: W:Unable to read /<<PKGBUILDDIR>>/tests/data/test-provides/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ........
> 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..................................../<<PKGBUILDDIR>>/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()
> ./<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215: Warning: W:Unable to read /<<PKGBUILDDIR>>/tests/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/fake-packages/InRelease., W:The repository 'file:/<<PKGBUILDDIR>>/tests/data/fake-packages  Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ../<<PKGBUILDDIR>>/.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 /tmp/tmp9t9s5vjf/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmp9t9s5vjf/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release: List of files can't be created as '/tmp/tmp9t9s5vjf/etc/apt/trusted.gpg.d/' is not a directory The signatures couldn't be verified because no keyring is specified, W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ./<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmpl2br_ws6/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release: List of files can't be created as '/tmp/tmpl2br_ws6/etc/apt/trusted.gpg.d/' is not a directory The signatures couldn't be verified because no keyring is specified, W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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 /tmp/tmpl2br_ws6/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> E/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmpqiwmu0b0/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release: List of files can't be created as '/tmp/tmpqiwmu0b0/etc/apt/trusted.gpg.d/' is not a directory The signatures couldn't be verified because no keyring is specified, W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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 /tmp/tmpqiwmu0b0/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> E/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmpoxmtfsgt/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release: List of files can't be created as '/tmp/tmpoxmtfsgt/etc/apt/trusted.gpg.d/' is not a directory The signatures couldn't be verified because no keyring is specified, W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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 /tmp/tmpoxmtfsgt/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ./<<PKGBUILDDIR>>/tests/test_sourcerecords.py:43: Warning: W:Unable to read /<<PKGBUILDDIR>>/tests/data/tmp/etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
>   apt_pkg.init_config()
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py:215: Warning: W:Unable to read /<<PKGBUILDDIR>>/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 "/<<PKGBUILDDIR>>/tests/test_signed_usable.py", line 315, in testDefaultAllowButExplicitDeny
>     self.doInstall("signed-usable", bargs)
>     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_signed_usable.py", line 91, in doInstall
>     self.cache.commit(install_progress=ip, **bargs)
>     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py", line 649, in commit
>     res = self._fetch_archives(fetcher, pm, allow_unauthenticated)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py", line 443, in _fetch_archives
>     return self._run_fetcher(fetcher, allow_unauthenticated)
>            ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/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 "/<<PKGBUILDDIR>>/tests/test_signed_usable.py", line 225, in testDefaultDeny
>     self.doInstall("signed-usable", {})
>     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/tests/test_signed_usable.py", line 91, in doInstall
>     self.cache.commit(install_progress=ip, **bargs)
>     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py", line 649, in commit
>     res = self._fetch_archives(fetcher, pm, allow_unauthenticated)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build/apt/cache.py", line 443, in _fetch_archives
>     return self._run_fetcher(fetcher, allow_unauthenticated)
>            ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/./signed-usable_1.0_all.deb
> 
> ----------------------------------------------------------------------
> Ran 147 tests in 27.577s
> 
> FAILED (errors=2, skipped=2)
> E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_apt/build python3.13 tests/test_all.py
> I: pybuild base:311: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build python3.12 tests/test_all.py
> [tests] Running on 3.12.8 (main, Dec 13 2024, 13:19:48) [GCC 14.2.0]
> Using pybuild supplied build dir
> s/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmpaqofs3rw/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-repo/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-repo  Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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:Unable to read /tmp/tmpaqofs3rw/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ........./<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-repo2/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-repo2  Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-repo/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-repo  Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ....../<<PKGBUILDDIR>>/.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:Unable to read /<<PKGBUILDDIR>>/tests/data/test-provides/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /<<PKGBUILDDIR>>/tests/data/test-provides/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ........
> 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..................................../<<PKGBUILDDIR>>/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()
> ./<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /<<PKGBUILDDIR>>/tests/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/fake-packages/InRelease., W:The repository 'file:/<<PKGBUILDDIR>>/tests/data/fake-packages  Release' does not have a Release file.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ../<<PKGBUILDDIR>>/.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:Unable to read /tmp/tmp83tn3mv_/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmp83tn3mv_/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release: List of files can't be created as '/tmp/tmp83tn3mv_/etc/apt/trusted.gpg.d/' is not a directory The signatures couldn't be verified because no keyring is specified, W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> ./<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmpbe684b6k/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release: List of files can't be created as '/tmp/tmpbe684b6k/etc/apt/trusted.gpg.d/' is not a directory The signatures couldn't be verified because no keyring is specified, W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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:Unable to read /tmp/tmpbe684b6k/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> E/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmp0fgxny6d/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release: List of files can't be created as '/tmp/tmp0fgxny6d/etc/apt/trusted.gpg.d/' is not a directory The signatures couldn't be verified because no keyring is specified, W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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:Unable to read /tmp/tmp0fgxny6d/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> E/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /tmp/tmpbe9tqdqp/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> /<<PKGBUILDDIR>>/.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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/InRelease., W:Repositories should provide a clear-signed InRelease file, but none found at copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/unsigned/InRelease., W:The repository 'copy:/<<PKGBUILDDIR>>/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:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release: List of files can't be created as '/tmp/tmpbe9tqdqp/etc/apt/trusted.gpg.d/' is not a directory The signatures couldn't be verified because no keyring is specified, W:The repository 'copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed  Release' is not signed.
>   res = self._cache.update(fetch_progress, slist, pulse_interval)
> /<<PKGBUILDDIR>>/.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:Unable to read /tmp/tmpbe9tqdqp/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
>   self._depcache = apt_pkg.DepCache(self._cache)
> ./<<PKGBUILDDIR>>/tests/test_sourcerecords.py:43: Warning: W:Unable to read /<<PKGBUILDDIR>>/tests/data/tmp/etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
>   apt_pkg.init_config()
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py:215: Warning: W:Unable to read /<<PKGBUILDDIR>>/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 "/<<PKGBUILDDIR>>/tests/test_signed_usable.py", line 315, in testDefaultAllowButExplicitDeny
>     self.doInstall("signed-usable", bargs)
>   File "/<<PKGBUILDDIR>>/tests/test_signed_usable.py", line 91, in doInstall
>     self.cache.commit(install_progress=ip, **bargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py", line 649, in commit
>     res = self._fetch_archives(fetcher, pm, allow_unauthenticated)
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py", line 443, in _fetch_archives
>     return self._run_fetcher(fetcher, allow_unauthenticated)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py", line 402, in _run_fetcher
>     raise UntrustedException(
> apt.cache.UntrustedException: Untrusted packages:
> copy:/<<PKGBUILDDIR>>/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 "/<<PKGBUILDDIR>>/tests/test_signed_usable.py", line 225, in testDefaultDeny
>     self.doInstall("signed-usable", {})
>   File "/<<PKGBUILDDIR>>/tests/test_signed_usable.py", line 91, in doInstall
>     self.cache.commit(install_progress=ip, **bargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py", line 649, in commit
>     res = self._fetch_archives(fetcher, pm, allow_unauthenticated)
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py", line 443, in _fetch_archives
>     return self._run_fetcher(fetcher, allow_unauthenticated)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build/apt/cache.py", line 402, in _run_fetcher
>     raise UntrustedException(
> apt.cache.UntrustedException: Untrusted packages:
> copy:/<<PKGBUILDDIR>>/tests/data/test-signed-usable-repo/signed/./signed-usable_1.0_all.deb
> 
> ----------------------------------------------------------------------
> Ran 147 tests in 29.425s
> 
> FAILED (errors=2, skipped=2)
> E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_apt/build python3.12 tests/test_all.py
> dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/12/28/python-apt_2.9.5_unstable-i386.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241228;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241228&fusertaguser=lucas@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 to: