Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192966 - net-misc/asterisk-1.2.21.1 - add support for debug build
Summary: net-misc/asterisk-1.2.21.1 - add support for debug build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 20:23 UTC by Vieri
Modified: 2009-08-04 17:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dont-optimize patch (asterisk-1.2.21.1-r1.patch,735 bytes, patch)
2007-09-18 20:24 UTC, Vieri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vieri 2007-09-18 20:23:46 UTC
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
Comment 1 Vieri 2007-09-18 20:24:23 UTC
Created attachment 131243 [details, diff]
dont-optimize patch
Comment 2 SpanKY gentoo-dev 2007-09-19 14:21:21 UTC
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 ...
Comment 3 Vieri 2007-09-19 19:44:40 UTC
(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?
Comment 4 Vieri 2007-09-20 15:54:21 UTC
(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.
Comment 5 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-16 15:06:14 UTC
Reassigning to chainsaw as he is now the asterisk maintainer.
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2009-08-04 17:28:43 UTC
+*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.