Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942466 - app-emulation/qemu-9.1.0 - [gcc-15] FileNotFoundError: [Errno 2] No such file or directory: /usr/lib/python3.12/ensurepip/_bundled/pip-24.2-py3-none-any.whl
Summary: app-emulation/qemu-9.1.0 - [gcc-15] FileNotFoundError: [Errno 2] No such file...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-29 18:07 UTC by Toralf Förster
Modified: 2025-04-06 08:15 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.77 KB, text/plain)
2024-10-29 18:07 UTC, Toralf Förster
Details
app-emulation:qemu-9.1.0:20241029-180514.log (app-emulation:qemu-9.1.0:20241029-180514.log,5.52 KB, text/plain)
2024-10-29 18:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,28.67 KB, text/plain)
2024-10-29 18:07 UTC, Toralf Förster
Details
environment (environment,180.61 KB, text/plain)
2024-10-29 18:07 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-10-29 18:07 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.23 KB, application/x-xz)
2024-10-29 18:07 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,161.77 KB, application/x-xz)
2024-10-29 18:07 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,73.26 KB, text/plain)
2024-10-29 18:07 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-10-29 18:07:02 UTC
  File "/usr/lib/python3.12/pathlib.py", line 1019, in read_bytes
    with self.open(mode='rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/pathlib.py", line 1013, in open
    return io.open(self, mode, buffering, encoding, errors, newline)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.12/ensurepip/_bundled/pip-24.2-py3-none-any.whl'

============================

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20241028-182008

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *

  HEAD of ::gentoo
commit 098b28d61b5d44b738934ff3488b8f2a150af969
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 29 17:03:23 2024 +0000

    2024-10-29 17:03:23 UTC

emerge -qpvO =app-emulation/qemu-9.1.0
[ebuild  N    ] app-emulation/qemu-9.1.0  USE="aio alsa bzip2 curl debug fdt filecaps gnutls gtk jpeg lzo ncurses nls opengl oss pam pin-upstream-blobs png sdl seccomp slirp snappy udev vhost-net vnc xattr -accessibility -bpf -capstone -doc -fuse -glusterfs -infiniband -io-uring -iscsi -jack -jemalloc -keyutils -multipath -nfs -numa -pipewire -plugins -pulseaudio -python -rbd -sasl -sdl-image (-selinux) -smartcard -spice -ssh -static-user -systemtap -test -usb -usbredir -vde -virgl -virtfs -vte -xdp -xen -zstd" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="x86_64 -aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -xtensa -xtensaeb"
Comment 1 Toralf Förster gentoo-dev 2024-10-29 18:07:03 UTC
Created attachment 907251 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-29 18:07:04 UTC
Created attachment 907252 [details]
app-emulation:qemu-9.1.0:20241029-180514.log
Comment 3 Toralf Förster gentoo-dev 2024-10-29 18:07:05 UTC
Created attachment 907253 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-29 18:07:06 UTC
Created attachment 907254 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-29 18:07:07 UTC
Created attachment 907255 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-29 18:07:08 UTC
Created attachment 907256 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-29 18:07:09 UTC
Created attachment 907257 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-29 18:07:10 UTC
Created attachment 907258 [details]
qlist-info.txt
Comment 9 klosterbruder 2025-03-01 17:15:57 UTC
I ran into this problem when trying to rebuild >=app-emulation/qemu-9.2 on an ~amd64 system.
Rebuilding dev-lang/python with the "ensurepip" USE flag set, which pulled in dev-python/ensurepip-pip, allowed the build of qemu to succeed.
Comment 10 Cedric Sodhi 2025-04-06 08:08:03 UTC
See also https://bugs.gentoo.org/913084
Comment 11 Cedric Sodhi 2025-04-06 08:12:56 UTC
See also for the likely explanation:
https://bugs.gentoo.org/942518
Comment 12 Cedric Sodhi 2025-04-06 08:15:26 UTC
...or perhaps not; I do not have ensurepip-pip for any python version.