Sunday, 2021-05-02

T42<adampigg> rinigus: could tbuilder work on either github/gitlab ci systems?08:25
rinigus@adampigg: good question. I think it should, but I have not tried. it is mainly a guess right now08:26
rinigushave you tried it on PC?08:26
rinigusnote that https://github.com/sailfishos-sony-tama/tbuilder-common will work without hal packages and could be used for testing.08:27
T42<adampigg> not yet, busy times!08:27
rinigus:)08:27
T42<adampigg> i may have to use it for amazfish, as obs ir broken08:28
T42<adampigg> can i use it to build releases for x amount of sailfish versions?08:28
rinigusyes, you can. just specify targets in config.yaml08:28
rinigushttps://github.com/sailfishos-sony-tama/tbuilder-common/blob/main/config.yaml#L408:29
rinigusthose have to match your target at SDK08:29
rinigusso, for many versions, just set up corresponding targets and you will be fine. "clean" targets are preferred - dependencies are pulled into created snapshot as needed08:30
rinigusI documented the options at https://github.com/rinigus/tbuilder, please let me know if something is missing08:31
T42<adampigg> targets must already exist in local sb2?08:32
T42<adampigg> i think the jolla plan is to slowly break obs for me until i switch :D08:33
rinigus@adampigg: re targets - yes, they have to be there. sb2 is recommended - it is faster than sfdk as it is probably avoiding one ssh for each command08:38
T42<adampigg> rinigus: so, normally, sb2 targets wouldnt be named that way right?08:39
rinigusso, just ssh into your sdk , use sdk-assistant to install targets, install `make` in SDK itself (as someone managed to miss that) and you should be all set08:39
rinigus@adampigg: not sure. I think it was taken from some example and I have them that way. but you could use some other way as well. it doesn't matter, as long as they match08:40
riniguswhat is the canonical way for you?08:40
T42<adampigg> yeah, ive seen them naned that way, guess it doesnt matter08:41
riniguswe use it differently for ports, but that one is a good way to indicate a clean target08:42
T42<adampigg> yup08:42
rinigusjust don't forget to install `make` in SDK, not target. it has to be available from the same shell where you run sb2/mb208:43
T42<adampigg> i guess if you got it running on a ci, id have no complaints08:43
rinigusre jolla breaking obs: that works. as aarch64 is not available @ obs, I wrote tbuidler08:44
rinigus@adampigg: let's make sure it all works on PC. then maybe someone else can look into CI?08:44
T42<adampigg> i have a weird amazfish issue, wher adding "preinstall: sailfish-version" to project config breaks all builds except 3.308:45
rinigusthat's on OBS, right? I have seen that weird error on your link few days ago08:45
T42<adampigg> yeah08:46
T42<adampigg> needed because of calendar package changes in 4.108:46
T42<adampigg> ironically, was a sailor who made the pr :D08:47
rinigus@adampigg chance that it is sailor breaking something is quite big. As they do the most...08:55
rinigus... breaking08:55
rinigusIf you find something missing, we can always make tbuilder smarter. Right now it applies macros and other options to all targets. Maybe it is a bit restricting08:57
T42<adampigg> well, i will try and do a simple amazfish build with it tonight08:58
rinigusGreat, I hope it all works :)09:02
Thaodan@adampigg: It could be that it worked in the internal obs10:55
*** Sellerie4 is now known as Sellerie12:29
T42<b100dian> > you probably have partition mounted with nodev or nosuid which cause issue13:02
T42<b100dian> That was exactly the last thing for my build to get back 'on track', thanks @elros34 !13:02
rinigusI am close to get working port packages distribution via scw.cloud. only https://sailfishos-sony-tama.github.io redirects to http (not https!). which seems to be a bug in github pages redirects13:34
rinigusideally, should have some permanent url for packages distribution that is just redirected to the current cloud provider.13:35
rinigusin case, if it has to be changed.13:35
ThaodanIs that free?13:55
rinigusThaodan: pretty much: 75GB per month (storing 75GB and serving 75GB)13:59
rinigusso, for packages, it should be all fine.14:01
rinigusthey have a nice feature - bucket to website which pretty much is exactly what is needed.14:04
rinigusI wonder if jolla would be OK to setup redirects from sailfishos.org for each port? that we can later ask to change if needed14:05
rinigusor maybe there is a service somewhere that we could use for it.14:07
T42alejandropietra was added by: alejandropietra15:38
T42<alejandropietra> hello! someone knows if there is any port for the tablet asus nexus 201215:41
T42<adampigg> @Thaodan [@adampigg: It could be that it worked in the i …], no, he was just doing local builds, where it works fine ... issues startef with obs15:42
T42<alejandropietra> @rinigus [mal: looks like this fixed it, thank you! will …], hello, any news for nexus grouper?15:57
rinigus@alejandropietra No, not really.15:59
T42<alejandropietra> @rinigus [@alejandropietra No, not really.], is it possible to make a port?16:01
T42<b100dian> There definitely used to be one for sfos 2.x on tilapia or grouper16:15
rinigusDon't know. If you wish to work on it and Android based is not too old16:21
rinigusBut I suspect it would make more sense to work on more recent device16:21
T42<alejandropietra> @rinigus [But I suspect it would make more sense to work …], it's the sad reality16:41
T42<b100dian> unfortunately nexus 7 grouper port was based on Cyanogen and the links don't work anymore16:57
T42<b100dian> I used that port a long long time ago and it was saiflish 2 and nothing spectacular on a tablet... Plus, that piece of hardware has built-in obsolence, something along the lines of this article https://appleinsider.com/articles/13/06/18/googles-nexus-7-tablets-dying-early-possibly-due-to-cheap-memory which I experienced myself so I w16:59
T42ould not recommend any time investment in this.. :(16:59
T42<alejandropietra> @b100dian [I used that port a long long time ago and it w …], ok, postmarketOS works very well in the nexus 7 grouper17:36
rinigusThaodan: probably redirect is an overkill. looks like zypper will go with every request to the original URL and then get redirected. if it will be needed to change repo url, it should be possible to propagate via config rpm update or, in the worse case, ask users to change it manually19:02
rinigusso, I pushed repo url into configs19:03
riniguswhen testing, looks like ssu cache did not remove old features.d even if it disappeared from /usr/share/ssu19:04
rinigusI wonder whether there are some commands to reset ssu caches and refresh zypper repo lists? just removing ssu cache, helped with the later ssu lr, but old repo was still there in zypper.19:05
T42<elros34> ssu updaterepos?19:22
rinigus@elros34, thanks! Will test it bit later19:31
piggzrinigus: trying tbuilder .. its never simple! https://paste.mozilla.org/hENLXRH019:54
T42<elros34> any chance you upgrade/install something in platform sdk? I think you should not have busybox version of grep installed20:09
piggzthat fixed it20:14
riniguspiggz: yeah, that was not on tbuilder :)20:27
piggzweird how busybox grep isnt all tha compatible20:28
piggzrinigus: so, in theory, its now building amazfish for 3 targets20:29
riniguspiggz: you can follow the log and see how it goes. it will stop as soon as something fails, as it is expected you want to fix it20:30
piggzrinigus: and it failed :D20:31
rinigusbring it on20:31
piggzoh, its ok, i need to add the obs repo with my kf5 packages20:32
rinigusbut with the missing dependencies, it should have not started to build it20:33
piggzit didnt20:33
rinigussuccess then :)20:33
piggz- harbour-amazfish(spec/harbour-amazfish.spec) has missing dependencies: kdb-devel >= 3.1.0 kcoreaddons-devel >= 5.31.020:33
rinigus@elros34: looked into the history and I did try ssu ur. but one of the repos was defined under features.d and got removed with the update. so, that one got stuck20:38
rinigusbut well, not big deal for now20:39
T42<elros34> you are right, ssu ur doesn't help for me too even if I remove *.ini file20:56

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!