From: tgaige.opensource@witekio.com
To: openembedded-core@lists.openembedded.org
Cc: hsimeliere.opensource@witekio.com,
Theo GAIGE <tgaige.opensource@witekio.com>,
Louis Rannou <louis.rannou@non.se.com>,
Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Subject: [scarthgap][PATCH 1/2] python3-pyelftools: add python3-logging to RDEPENDS
Date: Wed, 21 Oct 2026 14:37:21 +0200 [thread overview]
Message-ID: <20261021123722.2713530-1-tgaige.opensource@witekio.com> (raw)
From: Theo GAIGE <tgaige.opensource@witekio.com>
python3-logging is needed as a runtime dependency of python3-pyelftools
else the readelf.py script run into the following error :
```
Traceback (most recent call last):
File "/usr/bin/readelf.py", line 31, in <module>
from elftools.elf.elffile import ELFFile
File "/usr/lib/python3.12/site-packages/elftools/elf/elffile.py", line 29, in <module>
from ..dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig
File "/usr/lib/python3.12/site-packages/elftools/dwarf/dwarfinfo.py", line 17, in <module>
from .structs import DWARFStructs
File "/usr/lib/python3.12/site-packages/elftools/dwarf/structs.py", line 10, in <module>
from logging.config import valid_ident
ModuleNotFoundError: No module named 'logging'
```
Signed-off-by: Theo GAIGE <tgaige.opensource@witekio.com>
Reviewed-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
(cherry picked from commit 9b956f6b5a345bd3022a9e64fa70a0365bfac502)
Signed-off-by: Theo Gaige (Schneider Electric) <tgaige.opensource@witekio.com>
---
meta/recipes-devtools/python/python3-pyelftools_0.30.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.30.bb b/meta/recipes-devtools/python/python3-pyelftools_0.30.bb
index 837edb7165..b799f5acf8 100644
--- a/meta/recipes-devtools/python/python3-pyelftools_0.30.bb
+++ b/meta/recipes-devtools/python/python3-pyelftools_0.30.bb
@@ -12,4 +12,4 @@ inherit pypi setuptools3
BBCLASSEXTEND = "native"
-RDEPENDS:${PN} += "python3-debugger python3-pprint"
+RDEPENDS:${PN} += "python3-debugger python3-pprint python3-logging"
--
2.43.0
next reply other threads:[~2026-10-21 12:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-21 12:37 tgaige.opensource [this message]
2026-10-21 12:37 ` [scarthgap][PATCH 2/2] python3-pyelftools: add missing runtime dependencies tgaige.opensource
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261021123722.2713530-1-tgaige.opensource@witekio.com \
--to=tgaige.opensource@witekio.com \
--cc=hsimeliere.opensource@witekio.com \
--cc=louis.rannou@non.se.com \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox