According to Asterisk.org/Digium a backtrace can be submitted if Asterisk source is built with a make dont-optimize. I would like to know if changing the ebuild to include a "make dont-optimize" when the denug IUSE flag is set makes sense. Otherwise please close this bug. Reproducible: Always
Created attachment 131243 [details, diff] dont-optimize patch
a better patch would be to do: local target="" use debug && target="dont-optimize" make ... ${target} ... then again, a better idea would be to not let the asterisk build system apply its own stupid cflags ...
(In reply to comment #2) > local target="" > use debug && target="dont-optimize" > make ... ${target} ... That was my first idea too but I changed it because I wanted to get rid somehow of the CFLAGS defined in make.conf. But didn't succeed. > then again, a better idea would be to not let the asterisk build system apply > its own stupid cflags ... CFLAGS="" doesn't do the job. Is there a way?
(In reply to comment #2) > then again, a better idea would be to not let the asterisk build system apply > its own stupid cflags ... sorry I must have read your comment backwards and didn't get the correct meaning at first glance. Please disregard my question.
Reassigning to chainsaw as he is now the asterisk maintainer.
+*asterisk-1.2.33-r1 (04 Aug 2009) + + 04 Aug 2009; <chainsaw@gentoo.org> +asterisk-1.2.33-r1.ebuild: + Revision bump, now applies patches correctly and adds missed dialout group + to enewuser statement. Closes bug #279988 by Robin Johnson + <robbat2@gentoo.org>. Do not optimize if USE="debug" as requested by + Vieri, closes bug #192966.