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

Bug 255917

Summary: sci-electronics/kicad: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: RESOLVED FIXED    
Severity: QA CC: vostorga
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: Fix for sci-electronics/kicad-20070702 pre-stripped files

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-22 01:03:04 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.

Thanks,
Diego
Comment 1 Víctor Ostorga (RETIRED) gentoo-dev 2009-04-02 17:30:12 UTC
Created attachment 187110 [details, diff]
Fix for sci-electronics/kicad-20070702 pre-stripped files

This patch fixes:

* QA Notice: Pre-stripped files found:
* /usr/lib/kicad/linux/kicad
* /usr/lib/kicad/linux/eeschema
* /usr/lib/kicad/linux/gerbview
* /usr/lib/kicad/linux/pcbnew
* /usr/lib/kicad/linux/plugins/netlist_form_pads-pcb
* /usr/lib/kicad/linux/cvpcb
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2009-04-02 19:16:39 UTC
Just finished reviewing all versions of sci-electronics/kicad available in the tree, The only one affected was sci-electronics/kicad-20070702
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2009-04-02 20:41:05 UTC
(In reply to comment #2)
> Just finished reviewing all versions of sci-electronics/kicad available in the
> tree, The only one affected was sci-electronics/kicad-20070702

Thanks a lot this is very helpful. I may be able to commit this over the weekend.

Denis.
Comment 4 Denis Dupeyron (RETIRED) gentoo-dev 2009-04-18 18:46:52 UTC
This ebuild was removed as part of massive cleanup. Please try the latest one where this should be fixed.

Denis.