Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252022 - net-misc/xrdp: pre-stripped files found
Summary: net-misc/xrdp: pre-stripped files found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prestripped
  Show dependency tree
 
Reported: 2008-12-21 21:34 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-09 14:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/libxrdp.so
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.

Thanks,
Diego
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