too long lines were shrinked: Could not find platform dependent libraries <exec_prefix> Traceback (most recent call last): File "/var/tmp/portage/net-analyzer/wireshark-4.0.1/work/wireshark-4.0.1/tools/make-version.py", line 35, in <module> import subprocess File "/usr/lib/python3.12/subprocess.py", line 104, in <module> from _posixsubprocess import fork_exec as _fork_exec ModuleNotFoundError: No module named '_posixsubprocess' [7/2438] /usr/bin/x86_64-pc-linux-gnu-gcc -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -I/var/tmp/portage/net-analyzer/wireshark-4.0.1/work/wireshark-4.0.1_build -I/var/tmp/portage/net-analyzer/wireshark-4.0.1/work/wireshark-4.0.1 -I/var/tmp/portage/net-analyzer/wireshark-4.0.1/work/wireshark- [8/2438] /usr/bin/x86_64-pc-linux-gnu-gcc -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -I/var/tmp/portage/net-analyzer/wireshark-4.0.1/work/wireshark-4.0.1_build -I/var/tmp/portage/net-analyzer/wireshark-4.0.1/work/wireshark-4.0.1 -I/var/tmp/portage/net-analyzer/wireshark-4.0.1/work/wireshark- ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20221205-191215 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.6 Python 3.10.9 Available Rust versions: [1] rust-bin-1.65.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm php cli (if any): HEAD of ::gentoo commit 581b56a49791e2ffff7950e57e2b32406702a2e5 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Dec 7 22:31:49 2022 +0000 2022-12-07 22:31:49 UTC emerge -qpvO net-analyzer/wireshark [ebuild N ] net-analyzer/wireshark-4.0.1 USE="capinfos captype dftest dumpcap editcap filecaps gui mergecap minizip netlink pcap plugins randpkt randpktdump reordercap sharkd ssl text2pcap tshark udpdump zlib zstd -androiddump -bcg729 -brotli -ciscodump -doc -dpauxmon -http2 -ilbc -kerberos -libxml2 (-lto) -lua -lz4 -maxminddb -opus (-qt6) -sbc -sdjournal (-selinux) -smi -snappy -spandsp -sshdump -test -tfshark -wifi" LUA_SINGLE_TARGET="lua5-1"
Created attachment 840937 [details] emerge-info.txt
Created attachment 840939 [details] emerge-history.txt.bz2
Created attachment 840941 [details] environment
Created attachment 840943 [details] etc.clang.tar.bz2
Created attachment 840945 [details] etc.portage.tar.bz2
Created attachment 840947 [details] logs.tar.bz2
Created attachment 840949 [details] net-analyzer:wireshark-4.0.1:20221207-231650.log
Created attachment 840951 [details] temp.tar.bz2
Masking and removing dev-lang/python-3.12.0_alpha2 fixed it for me. The real question here is why was it picking up an 3.12 module when 3.10 is used. # eselect python list Available Python interpreters, in order of preference: [1] python3.10 [2] python3.11 (fallback) [3] python3.9 (fallback) [4] python3.8 (fallback) [5] python2.7 (fallback) There was no 3.12 to be selected on my system. Another question is why an alpha package in ~test? I though all alpha packages are masked and are only to be used for dev testing.
Yes, it's a bug in the package as it's not respecting EPYTHON. However, Python 3.12 shouldn't get automatically dragged in to user systems because no eclasses support it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a974312c47c04399c97ab6e3b0f5d06db3f7b1f0 commit a974312c47c04399c97ab6e3b0f5d06db3f7b1f0 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-13 04:08:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-13 04:08:25 +0000 net-analyzer/wireshark: respect selected Python choice Closes: https://bugs.gentoo.org/885703 Closes: https://bugs.gentoo.org/884819 Signed-off-by: Sam James <sam@gentoo.org> net-analyzer/wireshark/wireshark-3.6.10.ebuild | 3 +++ net-analyzer/wireshark/wireshark-3.6.9.ebuild | 3 +++ net-analyzer/wireshark/wireshark-4.0.1.ebuild | 3 +++ net-analyzer/wireshark/wireshark-4.0.2.ebuild | 3 +++ net-analyzer/wireshark/wireshark-9999.ebuild | 3 +++ 5 files changed, 15 insertions(+)
(In reply to Sam James from comment #10) > Yes, it's a bug in the package as it's not respecting EPYTHON. However, > Python 3.12 shouldn't get automatically dragged in to user systems because > no eclasses support it. i.e. you have dev-lang/python (unversioned) in your world file, I think.