Package Details: mythtv-git 34.0.r23.g9b54f1a672-1

Git Clone URL: https://aur.archlinux.org/mythtv-git.git (read-only, click to copy)
Package Base: mythtv-git
Description: A Homebrew PVR project (Stable '-fixes' branch)
Upstream URL: https://www.mythtv.org/
Licenses: GPL
Conflicts: mythtv
Provides: mythtv
Submitter: JohnLBergqvist
Maintainer: JohnLBergqvist
Last Packager: JohnLBergqvist
Votes: 36
Popularity: 0.000671
First Submitted: 2023-04-10 09:11 (UTC)
Last Updated: 2024-06-30 17:31 (UTC)

Sources (6)

Pinned Comments

JohnLBergqvist commented on 2023-04-10 15:56 (UTC) (edited on 2023-04-10 15:57 (UTC) by JohnLBergqvist)

This package replaces the previous 'mythtv' AUR package. It has been renamed to comply with Arch's VCS package guidelines.

I hope to update the various mythplugins AUR packages soon

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 31 Next › Last »

jfabernathy commented on 2024-06-30 17:26 (UTC)

After you added python-pip to the package dependencies I built a fresh system and installed mythtv-git using yay. Everytime I run yay now I see these messages. It seems to think mythtv needs to be updated again.


:: Searching AUR for updates...
 -> Orphan (unmaintained) AUR Packages: perl-lwp-useragent-determined
 -> Flagged Out Of Date AUR Packages: perl-datetime-format-sqlite  perl-xml-dom
:: 1 package to upgrade/install.
1  aur/mythtv-git  34.0.r23.g9b54f1a672-1 -> 34.0.r23.9b54f1a672-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems

JohnLBergqvist commented on 2024-06-27 14:11 (UTC)

@jfabernathy I've added python-pip as a dependency now

jfabernathy commented on 2024-06-27 13:42 (UTC)

I have confirmed that on a fresh system you need to install python-pip before installing the AUR package mythtv-git if you want the services scripts like find_orphans.py to work.

The python bindings are missing if you don't do this.

I suggest python-pip be added to the list of required dependencies.

jfabernathy commented on 2024-06-27 12:47 (UTC) (edited on 2024-06-27 12:51 (UTC) by jfabernathy)

The warning on my yay install log about missing items sent me to check my script for mythtv dependencies verses what mythtv-git AUR uses.

I have "python-pip" as the first one in my script and I don't see that at all in PKGPUILD The package python-pip brings in python-wheel

jfabernathy commented on 2024-06-27 12:02 (UTC)

@boomshalek, Use at your own risk because I don't understand the wider effects of this work around. Here's my one line changed:

PIP_OPTIONS = --no-build-isolation --break-system-packages --no-cache-dir --no-index --disable-pip-version-check --no-deps

boomshalek commented on 2024-06-27 11:35 (UTC)

@jfabernathy Oh, i miss that script a lot! Can you please share a patch how to use the --break-system-packages pip option in the build/mythtv/mythtv/bindings/Makefile ? TIA

jfabernathy commented on 2024-06-27 11:29 (UTC) (edited on 2024-06-27 11:29 (UTC) by jfabernathy)

I created a new VM and installed mythtv-git via yay. Once backend and database was running correctly, I tried to run find_orphans.py and got the errors listed earlier. I've attached the yay console log. I see in there about disabling of python bindings due to missing items. In the section at the start of mythtv build I see:

==> Starting build()...
WARNING: disabling Python bindings; missing pip, wheel

The complete log is on my google drive at. https://drive.google.com/file/d/1ohU5pFPxo7h97L_HKx-i4p8394JMJuqz/view?usp=sharing

jfabernathy commented on 2024-06-27 09:25 (UTC) (edited on 2024-06-27 09:57 (UTC) by jfabernathy)

The error I see only when using the output of AUR install is:


[jim@den-pc ~]$ python3 find_orphans.py  
Traceback (most recent call last):
 File "/home/jim/find_orphans.py", line 3, in <module>
   from MythTV import MythDB, MythBE, Recorded, MythError
ModuleNotFoundError: No module named 'MythTV'

Since my system on real hardware got fixed by building from source, I'll have to build a VM to do any verifing again or capture any console log when doing yay -S
mythtv-git.

One difference I do on installation is I create the Mythtv user using a specific gid and uid and /home/mythtv directory along with shell = bash

JohnLBergqvist commented on 2024-06-27 07:50 (UTC) (edited on 2024-06-27 07:56 (UTC) by JohnLBergqvist)

@jfabernathy What exact error are you seeing? As far as I can tell, the python bindings are building OK on my system (python 3.12.4) but i'm seeing some warnings when it comes to install the package as a whole, about the python bindings containing a reference to the sourcedir, which I don't remember seeing before:


==> WARNING: Package contains reference to $pkgdir
usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/mythversions.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/utilities.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/__init__.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/send.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/_version.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/tmdb_exceptions.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/util.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/lookup.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/cache_file.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/__init__.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/tmdb_auth.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/pager.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/cache_null.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/locales.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/request.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/cache_engine.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/tmdb_api.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/cache.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/wikiscripts/__pycache__/wikiscripts.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/wikiscripts/__pycache__/__init__.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/definitions.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/myth4ttvdbv4.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/get_api_v4.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/__init__.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/ttvdbv4_api.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/locales.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/utils.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/__init__.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/endpoints.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/artwork.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/person.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/tvmaze_api.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/locales.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/episode.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/show.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/embed.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/utils.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/season.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/_versions.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/database.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/connections.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/dataheap.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/logging.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/exceptions.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/msearch.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/__init__.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/methodheap.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/mythproto.cpython-312.pyc
usr/lib/python3.12/site-packages/MythTV/__pycache__/_conn_mysqldb.cpython-312.pyc

etc.

However I ran the find_orphans.py script myself, and it appeared to work. Even with the above build warnings, the python bindings appared to be installed fine

jfabernathy commented on 2024-06-26 22:02 (UTC)

I have found an issue with not being about to run mythtv services python scripts like find_orphans.py (https://www.mythtv.org/wiki/Find_orphans.py) if the mythtv system is built using this AUR. The mythtv developers say that is has something to do with the python bindings not being right.

I can build mythtv from source and the scripts like find_orphans.py work. Of course, you have to override the PEP 668 rules by using the --break-system-packages pip option in the build/mythtv/mythtv/bindings/Makefile. Mythtv seems to work in all respects except the scripts needing the python bindings setup.