Re: [proaudio] libffado-9999 debug bug

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


On Sunday 16 September 2012 14:11:56 Sebastian Rose wrote:
> Hello,
> 
> the current libffado-9999.ebuild doesn't work properly. It builts ffado
> with DEBUG=True and ENABLE_OPTIMIZATIONS=False regardless if the USE
> flag "debug" is set or not. In my case this lead to ffado constantly
> producing xruns, so it would be good to change this. Since FFADO uses
> scons as build system, I was following these guidelines:
> http://devmanual.gentoo.org/eclass-reference/scons-utils.eclass/index.html
> To produce the attached ebuild.
> Notes:
> - "die" calls removed, since escons dies on failure in EAPI 4
> - changed src_configure to use the Gentoo provided "myesconsargs"
> mechanism, to properly respect the debug USE flag
> - ENABLE_OPTIMIZATIONS: meanings of TRUE and FALSE are inverted here to
> enable this when the debug USE flag is not set and to disable it, if it
> is. Ugly, but I'm not sure how to achieve this otherwise.
> 
> kind regards,
> semkath

Hi
Thanks for your email. I have had these and some other changes in local 
overlay since the discussion on list regarding this package. Do you still get 
xruns with ENABLE_OPTIMIZATIONS=False and DEBUG=False? Setting 
ENABLE_OPTIMIZATIONS adds some aggressive compiler flags and cpu detection 
that break when doing a cross compile under portage.
I have no firewire devices so cannot test changes I make to this package.

Cheers
Gavin



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/