MythLogBot@irc.freenode.net :: #mythtv

Daily chat history

Current users (44):

aloril, Anssi, blahdodo, clever, frobnic, ghoti, hampton, markspieth, mkbloke, MythBuild, MythLogBot, ooshlablu, SteveGoodey, Warped, warpme_, zbot, afisher, brfransen, ChanServ, cybrNaut, ElmerFudd, ijc, jpabq, knowledgejunkie, Maliuta, MitchCapper, MythNotifyBot, Panic, peper03, poptix, ramshadow, rhpot1991, scilib, sphery, tonsofpcs, tris, Valen, xris, _charly__, davic, mad_enz, pppingme, Overlordz, RokLobsta
Wednesday, December 23rd, 2020, 00:53 UTC
[00:53:44] amessina (amessina!~amessina@unaffiliated/amessina) has quit (Quit: Konversation terminated!)
[01:05:26] amessina (amessina!~amessina@unaffiliated/amessina) has joined #mythtv
[01:15:29] amessina (amessina!~amessina@unaffiliated/amessina) has quit (Quit: Konversation terminated!)
[04:46:33] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 246 seconds)
[04:46:52] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[04:46:52] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth
[05:20:44] markspieth2 (markspieth2!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[05:20:44] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth2
[05:24:42] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 246 seconds)
[06:29:50] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[06:29:50] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth
[06:30:00] peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has quit (Quit: WeeChat 2.3)
[06:30:09] markspieth2 (markspieth2!~yaaic@mythtv/developer/markspieth) has quit (Ping timeout: 246 seconds)
[06:32:00] peterbennett (peterbennett!~pi@mythtv/developer/peterbennett) has joined #mythtv
[06:32:00] Mode for #mythtv by ChanServ!ChanServ@services. : +v peterbennett
[07:05:53] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has joined #mythtv
[07:05:54] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[07:09:28] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has quit (Read error: Connection reset by peer)
[07:09:38] markspieth (markspieth!~yaaic@mythtv/developer/markspieth) has joined #mythtv
[07:09:38] Mode for #mythtv by ChanServ!ChanServ@services. : +v markspieth
[08:24:20] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has joined #mythtv
[08:28:08] peper03: peterbennett, markspieth: The dependency on 28.0.3 appears (as far as I can tell) to be in qtbase/src/android/templates/build.gradle.
[08:28:32] peper03: There's also a dependency on SDK21 somewhere as it's trying to install that too but I'm not sure where that's coming from yet.
[08:43:27] blahdodo (blahdodo!~blahdodo@69.172.160.6) has quit (Quit: Bye bye)
[08:47:38] blahdodo (blahdodo!~blahdodo@69.172.160.6) has joined #mythtv
[08:53:55] markk_: markspieth: any hints on how to get windows build past ffmpeg? (trying to get this up and running on github)
[08:54:22] markk_: it buils ffmpeg ok – just fails at the linking stage (as I think you previously spotted)
[08:56:49] markk_: hampton: I added -Wweak-vtables to configure for testing last night. it throws quite a few warnings – but is also picking up on problems in qt includes; is there any way to avoid that?
[09:03:06] markspieth: markk_: I'm way past that. at libmythui. good progress today. i can post patches and build scripts if you want it before it builds completely. should build by the end of tomorrow if xmas doesnt distract me too much.
[09:05:05] markspieth: peper03: usung sdk23 mostly for now. hence 29.0.2 tools in use
[09:14:05] stuarta: markspieth: i look forward to seeing the updated android bits
[09:14:32] stuarta: once everyone is done i'll try to put together a build worker to run it regularly
[09:18:22] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has quit (Ping timeout: 256 seconds)
[09:19:57] peper03: markspieth: Do you mean passing 'SDK=23' to make rather than 'SDK=21'?
[09:21:40] markspieth: no android changes. all win build changes from me
[10:00:08] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has joined #mythtv
[10:01:01] markk_: markspieth: anything you can post would be much appreciated.
[10:04:11] markspieth: I'll push updates before bed. hopefully i haven't broken anything else
[10:09:03] peper03: Here is the Android build error when it can't find build-tools 28.0.3 and also cannot install it because of missing permissions – https://pastebin.com/1GaN12MN
[10:09:26] peper03: In this particular case, I had SDK28 installed with build-tools 29.0.2.
[10:11:23] peper03: The reason it can't install it is because the SDK was installed in the Docker container as root but the build runs as a different user so it can't write to the installation directory, but I think don't think that is the main problem.
[10:13:30] peper03: If the build process is quietly installing different versions, you won't normally notice unless you check the logs the first time. Every time after that, it will just quietly continue and the dependency becomes effectively invisble.
[10:18:02] peper03: And the dependency on SDK21 I mentioned before is whatever is passed on the command line (didn't know if it was coming from somewhere else). So having SDK29 installed (as in the readme) will not stop it trying to installed SDK21 if that's what you pass to make (also as instructed in the readme)
[10:21:12] stuarta: directory not writable
[10:21:16] stuarta: peper03: ^^^
[10:23:13] peper03: stuarta: Yes, I know. The point I'm trying to make is that regardless of which SDK you actually have installed and tell the build process to use, at least one part of it will go off and get a different version.
[10:24:43] peper03: Building it in the Docker container had just highlighted an issue that was maybe missed before.
[10:25:21] stuarta: ah right
[10:25:30] peper03: In the same way I found additional packages were required that aren't mentioned in the readme.
[10:26:56] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has quit (Ping timeout: 256 seconds)
[10:26:58] stuarta: be nice to get this cleaned up
[10:27:55] peper03: Yep. My problem is just that I don't really have any idea about the differences between SDK versions or inter-dependencies on NDK or build-tools, so I can't really say "this is what needs to be done".
[10:30:56] stuarta: afaik it's primarily tied to the target device
[10:31:32] stuarta: the amazon fire sticks need a really old version (iirc peterbennett is the expert here) and the nvidia shield devices can use much newer ones
[10:33:04] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has quit (Quit: Konversation terminated!)
[10:37:16] peper03: There's no reason why multiple Docker images couldn't be created with different SDK versions if it makes sense to have multiple build workers check everything builds cleanly with different versions.
[10:38:16] peper03: Obviously you could also have a single image with multiple SDKs installed but then you risk missing detecting implicit dependencies.
[10:39:47] peper03: If the SDK version to use is whatever is passed as a parameter, and that works, all that really needs to be done from that side is tidy up the main readme, which recommends installing SDK29 but running make with SDK=21.
[10:40:05] peper03: But I don't know about the build-tools dependency. That seems to come directly from QT.
[10:45:36] stuarta: indeed, multiple makes sense. and i think you are onto something, building containers to do the build worker job does actually make sense
[10:55:09] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has joined #mythtv
[11:14:31] markspieth: android has an sdk which supplies the tools and a min compatibility level and a target compatibility level.
[11:15:26] markspieth: build is 29. target is 23. min is 21. ndk is controlled too. currently at 20b i think.
[11:16:17] markspieth: or is target 21 and min 19. have to check.
[11:16:50] markspieth: build sdk 29 needs to use clang. gcc not supported
[11:17:51] markspieth: target is android 6. min supported is android 5.
[11:33:58] pppingme (pppingme!~pppingme@unaffiliated/pppingme) has quit (Ping timeout: 256 seconds)
[11:35:53] pppingme (pppingme!~pppingme@unaffiliated/pppingme) has joined #mythtv
[12:15:36] markspieth: added issue 293 nd an associated project. hopefully patches apply relatively cleanly
[12:15:52] markspieth: make to build libs
[12:16:17] markspieth: ./crossbuild.sh to build myth
[12:16:43] markspieth: haven't tested mxe patch yet.
[12:17:00] markspieth: ymmv :-)
[12:17:29] markspieth: no special prereqs
[12:20:52] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has quit (Ping timeout: 272 seconds)
[12:48:54] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has joined #mythtv
[13:30:24] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has joined #mythtv
[13:30:24] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[13:51:19] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has quit (Ping timeout: 246 seconds)
[13:54:55] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has joined #mythtv
[14:34:52] peterbennett: peper03: The NDK version is not related to the SDK version. SDK version matches up with the target android version. In order to support some older devices we can specify a lower minimum SDK version.
[14:36:06] peterbennett: peper03: The build tools are supposed to be downward compatible, so you could use a later version with a lower minimum SDK version to build something that runs on older or newer hardware.
[14:37:03] peper03: peterbennett: OK. I just created https://github.com/MythTV/packaging/issues/84 for tracking the build-tools issue.
[14:37:21] peper03: What normally tells the build process which version of build-tools to use? Just that gradle file?
[14:39:27] peterbennett: I think that should be it. I don't know if there may be other gradle files around, like in qt, that have something else
[14:40:13] peper03: QT certainly seems to specify 28.0.3
[14:40:49] peper03: If only 28.0.3 is installed, everything builds fine. If only a different version is installed, it tries to install it during the build process.
[14:40:56] peterbennett: From what you say it seems that the qt build automatically installs that, and I never noticed, it just happened.
[14:41:28] peper03: Yes. It was only really noticeable because it failed to install it.
[14:42:25] peper03: It seems like there is only that one gradle file unless you are aware of any others?
[14:43:57] peterbennett: I am not sure. I thought there may be on in qt somewhere.
[14:44:07] peper03: That's the one I mean.
[14:44:28] peper03: qtbase/src/android/templates/build.gradle
[14:44:50] peterbennett: Maybe we should just build with the one qt wants. That could change with newer versions of qt.
[14:46:30] peterbennett: It should be ok to build different parts with different tools versions, however all needs to be built with one ndk version (I think).
[14:46:55] stuarta: but is it wise?
[14:47:12] peterbennett: probably not
[14:47:30] stuarta: personally, it makes the most sense to me, if everything is built with the same tools against the same lib versions
[14:47:43] stuarta: else pain()
[14:48:17] peterbennett: peper03: Where does qt start looking for that 20 tools version? Is it in the library build or the mythtv build?
[14:48:40] peper03: peterbennett: mythtv
[14:51:53] peterbennett: looks like it is part of the packaging, I don't know what it is doing.
[14:53:00] peterbennett: I guess we need to dig into qt to understand it. Android packaging is rather mysterious
[14:55:05] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has quit (Ping timeout: 240 seconds)
[14:55:47] peterbennett: I believe Mark did a lot of work trying different versions to fine what works. Probably we should try and see if it will work using 28.0.3 throughout instead of 29.
[15:02:56] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has quit (Quit: Konversation terminated!)
[15:21:56] peper03: markspieth: Regarding the default installation directory of Android Studio, is it really 'Android'? If I download and unpack the archive, everything is in a directory called 'android-studio'.
[15:22:03] peper03: Maybe it used to be 'Android'?
[15:27:49] peper03: Or is the intention to have 'android-studio' as a sub-directory under 'Android' but then 'Android' is not a default but an arbitary name and we just need to settle on one name and use that consistently in the scripts and the readme?
[15:46:08] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has joined #mythtv
[16:13:00] stuarta: peper03: that's exactly what i was asking yesterday
[16:13:13] stuarta: it unpacks in android-studio, default install is to android
[16:13:30] stuarta: and then we seem to want a workdir called Android, which we symlink to android
[16:13:51] peterbennett: android-studio is under Android
[16:14:56] peterbennett: Under Android you get android-studio, Sdk and android-ndk which is a symlink to the ndk inside Sdk
[16:16:08] peterbennett: If you install android-studio directly in the home directory you may get Sdk and android-ndk also in there, so better to keep everything under $home/Android
[16:29:31] peper03: Just a moment because I think we can get lost if we're not careful and maybe I've got something wrong.
[16:29:56] peper03: If I unpack the archive, I get a sub-directory called 'android-studio'. There is no "installation process" as far as I can see of Android Studio.
[16:30:37] peper03: If I then start Studio and choose which SDK etc. I'd like to install, Studio will install that in $HOME/Android.
[16:31:19] peper03: But Studio itself is not installed in $HOME/Android unless I create that directory myself first and unpack the archive there.
[16:31:25] stuarta: peterbennett: that wasn't what i saw when I installed the bits last night
[16:49:01] stuarta: peper03: that's what i see too, once you start it up, and do the installation of the relevant sdk/ndk etc, they end up in ~/Android
[17:09:44] stuarta: right all, have a good christmas, i'm going offline for a week or so, see you in the new year
[17:09:56] stuarta: ps. my builders are all offline
[17:10:03] stuarta (stuarta!~stuarta@mythtv/developer/stuarta) has quit (Quit: leaving)
[17:11:01] peterbennett: OK I guess I unpacked it into Android. Sorry for the confusion
[17:24:44] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has quit (Ping timeout: 256 seconds)
[17:59:55] peper03: peterbennett: I would suggest for now we just change 'android' to 'Android' to remove the need for any additional symbolic link. Other stuff can be decided on at a later date. There's any number of ways things *could* be done.
[18:00:21] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has joined #mythtv
[18:00:47] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has joined #mythtv
[18:00:47] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[18:08:24] peterbennett: peper03: That sound fine.
[19:02:58] markspieth: agree
[19:03:44] markspieth: its been so long since I did it I don't remember any more
[19:05:07] markspieth: i use the install manager to select which tools sdks and ndks i install. this can be driven from the command line.
[19:05:36] markspieth: initial location of studio is idk
[19:09:25] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has quit (Ping timeout: 240 seconds)
[19:51:07] davic (davic!uid473656@gateway/web/irccloud.com/x-erapdxlxejlbsqgb) has joined #mythtv
[20:00:23] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has joined #mythtv
[20:09:05] mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cm788df7e75290.cpe.net.fido.ca) has quit (Remote host closed the connection)
[20:10:57] zbot (zbot!~supybot@2601:647:4802:4c3:222:4dff:fe51:6728) has quit (Remote host closed the connection)
[20:12:50] zbot (zbot!~supybot@2601:647:4802:4c3:222:4dff:fe51:6728) has joined #mythtv
[20:51:35] RokLobsta (RokLobsta!~Dirkka@180.150.57.22) has joined #mythtv
[21:18:36] markk_ (markk_!~mark@host86-183-79-211.range86-183.btcentralplus.com) has quit (Ping timeout: 240 seconds)
[21:23:36] mad_enz (mad_enz!~mad_enz@cpe00508b114c3e-cm788df7e75290.cpe.net.fido.ca) has joined #mythtv
[22:02:17] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7d83:6501:d1ff:6177:c50e:b4be) has quit (Quit: Konversation terminated!)
[23:15:46] ghoti_ is now known as ghoti

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.