Tuesday, 2023-01-24

T42<foxclore> Hey everyone! So (again) Im trying to build for dreamlte, lineage-16.0 based. I've got so far to the build_packages.sh --gg, and it fails with the following errors:18:25
T42<foxclore> RPM build errors:18:25
T42<foxclore>     File not found: /home/foxclore/hadk/hybris/mw/droidmedia-localbuild/installroot/usr/libexec/droid-hybris/system/etc/init/hybris_extras.rc18:25
T42<foxclore>     More than one file on a line: /usr/libexec/droid-hybris/system/etc/init/servicemanager.rc18:25
T42<foxclore>     File not found: /home/foxclore/hadk/hybris/mw/droidmedia-localbuild/installroot/usr/libexec/droid-hybris/system/etc/init/hybris_extras.rc18:25
T42<foxclore>     More than one file on a line: /usr/libexec/droid-hybris/system/etc/init/servicemanager.rc18:25
T42<foxclore>     File not found: /home/foxclore/hadk/hybris/mw/droidmedia-localbuild/installroot/usr/libexec/droid-hybris/system/etc/init/hybris_extras.rc18:25
T42<foxclore>     More than one file on a line: /usr/libexec/droid-hybris/system/etc/init/servicemanager.rc18:25
T42<foxclore>     File not found: /home/foxclore/hadk/hybris/mw/droidmedia-localbuild/installroot/usr/libexec/droid-hybris/system/etc/init/hybris_extras.rc18:25
T42<foxclore>     More than one file on a line: /usr/libexec/droid-hybris/system/etc/init/servicemanager.rc18:26
T42<foxclore> 18:26
T42<foxclore> Full log: https://pastebin.com/eG5wAd2v18:26
T42<foxclore> Any help please?18:26
maldo you have that file?18:43
T42<foxclore> mal: no18:50
deathmist2mal: mind cleaning up merged branches from https://github.com/mer-hybris/android/branches/all?19:41
maldeathmist2: done20:19
deathmist2mal: do you know if hybris-18.1 should "repo sync" successfully right now? https://termbin.com/nwd520:39
deathmist2that log is WITHOUT --fetch-submodules arg20:40
maldeathmist2: is it somehow trying to update the submodules in etar repo20:54
deathmist2hmmm ok I'll have to take another look then... I'll get back to you tomorrow20:55
maldeathmist2: quite annoying that there are such problematic repos21:00
deathmist2couldn't https://github.com/mer-hybris/android/tree/hybris-18.1-update be deleted btw? isn't much of an update when it's almost a year out of date21:01
deathmist2mal: LineageOS/android_packages_apps_Etar was commented out in https://github.com/mer-hybris/android/blob/hybris-17.1/snippets/lineage.xml but isn't anymore in https://github.com/mer-hybris/android/blob/hybris-18.1/snippets/lineage.xml, I assume it was left there because it caused some build errors that were never investigated21:03
maldeathmist2: it seems I used hybris-18.1-update-new branch for the update21:03
deathmist217.1 included the first android app in the manifest: LineageOS/android_packages_apps_Trebuchet21:04
deathmist2seems various android apps are creeping into the build for unknown reasons over time :/21:04
deathmist2there's no good reason why those should be built to get HAL layers working21:04
maldeathmist2: yeah, it's strange why I got build failures without those21:05
deathmist2nvm 16.0 had LineageOS/android_packages_apps_OpenWeatherMapProvider too, really odd21:05
malmaybe patching some other part would help get rid of those21:06
deathmist2that's what I'm thinking, I don't really see a good reason why any android apps should be required for hybris21:07
malyeah, those shouldn't be but I wouldn't be surprised if they are needed21:10
malsometimes the apps provide some other things also21:11
T42<elros34> foxclore: make sure you use correct droidmedia droid-hal submodle revisions. I think there were some *.rc changes whiich might cause your issue (see latest commits)21:16
T42<b100dian> anyone used `unshare` to show different files to different processes, such as pulseaudio seeing a different filesystem than audioserver/audio-hal ?21:58
T42<b100dian> I think I have read you can get yourself as PID 1 with this (looking at you, droid-hal-init ;)21:59
T42<b100dian> otherwise, should I just try to use firejail on pulseaudio :big-grin:21:59
T42<b100dian> (since its defaultuser-land)22:00
T42<foxclore> @elros34 can you link me to the repos please? (re @elros34: foxclore: make sure ...)23:15
T42<elros34> mer-hybris/ and sailfishos/ at github.com23:17
maldroidmedia version you have in external/droidmedia should be 0.20211101.023:18
mal@elros34 there might be some issue in dhd submodule, it does use wildcard with >> so it writes all it finds in same line which causes "More than one file on a line" probably23:19
T42<elros34> maybe but I do not remember anybody complain recently so I guess it because too new/old submodule23:22
malthat is possible, I don't remember what revision dhd submodule should be23:24
T42<foxclore> mal: did checkout droidmedia, still no progress23:41
T42<foxclore> how do i revert dhd submodule to older one?23:41
T42<elros34> read hadk-faq/hot, they contains instruction for droidmedia checkout/build and droid-hal-device submodule. I think for droid-hal checkout latest 2 droidmedia related commits23:44
T42<foxclore> uhh @elros34 can you link the hadk-hot please?23:45
T42<elros34> https://etherpad.wikimedia.org/p/hadk-hot / https://github.com/mer-hybris/hadk-faq/#updating-submodules23:48

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