From: Theo GAIGE Date: Fri, 23 Jan 2026 10:46:49 +0000 (+0100) Subject: python3-pyelftools: add python3-logging to RDEPENDS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b956f6b5a345bd3022a9e64fa70a0365bfac502;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3-pyelftools: add python3-logging to RDEPENDS 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 from elftools.elf.elffile import ELFFile File "/usr/lib/python3.12/site-packages/elftools/elf/elffile.py", line 29, in from ..dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig File "/usr/lib/python3.12/site-packages/elftools/dwarf/dwarfinfo.py", line 17, in from .structs import DWARFStructs File "/usr/lib/python3.12/site-packages/elftools/dwarf/structs.py", line 10, in from logging.config import valid_ident ModuleNotFoundError: No module named 'logging' ``` Signed-off-by: Theo GAIGE Reviewed-by: Louis Rannou Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.32.bb b/meta/recipes-devtools/python/python3-pyelftools_0.32.bb index 13e9efff8d..447c8ad6af 100644 --- a/meta/recipes-devtools/python/python3-pyelftools_0.32.bb +++ b/meta/recipes-devtools/python/python3-pyelftools_0.32.bb @@ -12,4 +12,4 @@ inherit pypi python_setuptools_build_meta BBCLASSEXTEND = "native" -RDEPENDS:${PN} += "python3-debugger python3-pprint" +RDEPENDS:${PN} += "python3-debugger python3-pprint python3-logging"