Bugzilla – Bug 1213178
lddtree fails to run
Last modified: 2023-08-15 12:35:04 UTC
Leap 15.5 system with * pax-utils-1.3.7-bp155.1.5.x86_64 * python3-pyelftools-0.29-150500.1.4.noarch $ lddtree /lib64/libc.so.6 File "/usr/bin/lddtree", line 53 assert sys.version_info >= (3, 6), f"Python 3.6+ required, but found {sys.version}" ^ SyntaxError: invalid syntax Attempt a workaround by specifying a python3 interpreter: $ python3 /usr/bin/lddtree /lib64/libc.so.6 Traceback (most recent call last): File "/usr/bin/lddtree", line 128, in <module> def dedupe(items: list[str]) -> list[str]: TypeError: 'type' object is not subscriptable This is a regression from Leap 15.4, where `lddtree` used to work without issues.
I've fixed the wrong interpreter for Factory. As for Leap the situation is rather messed up. Someone decided to upgrade pax-utils even though lddtree does not work with python 3.6 anymore. So Leap should actually stay at pax-utils-1.2.8 as shipped with 15.4. Morever, python-pyelftools was dropped from 15.5 du to same package in SLE. Apparently the package was then dropped from SLE again but not added to Leap again. So lddtree can't work anyway due to missing dependency. As package maintainer I can't fix this. Reassinging to maintenance(?) to downgrade pax-utils and re-introduce python-pyelftools from 15.4.
This is an autogenerated message for OBS integration: This bug (1213178) was mentioned in https://build.opensuse.org/request/show/1104038 Factory / pax-utils