<html><head></head><body><span class="viv-signature"></span><div><br></div><div><br></div><div>On Wednesday 19 February 2025 12:07:45 PM (-06:00), James Abernathy wrote:<br></div><div><br></div><div>> On Wed, Feb 19, 2025 at 11:44 AM James Abernathy <jfabernathy@gmail.com><br></div><div>> wrote:<br></div><div>> <br></div><div>> ><br></div><div>> ><br></div><div>> > On Wed, Feb 19, 2025 at 11:22 AM Bill Meek <keemllib@gmail.com> wrote:<br></div><div>> ><br></div><div>> >><br></div><div>> >><br></div><div>> >><br></div><div>> >> On Wednesday 19 February 2025 09:53:55 AM (-06:00), James Abernathy wrote:<br></div><div>> >><br></div><div>> >> > On Wed, Feb 19, 2025 at 10:47 AM Bill Meek <keemllib@gmail.com> wrote:<br></div><div>> >> ><br></div><div>> >> > ><br></div><div>> >> > ><br></div><div>> >> > ><br></div><div>> >> > > On Wednesday 19 February 2025 08:24:29 AM (-06:00), James Abernathy<br></div><div>> >> wrote:<br></div><div>> >> > ><br></div><div>> >> > > > On Wed, Feb 19, 2025 at 9:21 AM James Abernathy <<br></div><div>> >> jfabernathy@gmail.com><br></div><div>> >> > > > wrote:<br></div><div>> >> > > ><br></div><div>> >> > > > ><br></div><div>> >> > > > ><br></div><div>> >> > > > > On Wed, Feb 19, 2025 at 9:11 AM glen <glenb@glenb.net> wrote:<br></div><div>> >> > > > ><br></div><div>> >> > > > >> On Wed, 2025-02-19 at 07:42 -0500, James Abernathy wrote:<br></div><div>> >> > > > >><br></div><div>> >> > > > >> So I've got a successful build of Mythtv on Archlinux using the<br></div><div>> >> v35<br></div><div>> >> > > cmake<br></div><div>> >> > > > >> method. I used ansible for my dependencies and it works fine as<br></div><div>> >> far<br></div><div>> >> > > as I<br></div><div>> >> > > > >> can tell.<br></div><div>> >> > > > >><br></div><div>> >> > > > >> However when I try find_orphans.py I get:<br></div><div>> >> > > > >><br></div><div>> >> > > > >> ./find_orphans.py<br></div><div>> >> > > > >> Traceback (most recent call last):<br></div><div>> >> > > > >> File "/home/jim/Downloads/./find_orphans.py", line 3, in<br></div><div>> >> <module><br></div><div>> >> > > > >> from MythTV import MythDB, MythBE, Recorded, MythError<br></div><div>> >> > > > >> ModuleNotFoundError: No module named 'MythTV'<br></div><div>> >> > > > >><br></div><div>> >> > > > >> I built using sudo like this:<br></div><div>> >> > > > >><br></div><div>> >> > > > >> sudo cmake --preset qt5 -DCMAKE_INSTALL_PREFIX=/usr 2>&1 | tee<br></div><div>> >> > > > >> ~/stage1-log<br></div><div>> >> > > > >> sudo cmake --build build-qt5 2>&1 | tee ~/stage2.log<br></div><div>> >> > > > >><br></div><div>> >> > > > >> I looked through the stage1 and 2 log files I teed off and<br></div><div>> >> didn't see<br></div><div>> >> > > > >> anything missing except qt5webkit which is not needed.<br></div><div>> >> > > > >><br></div><div>> >> > > > >> I can post those logs to Google Drive if needed.<br></div><div>> >> > > > >><br></div><div>> >> > > > >> Jim A<br></div><div>> >> > > > >><br></div><div>> >> > > > >><br></div><div>> >> > > > ><br></div><div>> >> > > > >> is mythtv folder in the latest python on your machine in<br></div><div>> >> > > site-packages ?<br></div><div>> >> > > > >><br></div><div>> >> > > > ><br></div><div>> >> > > > > No it seems that the build process didn't even build them???<br></div><div>> >> > > > ><br></div><div>> >> > > > > sudo updatedb<br></div><div>> >> > > > > sudo plocate site-packages | grep -i mythtv<br></div><div>> >> > > > ><br></div><div>> >> > > > > Shows nothing.<br></div><div>> >> > > > ><br></div><div>> >> > > > > Jim A<br></div><div>> >> > > > ><br></div><div>> >> > > ><br></div><div>> >> > > > BTW the link to the google drive with the stage 1&2 logs is:<br></div><div>> >> > > ><br></div><div>> >> > > ><br></div><div>> >> > ><br></div><div>> >> https://drive.google.com/drive/folders/1v4beUzxygecF5_Sq4g2OR1s7s6CN9W4u?usp=drive_link<br></div><div>> >> > > ><br></div><div>> >> > > > Jim A<br></div><div>> >> > ><br></div><div>> >> > > 1. I see pip is missing and it's not in ansible, please try pacman and<br></div><div>> >> > > install python-pip<br></div><div>> >> > > And python3-pip (I don't see any python3 packages in the pacman<br></div><div>> >> ansible<br></div><div>> >> > > tasks.)<br></div><div>> >> > > I'll push if one of those works.<br></div><div>> >> > ><br></div><div>> >> > > 2. If it doesn't help, try adding this: -DMYTH_BINDINGS_INSTALL_ROOT=/<br></div><div>> >> > ><br></div><div>> >> > ><br></div><div>> >> > > 3. Are you running cmake as root?<br></div><div>> >> > > Including user overrides<br></div><div>> >> /root/.config/MythTV/BuildOverridesPost.cmake<br></div><div>> >> > > That's my choice as I mimic the 'old' make/sudo make install.<br></div><div>> >> > > --<br></div><div>> >> > > Bill<br></div><div>> >> ><br></div><div>> >> ><br></div><div>> >> > python-pip was missing and I installed it. However, python3-pip is not<br></div><div>> >> > found on the Arch repository.<br></div><div>> >> ><br></div><div>> >> > I'll see what I can do with that.<br></div><div>> >> ><br></div><div>> >> > Jim A<br></div><div>> >><br></div><div>> >> Looks like: https://wiki.archlinux.org/title/Python#Other_versions is<br></div><div>> >> one of the<br></div><div>> >> answers. If typing: python --version now shows 2.7, then I don't<br></div><div>> >> understand.<br></div><div>> >> That's been EOL since 1/1/2020.<br></div><div>> >><br></div><div>> >> Don't know if all packages python3 packages used here are on AUR (and my<br></div><div>> >> Dockere is broken right now).<br></div><div>> >> --<br></div><div>> >> Bill<br></div><div>> >><br></div><div>> >><br></div><div>> > That error is the same one I get if I try to build from source like the<br></div><div>> > wiki says using the old ./configure, make, sudo make install. I can do an<br></div><div>> > install fine with the AUR package, mythtv-git, but I have to modify the<br></div><div>> > PKGBUILD file to use v35 and eliminate the python-future dependency.<br></div><div>> > However, I can't remember the last time I did that successfully if I test<br></div><div>> > find_orphans.py.<br></div><div>> ><br></div><div>> > I'm betting it's a dependency issue, but having to depend on AUR<br></div><div>> > maintainers for weird Python packages is suspect at best. In my NUCBOX,<br></div><div>> > it's easy to switch out the NVME drive and test something else. So I've<br></div><div>> > pulled the Arch SSD and put it in timeout so it can think about how it<br></div><div>> > screwed up. In the meantime I'll test something on Debian that I wanted to<br></div><div>> > do for comparison.<br></div><div>> ><br></div><div>> > I did find something about pip and AUR. I can't say I understand all of it:<br></div><div>> ><br></div><div>> > All python PKGBUILDs are built with --without-ensurepip, and pip is<br></div><div>> > provided via the python-pip package, which is built for the system-wide<br></div><div>> > python environment as a "site-packages" package. If you build any other<br></div><div>> > python version from the AUR, then you're supposed to use virtual<br></div><div>> > environments for any of those other python versions. In those virtual<br></div><div>> > environments, pip gets installed separately, and this is where you can also<br></div><div>> > upgrade or even remove it.<br></div><div>> ><br></div><div>> > $ yay -S python311<br></div><div>> > $ python -m virtualenv -p /usr/bin/python3.11 /path/to/venv<br></div><div>> > $ source /path/to/venv/bin/activate<br></div><div>> > $ python --version<br></div><div>> > $ python -m pip --version<br></div><div>> ><br></div><div>> > Jim A<br></div><div>> ><br></div><div>> <br></div><div>> <br></div><div>> As a comparison, on an Archlinux VM I used the ansible dependencies for<br></div><div>> mythtv and then git cloned the AUR mythtv-git.<br></div><div>> <br></div><div>> I modified only the fixes/35 from 34 in the PKGBUILD file, and then built<br></div><div>> the package with makepkg -si<br></div><div>> <br></div><div>> Once it complete I did the sudo updatedb, plocate site-packages | grep -i<br></div><div>> mythtv and this time I got a bunch of files.<br></div><div>> <br></div><div>> So I have not built a full mythtv combo BE/FE but this answers part of the<br></div><div>> question.<br></div><div>> <br></div><div>> Something is different between the new cmake build and the old ./configure,<br></div><div>> make, sudo make install that is keeping the python bindings from being<br></div><div>> built for Archlinux.<br></div><div>> <br></div><div>> Jim A<br></div><div><br></div><div><br></div><div>Did you try adding: -<span style="color: rgb(23, 23, 23); font-family: monospace; font-size: medium; white-space-collapse: preserve;">DMYTH_BINDINGS_INSTALL_ROOT=/</span></div><div><font size="3" face="monospace" color="#171717"><span style="white-space-collapse: preserve;">on your cmake command line?</span></font></div><span class="viv-signature-below"><br>-- <br>Bill</span></body></html>