Tuesday, 2022-12-20

T42<edp_17> When trying to sync external/backports-bluetooth, I get: "repo reset: error: Entry '.github/workflows/test-ci.yml' not uptodate. Cannot merge."09:10
T42<edp_17> Any idea how to fix it? (As workaround I can git clone that repo but may be better to fix it.)09:12
T42<edp_17> mal : building backports gives me this error : https://paste.ubuntu.com/p/DSbZMGdPjY/09:18
T42<elros34> TARGET_PRODUCT=aosp_arm?09:21
T42<edp_17> In where?09:22
T42<elros34> in your paste:)09:23
T42<edp_17> Oh. :)09:24
T42<edp_17> Hm. Where is it from?09:24
T42<elros34> did you run usual source & breakfast?09:25
T42<elros34> commands09:25
T42<edp_17> Nope. Only make backports. This is what hadk-faq says. :D09:26
T42<edp_17> I'll retry09:26
malof course you run all the normal setup in habuild_sdk before running make backports09:39
T42<edp_17> Thanks, it worked now. Although, failed with another error : "error: writing to readonly directory: "backports"" https://paste.ubuntu.com/p/MbGq37xHKx/09:40
T42<edp_17> I've cloned it manually as user, so I am not sure why don't have access to it as root.09:41
T42<edp_17> Will check it after breakfast. :D09:42
T42<edp_17> Hm, I only found these two folders with name backports : https://paste.ubuntu.com/p/cZWpY2FSbY/09:59
T42<edp_17> I don't think the compiler complaints about any of these.10:00
*** Ischwitch is now known as Ingvix10:13
T42<tomas_store> Hi guys any help please I did an bring up for my device every thing working fine except wifi it doesn't want to turn on11:51
T42<edp_17> @tomas_store : Please don't attach files because this room is bridged to irc; use paste.ubuntu.com or other online facilities to upload logs and only post the URL here. Thanks!12:11
T42<tomas_store> Ah okay sorry (re @edp_17: @tomas_store : Pleas...)12:19
T42<tomas_store> I can't it says the log is too big (re @edp_17: @tomas_store : Pleas...)12:22
T42<tomas_store> I uploaded the log file12:33
T42<tomas_store> https://files.fm/u/7q5jdb9jr12:33
malwhich wifi driver does your device use?12:40
malwhy is that logcat? what exactly are you trying to do?12:41
T42<edp_17> mal : Any idea on this one? https://paste.ubuntu.com/p/MbGq37xHKx/13:25
T42<TheVancedGamer> @tomas_store Did you bother to read the group description? This is Sailfish OS porting group, not android bringup13:26
T42<tomas_store> qca_cld3 (re @SailfishFreenodeIRCBridgeBot: <mal>which wifi driv...)13:29
T42<tomas_store> Yes I know but if someone has idea what is the problem (re @TheVancedGamer: @tomas_store Did you...)13:29
T42<TheVancedGamer> ...and replying like that is painful to read for IRC users13:29
T42<tomas_store> While opening wifi it doesn't want to turn on (re @SailfishFreenodeIRCBridgeBot: <mal>why is that log...)13:30
T42<tomas_store> So what should I do please (re @TheVancedGamer: ...and replying like...)13:30
T42<TheVancedGamer> Please, take your logcat to an android bringup group. This is for Sailfish OS and sailfish only13:30
T42<tomas_store> I don't see in group rules to not post logs in group (re @TheVancedGamer: Please, take your lo...)13:32
T42<tomas_store> And btw same problem happened in sailfish (re @TheVancedGamer: Please, take your lo...)13:32
T42<TheVancedGamer> Is this group made for Android debugging?13:32
T42<TheVancedGamer> for Sailfish we're going to need logs13:32
T42<TheVancedGamer> and not android logcat, android is very much different than Sailfish13:33
T42<tomas_store> Same thing in logs there is problem in wifi hal (re @TheVancedGamer: for Sailfish we're g...)13:33
T42<TheVancedGamer> no logs, no solution :)13:33
T42<tomas_store> . (re @tomas_store: https://files.fm/u/7...)13:34
T42<TheVancedGamer> it's android logcat, we either need dmesg from Sailfish or journalctl13:34
malwe don't use android wifi hal things in sailfish so probably not many here have any experience with that stuff13:45
T42<edp_17> I'd like to output a variable defined in an .mk file. With what command can I do that?14:51
T42<edp_17> Tried 'echo $var' and a := $(shell echo $var) but none of them worked.14:52
mal@edp_17 you have the sources in external/backports-bluetooth and you run make backports in ANDROID_ROOT?14:57
T42<edp_17> Yes.14:58
T42<edp_17> Yesterday I set CONFIG_BT_HCISMD=m in defconfig and built this module. Can this be interfere with what I am trying to do?15:00
malnot that I know of15:03
T42<edp_17> Okay. Thanks. Then, I don't know where this backports directory is: "external/backports-bluetooth/Android.mk:49: error: writing to readonly directory: "backports""15:05
T42<edp_17> And why the make backports doesn't have write access to it.15:05
malcan you check the permissions of that folder?15:08
T42<edp_17> What folder?15:09
malexternal/backports-bluetooth15:10
T42<edp_17> I think the permission is okay : https://paste.ubuntu.com/p/yZNtrv2DTB/15:25
T42<edp_17> In comparison here is permission of external/droidmedia : https://paste.ubuntu.com/p/stdsgwwvm9/15:27
malseems reasonable15:27
T42<edp_17> Yes. I wanted to try out where that backports folder is, but I have no idea.15:28
malyeah, odd what that means15:29
T42<edp_17> I only found these two folders with name backports, but I don't think any of these are the one it is trying to write things into : https://paste.ubuntu.com/p/cZWpY2FSbY/15:29
T42<edp_17> In the .mk file there is : define mv-backport-modules . However, I have not found where this mv-backport-modules variable gets its value.15:31
malthat is function15:33
T42<edp_17> This line, should be backports := $(BACKPORTS_KERNEL_CONFIG) : https://github.com/mlehtima/backports-bluetooth/blob/master/Android.mk#L4815:33
T42<edp_17> Oh, I see.15:34
malthat line 48 is fine, that defines a build target15:35
T42<edp_17> What does this return? $(call my-dir)15:37
malI think the folder where the .mk file is15:39
T42<edp_17> Then, it is wrong at this line as the .config is not there : https://github.com/mlehtima/backports-bluetooth/blob/master/Android.mk#L2015:40
malI have it there15:41
T42<edp_17> I don't have it in there. I'll try to copy it over to see what happens.15:42
malno15:43
malit's different file, not the same as in out15:43
T42<edp_17> Oh, okay.15:43
malyou can see it should be created in lines 45-4615:43
malwhich android base in that device using?15:44
T42<edp_17> Los17.115:44
T42<edp_17> I am not sure whether it is important but I had to manually clone that backport-bluetooth repo.15:49
T42<edp_17> When I tried to sync it, I got:  "repo reset: error: Entry '.github/workflows/test-ci.yml' not uptodate. Cannot merge."15:49
malhmm15:53
T42<edp_17> This : https://paste.ubuntu.com/p/5WYjTNyg8h/15:53
malI just cloned it manually15:53
T42<edp_17> Yeah, I've done that then got the other error.15:53
malbut that error is not related that backports repo15:55
T42<edp_17> The question is where that "backports" folder is located?15:57
malI don't have such folder in my sources or build16:21
malwhy does it think it should be using that folder for anything, only place where backports is used in as the build target name16:23
T42<edp_17> Yeah, that's why I am confused too.16:23
malunless for some reason newer android bases don't like that .mk file16:24
T42<edp_17> :) What base have you created it for?16:26
malI think android 616:27
T42<edp_17> I've symlinked external/backports-bluetooth to external/backports but gave me the same error.16:27
T42<edp_17> Where is it trying to write out the stuff? out/target/product/jfltexx/obj/KERNEL_OBJ/drivers/bluetooth/ ?16:29
malsomething like that16:30
T42<edp_17> Is there an intermediate location?16:31
malbtw, to print variables you can use this way $(warning $(PREFIX))16:31
T42<edp_17> Thanks!16:32
malit's been years since I wrote that .mk file so I really forgot what I did there16:32
T42<edp_17> I've put a few warnings in there to display some variables: https://paste.ubuntu.com/p/d4RvXpQXYq/16:45
T42<edp_17> I am not sure they are correct. Will check it later. I have to go now. Many thanks for your help today!16:46
T42<edp_17> mal ^^16:46
T42<elros34> @edp_17 this is probably related to android build system changes, you can find similar error: 'writing to readonly directory' and some strange solutions like: https://community.nxp.com/t5/i-MX-Processors/Problem-setting-alternate-build-directory-w-Android-10/td-p/108590020:14
T42<edp_17> @elros34 : Thank you!23:02

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