Tuesday, 2021-04-20

rinigusmorning! I have managed now to build the port packages and make an image out of them using tbuilder.06:27
rinigusannouncement at https://forum.sailfishos.org/t/automated-build-system-to-handle-multiple-packages/5828/1106:28
rinigusanyone wishing to try? piggz or someone else?06:28
piggzrinigus: what should i try ... a build for pro1?07:10
piggzspiiroin: lets talk about mce :)07:11
riniguspiggz: could be good. for start just one-two packages and see if it works. for example, libhybris and having droid-hal packages used for it07:12
rinigusbut I guess it will become more interesting if you work on something not supported by OBS07:12
rinigusas building something for aarch6407:13
piggzrinigus: maybe in the future, if i get a pro1x to port ... but i dont ahve that ... and that will be 64 from start07:13
piggzhavnt dont a 64bit pro1 tho07:13
riniguspiggz: Amazfish for aarch64?07:14
rinigusbut indeed, it is most interesting to try when you actually need it07:15
piggzrinigus: ah, not only ports .. apps too?07:15
riniguspiggz: anything that needs multiple packages. I have now maps for aarch64 built that way07:16
piggzrinigus: for the KF5 packages i build on OBS ... i use the release tarballs from KDE + a spec uploaded to OBS ... can i do the same?08:32
riniguspiggz: yes, you can. just unpack tarball and add spec under `rpm` subfolder of it.08:33
rinigusnext, add symlink to that spec in spec subfolder.08:34
rinigusthis positioning is needed for tbuilder to figure out where are your sources and how to compile them08:34
rinigussources are expected to be in the folder that is a level above the location where spec/abc.spec symlink points08:35
rinigusif you look into tama project then you will see how the symlinks are organized against sorces. note that sources can be almost anywhere on PC, as long as SDK can get there08:36
riniguspiggz: ^08:36
piggzthx08:41
T42<A_T_R> HABUILD_SDK [x00td] atr@atr-DL-G41MXE:~/hadk$ repo init -u git://github.com/mer-hybris/android.git -b hybris-17.109:57
T42<A_T_R> bash: repo: command not found09:57
T42<A_T_R> @A_T_R [HABUILD_SDK [x00td] atr@atr-DL-G41MXE:~/hadk$ …], what is the fix for this ..( i forgot how i was built hybris-16.0 before )09:59
rinigusinstall repo10:00
T42<A_T_R> sudo apt install repo10:01
T42<A_T_R> Reading package lists... Done10:01
T42<A_T_R> Building dependency tree10:01
T42<A_T_R> Reading state information... Done10:01
T42<A_T_R> E: Unable to locate package repo10:01
T42<A_T_R> or i should initialise repo on host machine ?10:03
rinigusYou can do it on the host or in SDK. I'm sure it was documented in porters guide10:09
T42<zinstack625> Repo uses python3, you can either find an old version for python2 and use that anywhere you like, or do everything repo-related on host10:27
T42<zinstack625> I prefer the latter, personally10:28
T42<A_T_R> okey i will do it my host (focal )10:31
rinigusI have an issue with droid-hal-xxx-img-boot building. it is summarized at https://github.com/sailfishos-sony-tama/tbuilder-project#issues-with-droid-hal-xxx-img-boot18:20
rinigusany ideas on how to work around it? so far, considering just removing old RPM before building new.18:20
rinigusor maybe should lock kernel-modules package using zypper?18:22
rinigushmm, locking will not help as then droid-hal-version will need to have it removed.18:33
deathmist_mal: have you experienced sensorfwd hanging the shutdown process as it doesn't listed to SIGTERM? I for example decided to add https://github.com/sailfishos-oneplus5/droid-config-cheeseburger/commit/3622495 to my port to avoid this extra wait19:29
deathmist_s/listed/listen/19:29
maldeathmist_: I don't remember seeing that but I haven't checked shutdown timings much19:29
maldeathmist_: I think I have seen on some devices at least that shutdown does take quite a long time but never checked why it happens19:31
maldeathmist_: sensorfw should be listening to SIGTERM https://git.sailfishos.org/mer-core/sensorfw/blob/master/sensord/main.cpp19:34
T42<elros34> only on 4.0.1? Is there any chance you use busybox ash instead gnu-bash? I was reporting long time ago at #sailfishos some strange error that busybox caused qprocess hang (there was no finished signal). Maybe this is similar19:44
deathmist_@elros34 I indeed noticed bash was completely absent from userspace20:22
T42<elros34> since 4.0.1 busybox bash/ash, ps, pidof maybe more are installed by default20:23

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