<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Feb 7, 2025 at 2:27 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 7, 2025 at 7:26 AM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 7, 2025 at 12:21 AM David Hampton via mythtv-users <<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 2025-02-06 at 21:19 -0500, James Abernathy wrote:<br>
> On Thu, Feb 6, 2025 at 9:09 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com" target="_blank">pb.mythtv@gmail.com</a>><br>
> wrote: <br>
> > On 2/6/25 20:24, James Abernathy wrote: <br>
> > > <br>
> > > I can't find a package called python3-mythtv for Debian 12. I<br>
> > > know it gets installed by building the Debian packages, but I'm<br>
> > > doing a build from source via cmake and I installed my<br>
> > > dependencies using ansible but python3-mythtv must not get<br>
> > > installed there.<br>
> > > <br>
> > > Jim A <br>
> > <br>
> > /usr/local/lib/python3.12/dist-packages/MythTV. That is where all<br>
> > the python stuff for MythTV is installed on my testing system.<br>
> > Depending on your python version the python3.12 directory may be<br>
> > different. find_orphans.py works on my system. This system was<br>
> > installed using a mythtv-light package built with cmake, but it<br>
> > should be the same for other install methods.<br>
> > <br>
> > Peter <br>
> > <br>
> <br>
> Thanks, maybe there's an option to either build or install it. In my<br>
> /usr/local/lib/phton3.11/dist-packages directory, there are no files.<br>
<br>
Both make and cmake will create the python bindings if they find the<br>
appropriate python packages installed on the system. If not, they<br>
don't fail the build, they simply disable the python buildings. You<br>
need to look at the output of configure (for make) of the configuration<br>
stage of the MythTV sub-package (for cmake). Search for the string<br>
"bindings_python" in the output of either type of build. The cmake<br>
build has additional info if you search for "Found python version".<br>
<br>
David<br>
<br></blockquote><div><br></div><div>Thanks, I may have a mess right now so I'm going to start a few separate test cases. I have a small GMKTec NUCBOX G3 with a pop out lid for quick access to the NVME drive. I can change the boot ssd in under 15 seconds. I also have a stack of nvme drives, so I can work up some tests to see where I'm missing the python bindings.</div><div><br></div><div>It bothers me that having to run the build stuff as sudo creates a lot of files under /root in addition to the files in /home/$USER.</div><div><br></div><div>My first test was a fresh LM22.1 (ubuntu) install and mythtv installed via the ppa:mythbuntu/35. That went smoothly and find_orphans.py works correctly. Now to get something working with Debian using mythtv-light via cmake. I like having packages that can be installed and removed.</div><div><br></div><div>The question may come up as to why not just use LM22.1. For my production backend, it's headless in a closet. Having a full Desktop environment means dozens of updates to programs that I'll never use on the backend and just updating them could cause issues with the stability of the system.</div><div><br></div><div>I'm not using the Ubuntu server because it uses snapd.<br></div><div><br></div><div>Jim A</div></div></div></blockquote><div><br></div><div>I may have a compromise for my production backend for the short term.</div><div><br></div><div>In looking for a safe way to run ubuntu without snapd I found out that Lubuntu 24.04 has no snaps installed on their minimal install. In fact they don't have snapd even installed. That coupled with the fact that Lubuntu minimal is just a few steps up from a server only it should keep my updates to a minimum. I tested mythtv v35 installed using the ubuntu ppa:mythbuntu/35 and everything works as you'd expect including 'find_orphans.py'</div><div><br></div><div>So I may just run Lubuntu on my production backend while I learn the right way to build mythtv v35 on Debian.</div><div><br></div><div>Jim A</div></div></div></blockquote><div><br></div><div>On a clean install of Debian 12, I built mythtv-light V35 (Master) via the cmake method (default) and once the system was working I tested find_orphans.py and it worked. So my problems the other day were most likely due to too much junk on the system.</div><div><br></div><div>I did have a permissions issue when I installed mythtv-light. it doesn't seem to be causing a problem. console log below:</div><div><br></div><div><span style="font-family:monospace">sudo apt install ./mythtv-light_35~Pre-784-g665b315a3b-0_amd64_bookworm.deb <br>Reading package lists... Done<br>Building dependency tree... Done<br>Reading state information... Done<br>Note, selecting 'mythtv-light' instead of './mythtv-light_35~Pre-784-g665b315a3b-0_amd64_bookworm.deb'<br>The following additional packages will be installed:<br> fonts-liberation<br>The following NEW packages will be installed:<br> fonts-liberation mythtv-light<br>0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.<br>Need to get 828 kB/52.9 MB of archives.<br>After this operation, 206 MB of additional disk space will be used.<br>Do you want to continue? [Y/n] <br>Get:1 <a href="http://atl.mirrors.clouvider.net/debian" target="_blank">http://atl.mirrors.clouvider.net/debian</a> bookworm/main amd64 fonts-liberation all 1:1.07.4-11 [828 kB]<br>Get:2 /home/jim/build/mythtv-light_35~Pre-784-g665b315a3b-0_amd64_bookworm.deb mythtv-light amd64 35~Pre-784-g665b315a3b-0 [52.0 MB]<br>Fetched 828 kB in 1s (1,018 kB/s) <br>Selecting previously unselected package fonts-liberation.<br>(Reading database ... 174681 files and directories currently installed.)<br>Preparing to unpack .../fonts-liberation_1%3a1.07.4-11_all.deb ...<br>Unpacking fonts-liberation (1:1.07.4-11) ...<br>Selecting previously unselected package mythtv-light.<br>Preparing to unpack .../mythtv-light_35~Pre-784-g665b315a3b-0_amd64_bookworm.deb ...<br>Unpacking mythtv-light (35~Pre-784-g665b315a3b-0) ...<br>Setting up fonts-liberation (1:1.07.4-11) ...<br>Setting up mythtv-light (35~Pre-784-g665b315a3b-0) ...<br>Processing triggers for fontconfig (2.14.1-4) ...<br>Processing triggers for mailcap (3.70+nmu1) ...<br>N: Download is performed unsandboxed as root as file '/home/jim/build/mythtv-light_35~Pre-784-g665b315a3b-0_amd64_bookworm.deb' <span style="color:rgb(255,0,0)">couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)</span></span><div class="gmail-yj6qo"></div><div class="gmail-adL"><br></div></div><div>Jim A</div><div> <br></div></div></div>