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

Bug 251888

Summary: dev-haskell/hdoc: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: QA    
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 16:02:10 UTC
dev-haskell/hdoc-0.8.3:20081213-031033.log:  * QA Notice: Pre-stripped files found:
dev-haskell/hdoc-0.8.3:20081213-031033.log:  * /var/tmp/portage/dev-haskell/hdoc-0.8.3/image/usr/bin/hdoc

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 Sergei Trofimovich (RETIRED) gentoo-dev 2010-07-12 09:52:07 UTC
Pushed the patch ripping out explicit strip call from makefile.

Thank you, Diego!
Comment 2 Lennart Kolmodin (RETIRED) gentoo-dev 2010-07-21 20:56:02 UTC
Just like with bug #255822, I think hdoc has seen its best days.

The homepage doesn't exist any more, and I can't find any documentation upstream about the project. Also, we have no packages that depend on hdoc.

I suggest we remove it.