<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Feb 12, 2025 at 11:23 AM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@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"><u></u>
<div>
<p><br>
</p>
<div>On 2/12/25 06:15, James Abernathy
wrote:<br>
</div>
<blockquote type="cite">
<div lang="x-unicode">
<div dir="ltr">
<div class="gmail_quote">
<div>I think the complete rebuild is required every time you
want to build mythtv-light into a .deb.</div>
<div><br>
</div>
<div>I tried on my Production backend which is Debian 12
x86_64 to just do a git pull on both packaging and mythtv
repos and then checkout fixes/35.</div>
<div>Next I tried the build_package.sh and it flew through
the build as very little had changed.</div>
<div><br>
</div>
<div>i tried to install that .deb file and it did install
cleanly, but mythbackend would not run on reboot because
it could not find libmythtvexiv2.so...</div>
<div><br>
</div>
<div>Not sure what causes that, but this time I followed
your 2 steps above and also had to remove all the .pc
files in /usr/lib/pkgconfig/</div>
<div><br>
</div>
<div>Then I rebuilt the mythtv-light package and it
installed and worked correctly.</div>
<div><br>
</div>
<div>Jim A</div>
<div> <br>
</div>
</div>
</div>
</div>
</blockquote>
<p>Something does not add up. <br>
</p>
<p>build_package.sh calls config.sh then build.sh then package.sh</p>
<p>config.sh removes the DCMAKE_INSTALL_PREFIX directory and the
build-qt5 directory, so removing them before starting is not
actually necessary.</p>
<p>Did you pull the latest from the packaging repository?</p>
<p>Peter<br>
</p>
</div></blockquote><div>I did completely remove the build directory which contains both the mythtv and packaging repos. I also removed the $HOME/proj directory.<br></div><div></div><div><br></div><div>But the key is removing all the files in the /usr/lib/pkgconfig directory. If I don't do that then libmythexiv2.... doesn't get included. The deb needs to have those even if they are on the system and unchanged since the last build because if you post the .deb you can't depend on the state of the new system previous to installing the .deb.</div><div><br></div><div>I just took the .debs for mythtv-light and mythplugins for the PI and posted them to the v35 folder on Google drive. I then started fresh with a new RPI OS (Debian 12) and installed those 2 packages and ran my script to set up the database, backend service, etc. and it seems to work fine.</div><div><br></div><div>I did find out the cause of my date/language problem on the RPI. The PI ignores what you put in your setup when building the image with rpi-images. So the first step should be to run sudo raspi-config and set the locale stuff. It even had ISO instead of UTF-8. Once that is right, the web app is right.</div><div><br></div><div>JIm A<br><br></div></div></div>