Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366065 - new emerge flag to NOT install debug symbols
Summary: new emerge flag to NOT install debug symbols
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 09:37 UTC by Fab
Modified: 2011-05-05 11:10 UTC (History)
0 users

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 Fab 2011-05-05 09:37:39 UTC
Hi,

I'm using a build farm to create tbz2 packages that I unpack on anothers
systems. I would like to build these packages by default with CFLAGS="-ggdb"
and FEATURES="splitdebug", but I also would like to have a new emerge flag
which would remove these debug files on installation :

 # emerge -k --do-not-install-/usr/lib/debug-files foo_package

This new flag could also be set into EMERGE_DEFAULT_OPTS.

This would allow me to build packages with debug symbols by default,
but install these symbols only when needed.

For example, today I have a segfault crash with firefox, but if I want
to run into a debug session to report a bug, I must rebuild half of the
system. This flag would allow me to reinstall packages (-k or -K) with debug
symbols easily and quickly.

Thanks.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-05-05 10:29:18 UTC
use INSTALL_MASK then
Comment 2 Fab 2011-05-05 11:10:48 UTC
ok, i didn't know this variable, thanks.