Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125922 - sys-fs/udev strips binaries
Summary: sys-fs/udev strips binaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: udev-meta
  Show dependency tree
 
Reported: 2006-03-12 05:26 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-04-03 10:12 UTC (History)
2 users (show)

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


Attachments
Ebuild patch (udev-ebuild.patch,281 bytes, patch)
2006-03-13 16:04 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.