File "/usr/lib/python3.13/shutil.py", line 468, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/shutil.py", line 260, in copyfile with open(src, 'rb') as fsrc: ~~~~^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.13/ensurepip/_bundled/pip-24.2-py3-none-any.whl' ============================ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0-20241106-192501 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang version 19.1.3 llvm-config: 19.1.3 Python 3.12.7 go version go1.23.2 linux/amd64 Available Rust versions: [1] rust-bin-1.82.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] *) Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-bin-21 HEAD of ::gentoo commit ac9095e5cf0b64bfb0e9b620eaaa64bdda276fe5 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Nov 8 16:03:28 2024 +0000 2024-11-08 16:03:28 UTC emerge -qpvO =app-emulation/qemu-guest-agent-8.2.0 [ebuild N ] app-emulation/qemu-guest-agent-8.2.0
Created attachment 908156 [details] emerge-info.txt
Created attachment 908157 [details] app-emulation:qemu-guest-agent-8.2.0:20241108-170535.log
Created attachment 908158 [details] emerge-history.txt
Created attachment 908159 [details] environment
Created attachment 908160 [details] etc.clang.tar.xz
Created attachment 908161 [details] etc.portage.tar.xz
The file size of ./files/logs.tar.xz is too big (5.4M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0-20241106-192501/var/tmp/tb/issues/20241108-170910-app-emulation_qemu-guest-agent-8.2.0/files/logs.tar.xz is valid.
Created attachment 908162 [details] qlist-info.txt.xz
Created attachment 908163 [details] temp.tar.xz
I think the problem is that PYTHON_REQ_USE="ensurepip" is never set in the ebuild. In a sense, this is identical to https://bugs.gentoo.org/913084 which is for app-emulation/qemu. But both packages are built from the same sources.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0607810268d3f81c32bb3b5c80ac353658f084f6 commit 0607810268d3f81c32bb3b5c80ac353658f084f6 Author: Michal Privoznik <michal.privoznik@gmail.com> AuthorDate: 2024-12-02 10:01:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-02 14:47:36 +0000 app-emulation/qemu-guest-agent: Ensure pip is available While we list python as a dependency, it's not enough because the configure script creates a venv and installs various tools into it using pip. Make sure pip is available by setting PYTHON_REQ_USE="ensurepip". Now, since qemu-guest-agent and qemu are both built from the same sources, I just copied PYTHON_REQ_USE from the latter, verbatim. So it lists more USE flags, but that's possibly okay. NB, this is similar to how app-emulation/qemu evolved: dafdf8f41fe242a8b2b51d2b8982a6e447115a58 added dev-python/pip into BDEPEND, a9ca061a7fa2393c69be5b3de53bac2db1289ef1 allowed dev-lang/python[ensurepip] to be chosen instead, f09045568b3e4ec1aab0e0f7a3c237671c6070b7 moved entry from BDEPEND to PYTHON_REQ_USE. Closes: https://bugs.gentoo.org/943034 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39561 Signed-off-by: Sam James <sam@gentoo.org> app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild | 1 + 1 file changed, 1 insertion(+)