Bug 1213178 - lddtree fails to run
Summary: lddtree fails to run
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Maintenance (show other bugs)
Version: Leap 15.5
Hardware: x86-64 openSUSE Leap 15.5
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Mr Maintenance
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-10 11:22 UTC by Peter Urbanec
Modified: 2023-08-15 12:35 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Urbanec 2023-07-10 11:22:20 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.
Comment 1 Ludwig Nussel 2023-08-15 12:01:49 UTC
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.
Comment 2 OBSbugzilla Bot 2023-08-15 12:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1213178) was mentioned in
https://build.opensuse.org/request/show/1104038 Factory / pax-utils