<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 3:32 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 Thu, Jun 27, 2024 at 2:51 PM Roland Ernst <<a href="mailto:rcrernst@gmail.com" target="_blank">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_-1657114232307910854m_-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_-1657114232307910854m_-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></font></code></pre></div></div></div></blockquote><div><br></div><div>Roland,  I created a EOS Archlinux system on btrfs so I can have lots of snapshots at every stage of setting up mythtv and the backend database. This will allow restoring back to any step where we need further testing.  </div><div><br></div><div>This time I captured a complete console log during yay -S mythtv-git and used only the dependencies included in the updated PKGBUILD.  While the resultant BE/FE combo works fine and find_orphans.py works as expected. I did notice that the warning you mentioned is still there:</div><div> <br>==> Checking for packaging issues...<br>==> WARNING: Package contains reference to $srcdir<br>usr/include/mythtv/mythconfig.mak<br>==> WARNING: Package contains reference to $pkgdir<br>usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/__init__.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/_version.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/mythversions.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/send.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/services_api/__pycache__/utilities.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/__init__.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/cache.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/cache_engine.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/cache_file.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/cache_null.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/locales.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/lookup.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/pager.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/request.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/tmdb_api.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/tmdb_auth.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/tmdb_exceptions.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tmdb3/__pycache__/util.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/__init__.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/definitions.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/get_api_v4.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/locales.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/myth4ttvdbv4.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/ttvdbv4_api.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/ttvdbv4/__pycache__/utils.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/__init__.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/artwork.cpython-312.pyc<br>usr/lib/p<span style="font-family:monospace">ython3.12/site-packages/MythTV/tvmaze/__pycache__/embed.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/endpoints.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/episode.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/locales.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/person.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/season.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/show.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/tvmaze_api.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/tvmaze/__pycache__/utils.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/__init__.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/altdict.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/dequebuffer.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/dicttoxml.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/dt.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/enum.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/mixin.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/other.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/utility/__pycache__/singleton.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/wikiscripts/__pycache__/__init__.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/wikiscripts/__pycache__/wikiscripts.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/__init__.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/_conn_mysqldb.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/_versions.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/altdict.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/connections.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/database.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/dataheap.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/exceptions.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/logging.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/methodheap.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/msearch.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/mythproto.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/static.cpython-312.pyc<br>usr/lib/python3.12/site-packages/MythTV/__pycache__/system.cpython-312.pyc<br>==> Creating package "mythtv-git"...<br>  -> Generating .PKGINFO file...<br>  -> Generating .BUILDINFO file...<br>  -> Generating .MTREE file...</span></div><div><br></div><div>With my limited understanding of all this, I just go by the question: is it working.  As far as I can tell all of the functions of Mythtv that I use are working.</div><div><br></div><div>Recording and playing back tv from HDHomerun tuners, find_orphans.py, web app, mythfilldatabase, xmltv</div><div><br></div><div>So to me this is just one of those hundreds of warnings I see when I look at the build output of any mythtv build.</div><div><br></div><div>If you think otherwise, let me know.</div><div><br></div><div>Jim A</div><div><br></div></div></div>