Thursday, 2022-03-17

T42<edp_17> Hogir : It looks like currently there is no port for begonia. You can make your own if you really are interested. There is a very good porting guide here: https://sailfishos.org/develop/hadk/06:15
T42<Hogir> @edp_17 thank you I'll try06:35
T42<edp_17> Hogir : Please read that guide and this one : https://github.com/mer-hybris/hadk-faq/blob/master/README.rst06:36
T42<edp_17> @elros34 : I have a question for you. Yesterday I built hybris-hal and droid-hal (both built fine). Then, I thought had to build audioflingerglue, so started that but that failed. Then, I commented out reporting error on NetlinkListener so had to re-build hybris-hal. It built fine. But when I tried to re-build droid-hal, it failed with this: https://paste.ubuntu.com/p/z63NyNSb5T/07:29
T42<edp_17> The question: should I add these *.so files as staggler files or how I can solve this issue?07:30
T42<my90ds> Help deal with the problem. The latest Ubuntu 20.04.4 LTS is installed, I don’t understand why this error occurs07:37
T42<my90ds> https://pastebin.ubuntu.com/p/4m9yQn5bYG/07:37
T42<edp_17> @my90ds : I got exactly that error. I've searched on this channel and found this: https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2021-10-17.txt#line17307:40
T42<edp_17> I know it is not nice, but worked.07:40
T42<edp_17> @my90ds : You can search in Telegram or here: https://piggz.co.uk/sailfishos-porters-archive/index.php07:41
T42<elros34> @my90ds easy workaround is here: collabedit.com/kr9xx07:46
T42<elros34> @edp_17 Do yo have up-to-date submodule? Did you build it successfully before and it fails now?07:47
T42<edp_17> @elros34 : Yes, I have up to date submodules and as I said above, yes, it built successfully before. I'll try the suggested workaround.07:49
T42<edp_17> Oh, that's not for me, sorry. :)07:49
T42<elros34> can you find this libdl.so? Maybe it's symlink no a fie07:56
T42<edp_17> Well, that exists in a few places: https://paste.ubuntu.com/p/PDhDkqzhjw/08:02
T42<edp_17> However, the one in installroot/usr/libexec/droid-hybris/system is a symlink to a non existent /apex/com.android.runtime/lib/bionic/libdl.so08:03
T42<elros34> remove installroot/ and try again, make sure libdl.so,.... exists, it's just cp command, it shouldn't fail08:09
*** Ischwitch is now known as Ingvix08:59
T42<edp_17> You mean remove the whole installroot? Wouldn't the make hybris-hal run for hours again?09:00
T42<edp_17> What about if I copy these three files from installroot/usr/libexec/droid-hybris-system/lib/bootstrap to installroot/usr/libexec/droid-hybris-system/lib ?09:04
T42<edp_17> This didn't work. (re @edp_17: What about if I copy...)09:08
T42<elros34> installroot/ is not out/ directory. It should be safe to remove it, I guess it's even removed after successfull droid-hal build. Have you tried to execute manually exactly the same cp command?10:24
T42<edp_17> I've checked what the script is doing (droid-hal-device.inc) and echo-ed the art_path and apex_path. Both do exists and the lib{dl,c,m}.so files also do exist in the location. I am puzzled why the script doesn't find them.10:44
T42<edp_17> I've removed installroot but got the same error.10:46
T42<edp_17> And installroot has recreated of course.10:47
T42<edp_17> @elros34 : If I run the cp command manually, it copies all three files correctly.10:51
T42<elros34> mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/droid-hybris/system/lib before copy command?10:54
T42<edp_17> @elros34 : The solution was: I manually copied the files, commented out this line https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L631 and then built droid-hal10:54
T42<edp_17> Well, plus I neded to add a few straggler_files, but at the end droid-hal has successfully built.10:59
T42<edp_17> @elros34 ^10:59
T42<edp_17> @elros34 : Could you take a look on OBS and advise how to fix the errored pulseaudio-modules-droid? https://build.sailfishos.org/package/live_build_log/home:edp17:treltexx17/pulseaudio-modules-droid/sailfishos_4.3.0.15/armv8el12:08
T42<elros34> use this instead: https://github.com/mer-hybris/pulseaudio-modules-droid-jb2q12:09
T42<edp_17> Doesn't work: "ERROR: Need single spec file in rpm" The one you recommended has two *.spec file in rpm.12:12
T42<elros34> you nee to change package name in OBS also12:12
T42<edp_17> I've changed its name to pulseaudio-modules-droid-jb2 but there's still the same error about being two *.spec files in rpm.12:17
T42<edp_17> Got it. I mistyped the name.12:18
T42<edp_17> @elros34 : Okay, now there is only one package is outstanding (unresolvabe), pulseaudio-modules-droid-glue. The error: "nothing provides audioflingerglue-devel >= 0.0.1"12:45
T42<elros34> do you need it?12:46
T42<edp_17> I don't know. Do I need?12:48
T42<elros34> :) I do not think so12:48
T42<elros34> https://github.com/mer-hybris/droid-config-sony-seine/blob/master/droid-config-common.inc#L2112:50
T42<edp_17> I see. So I need to add this into my droid-config and rebuilt it on OBS. Right?12:52
T42<elros34> if you create fresh image then no, just remove related packages in patterns and replace them with newer packages. Which one you can see if you use git blame on that line and Obsoletes: pulseaudio-modules-droid-glue12:56
T42<elros34> line12:56
T42<edp_17> In my patterns-sailfish-device-adaptation-$DEVICE.inc file there is no audioflingerglue and audiosystem-passthrough-dummy-af is commented out. In this case, should I just remove the package in OBS and try to create an image?13:00
T42<elros34> yes get rid of audioflingerglue, I do not know whether you will need dummy-af but sony-seine commit suggest it13:03
T42<edp_17> You mean get rid of pulseaudio-modules-droid-glue?!13:04
T42<elros34> yes, did you check git blame? https://github.com/mer-hybris/droid-config-sony-seine/blame/5f2480b599c49215a61cac5994048796d00d0187/droid-config-common.inc#L21, 2 commits next to Obsoletes lines13:05
T42<edp_17> Yes, I did. Oh, I see, so I need to add that into my config. Okay, got it now.13:12
T42<Spidey24Z> Hey guys16:54
T42<Spidey24Z> I add straggler files to droid hal and i add detritus pacakge to device adaptation pattern but still show the error installed but unpackged files16:57
T42<elros34> include droid-hal-device.inc must be after straggler files define17:02
T42<Spidey24Z> https://irc.thaodan.de/.imgstore/79ad7974/file_3431.jpg17:03
T42<elros34> looks good17:04
T42<Spidey24Z> Thank ❤️17:04
T42<Spidey24Z> Thanks ❤️ (edited)17:05
*** ggabriel is now known as Guest242217:06
T42<Spidey24Z> @elros34 Could this cause any errors after i tired everything to mount dbus without hope and this system didn't use systemd : https://irc.thaodan.de/.imgstore/92af8449/file_3432.jpg17:10
T42<elros34> do not know hat you are installing from this partial log but ignore this dbus warnings17:11
T42<Spidey24Z> It's vps17:12
T42<HengYeDev> Currently trying to get the s-pen to work:20:16
T42<HengYeDev> i have replaced BTN_TOUCH with BTN_LEFT in the wacom like it says in the telegram log20:16
T42<HengYeDev> It still doesn't work - evdev_trace -t gives me this: https://gist.github.com/HengYeDev/bfa8b03c828e3518a4a37da2f3d24502 when i tap the screen with the pen20:16
T42<HengYeDev> i have already added -plugin evdevmouse to droid-hal-device.conf20:21
T42<edp_17> @HengYeDev : please take a look to my github repos https://github.com/edp17/droid-config-treltexx/commit/d4521f4d5e48282c87b118439b567ba7299019d6#diff-535e05c55318240d5e6900d2fe3adc764c78dc413044d05de68536b1b188e88620:30
T42<edp_17> And here is the kernel side: https://github.com/edp17/android_kernel_samsung_exynos5433/commit/cc04247c840dd6ee2e399fed43ba297ad108b86120:33
Thaodanedp_17: Don't commit documentation.list20:33
Thaodanits a build artifact20:33
Thaodansame for stuff in tmp/20:35
T42<edp_17> Thaodan: Thanks. It seems I need to review and update all gitignore.20:36

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