Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255917 - sci-electronics/kicad: pre-stripped files found
Summary: sci-electronics/kicad: 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: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prestripped
  Show dependency tree
 
Reported: 2009-01-22 01:03 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-04-18 18:46 UTC (History)
1 user (show)

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


Attachments
Fix for sci-electronics/kicad-20070702 pre-stripped files (kicad-20070702-r1.patch,1.31 KB, patch)
2009-04-02 17:30 UTC, Víctor Ostorga (RETIRED)
Details | Diff

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