Tuesday, 2021-12-07

maldo you have miniaudiopolicyservice if you need it?00:30
Mister_Magistermal: i do not have it00:58
Mister_Magistermal: i only have minimedia and minisf00:58
Mister_Magisterbut since you mentioned it i went and checked journal…00:59
Mister_Magisterand here it is Waiting for service 'media.audio_policy' on '/dev/binder00:59
Mister_Magisterhmm frameworks/av/services/audiopolicy/service/AudioPolicyService.h:34:10: fatal error: 'mediautils/ServiceUtilities.h' file not found01:05
Mister_Magistermal: /system has 32bit libcameraservice but 64bit libaudiopolicyservice so if i build 32bit minimedia, it fails to link libaudiopolicyservice and if i build 64bit it fails to link libcameraservice02:21
T42<birdzhang> I always use "rm -rf $ANDROID_ROOT/out" when switch from 32bit to 64bit02:30
Mister_Magisterim not switching from 32bit to 64bit02:33
T42<rodrisola> @elros34 which .config, kernel_obj, DTBO_obj, DTB_obj?02:42
T42<rodrisola> log make hybris-hal https://www.toptal.com/developers/hastebin/yusumivizu.makefile02:55
T42<rodrisola> cat .config02:58
T42<rodrisola> https://www.toptal.com/developers/hastebin/coheyitutu.ini02:59
malMister_Magister: you need to use the one in the PR in new versions https://github.com/sailfishos/droidmedia/pull/9208:29
Mister_Magisterah08:29
mal5that needs some manual tinkering to package it09:05
Mister_Magisterthink i can handle that :D09:09
T42<elros34> @rodrisola looks good, mer-kernel-check should pass, you can change  CONFIG_ISO9660_FS=m to builtin or disable it and try again to see if these depmod errors are still there but anyway you can package droid-hal11:22
piggzmal: how is communitiy-adaption package supposed to work? for adaptation-community repo it creates a .in file, not the .ini, why is that?13:11
T42<foxclore> Hey, quick question, in hadk it is said to check /dev/input/event*., my /dev/input/ looks like this:13:13
T42<foxclore> https://pastebin.com/uw5RhX4i13:13
T42<foxclore> Therefore, I have to include each one of them or just some specific?13:13
T42<elros34> forget about it, add only' -plugin evdevtouch' with node path13:15
T42<elros34> without*13:15
T42<foxclore> LIPSTICK_OPTIONS=-plugin evdevtouch -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap13:21
T42<foxclore> like this?13:21
T42<elros34> without new line, see big warning in HADK pdf: WRITE ALL IN ONE LINE:(13:22
T42<foxclore> yep yep, that was just for telegram message13:25
T42<foxclore> thanks!13:25
T42<elros34> good, it's just common mistake, people copy WRITE ALL IN ONE LINE with line split and then have issues13:26
T42<foxclore> oh okay, got it. I'll be careful!13:28
malpiggz: what?13:32
piggzmal: https://github.com/mer-hybris/community-adaptation/blob/master/rpm/community-adaptation.inc#L3013:33
piggzfile doesnt end up in .../ssu/features.d/13:34
T42<elros34> if you mean /usr/share/ssu/features.d/adaptation-community.ini then it's provided by droid-config13:41
malpiggz: https://github.com/mer-hybris/droid-hal-configs/blob/master/droid-configs.inc#L52713:42
piggzah ok, so need to rebuild droid-config after13:43
malpiggz: what are you doing?13:46
piggzmal: shipping modified package with changed URL for testing, moving the version to a new repo so <device>:/<version>/13:47
malso much fragmentation13:49
piggzmal: its not a bad idea ... maybe it should be the default?13:59
piggzremoves the issue of odl packages in the repo14:00
malpiggz: then it will be even more messy for existing devices14:06
piggzmal: i can re-consider....its less work initially not doing it, but i think it may pay off with neater repos14:40
T42<rodrisola> I had to modify this line, because I generated error because I extracted from kernel, dtb and dtbo, the kernel version, and He told me that it could not be copied, I had to put that I only extract from a folder ... It's wrong? ... And from there I was just able to reconstruct the droid halhttps://github.com/mer-hybris/droid-hal-device/blob/bbeb851417a26dd0265567607686afee0d4c13d7/droid-hal-device.inc#L84315:12
rinigusmal: I switched to that format with tama and it allowed to cleanup a bit some old packages. in general, haven't heard of users having problems with it - OTA was bit more involved (cc piggz )16:43
rinigusmaybe same should be done for common as well.16:43
T42<foxclore> Hey, again a small question: my kernel build rules do not include dtb image, therefore i have to manually edit out/build-lineage_$DEVICE.ninja and add —dtb out/.../dtb.img17:48
T42<foxclore> And each time I rebuild project I have to do it manually, do you know how to fix that  quickly?17:48
T42<elros34> there were somebody with similar issue but not sure how he fixed it. Maybe adding similar check to this one would be good: https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L9017:51
T42<elros34> or do you mean that dtb is not built at all but then it should be probably enabled in boardconfig17:52
T42<foxclore> nope, dtb is built successfully, but somewhy not included in .ninja file (re @elros34: or do you mean that ...)17:57
T42<elros34> ah then different issue17:58
ThaodanIn android 10 and greater you have to build the kernel manually17:59
Thaodanhttps://android.googlesource.com/platform/build/+/master/Changes.md#and-calling-other-build-systems18:00
T42<foxclore> Hmm, well now I have kind of error that stops me: 'IMPORTANT: some devices in your Android tree are 64bit targets. If your device is aarch64' ... https://pastebin.com/0rgGX5Vq18:25
T42<foxclore> But i already did %define droid_target_aarch64 1 in spec files: https://pastebin.com/gE7vdveL18:25
T42<elros34> you are  Building rpm/droid-hal-apollon.spec so put it there instead in droid-config/hal-version18:27
T42<foxclore> Already did, just ran grep from hybris directory (re @elros34: you are  Building rp...)18:28
T42<foxclore> Its there, but still this error :/ (re @elros34: you are  Building rp...)18:28
T42<elros34> Your past do not shows it. and instead grep show whole file, maybe you define it after droid-hal-device.inc is included18:29
T42<foxclore> yeps, that might be the issue, thank you (re @elros34: Your past do not sho...)18:30
T42<foxclore> Hmm, another one occured: cp: target '4.19.113-lineageos-g19498f2605ae-dirty' is not a directory18:43
T42<foxclore> Hmm, another one occured: cp: target '4.19.113-lineageos-g19498f2605ae-dirty' is not a directory18:44
T42<foxclore> Log: https://pastebin.com/RZy6UFtC (edited)18:44
T42<foxclore> Someone had the same issue, but they only said they fixed it, not how they did so18:44
T42<rodrisola> error in rpm/dhd/helpers/build_packages.sh --gg18:50
T42<rodrisola> https://www.toptal.com/developers/hastebin/apugejotid.kotlin18:50
T42<foxclore> Damn, i edited my message18:58
T42<foxclore> So, an eror: '4.19.113-lineageos-g19498f2605ae-dirty' is not a directory18:58
T42<foxclore> The log: https://pastebin.com/RZy6UFtC (re @foxclore: Hmm, another one occ...)18:58
T42<foxclore> seems like rpm/dhd/helpers/build_packages.sh removes all files and is unable to create directory for kernel19:08
T42<foxclore> manually creating required doesn't help :/19:08
T42<rodrisola> mmm19:09
T42<rodrisola> @foxclore19:09
T42<rodrisola> i solve with edit https://github.com/mer-hybris/droid-hal-device/blob/bbeb851417a26dd0265567607686afee0d4c13d7/droid-hal-device.inc#L84319:10
T42<rodrisola> At the time of executing the cp command, your release is copied 3 times because you have 3 directories, Kernel ObJ, dtb_obj,19:12
T42<rodrisola> That line edits it instead of the asterisks That line edits it instead of the asterisks put */KERNEL_OBJ/19:13
T42<rodrisola> this line kernel_release=$(cat out/target/product/%{device}/*/*/include/config/kernel.release)19:15
T42<rodrisola> kernel_release=$(cat out/target/product/%{device}/*/KERNEL_OBJ/include/config/kernel.release)19:16
T42<foxclore> yep, thats the fix19:18
T42<foxclore> Thank you!19:18
T42<rodrisola> Problem: cannot install both droidmedia-devel-0.20211101.0-1.noarch and droidmedia-devel-0.20210818.0-1.1.2.jolla.aarch6419:26
T42<rodrisola> This is a log (re @rodrisola: error in rpm/dhd/hel...)19:27
T42<elros34> did you follow all advices from unofficial hadk-hot about installing correct target version and patches required for 4.3.0?19:29
T42<foxclore> Hey uhm, can someone please help with the 'error: Failed build dependencies:'?20:57
T42<foxclore> Here is the full log: https://pastebin.com/DYWy5fGH20:57
T42<foxclore> How do i build the needed packages?20:57
T42<rodrisola> @foxclore try "cat rpm/droid-hal-21:03
T42<rodrisola> $DEVICE.spec" and upload log21:03
T42<rodrisola> Apply the patches indicated in utils and building, now how did you build the packages? - - mw - - revision=0.20210818.0-1.1.2 (re @elros34: did you follow all a...)21:06
T42<elros34> what package?21:06
T42<foxclore> @rodrisola https://pastebin.com/qjEUNE0a21:07
T42<rodrisola> @elros34 Problem: cannot install both droidmedia-devel-0.20211101.0-1.noarch and droidmedia-devel-0.20210818.0-1.1.2.jolla.aarch6421:08
T42<rodrisola> @foxclore try , sudo zypper install qt5-qttools-kmap2qmap ssu-kickstart-configuration21:10
T42<elros34> once again: 1. did follow instruction from hadk-hot about installing correct target: sdk-manage command? If yes 'sb2 -t <target name> -m sdk-install -R ssu re' should return 4.3.0.x.21:10
T42<foxclore> nope, didnt work (re @rodrisola: @foxclore try , sudo...)21:12
T42<foxclore> From russian forum found solution: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in "ssu-kickstart-configuration" and do that to each package22:22
T42<foxclore> However, pkgconfig(android-headers) not found  (for android-headers)22:22
T42<elros34> did you build droid-hal?22:24
T42<foxclore> yep22:25
T42<elros34> so zypper se -s droid-hal in target returns something?22:26
T42<foxclore> hm, says "no matching items found" though building finished successfully22:26
T42<foxclore> lemme re-run "rpm/dhd/helpers/build_packages.sh --droid-hal"22:27
T42<foxclore> that said "* Building of droid-hal-apollon finished successfully "22:29
T42<foxclore> but your command @elros34 returns "no matching items found"22:29
T42<elros34> show full output of ssu lr and that zypper command inside target22:30
T42<foxclore> @elros34 here it is: https://pastebin.com/a8htp2sw22:33
T42<elros34> in target: use sb2 command you showed few minutes ago22:35
T42<foxclore> This? (re @foxclore: From russian forum f...)22:36
T42<elros34> yes22:36
T42<foxclore> But with which arguments? It fixes everything but pkgconfig(android-headers)22:38
T42<elros34> pkgconfig(android-headers) is provided by droid-hal package that is why I ask you to check whether its available with zypper search or/and zypper wp pkgconfig(android-headers)22:39
T42<elros34> last command needs quote '22:40
T42<elros34> so if its still unclear: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -msdk-install -R zypper se -s droid-hal22:47
T42<foxclore> Nice, that helped. thank you!23:02
T42<foxclore> hmm, new day new errors!23:12
T42<foxclore> cp: cannot overwrite directory '/srv/mer/targets/.../etc/bluetooth' with non-directory23:12
T42<foxclore> Log: https://pastebin.com/8N8fGVM923:12
T42<foxclore> What's interesting is that grep doesn't show any messages regarding this issue23:12

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