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

Bug 252022

Summary: net-misc/xrdp: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Patrick McLean <chutzpah>
Severity: QA CC: chtof62
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 21:34:44 UTC
net-misc/xrdp-0.3.1:20081218-191915.log:  * QA Notice: Pre-stripped files found:
net-misc/xrdp-0.3.1:20081218-191915.log:  * /var/tmp/portage/net-misc/xrdp-0.3.1/image/usr/lib/xrdp/
net-misc/xrdp-0.3.1:20081218-191915.log:  * /var/tmp/portage/net-misc/xrdp-0.3.1/image/usr/lib/xrdp/xrdp

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 Kevin Pyle 2009-06-09 22:34:10 UTC
Version 0.4 fixes the pre-strip issues by removing the calls to strip for those files.  The build system still has some QA issues, such as being unnecessarily serial and overwriting CC and LDFLAGS.  However, upstream has converted to autotools for their not-yet-released 0.5 release, so amending the existing 0.4 build system may not be worth the effort.

There also seems to be some discussion of supporting a CMake-based build system.
Comment 2 Christophe LEFEBVRE 2010-03-13 17:59:56 UTC
net-misc/xrdp-0.3.1 has been replaced with net-misc/xrdp-0.4.1

There is not pre-stripped files in the version currectly in portage (xrdp-0.4.1)
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-08-09 14:33:12 UTC
Since this issue is not present on latest xrdp i am closing this bug