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

Bug 299918

Summary: x11-wm/amiwm: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Desktop WM Team (OBSOLETE) <desktop-wm+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: amiwm-0.20_p48.ebuild.diff (Corrected ebuild)
amiwm-0.20_p48.ebuild.diff (Corrected ebuild

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-06 17:37:30 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.

For what concerns pre-built packages, you should set the QA_PRESTRIPPED variable in the ebuild with the list of known pre-stripped objects in the package.

Comment 1 Christophe LEFEBVRE 2010-03-12 17:11:13 UTC
Created attachment 223291 [details, diff]
amiwm-0.20_p48.ebuild.diff (Corrected ebuild)
Comment 2 Christophe LEFEBVRE 2010-03-12 17:12:57 UTC
Created attachment 223293 [details, diff]
amiwm-0.20_p48.ebuild.diff (Corrected ebuild
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-05-29 13:12:44 UTC
Fixed in tree

+  29 May 2010; Kacper Kowalik <> amiwm-0.20_p48.ebuild,
+  +files/amiwm-0.20_p48-gentoo.diff:
+  Fix parallel build wrt bug 248680, don't strip files wrt bug 299918.
+  Thanks Diego for reporting.
+  Fix install directories, respect CC and user flags, multilib-strict.
+  Fix incompatible implicit declaration of built-in function.
+  Update dependencies.