Hello,
As shown in the wiki articles shown below:
https://wiki.gentoo.org/wiki//etc/portage/env
https://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_variables_per_package
I made the following provisions to debug a program that was segfaulting on
my system:
(1). mkdir -p /etc/portage/env && cd /etc/portage/env
(2). cat debug.conf
CFLAGS="${CFLAGS} -ggdb"
CXXFALGS="${CFLAGS}"
FEATURES="nostrip"
(3). cat package.env
app-cdr/xfburn debug.conf
(4). grep burn /etc/portage/package.use
app-cdr/xfburn debug
(5). FEATURES="nostrip" emerge -av xfburn
I've had to define FEATURES on the command line as shown in (5), for
nostrip to apply. For some reason, enabling the setting in
/etc/portage/env/debug.conf did not seem to work for me.
Where did I go wrong there?
Thanks.