Monday, 2023-01-23

T42<vsvoid> Okay so I have started the project from scratch, everything has pulled just fine,06:21
T42<vsvoid> Moving on to building, how do I disable building with ninja? I want to know why my build is failing because all am getting when my build fails is06:21
T42<vsvoid> https://pastebin.com/98GX7gKU06:21
T42<edp_17> @vsvoid : have you run the envsetup and breakfast before the make?07:09
T42<vsvoid> Yes I have run envsetup but used lunch instead of breackfast (re @edp_17: @vsvoid : have you r...)07:10
T42<edp_17> I've neve used lunch but breakfast. What android base are you using?07:13
T42<vsvoid> 18.107:29
T42<elros34> clearly you are not building for your device, you must run breakfast $DEVICE. Also you really need more RAM09:19
T42<elros34> TARGET_PRODUCT=aosp_arm09:20
T42<vsvoid> So breakfast $DEVICE had some issues in the .mk files due to missing files which I have fixed, and finally having  TARGET_PRODUCT=lineage_lancelot , but still my build fails.10:14
T42<elros34> what missing files? Do you run envsetup also first every time you enter habuild? Do you have all .hadk.env really set? Did you increase your memory, 4GB is not enough?10:21
T42<edp_17> @vsvoid : Silly question. Are you following HADK?10:33
T42<vsvoid> Yes (re @edp_17: @vsvoid : Silly ques...)12:07
T42<vsvoid> Upgrading the RAM worked thanks (re @elros34: what missing files? ...)12:07
T42<edp_17> mal : More info on the non-working audio side. As the device plays music via BT speaker, I've tested calling it with a BT headset. In the app there was no option to select BT headset and I couldn't hear the other party. The other party could hear me, so it seems microphone works okay.13:37
malok13:41
mal@edp_17 do you want to do one test for me, related to the libaudioroute.so symlink13:41
T42<edp_17> aml :Yes,13:43
T42<edp_17> mal: Yes.13:43
mal@edp_17 build libhybris branch update_20230123 on obs, install it on device, then add to file /etc/sysconfig/pulseaudio this line: HYBRIS_USE_VENDOR_NAMESPACE=yes13:44
malthen reboot and see if pulseaudio starts13:44
malor maybe even try with the last file change first13:44
mal*without the last file change13:44
mal@edp_17 actually just build from master branch of libhybris, I merged the change already13:45
T42<edp_17> Thanks mal!14:15
mal@edp_17 did you test that yet?15:15
malso does pulseaudio work without the libaudioroute.so symlin when using new libhybris15:16
T42<edp_17> mal : yes, I did but couldn't post the result. So,15:52
T42<edp_17> with new libhybris and without that line in  /etc/sysconfig/pulseaudio -> pulseaudio starts but no sound15:52
T42<edp_17> with new libhybris and with that line in  /etc/sysconfig/pulseaudio -> pulseaudio starts but no sound15:52
T42<edp_17> Now I try to remove that libaudioroute.so symlink and reboot.15:53
T42<edp_17> When I removed and tried to restart pulseaudio, it didn't start: "Job for pulseaudio.service failed because a fatal signal was delivered causing the control process to dump core."15:54
malwas that last test with or without the HYBRIS_USE_VENDOR_NAMESPACE=yes16:02
T42<edp_17> With.16:32
malok16:35
T42<edp_17> It's still in /etc/sysconfig/pulseaudio. Should I remove and retry?16:36
malsure, try to remove it16:36
T42<edp_17> WHen that line and symlink libaudioroute.so are removed, pulseaudio doesn't start. Same error as before.16:38
T42<edp_17> Do you suspect where the problem that causes the audio issue is? Are you aware of any device that has had similar issue?16:39
T42<edp_17> *any other.. :)16:40
malno idea at the moment, needs some more thinking, these tests were just to check if the new libhybris changes remove the need for libaudioroute.so symlink but seems it's still needed16:44
T42<edp_17> I see. Thanks. If there is something that help you to test/try, just let me know.16:55

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