Mister_Magister | mal: correction, did dconf update, 1080p, have preview while recording and recording has audio but video is all green | 00:27 |
---|---|---|
T42 | <smatkovi> how would you go about this error: cp: cannot stat './out/target/product/j5xnlte/system/apex/com.android.runtime.release/lib/bionic/libdl_android.so': No such file or directory, after rpm/dhd/helpers/build_packages.sh --droid-hal | 06:16 |
T42 | <smatkovi> there are multiple files with this name in hadk subdirectories, just not in that directory | 06:19 |
T42 | <smatkovi> and if i copy one in that directory it complains about default.prop missing in buildroot | 06:44 |
T42 | <smatkovi> i mean installroot | 06:45 |
T42 | <neochapay> mal i remove all sources. Rebuild AOSP - it works. Apply all patches (some with error but i think i fix it) build droid hal and got error | 08:44 |
T42 | <neochapay> ``` | 08:45 |
T42 | <neochapay> cp: cannot stat './out/target/product/tb8788p1_64_bsp/apex/com.android.runtime/lib/bionic/libdl.so': No such file or directory | 08:45 |
T42 | <neochapay> cp: cannot stat './out/target/product/tb8788p1_64_bsp/apex/com.android.runtime/lib/bionic/libdl_android.so': No such file or directory | 08:45 |
T42 | <neochapay> cp: cannot stat './out/target/product/tb8788p1_64_bsp/apex/com.android.runtime/lib/bionic/libc.so': No such file or directory | 08:45 |
T42 | <neochapay> cp: cannot stat './out/target/product/tb8788p1_64_bsp/apex/com.android.runtime/lib/bionic/libm.so': No such file or directory``` | 08:45 |
T42 | <elros34> @smatkovi so where are these libs? Did you build hybris-hal without errors? | 08:48 |
T42 | <smatkovi> Yes hybris-hal was built without errors, only warnings | 08:55 |
T42 | <smatkovi> I am not at home right now, so i will tell you tomorrow, when I'm home | 08:56 |
T42 | <neochapay> as i understand i am bot build some target | 08:57 |
T42 | <neochapay> but ``` | 08:58 |
T42 | <neochapay> make hybris-hal``` | 08:58 |
T42 | <neochapay> build fine | 08:58 |
T42 | <smatkovi> I have the same problem | 09:04 |
T42 | <smatkovi> Only that i have no error about libdl.so | 09:06 |
T42 | <smatkovi> The other ones i also don't have, only libdl_android.so | 09:06 |
T42 | <smatkovi> can you paste the output of locate libdl.so? | 09:07 |
T42 | <smatkovi> In pastebin and then send the link | 09:07 |
T42 | <smatkovi> But from your host terminal not the sfossk terminal | 09:08 |
T42 | <smatkovi> If you don't have the command install mlocate | 09:12 |
T42 | <TheVancedGamer> isn't mlocate provided by the build environment? | 09:13 |
T42 | <TheVancedGamer> `. build/envsetup.sh` should get it in | 09:13 |
mal | @neochapay at which stage of the build does that error happen? | 10:49 |
T42 | <neochapay> mal rpm/dhd/helpers/build_packages.sh --droid-hal | 10:50 |
mal | does it correctly detect android version? | 10:51 |
T42 | <neochapay> android have 11 version | 10:54 |
T42 | <neochapay> ``` | 10:57 |
T42 | <neochapay> neochapay@neochapay-IdeaPad-5-15IAL7:~/work/f+/alps$ cat build/core/version_defaults.mk | grep PLATFORM_VERSION_LAST | 10:57 |
T42 | <neochapay> PLATFORM_VERSION_LAST_STABLE := 11``` | 10:57 |
mal | where in out/ do you have libc.so | 10:59 |
mal | also is it possible that your device could be 64-bit only build? not sure if such is possible in android though | 11:00 |
T42 | <neochapay> ``` | 11:16 |
T42 | <neochapay> out/target/product/tb8788p1_64_bsp/system/apex/com.android.runtime/lib64/bionic/libc.so | 11:16 |
T42 | <neochapay> out/target/product/tb8788p1_64_bsp/system/apex/com.android.runtime/lib/bionic/libc.so``` | 11:16 |
mal | so you need to add a new condition somewhere here https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L649 which is the same as that but checks apex_path=apex/com.android.runtime instead of apex_path=apex/com.android.runtime.release | 11:24 |
mal | so copy that if I linked and change the apex path inside it | 11:24 |
mal | that whole apex path detection should be rewritten to be more generic | 11:25 |
T42 | <neochapay> mal https://github.com/mer-hybris/droid-hal-device/pull/337 ^_^ | 11:39 |
T42 | <neochapay> Found solution about wrong libdl - remove from /system/bootstrap and link to hybris version | 12:38 |
T42 | <elros34> you used libdl from out/target/product/tb8788p1_64_bsp/system/apex/com.android.runtime/lib64/bionic/ or from some different place? | 18:52 |
T42 | <neochapay> mal: i fix many problems but | 20:43 |
T42 | <neochapay> ``` | 20:44 |
T42 | <neochapay> SELinux: Loaded service_contexts from: | 20:44 |
T42 | <neochapay> /system/etc/selinux/plat_hwservice_contexts | 20:44 |
T42 | <neochapay> /system_ext/etc/selinux/system_ext_hwservice_contexts | 20:44 |
T42 | <neochapay> Failed to acquire hwservicemanager context.``` | 20:44 |
T42 | <elros34> do you have enabled selinux in kernel and copied files not symlinks in /etc/selinux? | 21:20 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!