<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 19, 2022 at 4:10 AM John <<a href="mailto:jksjdevelop@gmail.com">jksjdevelop@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>
<div>On 18/08/2022 21:11, James Abernathy
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Aug 18, 2022 at 3:57
PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com" target="_blank">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"><br>
On 8/17/22 16:15, James Abernathy wrote:<br>
> So I was testing out the updated Readme.md at <br>
> <a href="https://github.com/MythTV/packaging/tree/master/android" rel="noreferrer" target="_blank">https://github.com/MythTV/packaging/tree/master/android</a><br>
> by building a KVM VM using Ubuntu 20.04 and the
instructions including <br>
> the dependencies worked as documented. So I thought I'd
see if this <br>
> held true on Ubuntu 22.04. Well it did not. After I
built the VM <br>
> using Ubuntu 22.04 I followed the Readme.md again and
it failed <br>
> building the libs and the error seemed to indicate it
could not find <br>
> the command 'pkg-config'.<br>
><br>
> I checked the 20.04 VM and it had the command
pkg-config but 22.04 <br>
> didn't. I did sudo apt install pkg-config on the 22.04
VM and then <br>
> the libs were built. However, when I tried to build
the apk, I got an <br>
> error about not finding 'libmariadb.so'.<br>
><br>
> This made no sense to me. Anyone have any ideas?
Obviously, I could <br>
> update the Readme.md to say Ubuntu 20.04 only, but that
would seem odd.<br>
><br>
> Jim A<br>
><br>
><br>
> _______________________________________________<br>
<br>
I have built on 22.04 ever since I upgraded to 22.04 a
couple of months <br>
ago. I have not had any problems, although I did build the
libs on 20.04 <br>
and continued using the same ones on 22.04. Are you building
fixes/32 or <br>
master?<br>
<br>
Peter<br>
<br>
</blockquote>
<div><br>
</div>
<div>I think there must be something different about having
20.04 working and then upgrading in place to 22.04. I may
do an experiment if I have time. I'm doing fixes/32 only
when testing 22.04. </div>
<div><br>
</div>
<div>After I had 20.04 production arm and arm64 apks for
fixes/32, I did try master just to see since I have a master
FE/BE combo testing system working fine on Master, but while
libs built, apks failed hard and early. I didn't even try
to figure out what was missing. </div>
<div><br>
</div>
<div>Both the 20.04 and 22.04 android builder systems were
just VMs so they were fresh systems with just what it took
to run the android builds. My new Readme.md was
strictly 20.04, fresh VM and it's repeatable. Since I can
build a 20.04 VM as easily as 22.04, I really don't care,
but someone will try 22.04 naturally and it will fail. If I
could identify the problem that would be good to note the
changes, but otherwise I may want a 20.04 only warning in
the readme.<br>
</div>
<div><br>
</div>
<div>Jim A</div>
<div><br></div></div></div>
</blockquote>
<p>Just to confirm the above from Jim. On Ubuntu 22.04 the build for
the libraries on Myth 32 completes without errors but mariadb has
not been compiled.</p></div></blockquote><div><br></div><div>Along these lines. I started fresh this morning with a new 20.04 Ubuntu VM and followed the Readmd.md and had no issues with the arm 32 bit build of android mythfrontend v32 with a release key I created.</div><div><br></div><div>Then I repeated the steps for 64 bits, first the libs, and then the apk. The libs did fine, but on the apk I got an error in the signing process where it could not find a tool it needed, zipalign. The odd thing is it was saying it could not find it in Android/Sdk/build-tools/29.0.2/. This is obviously because that directory doesn't exist because I installed sdk build-tools 29.0.3. There is most likely a place in the mythfrontend building scripts for 64 bits where the need for build-tools 29 is looking for 29.0.2 instead of 29.0.3 which I installed. I looked around in those scripts and saw some variables that specified 29, but no extension beyond that.</div><div><br></div><div>Jim A</div><div><br></div></div></div>