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

Bug 252070

Summary: sys-libs/lib-compat: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: QA CC: pacho
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 21:48:55 UTC
sys-libs/lib-compat-1.4.2:20081214-211021.log:  * QA Notice: Pre-stripped files found:
sys-libs/lib-compat-1.4.2:20081214-211021.log:  * /var/tmp/portage/sys-libs/lib-compat-1.4.2/image/usr/lib/libc.so.5
sys-libs/lib-compat-1.4.2:20081214-211021.log:  * /var/tmp/portage/sys-libs/lib-compat-1.4.2/image/usr/lib/libstdc++.so.2.7.2
sys-libs/lib-compat-1.4.2:20081214-211021.log:  * /var/tmp/portage/sys-libs/lib-compat-1.4.2/image/usr/lib/libg++.so.2.7.2
sys-libs/lib-compat-1.4.2:20081214-211021.log:  * /var/tmp/portage/sys-libs/lib-compat-1.4.2/image/usr/lib/libstdc++.so.2.8

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.

Thanks,
Diego
Comment 1 SpanKY gentoo-dev 2008-12-22 05:47:42 UTC
it's a binary only package that exists for historical purposes and is slated to die ...
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-08 23:06:57 UTC
Should use QA_PRESTRIPPED now!
Comment 3 SpanKY gentoo-dev 2009-06-20 11:50:10 UTC
no, the package should still die as should any package using it
Comment 4 SpanKY gentoo-dev 2009-12-26 16:44:29 UTC
*** Bug 298433 has been marked as a duplicate of this bug. ***