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 now | 08:26 |
rinigus | have you tried it on PC? | 08:26 |
rinigus | note 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 broken | 08:28 |
T42 | <adampigg> can i use it to build releases for x amount of sailfish versions? | 08:28 |
rinigus | yes, you can. just specify targets in config.yaml | 08:28 |
rinigus | https://github.com/sailfishos-sony-tama/tbuilder-common/blob/main/config.yaml#L4 | 08:29 |
rinigus | those have to match your target at SDK | 08:29 |
rinigus | so, for many versions, just set up corresponding targets and you will be fine. "clean" targets are preferred - dependencies are pulled into created snapshot as needed | 08:30 |
rinigus | I documented the options at https://github.com/rinigus/tbuilder, please let me know if something is missing | 08: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 :D | 08: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 command | 08:38 |
T42 | <adampigg> rinigus: so, normally, sb2 targets wouldnt be named that way right? | 08:39 |
rinigus | so, 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 set | 08: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 match | 08:40 |
rinigus | what is the canonical way for you? | 08:40 |
T42 | <adampigg> yeah, ive seen them naned that way, guess it doesnt matter | 08:41 |
rinigus | we use it differently for ports, but that one is a good way to indicate a clean target | 08:42 |
T42 | <adampigg> yup | 08:42 |
rinigus | just don't forget to install `make` in SDK, not target. it has to be available from the same shell where you run sb2/mb2 | 08:43 |
T42 | <adampigg> i guess if you got it running on a ci, id have no complaints | 08:43 |
rinigus | re jolla breaking obs: that works. as aarch64 is not available @ obs, I wrote tbuidler | 08: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.3 | 08:45 |
rinigus | that's on OBS, right? I have seen that weird error on your link few days ago | 08:45 |
T42 | <adampigg> yeah | 08:46 |
T42 | <adampigg> needed because of calendar package changes in 4.1 | 08:46 |
T42 | <adampigg> ironically, was a sailor who made the pr :D | 08:47 |
rinigus | @adampigg chance that it is sailor breaking something is quite big. As they do the most... | 08:55 |
rinigus | ... breaking | 08:55 |
rinigus | If 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 restricting | 08:57 |
T42 | <adampigg> well, i will try and do a simple amazfish build with it tonight | 08:58 |
rinigus | Great, I hope it all works :) | 09:02 |
Thaodan | @adampigg: It could be that it worked in the internal obs | 10:55 |
*** Sellerie4 is now known as Sellerie | 12:29 | |
T42 | <b100dian> > you probably have partition mounted with nodev or nosuid which cause issue | 13:02 |
T42 | <b100dian> That was exactly the last thing for my build to get back 'on track', thanks @elros34 ! | 13:02 |
rinigus | I 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 redirects | 13:34 |
rinigus | ideally, should have some permanent url for packages distribution that is just redirected to the current cloud provider. | 13:35 |
rinigus | in case, if it has to be changed. | 13:35 |
Thaodan | Is that free? | 13:55 |
rinigus | Thaodan: pretty much: 75GB per month (storing 75GB and serving 75GB) | 13:59 |
rinigus | so, for packages, it should be all fine. | 14:01 |
rinigus | they have a nice feature - bucket to website which pretty much is exactly what is needed. | 14:04 |
rinigus | I wonder if jolla would be OK to setup redirects from sailfishos.org for each port? that we can later ask to change if needed | 14:05 |
rinigus | or maybe there is a service somewhere that we could use for it. | 14:07 |
T42 | alejandropietra was added by: alejandropietra | 15:38 |
T42 | <alejandropietra> hello! someone knows if there is any port for the tablet asus nexus 2012 | 15: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 obs | 15: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 grouper | 16:15 |
rinigus | Don't know. If you wish to work on it and Android based is not too old | 16:21 |
rinigus | But I suspect it would make more sense to work on more recent device | 16:21 |
T42 | <alejandropietra> @rinigus [But I suspect it would make more sense to work …], it's the sad reality | 16:41 |
T42 | <b100dian> unfortunately nexus 7 grouper port was based on Cyanogen and the links don't work anymore | 16: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 w | 16:59 |
T42 | ould 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 grouper | 17:36 |
rinigus | Thaodan: 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 manually | 19:02 |
rinigus | so, I pushed repo url into configs | 19:03 |
rinigus | when testing, looks like ssu cache did not remove old features.d even if it disappeared from /usr/share/ssu | 19:04 |
rinigus | I 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 later | 19:31 |
piggz | rinigus: trying tbuilder .. its never simple! https://paste.mozilla.org/hENLXRH0 | 19:54 |
T42 | <elros34> any chance you upgrade/install something in platform sdk? I think you should not have busybox version of grep installed | 20:09 |
piggz | that fixed it | 20:14 |
rinigus | piggz: yeah, that was not on tbuilder :) | 20:27 |
piggz | weird how busybox grep isnt all tha compatible | 20:28 |
piggz | rinigus: so, in theory, its now building amazfish for 3 targets | 20:29 |
rinigus | piggz: 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 it | 20:30 |
piggz | rinigus: and it failed :D | 20:31 |
rinigus | bring it on | 20:31 |
piggz | oh, its ok, i need to add the obs repo with my kf5 packages | 20:32 |
rinigus | but with the missing dependencies, it should have not started to build it | 20:33 |
piggz | it didnt | 20:33 |
rinigus | success then :) | 20:33 |
piggz | - harbour-amazfish(spec/harbour-amazfish.spec) has missing dependencies: kdb-devel >= 3.1.0 kcoreaddons-devel >= 5.31.0 | 20: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 stuck | 20:38 |
rinigus | but well, not big deal for now | 20:39 |
T42 | <elros34> you are right, ssu ur doesn't help for me too even if I remove *.ini file | 20:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!