Summary: | dev-util/pwndbg: doesn't respect PYTHON_TARGETS? (ModuleNotFoundError: No module named 'pwnlib') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | mario.haustein |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/29349 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sam James
![]() ![]() ![]() ![]() ping (In reply to Sam James from comment #1) > ping Are you still able to reproduce the bug? I tried with different combinations of dev-util/pwndbg and sys-devel/gdb versions and weren't able to reproduce the behavior. But certainly I'm missing something obvious. (In reply to mario.haustein from comment #2) > (In reply to Sam James from comment #1) > > ping > > Are you still able to reproduce the bug? I tried with different combinations > of dev-util/pwndbg and sys-devel/gdb versions and weren't able to reproduce > the behavior. But certainly I'm missing something obvious. Yeah, still able: ``` $ python Python 3.11.1 (main, Jan 30 2023, 11:08:41) [GCC 13.0.1 20230129 (experimental)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> $ pwndbg Traceback (most recent call last): File "/usr/share/pwndbg/gdbinit.py", line 84, in <module> import pwndbg # noqa: F401 ^^^^^^^^^^^^^ File "/usr/share/pwndbg/pwndbg/__init__.py", line 5, in <module> import pwndbg.color File "/usr/share/pwndbg/pwndbg/color/__init__.py", line 9, in <module> from . import theme as theme File "/usr/share/pwndbg/pwndbg/color/theme.py", line 2, in <module> from pwndbg.gdblib import config File "/usr/share/pwndbg/pwndbg/gdblib/__init__.py", line 3, in <module> from pwndbg.gdblib import arch as arch_mod File "/usr/share/pwndbg/pwndbg/gdblib/arch.py", line 2, in <module> import pwnlib ModuleNotFoundError: No module named 'pwnlib' (gdb) ``` ``` $ emerge -pvO pwndbg sys-devel/gdb These are the packages that would be merged, in order: [ebuild R ] dev-util/pwndbg-20221219-r1::gentoo PYTHON_SINGLE_TARGET="python3_11 -python3_9 -python3_10" 0 KiB [ebuild R *] sys-devel/gdb-13.0.90_p20230126::gentoo USE="cet lzma multitarget nls python server source-highlight xml xxhash -guile -sim -test -vanilla -zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_9 -python3_10" 0 KiB ``` I do have PYTHON_SINGLE_TARGET=python3.11. Not sure if related. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac84dc1e4aec4f49796e82c5471e489406fbaea commit 6ac84dc1e4aec4f49796e82c5471e489406fbaea Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> AuthorDate: 2023-01-30 22:24:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-31 02:00:35 +0000 dev-util/pwndbg: update dependencies Closes: https://bugs.gentoo.org/889628 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/29349 Signed-off-by: Sam James <sam@gentoo.org> dev-util/pwndbg/pwndbg-20221219-r2.ebuild | 84 +++++++++++++++++++++++++++++++ dev-util/pwndbg/pwndbg-99999999.ebuild | 21 ++++---- 2 files changed, 95 insertions(+), 10 deletions(-) |