Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 465362

Summary: lddtree from app-misc/pax-utils-0.7 fails with python-3.2.3-r2
Product: Gentoo Linux Reporter: Hendrik v. Raven <hendrik>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hendrik v. Raven 2013-04-10 07:36:06 UTC
I'm running a ~amd64 system with python:3 as default python. lddtree from paxutils-0.7 fails to run with the following trace:

psyche 1? ~ % lddtree /bin/zsh 
Traceback (most recent call last):
  File "/usr/bin/lddtree", line 647, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/bin/lddtree", line 616, in main
    elf = ParseELF(p, options.root, ldpaths)
  File "/usr/bin/lddtree", line 328, in ParseELF
    for t in segment.iter_tags():
  File "/usr/lib64/python3.2/site-packages/elftools/elf/dynamic.py", line 63, in iter_tags
    tag = self.get_tag(n)
  File "/usr/lib64/python3.2/site-packages/elftools/elf/dynamic.py", line 77, in get_tag
    return DynamicTag(entry, self._elffile)
  File "/usr/lib64/python3.2/site-packages/elftools/elf/dynamic.py", line 32, in __init__
    setattr(self, entry.d_tag[3:].lower(), dynstr.get_string(self.entry.d_val))
AttributeError: 'NoneType' object has no attribute 'get_string'

python2.7 /usr/bin/lddtree /bin/zsh runs fine.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-04-10 07:41:58 UTC

*** This bug has been marked as a duplicate of bug 465310 ***