Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236540 - scanelf -h incorrect for -a option
Summary: scanelf -h incorrect for -a option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-03 08:08 UTC by Fabian Groffen
Modified: 2009-12-20 21:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2008-09-03 08:08:29 UTC
compare the following two invocations:

./scanelf -vvv -a $EPREFIX/usr/bin/vim | grep "^Format:"
Format: %o %x %O %D %e %t %r %b %F 

and

% ./scanelf -vvv -x -e -t -r -b $EPREFIX/usr/bin/vim | grep "^Format:"
Format: %o %x %e %t %r %b %F 

as deduced from

% ./scanelf -h | grep -- --al
  -a, --all           * Print all scanned info (-x -e -t -r -b)

The docs should include the flags for show_perms and show_endian:

-x -O -D -e -t -r -b
Comment 1 Fabian Groffen gentoo-dev 2008-09-03 08:13:38 UTC
erhm, there is no equivalent for %O, -O only wants an argument and selects, so -a cannot be represented by options.  It better be described as format string then, e.g. "%o %x %O %D %e %t %r %b %F"
Comment 2 SpanKY gentoo-dev 2008-09-29 06:07:43 UTC
since the default output may change over time, perhaps it'll be better to simply describe it as like "all useful/simple info" ?

after all, we wouldnt include things that would expand into "large" output like NEEDED or SONAME or RPATHs
Comment 3 Fabian Groffen gentoo-dev 2008-09-29 07:43:36 UTC
Fine with me, it's just not clear what "scanned info" is, but I'll shadow in scanmacho whatever you change it to.
Comment 5 Fabian Groffen gentoo-dev 2009-12-20 20:51:04 UTC
you may want to update the manpage (man/scanelf.docbook) with the same change
Comment 6 SpanKY gentoo-dev 2009-12-20 21:32:29 UTC
my docbook utils are completely f-ed on my system.  no idea why, and searching / re-emerging isnt really helping.