Problem with checkpkg
Maciej (Matchek) Bliziński
maciej at opencsw.org
Fri Jun 19 11:47:13 CEST 2015
2015-06-19 10:34 GMT+01:00 Dagobert Michelsen <dam at opencsw.org>:
>
> Is this a problem with libmagic?
There are two main possibilities:
1. MACHINE_ID_METADATA is missing an entry that it should have
2. pyelftools is returning a bogus number
I found machine numbers here:
http://www.scs.stanford.edu/14wi-cs140/pintos/specs/sysv-abi-update.html/ch4.eheader.html
Number 21 refers to 64-bit PowerPC.
You could add some error reporting to the code, e.g. show the name of
the file that this value refers to.
if file_metadata.machine_id not in MACHINE_ID_METADATA:
say_what's_wrong
machine = …
Maciej
More information about the maintainers
mailing list