[mythtv-users] Can't build fixes/30 from source on Gentoo

Stuart Auchterlonie stuarta at squashedfrog.net
Fri Jul 12 09:20:51 UTC 2019


On 11/07/2019 22:39, Tom Dexter wrote:
> On 7/11/19, Stuart Auchterlonie <stuarta at squashedfrog.net> wrote:
>> On 11/07/2019 14:26, Tom Dexter wrote:
>>> On 6/27/19, mythtv <mythtv at mdabbs.org> wrote:
>>>> I'm guessing someone must have built fixes/30 on Gentoo by now. I get
>>>> the following error:
>>>>
>>>> libavdevice/alsa.c: In function ‘ff_alsa_close’:
>>>> libavdevice/alsa.c:306:9: error: ‘CONFIG_ALSA_INDEV’ undeclared (first
>>>> use in this function); did you mean ‘CONFIG_VALGRIND’?
>>>>       if (CONFIG_ALSA_INDEV)
>>>>           ^~~~~~~~~~~~~~~~~
>>>>           CONFIG_VALGRIND
>>>>
>>>>
>>>> If I remove alsa-lib from my machine to get ffmpeg to ignore it, then I
>>>> get a different error:
>>>>
>>>> libavdevice/avdevice.c: In function ‘avdevice_configuration’:
>>>> libavdevice/avdevice.c:72:12: error: ‘FFMPEG_CONFIGURATION’ undeclared
>>>> (first use in this function); did you mean ‘FFMPEG_VERSION’?
>>>>       return FFMPEG_CONFIGURATION;
>>>>              ^~~~~~~~~~~~~~~~~~~~
>>>>              FFMPEG_VERSION
>>>>
>>>>
>>>> I'm on Gentoo, gcc 8.3.0. It fails pretty much immediately when trying
>>>> to build.
>>>
>>> I just noticed this today. I can't imagine what's going on there to be
>>> honest. Assuming you're not looking to install any of the plugins,
>>> I've attached an ebuild here that should work:
>>>
>>> https://bugs.gentoo.org/688084
>>>
>>> It's the one that says "with additional requirements". Note however
>>> that it needs the patch to the configure script that's attached there
>>> as well. The only other catch is that it seems that when using
>>> gcc-8.3.0 you need the "dvb" USE flag or the compile fails very late
>>> in the compile:
>>>
>>> https://bugs.gentoo.org/683280
>>>
>>> Hope this helps.
>>>
>>> Tom
>>
>> I will also add that Gentoo's libhdhomerun libs appear woefully out of
>> date.
>>
>> Regards
>> Stuart
>>
> Yes! Thanks for bringing that up. I forgot to mention that one.
> There's actually a version bump request here:
> 
> https://bugs.gentoo.org/676140
> 
> I'm actually using the libhdhomerun-20180817.ebuild attached there in
> my own local overlay, but I see there's an ever newer one there now.
> Thanks!
> 
> Tom

Oh I committed your fix for libXNVCtrl not necessarily being installed
to master, I'm guessing this would be good in fixes/30 as well?


Regards
Stuart



More information about the mythtv-users mailing list