[mythtv-users] Mythtv build from source on Fedora 40

John Pilkington johnpilk222 at gmail.com
Wed Jun 26 14:31:37 UTC 2024


On 25/06/2024 21:51, James Abernathy wrote:
> 
> 
> On Tue, Jun 25, 2024 at 9:49 AM James Abernathy <jfabernathy at gmail.com 
> <mailto:jfabernathy at gmail.com>> wrote:
> 
>     This question is about learning how stuff works.  I normally use
>     either Debian 12 or Ubuntu 22.04 for mythtv related activities.
> 
>     However, with the temperature outside at 98 degrees with high
>     humidity, I thought I'd spend some quality time indoors learning stuff.
> 
>     TL:DR. I built and created a working mythtv BE/FE combo. The Web App
>     got me configured.
> 
>     Details and question:
> 
>     I spun up a VM with Fedora 40 and since I don't understand very much
>     about packaging in Fedora, I followed the Build from source - mythtv
>     wiki.  Ansible installed the dependencies without a hitch.  The make
>     -j 5 worked fine building v34.
> 
>     The sudo make install worked but I noticed a WARNING in the console log.
> 
>     WARNING: Running pip as the 'root' user can result in broken
>     permissions and conflicting behaviour with the system package
>     manager. It is recommended to use a virtual environment instead:
>     https://pip.pypa.io/warnings/venv <https://pip.pypa.io/warnings/venv>
> 
>     Is this something that should be ignored or could bad things happen
>     with mythtv in the future?
> 
>     Jim A
> 
> 
> I'm surprised by the different behavior between Fedora 40 and Ubuntu 
> 24.04 with the Build from Source process.  While on F40 you get a 
> warning, everything installs. But on Ubuntu 24.04 the sudo make install 
> fails. You can get around it with the --break-system-packages option in 
> the Makefile in the binding directory or use it as an Environment 
> variable.  F40 must have different rules on this than Ubuntu.
> 
> While I would not normally build mythtv from source on Ubuntu since the 
> PPA has all the packaging done for you and it just works, I am trying to 
> understand if Build from Source is out of date or if the automated 
> Ubuntu package builder uses different building instructions.
> 
> The break-system-packages override scares me a little, but if it's what 
> the system packagers are doing maybe the Build from Source Wiki needs to 
> include that override??
> 
> Jim A

I'm not in a position to comment about that.  I do have a 35Pre 
installation on Fedora40.  rpms built by Gary's script, and it's working 
well.  But F40 itself looks far from stable at present.  Usually I have 
worked with F n-1, hoping to get the benfit of 6 months shakedown on the 
OS, so maybe the current upgrade rate is just to be expected; seems to 
be several hundred GBs per day...

My biggest trouble is with a dual-boot with Windows 10 box, which 
currently fails to complete booting:  KDE black screen with unresponsive 
cursor.    Both boxes have legacy GT710 nvidia cards, which have vga and 
hdmi outputs, using nouveau. That's mainly for control and editing.  I 
don't really need vdpau/nvdec, and 'real' watching is usually by leanfront.

I'm not recording at present on the bootable F40 box, mainly because its 
disks are full.  Enter kubuntu  22.04 PPA (on what was once my 
grandson's hardware) with no nvidia complications  :-)

John P



More information about the mythtv-users mailing list