https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-apps/pkgcore-0.12.17 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 830263 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
FAILED tests/ebuild/test_portage_conf.py::TestMakeConf::test_load_defaults - ... FAILED tests/ebuild/test_portage_conf.py::TestMakeConf::test_overrides_incrementals FAILED tests/ebuild/test_portage_conf.py::TestMakeConf::test_load_make_conf_dir FAILED tests/ebuild/test_portage_conf.py::TestReposConf::test_load_defaults FAILED tests/ebuild/test_portage_conf.py::TestReposConf::test_load_repos_conf_dir FAILED tests/ebuild/test_repository.py::TestUnconfiguredTree::test_path_restrict FAILED tests/ebuild/test_repository.py::TestSlavedTree::test_path_restrict - ... ===== 7 failed, 1219 passed, 6 skipped, 2 deselected, 7 warnings in 42.79s ===== * ERROR: sys-apps/pkgcore-0.12.17::gentoo failed (test phase): * pytest failed with python3.9 * ----
OK, I see the origin for the failure, it is because of the sed line, and it fails when pkgcore isn't installed at all before hand.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=cdcb2e592c011254b55f5261ffc7b2c827b7c2ef commit cdcb2e592c011254b55f5261ffc7b2c827b7c2ef Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-11-10 19:17:00 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-11-10 19:17:00 +0000 _const: fallback to sys.base_prefix when installed in venv Bug: https://bugs.gentoo.org/880693 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> py_build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a820e1928aec58b1850addfb7767e5de14edf9 commit 82a820e1928aec58b1850addfb7767e5de14edf9 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-11-10 19:18:38 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-11-10 19:20:25 +0000 sys-apps/pkgcore: fix sys.prefix testing Closes: https://bugs.gentoo.org/880693 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> .../pkgcore/files/pkgcore-0.12.17-fix-prefix.patch | 18 ++++++++++++++++++ ...kgcore-0.12.17.ebuild => pkgcore-0.12.17-r1.ebuild} | 15 +++------------ sys-apps/pkgcore/pkgcore-9999.ebuild | 15 +-------------- 3 files changed, 22 insertions(+), 26 deletions(-)