<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 8, 2024, 7:55 PM David Hampton via mythtv-users <<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 2024-02-08 at 16:11 -0500, David Hampton wrote:<br>
> On Thu, 2024-02-08 at 20:33 +0100, Roland Ernst wrote:<br>
> > <br>
> > On Thu, Feb 8, 2024 at 8:11 PM Roland Ernst <<a href="mailto:rcrernst@gmail.com" target="_blank" rel="noreferrer">rcrernst@gmail.com</a>><br>
> > wrote:<br>
> > > <br>
> > > <br>
> > > On Thu, Feb 8, 2024 at 7:56 PM Roland Ernst <<a href="mailto:rcrernst@gmail.com" target="_blank" rel="noreferrer">rcrernst@gmail.com</a>><br>
> > > wrote:<br>
> > > > <br>
> > > > On Thu, Feb 8, 2024 at 12:36 PM James Abernathy<br>
> > > > <<a href="mailto:jfabernathy@gmail.com" target="_blank" rel="noreferrer">jfabernathy@gmail.com</a>> wrote:<br>
> > > > > I've been rebuilding the packages of Mythtv master for Debian<br>
> > > > > 12 after I saw Ubuntu  22.04 mythtv packages change.<br>
> > > > > <br>
> > > > > That worked yesterday morning, but today after some cmake<br>
> > > > > updates I get errors pretty close to the beginning  of the<br>
> > > > > build.  I'm using the wiki method for building the Debian<br>
> > > > > packages.<br>
> > > > > <br>
> > > > > here's the console log<br>
> > > > > <br>
> > > > > #build the tarball<br>
> > > > > ....<br>
> > > > >  dpkg-source -i -I.git -b .<br>
> > > > > dpkg-source: info: using options from<br>
> > > > > mythtv/debian/source/options: --extend-diff-<br>
> > > > > ignore=.github|.dockerig<br>
> > > > > nore|.clang-tidy|.clazy<br>
> > > > > dpkg-source: info: using source format '3.0 (quilt)'<br>
> > > > > dpkg-source: info: building mythtv using existing<br>
> > > > > ./mythtv_34.0~master.20240208.93e52a62.orig.tar.gz<br>
> > > > > dpkg-source: info: using patch list from<br>
> > > > > debian/patches/series<br>
> > > > > dpkg-source: info: local changes detected, the modified files<br>
> > > > > are:<br>
> > > > >  mythtv/.cmake-format.py<br>
> > > > >  mythtv/.cppcheck-includes<br>
> > > > >  mythtv/.cppcheck-suppress<br>
> > > > > dpkg-source: error: aborting due to unexpected upstream<br>
> > > > > changes, see /tmp/mythtv_34.0~master.20240208.93e5<br>
> > > > > 2a62-0ubuntu0.diff.ISOrKD<br>
> > > > > <br>
> > > > <br>
> > > > <br>
> > > > <br>
> > > > The log already shows a hint how to solve this error: <br>
> > > > Add these 3 modified files to the file <br>
> > > > packaging/deb/debian/source/options<br>
> > > > by using the same syntax as given by the file itself:<br>
> > > > extend-diff-ignore=.github|.dockerignore|.clang-<br>
> > > > tidy|.clazy|.cmake-format.py|.cppcheck-includes|.cppcheck-<br>
> > > > suppress<br>
> > > > <br>
> > > > It is the same issue as previouslywith the '.clazy' file:<br>
> > > >  <br>
> > > > <a href="https://github.com/MythTV/packaging/commit/2f9f4b97cdcbebf479d1534" rel="noreferrer noreferrer" target="_blank">https://github.com/MythTV/packaging/commit/2f9f4b97cdcbebf479d1534</a><br>
> > > > 3dd5fd140f8daddc9<br>
> > > > It does not affect the lauchpad build at <br>
> > > > <a href="https://launchpad.net/~mythbuntu/+archive/ubuntu/34" rel="noreferrer noreferrer" target="_blank">https://launchpad.net/~mythbuntu/+archive/ubuntu/34</a><br>
> > > > <br>
> > > > 2:34.0~master.202402081705.1f5dfbce31~ubuntuxx.yy.z<br>
> > > > was build successfully a couple of minutes ago.<br>
> > > > <br>
> > > > @Jim A: could you please verify above change on debian?<br>
> > > > Roland<br>
> > > > <br>
> > > > <br>
> > > <br>
> > > <br>
> > > <br>
> > > Sorry, <br>
> > > build at launchpad failed but with a different error:<br>
> > > fatal: not a git repository (or any of the parent directories):<br>
> > > .git<br>
> > > <br>
> > > Roland<br>
> > > <br>
> > <br>
> > <br>
> > And being more explicitly:<br>
> > dh_autoconfigure wants to execute 'cmake'<br>
> >    dh_auto_configure<br>
> >     cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb<br>
> > cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -<br>
> > DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -<br>
> > DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -<br>
> > DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -<br>
> > DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -<br>
> > DFETCHCONTENT_FULLY_DISCONNECTED=ON "-GUnix Makefiles" -<br>
> > DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-<br>
> > gnu ..<br>
> > Can't exec "cmake": No such file or directory at<br>
> > /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 518.<br>
> > Not amused,  <br>
> > Roland<br>
> <br>
> Why has build-debs.sh suddenly decided it needs to run cmake instead<br>
> of<br>
> configure/make?<br>
> <br>
> Not amused.<br>
> <br>
> I see that the debhelper command has an option to tell it which build<br>
> system to use, but I don't see where debhelper is called.<br>
> <br>
> I'm working on it.<br>
<br>
Ok.  I had to do the following:<br>
<br>
1) Ignore the extra files like you mentioned, Roland.<br>
<br>
2) Override the automatic configuration step so that the scripts<br>
wouldn't try and run cmake.<br>
<br>
After doing these two things, my test debian build ran to completion. <br>
Sorry it took so long; its was a complete compile for the first time on<br>
a slow VM.<br>
<br>
Once you update your packaging repo you should be able to build again.<br>
<br>
David<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">So how do you do you 2)</div><div dir="auto"><br></div><div dir="auto">Jim A</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div>