Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913084 - app-emulation/qemu-8.1.0 fails to build: Python's ensurepip module is not found.
Summary: app-emulation/qemu-8.1.0 fails to build: Python's ensurepip module is not found.
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-26 20:47 UTC by David Goudou
Modified: 2024-04-02 11:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qemu-8.1.0 build log (build.log,4.48 KB, text/x-log)
2023-08-26 20:47 UTC, David Goudou
Details
emerge --info (emergeinfo.txt,6.03 KB, text/plain)
2023-08-26 20:51 UTC, David Goudou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Goudou 2023-08-26 20:47:05 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-26 20:48:29 UTC
I suspect it doesn't actually need ensurepip, but I'll look into it.

Can you include emerge --info too please for completeness?
Comment 2 David Goudou 2023-08-26 20:51:35 UTC
Created attachment 868782 [details]
emerge --info
Comment 3 David Goudou 2023-08-26 20:52:32 UTC
Thanks, adding emerge --info as attachment
Comment 4 Tiernan Hubble 2023-08-26 21:01:07 UTC
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
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-28 22:46:21 UTC
I'm going to just add the ensurepip dep for now, but Michal, do you know if we can just avoid it entirely?
Comment 6 Larry the Git Cow gentoo-dev 2023-08-28 22:48:24 UTC
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(+)
Comment 7 Michal Prívozník 2023-08-29 10:51:14 UTC
(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