[mythtv-users] Building MythTv frontend for Raspberry Pi 2

Tim Stowell stowellt at gmail.com
Mon Feb 22 00:41:36 UTC 2016


On Sun, Feb 21, 2016 at 5:38 AM, Mike Bibbings <mike.bibbings at gmail.com> wrote:
> On 21/02/16 05:43, Tim Stowell wrote:
>>
>> I'm trying to cross compile MythTv Frontend on a Ubuntu host system by
>> following the instructions at
>> http://www.softsystem.co.uk/download/mythtv/mythtv_for_rpi.txt.
>>
>> When I execute mythbuild.sh -2 -Q 5.4.0, I get the following errors:
>>
>>
>> W: Failed to fetch
>> http://mirrordirector.raspbian.org/raspbian/dists/wheezy/Release
>> Unable to find expected entry 'main/binary-i386/Packages' in Release
>> file (Wrong sources.list entry or malformed file)
>>
>> W: Failed to fetch
>> http://archive.raspberrypi.org/debian/dists/wheezy/Release  Unable to
>> find expected entry 'main/binary-i386/Packages' in Release file (Wrong
>> sources.list entry or malformed file)
>>
>>
>>
>> I'm not sure why it's looking for i386 when I'm trying to build for a
>> armhf system. Thanks for any advice
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>
> I have assumed that the ubuntu you are using is x86_64 (i.e. 64 bit)
>
> Make sure you have the latest mythbuild.sh file, there have been several
> changes since the original post from Lawrence Rust some months ago.
>
> For the first build I suggest you run :
>
> ./mythbuild.sh -2 -Q 5.4.0 -l -v
>
> The -l (letter l)  gives a log file, -v gives more verbose information on
> the build, which will help if there are problems. Note the first build will
> take a long time (could be several hours depending on your pc) as it has to
> build QT5 before building mythtv.
>
> Mike
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
Thanks, I was able to get MythTV to compile. I had to modify
mythbuild.sh and add [arch=armhf] to the deb lines where sources.list
is generated. It did take several hours on a dual core I5-4300U to
compile. I noticed that hdhomerun support was disabled, is there any
way to get the code to compile for RPI2 with hdhomerun support?


More information about the mythtv-users mailing list