<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI Light";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        mso-ligatures:none;
        mso-fareast-language:DE-AT;}
span.E-MailFormatvorlage21
        {mso-style-type:personal-compose;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-AT" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">So now it’s complaining that you don’t have cmake installed;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">On ubuntu that’s just
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">               
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";mso-fareast-language:EN-US">sudo apt install cmake<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">(and you’ll probably want to add cmake to the build dependencies in deb/debian/control.in to keep things consistent)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">That unfortunately only gets a little bit further and fails with
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";mso-fareast-language:EN-US">CMake Error at cmake/ReadOnlyTests.cmake:51 (message):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";mso-fareast-language:EN-US">  Install directory /usr (or parent) is read-only.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";mso-fareast-language:EN-US">Call Stack (most recent call first):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";mso-fareast-language:EN-US">  CMakeLists.txt:220 (ensure_dir_writable)</span><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Which is actually expected since /usr actually should not be writeable by the build process.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Not really sure how to continue myself.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Martin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:8.0pt;font-family:"Segoe UI Light",sans-serif;color:#BFBFBF;mso-fareast-language:DE">no.disclaimer</span><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> mythtv-users <mythtv-users-bounces@mythtv.org>
<b>Im Auftrag von </b>James Abernathy<br>
<b>Gesendet:</b> Donnerstag, 8. Februar 2024 21:19<br>
<b>An:</b> Discussion about MythTV <mythtv-users@mythtv.org><br>
<b>Betreff:</b> Re: [mythtv-users] errors on build of mythtv v34 Debain 12 packages after recent updates<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Feb 8, 2024 at 1:58<span style="font-family:"Arial",sans-serif"> </span>PM Roland Ernst <<a href="mailto:rcrernst@gmail.com">rcrernst@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Feb 8, 2024 at 12:36<span style="font-family:"Arial",sans-serif"> </span>PM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">I've been rebuilding the packages of Mythtv master for Debian 12 after I saw Ubuntu  22.04 mythtv packages change.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">That worked yesterday morning, but today after some cmake updates I get errors pretty close to the beginning  of the build.  I'm using the wiki method for building the Debian packages.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">here's the console log<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<div>
<pre><span style="font-family:"Arial",sans-serif">@Jim A: could you please verify above change on debian?</span><o:p></o:p></pre>
<pre><span style="font-family:"Arial",sans-serif">Roland</span><o:p></o:p></pre>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">It didn't build.  I made the changes to the 'option' file but no luck.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">#build the tarball<br>
tar czf /home/jim/build/packaging/deb/mythtv/../mythtv_34.0"~"master.20240208.1f5dfbce31.orig.tar.gz --exclude-vcs --exclude .pc --exclude-tag-all mythtv.make *<br>
libdistro-info-perl is not installed, Debian release names are not known.<br>
libdistro-info-perl is not installed, Ubuntu release names are not known.<br>
dch warning: Unable to determine Debian's backport distributions.<br>
dch warning: Recognised distributions are: <br>
experimental, unstable, testing, stable, oldstable, oldoldstable,<br>
{trixie,bookworm,bullseye,buster}-proposed-updates,<br>
{testing,stable,oldstable,oldoldstable}-proposed-updates,<br>
{trixie,bookworm,bullseye,buster}-security,<br>
{testing,stable,oldstable,oldoldstable}}-security and UNRELEASED.<br>
Using your request anyway.<br>
Testing all patches before building the packages<br>
Applying patch debian/patches/default_directories<br>
Applying patch debian/patches/bindings_install_paths.patch<br>
Applying patch debian/patches/default_theme.patch<br>
Now at patch debian/patches/default_theme.patch<br>
Removing patch debian/patches/default_theme.patch<br>
Removing patch debian/patches/bindings_install_paths.patch<br>
Removing patch debian/patches/default_directories<br>
No patches applied<br>
Building the packages<br>
 dpkg-buildpackage -us -uc -ui -i -I.git<br>
dpkg-buildpackage: info: source package mythtv<br>
dpkg-buildpackage: info: source version 2:34.0~master.20240208.1f5dfbce31-0ubuntu0<br>
dpkg-buildpackage: info: source distribution faye<br>
dpkg-buildpackage: info: source changed by jim <jim@lmde6><br>
 dpkg-source -i -I.git --before-build .<br>
dpkg-buildpackage: info: host architecture amd64<br>
dpkg-source: info: using options from mythtv/debian/source/options: --extend-diff-ignore=.github|.dockerignore|.clang-tidy|.clazy|.cmake-format.py|.cppcheck-includes|.cppcheck-suppress<br>
dpkg-source: info: using patch list from debian/patches/series<br>
dpkg-source: info: applying default_directories<br>
dpkg-source: info: applying bindings_install_paths.patch<br>
dpkg-source: info: applying default_theme.patch<br>
 fakeroot debian/rules clean<br>
dh clean --parallel --with python3<br>
   debian/rules override_dh_auto_clean<br>
make[1]: Entering directory '/home/jim/build/packaging/deb/mythtv'<br>
[ -f mythtv/config.mak ] && /usr/bin/make -C mythtv distclean || true<br>
[ -f mythplugins/<a href="http://config.pro">config.pro</a> ] && /usr/bin/make -C mythplugins distclean || true<br>
[ -f mythtv/VERSION.old ] && mv mythtv/VERSION.old mythtv/VERSION || true<br>
dh_auto_clean<br>
debconf-updatepo<br>
rm -rf /home/jim/build/packaging/deb/mythtv/debian/home<br>
make[1]: Leaving directory '/home/jim/build/packaging/deb/mythtv'<br>
   dh_clean<br>
 dpkg-source -i -I.git -b .<br>
dpkg-source: info: using options from mythtv/debian/source/options: --extend-diff-ignore=.github|.dockerignore|.clang-tidy|.clazy|.cmake-format.py|.cppcheck-includes|.cppcheck-suppress<br>
dpkg-source: info: using source format '3.0 (quilt)'<br>
dpkg-source: info: building mythtv using existing ./mythtv_34.0~master.20240208.1f5dfbce31.orig.tar.gz<br>
dpkg-source: info: using patch list from debian/patches/series<br>
dpkg-source: info: building mythtv in mythtv_34.0~master.20240208.1f5dfbce31-0ubuntu0.debian.tar.xz<br>
dpkg-source: info: building mythtv in mythtv_34.0~master.20240208.1f5dfbce31-0ubuntu0.dsc<br>
 debian/rules build<br>
dh build --parallel --with python3<br>
   dh_update_autotools_config<br>
   dh_autoreconf<br>
   dh_auto_configure<br>
cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
 -DFETCHCONTENT_FULLY_DISCONNECTED=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..<br>
Can't exec "cmake": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 518.<br>
dh_auto_configure: error: exec (for cmd: cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
 -DFETCHCONTENT_FULLY_DISCONNECTED=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..) failed: No such file or directory<br>
dh_auto_configure: error: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
 -DFETCHCONTENT_FULLY_DISCONNECTED=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu .. returned exit code 2<br>
make: *** [debian/rules:96: build] Error 2<br>
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2<br>
debuild: fatal error at line 1182:<br>
dpkg-buildpackage -us -uc -ui -i -I.git failed<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">JIm A<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>