<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 27, 2024 at 2:51 PM Roland Ernst <<a href="mailto:rcrernst@gmail.com">rcrernst@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"></div><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><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 class="gmail_quote"><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 class="gmail_quote"><div><br></div><div>UPDATE:</div><div><br></div><div>I have discovered that the PKGBUILD in the mythtv-git AUR does not include the dependency python-pip or python-wheel. My script to install dependencies prior to a build from source run does have those dependencies. That's why my build from source makes find_orphans.py work and the AUR install doesn't. I'm confirming this again on a fresh VM.</div><div><br></div><div>Jim A</div></div></div></blockquote><div><br></div><div>Now I think this is closed:</div><div><br></div><div>from the AUR comments:<br></div><div><h4 id="m_-183418441695824278m_-5430272469152163494m_-663990697059557711m_1261393210757802421gmail-comment-979847">
<a href="https://aur.archlinux.org/account/JohnLBergqvist" title="View account information for JohnLBergqvist" target="_blank">JohnLBergqvist</a> commented on <a href="https://aur.archlinux.org/packages/mythtv-git#comment-979847" target="_blank">2024-06-27 10:11 (EDT)</a>
</h4>
<div id="m_-183418441695824278m_-5430272469152163494m_-663990697059557711m_1261393210757802421gmail-comment-979847-content">
<div>
<p>@jfabernathy I've added python-pip as a dependency now</p>
</div>
</div> Jim A</div></div></div></blockquote><div><br></div><div> </div><div>Jim, if you see the message during installation which the AUR maintainer posted, too<br><pre><code><font size="4">==> WARNING: Package contains reference to $pkgdir</font><br><br></code></pre><pre><code><span style="font-family:arial,sans-serif">please try this <br></span></code></pre><pre><font size="2"><span style="font-family:arial,sans-serif">Ad message in AUR (<a href="https://aur.archlinux.org/packages/mythtv-git" target="_blank">https://aur.archlinux.org/packages/mythtv-git</a>):<br>==> WARNING: Package contains reference to $pkgdir<br><br>Perhaps recompiling of the python pyc files helps.<br>See <a href="https://wiki.archlinux.org/title/Talk:Python_package_guidelines" target="_blank">https://wiki.archlinux.org/title/Talk:Python_package_guidelines</a><br><br>You need to modify PKGBUILD:<br>Inside the subroutine package(),<br>after the step `make INSTALL_ROOT="$pkgdir" install`<br>run <br></span>ppath=`find "$pkgdir -type d -name 'MythTV' | grep python`<br>python3 -m compileall -f -s "$pkgdir" "$ppath"</font><br><br></pre><pre><font style="font-family:arial,sans-serif" size="2">If it works, please pass the lines to the mythTV AUR maintainer.</font><br><br></pre><pre><span style="font-family:arial,sans-serif">Regards,<br></span></pre><pre><span style="font-family:arial,sans-serif">Roland</span></pre></div></div></div></div></blockquote><div><br></div><div>Roland, I tried building after the aur package maintainer added the dependency python-pip. I no longer get the warning:</div><div><pre><code><font size="4">==> WARNING: Package contains reference to $pkgdir<br></font></code></pre><pre><code><font face="arial,sans-serif" size="2">So I'm not sure what needs to be done.</font><font face="arial,sans-serif" size="2"><br><br></font></code></pre><pre><code><font face="arial,sans-serif" size="2">Jim A<br><br></font></code></pre></div></div></div>