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

Bug#1091571: marked as done (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))



Your message dated Sat, 28 Dec 2024 21:19:18 +0000
with message-id <E1tReDO-00B2kR-KH@fasolo.debian.org>
and subject line Bug#1091571: fixed in python-apt 2.9.6
has caused the Debian Bug report #1091571,
regarding 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)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1091571: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091571
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 2.9.6
Done: Julian Andres Klode <jak@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1091571@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 28 Dec 2024 21:49:45 +0100
Source: python-apt
Architecture: source
Version: 2.9.6
Distribution: unstable
Urgency: high
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 1091571
Changes:
 python-apt (2.9.6) unstable; urgency=high
 .
   * test-signed-usable-repo: Fake a new signature on 2019-12-17
     (Closes: #1091571)
   * Update mirrors
Checksums-Sha1:
 c44e559a2102d4a8cacdc5b7ab1dbb32f95dca49 2436 python-apt_2.9.6.dsc
 6892480adaee6a4ba767edf205a16d021f175a7a 348176 python-apt_2.9.6.tar.xz
 a105d1470068a983ae7127d72f5ad2b5e9e8f2f6 10085 python-apt_2.9.6_source.buildinfo
Checksums-Sha256:
 83efb543d98a19e4b7511fe0e6b8e80b9ec0fedc863d025e4d40314d9a86f367 2436 python-apt_2.9.6.dsc
 d7189e884b07967a9c48015970f4184d8a7d41e35cad8765f5e0cfc7bbae6ded 348176 python-apt_2.9.6.tar.xz
 39f8f62a297cd38b069ff4eb6c2228644bf7f9ef45aeb4754f203769505aa1bd 10085 python-apt_2.9.6_source.buildinfo
Files:
 d2eb79b247c8c0f9c4475285f80c58a6 2436 python optional python-apt_2.9.6.dsc
 11c6e41d29cf133232dd39c869e7015a 348176 python optional python-apt_2.9.6.tar.xz
 b00a28f9febf1cfbfd1c1dd66ba2503a 10085 python optional python-apt_2.9.6_source.buildinfo


-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJncGXECRBvpFjdHbA/cUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmdHYsEjTZdlhlkZFtiRUjFDez6tHQ5WsZZYzwQcFUDB
IRYhBE+1iKhMLd55p0x3h2+kWN0dsD9xAAArbBAApr6dld/h3R3x+PK3oSEdP9yw
3PHygqlFolK786c72I6CQVtfaDbKiUzfopmeRpJnB6tMv8HWozXDNnLIMWgPL8Bh
wJeJpbrS9q0vGxadDinYBCgh5gH3I/8Q8pWdwVmz1su4aZDRnQ+IMbVCMHs6BT5j
dTYPEPJhBVM20QvS9jL4sACZancHZ7Z4d4ZiWBhTYOlAXQr3NtRt3UcEZJrZ8Dzl
z4vKefC5HHv3U+cpHX6Kfmy9inBzE0OjypI9vbu6jyRm9tVz+qij6X79E0vrUtj5
FXiUoPE/WoTsz+QC+W3G/R6MkolejUIS/SNQt0eRhsFzoczQ6g87XV5ZOn2jQsyG
SdS0w5dWEdJ40KBrjihk5/WEiE+4hvgGgQitm7kfREy1cOFrpAs5s6wYF8hZhLX/
IWPxbXNLBoh1QjqwlmIH4WYn9fsf+gBoHSutGWozjV2jgoyjitOfuz4OlxFBgyk4
Dl99oHvF0QtypiEwPJlydd9OqgB+xyVSJfi89+KrxVg6n18iWPXgFN+VrYckhQog
IXne9slqIfrkIlFK6UeOTMCXnpiVGJljEFw1RuXcmRKHAgXAGvDqaspo85EqDCY7
1AonNO72jRMWTGezDhV+/mINzhtunQ1F78ythVJtrjgdLQyXbZ1FLdmOgqNJ508x
6yj2Zf3QzqEr0Dpgy3Y=
=alN+
-----END PGP SIGNATURE-----

Attachment: pgp_gRu7O4ZWI.pgp
Description: PGP signature


--- End Message ---

Reply to: