The gpkg support code puts all stderr into a pipe and doesn't really read from it under all circumstances. As a result, when compressor fails it is really hard to figure out what happened because the error it printed is lost.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=b9e30bb50996c11f2b046a9c6eb47ba8dc6331e6 commit b9e30bb50996c11f2b046a9c6eb47ba8dc6331e6 Author: Sheng Yu <syu.os@protonmail.com> AuthorDate: 2022-11-02 17:52:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-02 22:58:49 +0000 Do not redirect stderr from gpkg subprocess Closes: https://bugs.gentoo.org/877215 Signed-off-by: Sheng Yu <syu.os@protonmail.com> Closes: https://github.com/gentoo/portage/pull/927 Signed-off-by: Sam James <sam@gentoo.org> lib/portage/gpkg.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203e0d0083b5e7d8098785ec8862c02f6baf5534 commit 203e0d0083b5e7d8098785ec8862c02f6baf5534 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-20 03:04:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-20 03:05:40 +0000 sys-apps/portage: add 3.0.39 Closes: https://bugs.gentoo.org/365655 Closes: https://bugs.gentoo.org/757525 Closes: https://bugs.gentoo.org/871573 Closes: https://bugs.gentoo.org/875812 Closes: https://bugs.gentoo.org/875860 Closes: https://bugs.gentoo.org/877215 Closes: https://bugs.gentoo.org/877271 Closes: https://bugs.gentoo.org/877357 Closes: https://bugs.gentoo.org/877419 Closes: https://bugs.gentoo.org/873757 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.39.ebuild | 273 +++++++++++++++++++++++++++++++++ 2 files changed, 274 insertions(+)