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

Bug 337236

Summary: dev-util/amtterm: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: QA CC: chtof62
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: Build log
amtterm-1.2.ebuild.diff

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-14 09:07: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.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-14 09:07:39 UTC
Created attachment 247223 [details]
Build log
Comment 2 Christophe LEFEBVRE 2011-04-02 20:41:40 UTC
Created attachment 268247 [details, diff]
amtterm-1.2.ebuild.diff

Patch correcting the bug.
Comment 3 Patrick Lauer gentoo-dev 2011-12-19 05:47:29 UTC
+  19 Dec 2011; Patrick Lauer <patrick@gentoo.org> +amtterm-1.3.ebuild,
+  amtterm-1.2.ebuild:
+  Fix for #337236 and bump #394319