Bug ID 1213178
Summary lddtree fails to run
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.5
Hardware x86-64
OS openSUSE Leap 15.5
Status NEW
Severity Major
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter bugzilla.opensuse.org@urbanec.net
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

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.


You are receiving this mail because: