Re: [proaudio] media-libs/libffado-* patch

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


On Paz 06 May 2012 22:08:24 EEST, Natanael Olaiz wrote:
> Hi,
>
> Here is a patch for libffado. I applied to all the overlay versions.
>
> It fixes the compilation of libffado having jack-audio-connection kit
> installed, at least with jack2 that I use:
> Ffado compilation script calls "jackd --version" at the end, and jackd
> --version tries to access /dev/snd/controlC0, which causes a sandbox
> violation [1]. So I just added an addpredict /dev/snd.
>
> I know this is not the best solution, but I found hard to fix it from
> upstream, because it's an issue of jack and related in how the ffado
> compilation works, and it's hard to describe it as a bug. I asked for
> that in the jack dev and ffado developers lists, but no one said nothing
> about...
>
>
> Maybe the addpredict can be conditional? Someone can check if this[1]
> also happens installing libffado with jack 1?
>
>
> Best regards,
> Natanael.
>
>
> [1] :
> --------------------------- ACCESS VIOLATION SUMMARY
> ---------------------------
> LOG FILE "/var/log/sandbox/sandbox-21106.log"
>
> VERSION 1.0
> FORMAT: F - Function called
> FORMAT: S - Access Status
> FORMAT: P - Path as passed to function
> FORMAT: A - Absolute Path (not canonical)
> FORMAT: R - Canonical Path
> FORMAT: C - Command Line
>
> F: open_wr
> S: deny
> P: /dev/snd/controlC0
> A: /dev/snd/controlC0
> R: /dev/snd/controlC0
> C: jackd --version
>
> F: open_wr
> S: deny
> P: /dev/snd/controlC0
> A: /dev/snd/controlC0
> R: /dev/snd/controlC0
> C: jackd --version
> --------------------------------------------------------------------------------
>
>>>> Failed to emerge media-libs/libffado-9999, Log file:
>
>
>
>

Thanks. Applied in overlay.



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