Re: [proaudio] ardour-2.9999 debug build problems ... |
[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]
FEATURES="nostrip" emerge XXX
with whatever use flags you want set in package.use will likely get you close. TTBOMK you don't have to modify ebuilds to do this. You just have to jump through some number of hoops.
Good luck,
Mark
On Fri, Mar 25, 2011 at 6:39 PM, Wayne <wayne@xxxxxxxxxxx> wrote:
ahoy Mark,
thanks and good call, that is exactly where i found it. before i had found a few references to configure switches, but it looks like on Gentoo one needs to add FEATURES="nostrip" to preserve debugging symbols. so apparently that should be added when the debug USE flag is set. i will try to hack the ebuild and see if i can figure out how to do it.
for posterity, here is the link with the info: http://www.gentoo.org/doc/en/bugzilla-howto.xml#doc_chap2
peace, w
Il giorno ven, 25/03/2011 alle 15.59 -0700, Mark Knecht ha scritto:
Wayne,
Stripping debug stuff is typical Gentoo. Search the Gentoo.org docs for info on how to keep debugging symbols in the final output.
I looked at it years ago but haven't ever actually done it myself.
HTH,
Mark
On Fri, Mar 25, 2011 at 3:57 PM, Wayne <wayne@xxxxxxxxxxx> wrote:
ahoy all,
when trying to build ardour-2.9999 from the Pro-Audio overlay with debugging enabled, unfortunately the debug USE flag has no effect. i have confirmed this numerous times.
there seem to be 2 problems with the ebuild:
- the debug USE flag sets a variable ARDOUR_DEBUG, while the scons build system of Ardour 2.x is looking for DEBUG
- even after manually fixing the above problem, at the end of the build process, before installation, a "strip" command runs, which i believe is removing all the debugging symbols from the compiled code regardless of whether the debug USE flag is set. unfortunately, i do not see where this stripping is set/unset in the ebuild. can anyone shed some light on this?
peace, w
-- http://wayne.in-giro.org
-- http://wayne.in-giro.org
-- http://wayne.in-giro.org |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |