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

Bug 251872

Summary: app-shells/smrsh: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Severity: QA CC: chtof62
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: smrsh-8.12.10.ebuild.diff (Suggested ebuild correction)

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 15:49:57 UTC
Portage warns about pre-stripped files being installed into the image directory; this is a bad thing since it makes Portage's splitdebug feature useless, and it stops the users and the developers from looking into backtraces with full debug information available.

For the developers going to look into it, what you have to look out for, to
find what is stripping the files, is one of these conditions:

- explicit "strip" command run on the produced files;
- "install -s" command to install the binary files;
- "-Wl,-s" flag passed during linking

Remove the "strip" commands, remove the "-s" option at install, and remove
"-Wl,-s" and the problem should be gone.

Comment 1 Christophe LEFEBVRE 2011-04-04 19:42:00 UTC
Created attachment 268505 [details, diff]
smrsh-8.12.10.ebuild.diff (Suggested ebuild correction)
Comment 2 Eray Aslan gentoo-dev 2011-05-12 12:11:27 UTC
+*smrsh-8.14.4 (12 May 2011)
+  12 May 2011; Eray Aslan <> +smrsh-8.14.4.ebuild,
+  +files/smrsh-8.14.4-site.config.m4:
+  Version bump. Do not strip files bug #251872. Respect LDFLAGS bug #335981.