Re: [gentoo-user] Per-package splitdebug FEATURE
Sorry to resurect and old thread, but, its funny. I was searching for this information again and found a post in which this guy was asking exactly what I wanted to know. Imagine my surprise when I found that the guy was me but 4 years ago, I loled. Thanks one more time! Em qua, 31 de ago de 2011 às 21:50, Leonardo Guilherme leonardo.guilhe...@gmail.com escreveu: 2011/8/23 netfab net...@gmail.com: Le 23/08/11 à 04:02, Leonardo a tapoté : What if I want to use splitdebug always and just deactivate it to some packages Another way is to enable splitdebug globally, but not install debug files for specific packages : /etc/portage/env/do-not-install-debug-files.conf: INSTALL_MASK=/usr/lib/debug /etc/portage/env/package.env: www-client/firefox do-not-install-debug-files.conf If you are using FEATURES=buildpkg you can set INSTALL_MASK into make.conf : debug files will never be installed, but will be available into tbz2 packages. Exactly what I wanted! Thank you! All of you :) -- Leonardo
Re: [gentoo-user] Per-package splitdebug FEATURE
2011/8/23 netfab net...@gmail.com: Le 23/08/11 à 04:02, Leonardo a tapoté : What if I want to use splitdebug always and just deactivate it to some packages Another way is to enable splitdebug globally, but not install debug files for specific packages : /etc/portage/env/do-not-install-debug-files.conf: INSTALL_MASK=/usr/lib/debug /etc/portage/env/package.env: www-client/firefox do-not-install-debug-files.conf If you are using FEATURES=buildpkg you can set INSTALL_MASK into make.conf : debug files will never be installed, but will be available into tbz2 packages. Exactly what I wanted! Thank you! All of you :) -- Leonardo
[gentoo-user] Per-package splitdebug FEATURE
Hi. I've turned on splitdebug feature (and -ggdb in CFLAGS) so debug information are saved and I can debug anything that crashes. I went to /usr/lib/debug, just out of curiosity, to see how much space was taken and I found that it was almost 2GB, which chromium + firefox adds up 1.5GB and python gets another 0.3. I would like to disable splitdebug for these specific packages now and in the future, so removing splitdebug from features, re-emerging them and then activating splitdebug again won't quite cut. I wonder if there's a way to active features to some specific packages, just like USE flags. Thank you. -- Leonardo
Re: [gentoo-user] Per-package splitdebug FEATURE
On Tuesday 23 Aug 2011 03:17:41 Leonardo Guilherme wrote: I wonder if there's a way to active features to some specific packages, just like USE flags. Yes i think you can use /etc/portage/env for something like this for eg if you want to enable it for amarok create a file /etc/portage/env/media-sound/amarok with the contents CFLAGS=-march=core2 -O1 -g CXXFLAGS=${CFLAGS} FEATURES=splitdebug MAKEOPTS=-j3 -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer
Re: [gentoo-user] Per-package splitdebug FEATURE
Thats what I call worthy information! Thank you so much, Yohan and Nikos! FEATURES=${FEATURES} splitdebug What if I want to use splitdebug always and just deactivate it to some packages, -splitdebug on FEATURES will undo the splitdebug already set? like FEATURES=${FEATURES} -splitdebug Thanks again!
Re: [gentoo-user] Per-package splitdebug FEATURE
Le 23/08/11 à 04:02, Leonardo a tapoté : What if I want to use splitdebug always and just deactivate it to some packages Another way is to enable splitdebug globally, but not install debug files for specific packages : /etc/portage/env/do-not-install-debug-files.conf: INSTALL_MASK=/usr/lib/debug /etc/portage/env/package.env: www-client/firefox do-not-install-debug-files.conf If you are using FEATURES=buildpkg you can set INSTALL_MASK into make.conf : debug files will never be installed, but will be available into tbz2 packages.