Created attachment 868781 [details] qemu-8.1.0 build log I am trying to emerge qemu-8.1.0, and it complains about ensurepip Currently have 8.0.4 installed and working I have -ensurepip USE on dev-lang/python Build log attached
I suspect it doesn't actually need ensurepip, but I'll look into it. Can you include emerge --info too please for completeness?
Created attachment 868782 [details] emerge --info
Thanks, adding emerge --info as attachment
I had this issue as well. Installing dev-python/pip fixed it. Maybe a missing build dependency? I also have -ensurepip on dev-lang/python
I'm going to just add the ensurepip dep for now, but Michal, do you know if we can just avoid it entirely?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dafdf8f41fe242a8b2b51d2b8982a6e447115a58 commit dafdf8f41fe242a8b2b51d2b8982a6e447115a58 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-28 22:47:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-28 22:47:45 +0000 app-emulation/qemu: BDEPEND on dev-python/pip for now Better to do pip than python[ensurepip] given that's a heavier build. Hope to be able to avoid pip entirely but this is a cheap add for now. Bug: https://bugs.gentoo.org/913084 Signed-off-by: Sam James <sam@gentoo.org> app-emulation/qemu/qemu-8.1.0.ebuild | 2 ++ app-emulation/qemu/qemu-9999.ebuild | 2 ++ 2 files changed, 4 insertions(+)
(In reply to Sam James from comment #5) > I'm going to just add the ensurepip dep for now, but Michal, do you know if > we can just avoid it entirely? No, I don't think so. Because of the following commit: https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8c
Considering that all current python3 versions have +ensurepip now, could pip dep be changed to python[ensurepip], or if not, then at least to || (dev-python/pip dev-lang/python[ensurepip], please? It's kinda pointless to require pip installation on systems, where default python is built, and only qemu requires pip, IMHO (and pip adds 25 new packages on my system)
Ah, missed last MR - this is what I'm asking for, yes, thank you!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09045568b3e4ec1aab0e0f7a3c237671c6070b7 commit f09045568b3e4ec1aab0e0f7a3c237671c6070b7 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-12 16:18:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-12 16:20:52 +0000 app-emulation/qemu: use PYTHON_REQ_USE for ensurepip Bug: https://bugs.gentoo.org/913084 Signed-off-by: Sam James <sam@gentoo.org> app-emulation/qemu/qemu-8.1.5.ebuild | 3 +-- app-emulation/qemu/qemu-8.2.3.ebuild | 3 +-- app-emulation/qemu/qemu-8.2.5-r1.ebuild | 3 +-- app-emulation/qemu/qemu-8.2.6-r1.ebuild | 3 +-- app-emulation/qemu/qemu-8.2.7.ebuild | 3 +-- app-emulation/qemu/qemu-9.0.1-r1.ebuild | 3 +-- app-emulation/qemu/qemu-9.0.2-r1.ebuild | 3 +-- app-emulation/qemu/qemu-9.0.2-r2.ebuild | 3 +-- app-emulation/qemu/qemu-9.0.3.ebuild | 3 +-- app-emulation/qemu/qemu-9.1.0.ebuild | 3 +-- app-emulation/qemu/qemu-9999.ebuild | 3 +-- 11 files changed, 11 insertions(+), 22 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ca061a7fa2393c69be5b3de53bac2db1289ef1 commit a9ca061a7fa2393c69be5b3de53bac2db1289ef1 Author: NRK <nrk@disroot.org> AuthorDate: 2024-09-10 12:27:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-12 16:20:51 +0000 app-emulation/qemu: also allow python[ensurepip] according to upstream comment [0] python[ensurepip] should also work as a fallback if pip is missing. tested and confirmed to build fine with qemu-9.0.2. 0: https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8c Bug: https://bugs.gentoo.org/913084 Signed-off-by: NRK <nrk@disroot.org> Closes: https://github.com/gentoo/gentoo/pull/38549 Signed-off-by: Sam James <sam@gentoo.org> app-emulation/qemu/qemu-8.1.5.ebuild | 2 +- app-emulation/qemu/qemu-8.2.3.ebuild | 2 +- app-emulation/qemu/qemu-8.2.5-r1.ebuild | 2 +- app-emulation/qemu/qemu-8.2.6-r1.ebuild | 2 +- app-emulation/qemu/qemu-8.2.7.ebuild | 2 +- app-emulation/qemu/qemu-9.0.1-r1.ebuild | 2 +- app-emulation/qemu/qemu-9.0.2-r1.ebuild | 2 +- app-emulation/qemu/qemu-9.0.2-r2.ebuild | 2 +- app-emulation/qemu/qemu-9.0.3.ebuild | 2 +- app-emulation/qemu/qemu-9.1.0.ebuild | 2 +- app-emulation/qemu/qemu-9999.ebuild | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-)