Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125922

Summary: sys-fs/udev strips binaries
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Greg Kroah-Hartman (RETIRED) <gregkh>
Status: RESOLVED FIXED    
Severity: normal CC: kay.sievers, radek
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 126089    
Attachments: Ebuild patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-12 05:26:01 UTC
Right now udev handles binaries' stripping by itself, instead of leaving that up to portage, so when using splitdebug the .debug files generated are stripped and thus useless.

By passing STRIP=true to the make line on src_compile, udev does not strip the binaries and leaves that up to portage.

HTH,
Diego
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-03-12 20:56:53 UTC
I'm sorry, but what do you want me to do with this?  Is this an informational
thing?  Or do you require something to be changed in the ebuild for udev?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-12 23:46:41 UTC
Well if it's not a requirement that udev strips them by itself for some reason, the ebuild should pass STRIP=true to the make as I said to leave to portage handling binaries stripping (that way splitdebug will work).
If instead the strip has to be done by udev's makefile (but I can't see why), the ebuild should RESTRICT=strip.
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-03-13 15:39:44 UTC
Great, care to offer up a patch to the udev ebuild that shows what you are 
suggesting?
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-13 16:04:03 UTC
Created attachment 82056 [details, diff]
Ebuild patch
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-13 16:04:41 UTC
Attached (it's literally what I said before :P)
I'm using this for a few days now and system is fine.
Comment 6 Kay Sievers 2006-03-27 16:10:02 UTC
adding an empty:
  STRIPCMD=
should do the trick without magically invoking /bin/true.

I'm currently thinking if we should better make the non-stripping of binaries the default bahavior in the Makefile, because we don't provide a functional "end user install" anyway from the upstream udev tree.
Comment 7 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-04-03 10:12:19 UTC
089 release doesn't strip anything.  marking as fixed.