From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [fyi] lddtree magic
Date: Tue, 9 Apr 2013 22:30:04 -0400 [thread overview]
Message-ID: <201304092230.05032.vapier@gentoo.org> (raw)
In-Reply-To: <51647DF0.206@gentoo.org>
[-- Attachment #1: Type: Text/Plain, Size: 1068 bytes --]
On Tuesday 09 April 2013 16:45:36 Samuli Suominen wrote:
> $ LC_ALL=C lddtree -l /bin/bash
> Traceback (most recent call last):
> File "/usr/bin/lddtree", line 450, in <module>
> sys.exit(main(sys.argv))
> File "/usr/bin/lddtree", line 437, in main
> elf = ParseELF(path, options.root, ldpaths)
> File "/usr/bin/lddtree", line 235, in ParseELF
> elf = ELFFile(f)
> File "/usr/lib64/python3.2/site-packages/elftools/elf/elffile.py",
> line 47, in __init__
> self._identify_file()
> File "/usr/lib64/python3.2/site-packages/elftools/elf/elffile.py",
> line 177, in _identify_file
> magic = self.stream.read(4)
> File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
> return codecs.ascii_decode(input, self.errors)[0]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 25:
> ordinal not in range(128)
make sure you're using pax-utils-0.7 and pyelftools-0.20-r2. there were known
python-3 issues in earlier versions.
if it still fails, post a bug please.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-04-10 2:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-09 19:31 [gentoo-dev] [fyi] lddtree magic Mike Frysinger
2013-04-09 20:30 ` Diego Elio Pettenò
2013-04-10 3:10 ` Mike Frysinger
2013-04-10 10:04 ` Fabio Erculiani
2013-04-10 16:33 ` Mike Frysinger
2013-04-10 16:42 ` Fabio Erculiani
2013-04-10 17:32 ` Mike Frysinger
2013-04-10 17:40 ` Fabio Erculiani
2013-04-10 17:56 ` Mike Frysinger
2013-04-09 20:41 ` Samuli Suominen
2013-04-09 20:45 ` Samuli Suominen
2013-04-10 2:30 ` Mike Frysinger [this message]
2013-04-09 22:22 ` Samuli Suominen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201304092230.05032.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox