Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943034 - app-emulation/qemu-guest-agent-8.2.0 - [libtool] FileNotFoundError: [Errno 2] No such file or directory: /usr/lib/python3.13/ensurepip/_bundled/pip-24.2-py3-none-any.whl
Summary: app-emulation/qemu-guest-agent-8.2.0 - [libtool] FileNotFoundError: [Errno 2]...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: John Helmert III
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-11-08 21:50 UTC by Toralf Förster
Modified: 2024-12-02 14:50 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.66 KB, text/plain)
2024-11-08 21:50 UTC, Toralf Förster
Details
app-emulation:qemu-guest-agent-8.2.0:20241108-170535.log (app-emulation:qemu-guest-agent-8.2.0:20241108-170535.log,4.57 KB, text/plain)
2024-11-08 21:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.48 KB, text/plain)
2024-11-08 21:50 UTC, Toralf Förster
Details
environment (environment,105.38 KB, text/plain)
2024-11-08 21:50 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-08 21:50 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.11 KB, application/x-xz)
2024-11-08 21:50 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,43.54 KB, application/x-xz)
2024-11-08 21:50 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.98 KB, application/x-xz)
2024-11-08 21:50 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-08 21:50:47 UTC
  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
Comment 1 Toralf Förster gentoo-dev 2024-11-08 21:50:48 UTC
Created attachment 908156 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-08 21:50:48 UTC
Created attachment 908157 [details]
app-emulation:qemu-guest-agent-8.2.0:20241108-170535.log
Comment 3 Toralf Förster gentoo-dev 2024-11-08 21:50:50 UTC
Created attachment 908158 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-08 21:50:51 UTC
Created attachment 908159 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-08 21:50:52 UTC
Created attachment 908160 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-08 21:50:53 UTC
Created attachment 908161 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-08 21:50:53 UTC
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.
Comment 8 Toralf Förster gentoo-dev 2024-11-08 21:50:54 UTC
Created attachment 908162 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-08 21:50:55 UTC
Created attachment 908163 [details]
temp.tar.xz
Comment 10 Michal Privoznik 2024-12-02 09:43:57 UTC
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.
Comment 11 Larry the Git Cow gentoo-dev 2024-12-02 14:50:42 UTC
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(+)