Monday, 2024-09-30

T42<edp_17> I have issue when building droid-hal-device packages. It is complaining about libdl_android.so. I've already tried to set droid-configs-device to 49702dc revision but still getting the issue. https://paste.ubuntu.com/p/SBWTzYsXs5/14:13
T42<edp_17> Any suggestion?14:13
malfind where that file is in out/14:27
T42<edp_17> mal: there are quite a few location: https://paste.ubuntu.com/p/zvq43Db8gx/15:05
T42<elros34> maybe we should count how many times this issue pop up and nobody makes PR  but instead fix it locallly:)15:25
T42<elros34> relevant lines  https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L700-L73615:29
malwhich android base are you using?15:34
T42<edp_17> mal: Los17.115:40
T42<edp_17> @elros34 : Thanks!15:40
T42<edp_17> Hmm, and what should be the fix? I have exatly those lines in my dhd.16:42
T42<elros34> depends on where do you have all lib{dl,dl_android,c,m}.so libs17:02
T42<edp_17> https://paste.ubuntu.com/p/zvq43Db8gx/17:31
T42<elros34> that doesn't explain where are all  of these libs, clearly from logs you have libc.so in one place but without libdl_android.so17:41
T42<elros34> find directory which contains all of them: libdl.so libdl_android.so, libc.so, libm.so and change droid-hal-device.inc so it will use that path17:52
T42<edp_17> Those are in ./out/target/product/ocean/symbols/system/lib64/18:22
T42<edp_17> So I changed that line to18:22
T42<edp_17> cp -a %{android_root}/out/target/product/%{device}/symbols/system/lib64 $RPM_BUILD_ROOT%{_libexecdir}/droid-hybris/system/.18:23
T42<edp_17> But didn't work. I'll double-check again and retry.18:23
T42<elros34> I ma not sure whether symbols didrectory is correct18:27
T42<edp_17> I'll find another one then.18:31
T42<elros34> most obvious is system/lib/18:34
T42<b100dian> If you can make the changes in a way it still works with the other devices and make a PR that would be great ;)19:03

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