Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31766 - prepstrip with etdyn fails to catch all that it should.
Summary: prepstrip with etdyn fails to catch all that it should.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2003-10-22 12:50 UTC by solar (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
0 users

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 solar (RETIRED) gentoo-dev 2003-10-22 12:50:30 UTC
I'm not sure if this is related to FEATURES or not..

But here should a better solution.

-	if [ "`/usr/bin/isetdyn '${x}'`" == "${x}" ]; then
+	if [ "`/usr/bin/isetdyn '${x}'`" != "" ]; then

The isetdyn binary will output to stdout the path if the binary elf that was passed on command line is of type etdyn/has an interp section and has a symbol for main() and will exit with a status of 0 otherwise it should return nothing to stdout and exit with a status of 1
Comment 1 solar (RETIRED) gentoo-dev 2003-10-27 11:39:26 UTC
or the syntax of.

/usr/bin/isetdyn ${x} > /dev/null
[ $? == 0 ] && ${STRIP} ${x}
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-11-09 17:33:51 UTC
Added for -r17