Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304 - no way to request binaries not to get strip'ed from in an ebuild
Summary: no way to request binaries not to get strip'ed from in an ebuild
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Low enhancement (vote)
Assignee: Geert Bevin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-24 03:22 UTC by Sandy McArthur
Modified: 2011-10-30 22:19 UTC (History)
1 user (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 Sandy McArthur 2002-01-24 03:22:33 UTC
When trying to make an ebuild for vm ware  I noticed core files were appearing
in the bin directory. Looking into it I found strip was segfaulting as it tryied
to strip the vmware executable. I think I could work around this by playing with
file perms and using the pkg_preinst command but that's kinda ugly. It'd be nice
to have some way to say don't strip me.
Comment 1 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-24 03:44:02 UTC
I'm not sure if there are. Earlier if you set DEBUG="yes" it didn't strip. but
that is not on a per-package level.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-01-24 10:11:30 UTC
The fix is to make sure that all our "do" commands and "prep" commands respect
"DEBUG".  I think this may be the case, but I'm assigning to Bevin to check for
sure.  In the meantime, try setting DEBUG="yes" and see if that fixes it and if
so post a follow-up to this bug.
Comment 3 Sandy McArthur 2002-01-24 16:13:11 UTC
Good news: putting `export DEBUG="yes"` in you ebuild will skip the strip process. I was a little 
worried that exporting DEBUG would cause any packages merged with the one I didn't want 
stripped would not get striped either but it seems DEBUG doesn't leak into other ebuild scripts.
Note: Simply putting DEBUG="yes" with out the export did not prevent stripping.