Friday, 2020-08-21

T42<adampigg> @ankaos [Call fix. But call sound not fix], Whats wrong with call sound?04:47
T42<ankaos> Send logcat log04:47
T42司马智款 %lastname% was added by: 司马智款 %lastname%09:13
Mister_Magistermal: will you be doing this reconfiguration thingy in gst-droid?11:43
malmaybe at some point11:44
Mister_Magisteralso mal r0kk3rz abranson https://github.com/r0kk3rz/gstdroid-player/blob/master/src/renderernemo.cpp#L127 this eglGetCurrentDisplay seems to not work. Interestingly enough on r0kk3rz's phone videos do play even with that error but here they dont11:45
Mister_Magistermal: so nowhere soon, ok11:45
T42<adampigg> Erm whaaaaat? Obs is going? ???13:05
rinigus@adampigg: good morning to you too13:08
rinigus:)13:08
T42<adampigg> Rinigus: i was on holiday for few hours and this happens???13:09
T42<adampigg> (Photo, 2560x1920) https://irc.thaodan.de/.imgstore/nvY16I1ZyS.png13:09
rinigus@adampigg: pretty much all is collapsing over here13:10
rinigus... now just imagine the news tomorrow, after your holiday has clocked 24h13:10
T42<adampigg> I dont get it, obs does so much13:10
rinigusvoice your concerns over here and on forum13:11
T42<adampigg> Do they.want us to stop porting?13:11
T42<adampigg> Mal, what gives? :(13:12
Mister_Magister@adampigg money13:12
rinigushard to say what they want. cost maybe a factor, but I am waiting now for response to the corresponding questions in forum13:13
Mister_Magisterit all comes to money13:13
T42<kabouik> Please share the links when there is a thread about it so users can voice concerns too13:13
rinigusKabouik: the discussion is in the announcement thread already13:13
rinigusiff it is about money (lack of personnel is money as well) then question is how much does it cost per month?13:15
rinigusif they start reducing costs for some small amounts, it all either tells that sfos boat is on a proper rocks or Jolla mngmt doesn't really care about community devs13:16
vknechtanother question could be: can the whole obs config/setup be shared so community can setup its own instance ?13:16
malrunning a service is not just the server cost, also people need the maintain it13:16
rinigusmal: maintaining is a part of a cost, probably the main one13:17
rinigus(I mean costs for admin salary)13:18
T42<adampigg> Is there any alternative proposed?13:19
rinigus@adampigg: not in https://forum.sailfishos.org/t/changes-needed-to-merge-the-project-names-to-sailfish-os/167213:20
rinigusbut I wonder if we can move all to suse obs13:20
malthere is PR to enable using self-hosted repos in ports13:21
T42<adampigg> Yeah,.or something like gitlab ci?13:21
rinigusyou need to have rpm repo for hosting. otherwise ota will not work13:22
rinigusso, doesn't look like gitlab ci is good for it. unless I am missing something13:22
rinigusmal: self-hosting is part of equation. building is another13:22
malrpm repo is a simple thing, it's self-contained13:22
maljust a folder with proper content13:23
malyes, building adaptations is a separate thing13:23
T42<adampigg> Yeah...we'd have to fund it ourself i guess...i have a vps, but its the cheapest of cheap, build may take ages13:23
rinigusmal: hosting on a server somewhere. so, assuming it is going to happen - we are going now  to be responsible for shipping those rpms as well13:24
rinigusmal: as for building, it is not just ports. my maps apps have 17 packages in corresponding projects. so, on every sfos update, I have to figure out how to rebuild it all13:25
rinigusso, apps are suffering as well13:26
rinigusbtw, all is presented as "Changes needed to merge the project names to Sailfish OS"13:27
malrinigus: full rebuild is actually not that complicated thing to do, just a new target to platform sdk, then something like a script to run needed commands and copy rpms to local repo like build_packages.sh does, then copying rpms from there13:27
rinigus(side comment regarding amazing PR skills, sorry for outburst)13:28
rinigusmal: sure, all these rebuilds and starting new projects are doable. we will just start wasting our time on something that was way better before13:28
rinigus(read now)13:29
rinigusI think some proper replacement would be needed. and question is what are our options?13:30
riniguswe are way better as a community if we have a build service and repo distribution scheme we can rely upon13:30
T42<adampigg> I fear people just wont bother13:32
T42<kabouik> ^13:33
rinigus@adampigg: please expand/explain - 'wont bother'?13:35
vknechtswitch to mainline linux, and native nemo ? :-)13:36
T42<adampigg> Means too much effort,.so wont do it13:37
rinigus@adampigg: on local PCs?13:37
rinigusvknecht: it surely makes you consider the options, that's clear. as any significant change that hinders the progress13:39
T42<adampigg> Rinigus: too much effort to have 1) all the build targets 2) host packages13:39
T42<adampigg> Yes, its.much more effort on local pc's13:39
rinigus@adampigg: I agree13:40
rinigusso, let's see if we can come up with some proper alternative. assuming that they will pull the plug13:40
T42<eugenio_g7> Real bummer 😥13:40
T42<eugenio_g7> I think the biggest issue is where to host repositories, rather than how to build (since that both gitlab and github provide enough resources for foss projects)13:42
T42<adampigg> Will jolla still build and host the common and native-common repos?13:42
T42<adampigg> Could we make use of any other obs providers?13:44
T42<eugenio_g7> And this is also bad news for nemo, not only sfos ports :|13:45
rinigus@adampigg: maybe we can use openSUSE OBS. don't know what fedora is using13:51
rinigusbut we need to make a list and start looking into it. again, assuming that it is happening and they don't decide to continue with obs13:52
T42<adampigg> Maybe its as simple as adding the tatgets to suse obs, not sure13:52
rinigusmaybe.13:54
rinigusquestion is how to pull sailfish proprietary bits into these targets13:54
malrinigus: what do you mean?13:55
rinigusmal: I assume we cannot fully build apps and adaptations without sailfish bits that are distributed through Jolla's repos13:56
rinigus(stress on "assume")13:56
maldo you mean that system cannot download those automatically when needed?13:57
T42<adampigg> The way i saw things, sailfishos ports increased the jolla ecosystem, in return for that, jolla faciltated the ports by providing services such as obs13:58
malI know that OBS doesn't allow network access during build stage but does it still fetch those when setting up dependencies13:58
rinigusmal: I don't know OBS enough to state it with the confidence. from examples I have seen so far, OBS repos added as dependencies are internal to that OBS13:59
rinigusnot sure I can add as a repo something like https://...13:59
malrinigus: I wasn't talking about dependencies like that, I mean in the target14:00
rinigusmal: in the lines of config like <path project="sailfishos:latest" repository="latest_i486"/>14:00
rinigus@adampigg: that is probably true. also leading to initiative of users of the port to develop native apps14:01
rinigusmal: not sure if I understand "target" - getting rusty with the terms. but does my concern regarding project dependency make sense?14:02
malrinigus: we are talking about different level of target14:03
malrinigus: target as in the base target, like this and subprojects https://build.sailfishos.org/project/show/sailfishos:3.3.0.1614:03
malthat is initialized other ways14:04
malby the maintainer of OBS14:04
T42<adampigg> Mal: so, what would your solution be for example.fp2 port packages?14:04
malI can always host those on my server, I have 100/100 MB connection without any transfer quota and enough space14:05
T42<adampigg> Yes, so we would need obs maintainer to add the sfos targets14:05
T42<adampigg> And you would just build locally?14:06
malI probably would setup some local build system for automated builds14:06
rinigusmal: if you say that we need maintainer to initialize OBS, that is not going to happen on openSUSE14:06
malrinigus: I have no idea how openSUSE OBS handles setting up distro targets there14:07
rinigusmal: me neither.14:07
malor would they even want to host a partially closed-source distro targets14:08
T42<adampigg> For myself,.i have a laptop, and i do limited builds locally, so will.be quite a disruption14:08
mal@adampigg I have machine mostly for building, I updated the hardware to make local builds faster14:08
rinigusmal: but if we take NeoChapay nemo setup as an example. I don't think he is using any sfos targets, but compiles all in place14:09
riniguswith dependencies propagating nicely14:09
rinigusside note - would be major distraction for me as well to start building it locally14:09
rinigusmal: how sure is that obs shutdown?14:10
mal@adampigg my build machine is quad-core i5 with 16 GB of RAM and several terabytes of disk space14:10
kalubeThere's a lot of stuff that seems everyone needs to build themselves on OBS, that could maybe be more common14:11
kalubeThere's also the fact that op5 and 6 for example have a lot of common packages that we both need to build, like touch screen gesture daemon and tri-state switch stuff14:11
T42<adampigg> Mal, contrast that with 8gb/1tb core i514:11
kalubeYou guys should check out how postmarketOS manage their stuff, perhaps a lot of it could translate over14:12
kalubelike not having individual repos per device14:12
malkalube: do they have some build system14:12
kalubemal: postmarketOS are alpine linux based so they have a single repo and a pmaports repo on gitlab, all pmaports packages get built and hosted by them14:13
kalubepmaports include device kernels and every part of their system14:13
kalubeThey used to host halium stuff too but they don't anymore14:14
kalubein sailfish the kernel and such are just chucked in with droid-hal most of the time where they could be a separate package.14:14
kalubehttp://build.postmarketos.org/14:17
kalubeimo gitlab CI + a central repo makes sense because anyone can fork the repo, add packages for their device and go through CI, style checks etc before getting accepted into the repo.14:18
T42<adampigg> I see one outcome, inconsistency14:18
kalube@adampigg how do you mean?14:18
T42<adampigg> Porters doing things differently14:20
rinigusI presume that is regarding local builds and distributing from garage14:20
T42<adampigg> Yes....hopefully we can.come up with something.consistent14:22
kalubeSurely consistency would come with style checking and manual review?14:22
T42<adampigg> I mean consistency in build and.distibution method14:23
T42<adampigg> We are already looking at options for CI, but mal content with building and hosting locally14:24
kalubeAh right14:25
mal@adampigg considering that I haven't even used the community image build system yet14:26
malI have shared the images from my own server14:26
Mister_Magisterabout loosing OTA https://forum.sailfishos.org/t/changes-needed-to-merge-the-project-names-to-sailfish-os/1672/11?u=mister_magister14:28
Mister_Magisteropenrepos for rescue14:28
T42<adampigg> Maybe it will be sorted by the time my holiday is finished,.so i wont have to worry about it :D14:36
Mister_Magister@adampigg hosting ota is resolved, building packages is separate thing14:38
T42<adampigg> What is funding situation for openrepos?14:39
T42<adampigg> Kabouik articulated it well14:41
kalubeI'm pretty certain gitlab CI is free, at least for all the building sailfish would need14:43
T42<adampigg> Yeah, maybe.we can build something around it with auto upload to obs... Rinigus tama port has auto upload of the artifacts iirc14:45
kalubeThat would be good, then through gitlab you get consistent packaging, packages get built and uploaded to OBS where any device can update to them14:47
T42<adampigg> S/openrepos14:48
kalubeI was looking into how the stock sailfish updates page works - it doesn't seem to hard to make it work for community devices14:49
T42<kabouik> @adampigg [What is funding situation for openrepos?], Curious about that too14:49
kalubeWould hosting on openrepos mean you lose the niceness of just using zypper and suse's existing package/dependency system?14:50
T42<kabouik> Doesn't openrepos support installing dependencies already, as long as the corresponding reopsitories are enabled? This is from an single rpm point of view, it may be different for ports and lists of packages.14:54
kalubeI don't think it makes sense to have repos per device14:55
kalubeIt should be possible to just update with zypper too right? Cuz issues will arise and not being able to resolve them in a terminal is no fun14:56
rinigusI still think we have to look for something as automatic as possible. let's look around and discuss. I don't see how CI + openrepos will automatically rebuild all packages that had one dependency updated, for example15:00
Mister_Magisterr0kk3rz: any idea why playback woul be not working? i don't think the egl is reason anymore15:04
Mister_Magisteror maybe it is idk15:04
Mister_Magister@kabouik hosting on openrepos doesn't have any drawbacks, you just need to upload packages15:05
Mister_Magisterthey resolve normally you have normal repos everything is same15:05
T42<kabouik> ^ @kalube I presume15:06
Mister_Magisterno, you15:06
Mister_Magisterboth of you tbh15:06
T42* kabouik blushes15:06
Mister_Magisterye kalube15:07
Mister_Magistersorry15:07
kaluberinigus: might be worth asking the postmarketOS folks, if needed you could add a hook in CI to trigger packages that depend on the package being built to also rebuild but surely if a library gets rebuilt you wouldn't also need to rebuild the package using it, and surely there aren't that many cases of build deps where it could be an issue15:09
Mister_Magisteron openrepos as user you have your own repo and everything you put in there will be working like obs repo15:09
kalubeI really think it's worth moving away from a per device repo15:10
kalubeit has no benefits that I can see15:10
kalubeIt's just a cheap way to have packages that need per-device changes work15:10
Mister_Magisteri more and more thing it's worth moving away from sfos15:12
Mister_Magisterbecause of what jolla is doing15:12
Mister_Magisterlet's switch to nemo :D15:12
kalubewhat's nemo?15:12
Mister_Magisterbut first lets do what jolla should do from beginning. switch nemo  to opensuse base. if jolla just used upstream packages it would be way better15:12
kalube¯\_(ツ)_/¯ I'm gonna wait for glacier UX to hit postmarketOS, get a hybris build going and go to alpine15:13
kalubeIf anything15:14
kalubedon't see why you'd go to opensuse15:14
Mister_Magister glacier is ugly as shit but i could freely remake entire gui15:14
Mister_Magisterkalube: obs15:14
Mister_Magisterand opensuse ftw15:15
kalubeOBS is not a very good system15:15
kalubeMaking an MR on gitlab and then just having your stuff be available is a nice system15:16
T42<edp_17> Bummer, I just have completed the OBS stuff for my port and requested the "patternisation". 😳 And now I read the announcement. 😔15:16
Mister_Magisterkalube: imo OBS is great15:16
kalube@edp_17 me too, my goal was to not have to worry about sfos stuff again other than to update to new versions15:16
kalubeMister_Magister: your opinion isn't gonna build a good system for the community15:17
Mister_Magister¯\_(ツ)_/¯15:17
Mister_Magisterobs worked fine so far15:17
kalubeThe porting/building process for postmarketOS compared to sailfish is night and day15:18
kalubeOBS isn't really the problem, it's the whole process that needs improving15:19
T42<edp_17> @kalube : Yeah, I wanted to be able to do OTAs and now this seems utopian anymore. I hope the guys who understand OBS better will come up with a viable option.15:19
kalubeI will say that having to learn a whole new tool just to get obs working is not the way, if gitlab ci just pushed to obs that would be fine but having to locally build RPMs and then upload is a hack15:20
T42<edp_17> Do we know a due date for this decommissioning the OBS action?15:20
Mister_Magisterpostmarket os isn't really an os15:21
T42<edp_17> @kalube : I agree, if we need to upload all packages, that is like going back to the '80s.15:22
Mister_Magisteryou can have opensuse on postmarketos which is obs15:22
kalubeMister_Magister: I don't see your point? It's an alpine fork with a repo full of packages to make mobile devices run Linux in a usable fashion15:23
Mister_Magisterehh15:24
kalubeIt's a clean open system that anyone can expand upon and that's what makes it so great15:24
Mister_Magisteron second hand android devs don't have place like obs either and they're fine. imo thanks to basil with openre\pos it will be fine just bit of pita15:27
T42<kabouik> Android devs have much bigger incentive for staying on Android if they even like it, because the audience is huge15:28
T42<kabouik> Also they don't have the OTA issue, do they?15:29
kalubeFor android 9+ at least, a ubports GSI style approach means a max of like 2 repos to have a device up and running - kernel repo and some device specific patches if needed15:30
Mister_Magister@kabouik cause they don't have ota xd15:30
Mister_Magisterbut with openrepos ota will be fine15:30
kalubee.g. to get ubuntu touch working with basically everything working a few things needed to be patches in the "GSI", then I just compile a halium friendly kernel and boot15:30
T42<kabouik> Yeah that's my point, although I admit I don't know how it works for them15:31
riniguskalube: (re libraries) on sfos, we frequently build static the last app. so, it is sometimes needed to rebuild it all15:59
baloonhi, my device is not booting, but i can connect via telnet, how can i take a log?16:03
malwhich telnet do you use16:04
malwhich port that is16:04
malthere are 23 and 232316:05
baloon232316:05
malbaloon: so pastebin output of "journalctl -b --no-pager"16:06
balooni don't know if you remeber me, but i'm trying to build for Z00L, i didn't read the part where i needed the same android base as stock, now i built using cm1316:07
malok16:07
malbaloon: no, you don't have to have same android base as the device stock android, any working lineageos base is ok16:07
kaluberinigus: I see, in that particular case it should be pretty feasible to have a rebuild be triggered, like by having an extra file in the package that lists packages that should be rebuilt after it is done16:08
malso if you have some working lineageos for the device you can use the same version as base16:08
malbaloon: so assuming your device would have for example lineageos-15.1 base then you can use hybris-15.1 branch in repo init16:09
baloonoh, k16:10
baloonbaloon https://pastebin.ubuntu.com/p/bdNPBGGVKT/16:10
malbaloon: usually newer bases are better, currently newest we support is lineageos 16.016:10
balooncan you please take a look?16:10
malget output of command /usr/libexec/droid-hybris/system/bin/logcat16:13
riniguslooks like obs opensuse obs has armv7l workers.16:18
baloonmal https://pastebin.ubuntu.com/p/rcZ9rcm6RY/16:18
malbaloon: try running "EGL_PLATFORM=hwcomposer test_hwcomposer"16:21
baloonEGL_PLATFORM=hwcomposer test_hwcomposercannot locate symbol "" referenced by "/usr/libexec/droid-hybris/system/lib/libdsyscalls.so"...Segmentation fault16:22
malvery strange16:27
balooncan it be related to selinux? when i manually restart the device it goes straight to twrp16:30
T42<elros34> grep -i clang in $ANDROID_ROOT/device16:32
mal@elros34 ah, now I remember that16:37
malbaloon: https://github.com/mer-hybris/hadk-faq#libdsyscalls-is-cause-of-segfault-after-lipstick-or-minimer16:41
baloonOh, so how can i do this?16:42
mal@elros34 can you help him, I need to go16:54
baloonok, i'm doing grep clang on /device folder16:55
T42<elros34> ok, baloon just run grep -ri clang $ANDROID_ROOT/device and disable it if it's enabled16:56
T42<elros34> after you disable it I think you only need to "make libdsyscalls" in HABUILD. If it builds new *.so then you can copy it to device16:59
baloonis grep always this slow? Geeze17:10
T42<elros34> it should be pretty fast, like few seconds17:12
baloonlol, i restarted it and now its done17:13
baloonasus/msm8916-common/gps/utils/Android.mk:LOCAL_CLANG := falseasus/msm8916-common/BoardConfigCommon.mk:# Clangasus/msm8916-common/BoardConfigCommon.mk:USE_CLANG_PLATFORM_BUILD := true17:13
T42<elros34> USE_CLANG_PLATFORM_BUILD := false should help17:15
baloonok, so i disable clang in boardconfig, make libdsyscall, and then i can run build packages, right?17:15
T42<adampigg> Rinigus: regarding your last comment, its already available as build.sailfishos.org, so, its not really about merging17:16
rinigus@adampigg: :-)17:16
T42<elros34> baloon: you only need to build droid-hal package so build_packages.sh --droid-hal but first confirm that lib builds then you can just copy it to device in /usr/libexec/droid-hybris/system/lib/17:16
T42<elros34> obviously after 'make'17:17
baloonT42 just wanted to say thanks, i managed to make it boot, the only things that doesn't work are wifi, bluetooth and rotation19:32
baloonjust one more thing, the pdf is not really clear about wifi, can you tell me how should i make it work?19:37
T42<elros34> read hadk-faq, it has information about wifi. If test_sensors works then you probably need hw-settings.ini ( also in faq)19:42
*** Yardanico is now known as Yardanico_21:01
*** Yardanico_ is now known as Yardanico21:01

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