Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946990 - app-emulation/qemu-9.2.0 - FileNotFoundError: [Errno 2] No such file or directory: pip-24.3.1-py3-none-any.whl
Summary: app-emulation/qemu-9.2.0 - FileNotFoundError: [Errno 2] No such file or direc...
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-12-26 23:04 UTC by Toralf Förster
Modified: 2025-01-11 23:31 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.31 KB, text/plain)
2024-12-26 23:04 UTC, Toralf Förster
Details
app-emulation:qemu-9.2.0:20241223-081303.log (app-emulation:qemu-9.2.0:20241223-081303.log,5.66 KB, text/plain)
2024-12-26 23:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,66.17 KB, text/plain)
2024-12-26 23:04 UTC, Toralf Förster
Details
environment (environment,181.29 KB, text/plain)
2024-12-26 23:04 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-12-26 23:04 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.99 KB, application/x-xz)
2024-12-26 23:04 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,262.07 KB, application/x-xz)
2024-12-26 23:05 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,170.59 KB, text/plain)
2024-12-26 23:05 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-12-26 23:04:53 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.3.1-py3-none-any.whl'

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

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241222-053014

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 9751c6188fcfba86c2424962416821e7515aeaa2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 23 06:48:38 2024 +0000

    2024-12-23 06:48:38 UTC

emerge -qpvO =app-emulation/qemu-9.2.0
[ebuild  N    ] app-emulation/qemu-9.2.0  USE="aio alsa bzip2 curl fdt filecaps gnutls gtk jpeg lzo nls opengl oss pam pin-upstream-blobs pipewire png pulseaudio sdl seccomp slirp smartcard snappy udev usb vhost-net vnc xattr -accessibility -bpf -capstone -debug -doc -fuse -glusterfs -infiniband -io-uring -iscsi -jack -jemalloc -keyutils -multipath -ncurses -nfs -numa -plugins -python -rbd -sasl -sdl-image (-selinux) -spice -ssh -static-user -systemtap -test -usbredir -vde -virgl -virtfs -vte -xdp -xen -zstd" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13" QEMU_SOFTMMU_TARGETS="aarch64 x86_64 -alpha -arm -avr -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="aarch64 x86_64 -aarch64_be -alpha -arm -armeb -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-12-26 23:04:54 UTC
Created attachment 915181 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-26 23:04:54 UTC
Created attachment 915182 [details]
app-emulation:qemu-9.2.0:20241223-081303.log
Comment 3 Toralf Förster gentoo-dev 2024-12-26 23:04:55 UTC
Created attachment 915183 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-12-26 23:04:57 UTC
Created attachment 915184 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-12-26 23:04:58 UTC
Created attachment 915185 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-26 23:04:59 UTC
Created attachment 915186 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-26 23:05:00 UTC
Created attachment 915187 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-26 23:05:01 UTC
Created attachment 915188 [details]
qlist-info.txt
Comment 9 Randy Palamar 2025-01-11 23:31:51 UTC
I've run into the same problem with 8.2.7. The issue was missing dev-python/ensurepip-pip. I had unset the ensurepip flag on python and since nothing complained I assumed it was fine until I tried to upgrade Qemu.

I don't know enough about anything to do with python in portage to suggest a fix but I'm guessing this provides a missing piece of information.