Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885703 - net-analyzer/wireshark-4.0.2: does not respect selected Python
Summary: net-analyzer/wireshark-4.0.2: does not respect selected Python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 03:45 UTC by Michał Górny
Modified: 2022-12-13 04:08 UTC (History)
1 user (show)

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


Attachments
/var/log/portage/net-analyzer:wireshark-4.0.2:20221213-034005.log (net-analyzer:wireshark-4.0.2:20221213-034005.log,42.86 KB, text/plain)
2022-12-13 03:45 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-13 03:45:36 UTC
Created attachment 842335 [details]
/var/log/portage/net-analyzer:wireshark-4.0.2:20221213-034005.log

* Checking whether python3_10 is suitable ...
 *   >=dev-lang/python-3.10.8_p3:3.10 ...
 [ ok ]
 *   python_check_deps ...
 [ ok ]
 * Using python3.10 to build (via EPYTHON)

[...]

-- Found Python3: /usr/bin/python3.12 (found suitable version "3.12.0", minimum required is "3.6") found components: Interpreter 

[...]

[2/2440] cd /tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2_build && /usr/bin/python3.12 /tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2/tools/make-version.py /tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2
FAILED: CMakeFiles/vcs_version vcs_version.h /tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2_build/CMakeFiles/vcs_version /tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2_build/vcs_version.h 
cd /tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2_build && /usr/bin/python3.12 /tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2/tools/make-version.py /tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2
Could not find platform dependent libraries <exec_prefix>
Traceback (most recent call last):
  File "/tmp/portage/net-analyzer/wireshark-4.0.2/work/wireshark-4.0.2/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'
Comment 1 Larry the Git Cow gentoo-dev 2022-12-13 04:08:34 UTC
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(+)