From: tgaige.opensource@witekio.com
To: openembedded-core@lists.openembedded.org
Cc: hsimeliere.opensource@witekio.com,
"Theo Gaige (Schneider Electric)" <tgaige.opensource@witekio.com>,
Wahid ESSID <wahid.essid@se.com>,
Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>,
Richard Purdie <richard.purdie@linuxfoundation.org>
Subject: [scarthgap][PATCH 2/2] python3-pyelftools: add missing runtime dependencies
Date: Wed, 21 Oct 2026 14:37:22 +0200 [thread overview]
Message-ID: <20261021123722.2713530-2-tgaige.opensource@witekio.com> (raw)
In-Reply-To: <20261021123722.2713530-1-tgaige.opensource@witekio.com>
From: "Theo Gaige (Schneider Electric)" <tgaige.opensource@witekio.com>
python3-asyncio and python3-json are needed as runtime dependencies of
python3-pyelftools else the readelf.py script run into the following errors :
```
Traceback (most recent call last):
File "/bin/readelf.py", line 30, in <module>
from elftools.common.utils import bytes2str, iterbytes
File "/usr/lib/python3.14/site-packages/elftools/common/utils.py", line 11, in <module>
from ..construct import ConstructError, ULInt8
File "/usr/lib/python3.14/site-packages/elftools/construct/__init__.py", line 36, in <module>
from .debug import Probe, Debugger
File "/usr/lib/python3.14/site-packages/elftools/construct/debug.py", line 7, in <module>
import pdb
File "/usr/lib/python3.14/pdb.py", line 87, in <module>
import asyncio
ModuleNotFoundError: No module named 'asyncio'
```
```
Traceback (most recent call last):
File "/bin/readelf.py", line 30, in <module>
from elftools.common.utils import bytes2str, iterbytes
File "/usr/lib/python3.14/site-packages/elftools/common/utils.py", line 11, in <module>
from ..construct import ConstructError, ULInt8
File "/usr/lib/python3.14/site-packages/elftools/construct/__init__.py", line 36, in <module>
from .debug import Probe, Debugger
File "/usr/lib/python3.14/site-packages/elftools/construct/debug.py", line 7, in <module>
import pdb
File "/usr/lib/python3.14/pdb.py", line 77, in <module>
import json
ModuleNotFoundError: No module named 'json'
```
Signed-off-by: Theo Gaige (Schneider Electric) <tgaige.opensource@witekio.com>
Reviewed-by: Hugo SIMELIERE (Schneider Electric) <hsimeliere.opensource@witekio.com>
Reviewed-by: Wahid ESSID <wahid.essid@se.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0dc1a2f9df58cf2dd1418426e38e95372aecdcde)
Signed-off-by: Theo Gaige (Schneider Electric) <tgaige.opensource@witekio.com>
---
meta/recipes-devtools/python/python3-pyelftools_0.30.bb | 8 +++++++-
1 file changed, 7 insertions(+), 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 b799f5acf8..bc981051cd 100644
--- a/meta/recipes-devtools/python/python3-pyelftools_0.30.bb
+++ b/meta/recipes-devtools/python/python3-pyelftools_0.30.bb
@@ -12,4 +12,10 @@ inherit pypi setuptools3
BBCLASSEXTEND = "native"
-RDEPENDS:${PN} += "python3-debugger python3-pprint python3-logging"
+RDEPENDS:${PN} += " \
+ python3-debugger \
+ python3-pprint \
+ python3-logging \
+ python3-asyncio \
+ python3-json \
+"
--
2.43.0
prev parent 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 [scarthgap][PATCH 1/2] python3-pyelftools: add python3-logging to RDEPENDS tgaige.opensource
2026-10-21 12:37 ` tgaige.opensource [this message]
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-2-tgaige.opensource@witekio.com \
--to=tgaige.opensource@witekio.com \
--cc=hsimeliere.opensource@witekio.com \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
--cc=wahid.essid@se.com \
/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