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

James Abernathy jfabernathy at gmail.com
Tue Jun 25 20:51:23 UTC 2024


On Tue, Jun 25, 2024 at 9:49 AM James Abernathy <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
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240625/b6f28c3c/attachment.htm>


More information about the mythtv-users mailing list