mal | do you have miniaudiopolicyservice if you need it? | 00:30 |
---|---|---|
Mister_Magister | mal: i do not have it | 00:58 |
Mister_Magister | mal: i only have minimedia and minisf | 00:58 |
Mister_Magister | but since you mentioned it i went and checked journal… | 00:59 |
Mister_Magister | and here it is Waiting for service 'media.audio_policy' on '/dev/binder | 00:59 |
Mister_Magister | hmm frameworks/av/services/audiopolicy/service/AudioPolicyService.h:34:10: fatal error: 'mediautils/ServiceUtilities.h' file not found | 01:05 |
Mister_Magister | mal: /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 libcameraservice | 02:21 |
T42 | <birdzhang> I always use "rm -rf $ANDROID_ROOT/out" when switch from 32bit to 64bit | 02:30 |
Mister_Magister | im not switching from 32bit to 64bit | 02: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.makefile | 02:55 |
T42 | <rodrisola> cat .config | 02:58 |
T42 | <rodrisola> https://www.toptal.com/developers/hastebin/coheyitutu.ini | 02:59 |
mal | Mister_Magister: you need to use the one in the PR in new versions https://github.com/sailfishos/droidmedia/pull/92 | 08:29 |
Mister_Magister | ah | 08:29 |
mal | 5that needs some manual tinkering to package it | 09:05 |
Mister_Magister | think i can handle that :D | 09: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-hal | 11:22 |
piggz | mal: 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/uw5RhX4i | 13: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 path | 13:15 |
T42 | <elros34> without* | 13:15 |
T42 | <foxclore> LIPSTICK_OPTIONS=-plugin evdevtouch -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap | 13: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 message | 13: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 issues | 13:26 |
T42 | <foxclore> oh okay, got it. I'll be careful! | 13:28 |
mal | piggz: what? | 13:32 |
piggz | mal: https://github.com/mer-hybris/community-adaptation/blob/master/rpm/community-adaptation.inc#L30 | 13:33 |
piggz | file 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-config | 13:41 |
mal | piggz: https://github.com/mer-hybris/droid-hal-configs/blob/master/droid-configs.inc#L527 | 13:42 |
piggz | ah ok, so need to rebuild droid-config after | 13:43 |
mal | piggz: what are you doing? | 13:46 |
piggz | mal: shipping modified package with changed URL for testing, moving the version to a new repo so <device>:/<version>/ | 13:47 |
mal | so much fragmentation | 13:49 |
piggz | mal: its not a bad idea ... maybe it should be the default? | 13:59 |
piggz | removes the issue of odl packages in the repo | 14:00 |
mal | piggz: then it will be even more messy for existing devices | 14:06 |
piggz | mal: i can re-consider....its less work initially not doing it, but i think it may pay off with neater repos | 14: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#L843 | 15:12 |
rinigus | mal: 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 |
rinigus | maybe 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.img | 17: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#L90 | 17:51 |
T42 | <elros34> or do you mean that dtb is not built at all but then it should be probably enabled in boardconfig | 17: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 issue | 17:58 |
Thaodan | In android 10 and greater you have to build the kernel manually | 17:59 |
Thaodan | https://android.googlesource.com/platform/build/+/master/Changes.md#and-calling-other-build-systems | 18: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/0rgGX5Vq | 18:25 |
T42 | <foxclore> But i already did %define droid_target_aarch64 1 in spec files: https://pastebin.com/gE7vdveL | 18:25 |
T42 | <elros34> you are Building rpm/droid-hal-apollon.spec so put it there instead in droid-config/hal-version | 18: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 included | 18: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 directory | 18:43 |
T42 | <foxclore> Hmm, another one occured: cp: target '4.19.113-lineageos-g19498f2605ae-dirty' is not a directory | 18: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 so | 18:44 |
T42 | <rodrisola> error in rpm/dhd/helpers/build_packages.sh --gg | 18:50 |
T42 | <rodrisola> https://www.toptal.com/developers/hastebin/apugejotid.kotlin | 18:50 |
T42 | <foxclore> Damn, i edited my message | 18:58 |
T42 | <foxclore> So, an eror: '4.19.113-lineageos-g19498f2605ae-dirty' is not a directory | 18: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 kernel | 19:08 |
T42 | <foxclore> manually creating required doesn't help :/ | 19:08 |
T42 | <rodrisola> mmm | 19:09 |
T42 | <rodrisola> @foxclore | 19:09 |
T42 | <rodrisola> i solve with edit https://github.com/mer-hybris/droid-hal-device/blob/bbeb851417a26dd0265567607686afee0d4c13d7/droid-hal-device.inc#L843 | 19: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 fix | 19: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.aarch64 | 19: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/DYWy5fGH | 20: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 log | 21: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/qjEUNE0a | 21: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.aarch64 | 21:08 |
T42 | <rodrisola> @foxclore try , sudo zypper install qt5-qttools-kmap2qmap ssu-kickstart-configuration | 21: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 package | 22: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> yep | 22: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 successfully | 22: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 target | 22:30 |
T42 | <foxclore> @elros34 here it is: https://pastebin.com/a8htp2sw | 22:33 |
T42 | <elros34> in target: use sb2 command you showed few minutes ago | 22:35 |
T42 | <foxclore> This? (re @foxclore: From russian forum f...) | 22:36 |
T42 | <elros34> yes | 22: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-hal | 22: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-directory | 23:12 |
T42 | <foxclore> Log: https://pastebin.com/8N8fGVM9 | 23:12 |
T42 | <foxclore> What's interesting is that grep doesn't show any messages regarding this issue | 23:12 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!