Tuesday, 2021-11-09

Mister_Magistermal: prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/../sysroot/usr/lib/crt1.o(.text+0x12): error: undefined reference to '__libc_csu_fini'  :<00:09
malno idea, I don't remember seeing anything like that00:27
Mister_Magistershiet :/00:28
Mister_Magistercan't compile kernel00:28
maltry grepping for that00:28
Mister_Magisterim grepping logs so far00:28
Mister_Magisterfull log just in case00:29
Mister_Magistermal: i think its using host gcc00:56
Mister_Magisterso it might be issue with my os00:56
Mister_Magisternah its using prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-gc01:00
Mister_Magisterwhat am i doing with my life01:03
Mister_Magisteri should just give up01:03
Mister_Magisterwait what the hell01:10
Mister_Magisterit uses /usr/lib64 but does'nt use host's gcc01:10
T42<edp_17> Hi @elros34 : Can you let me know the new location of your qxcompositor? It was in here but annot find it anymore: https://build.merproject.org/package/show/home:elros34:sailfish-devel/qxcompositor01:10
T42<edp_17> Thank you in advance.01:11
Mister_Magisteridk maybe im wrong01:12
Mister_Magister /home/foidbgen/hadk/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-gcc -Wp,-MD,scripts/basic/.fixdep.d -Iscripts/basic -L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -o scripts/basic/fixdep /home/foidbgen/hadk/kernel/asus/sdm845/scripts/basic/fixdep.c01:12
T42<elros34> @edp_17 only some experimental version, regular one is and was in: https://build.sailfishos.org/package/show/home:elros34:sailfishapps/qxcompositor01:19
T42<edp_17> Brilliant. Thanks.01:20
T42<elros34> latest one have working autorotation (-o auto -x) at least for chromium (xwayland) mode01:23
T42<edp_17> Thanks.01:31
T42<edp_17> I still use the "qxcompositor-0.0.5+cursor_test2.20200816190630.86af352-1.2.1.jolla.armv7hl.rpm" 😊 I'll try a newer version.01:32
T42<elros34> yeah mouse cursor test01:33
T42<edp_17> Yep.01:34
T42<elros34> Mister_Magister: if it use such an old prebuilds then maybe you should also use old ubuntu chroot HABUILD?01:36
T42<edp_17> I have an OBS related question. I've built and uploaded .rpm packages into droid-hal-$device when I OBS built sfos Can I use those to build 4.3 on OBS or I should re-build/upload those .rpm packages?01:37
T42<edp_17> @elros34 ^^01:37
T42<elros34> I guess you can use old one if nothing important changed  in droid-hal and it works but you will probably need newer droidmedia anyway01:40
T42<elros34> btw all 4.x* are Stop releases01:40
T42<edp_17> I've tried to build 4.2 locally, but it didn't start. :( I'll try to doi it on OBS and will see what happens if I OTA into that.01:42
Mister_Magister@elros34 can't its 17.101:43
T42<elros34> 4.2 might need newer version of mapplauncherd01:43
Mister_Magister16.0 already needed to be built on host01:43
T42<elros34> hmm so as last resort maybe latest ubuntu chroot01:45
Mister_Magisterwhy is it using host's /usr/lib anyway01:45
Mister_Magistereither it uses host gcc too or doesn't use /usr/lib at all01:46
Mister_Magisterdon't mix them ffs01:46
Mister_Magisterlike, in prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/ there is lib and lib64 no issue with using it01:46
Mister_Magistersfos's prebuilts are same as lineage's ones01:50
Mister_Magisterit doesn't make any sense01:52
Mister_Magisterits not kernel's fault the build system provides incorrect HOSTCFLAGS01:54
Mister_Magistergrepping for them01:54
Mister_Magisterhttps://paste.opensuse.org/d7961be9 i'm not even kidding02:30
Mister_Magisterhttps://github.com/LineageOS/android_vendor_lineage/commit/2baeb4fb8bc47e86d3174b0bf3a0385ab5ba8815 why god why03:29
Mister_Magisterwhat makes it funnier is that i know this asshole03:29
*** Daanct12 is now known as Danct1204:44
piggzlbt: ping09:56
piggzmal: 4.3 has the fixed mapplauncherd ?11:38
piggzseems so11:43
piggz4.2.9, fix was 4.2.2ish11:43
malpiggz: yes, should work in 4.3.012:31
T42<ruspartisan> hey everyone. I have a Pinephone Sailfish OS and want to run app for aarch64, is there any way to do that? As far as I could understand from google, I need glibc for 64 bits, but I can't find a way to install it. Will newer version of sailfish for pinephone help me?13:05
T42<ruspartisan> hey everyone. I have a Pinephone with Sailfish OS and want to run app for aarch64, is there any way to do that? As far as I could understand from google, I need glibc for 64 bits, but I can't find a way to install it. Will newer version of sailfish for pinephone help me? (edited)13:06
lbtpiggz: ?13:54
piggzlbt: orphaned binaries on OBS...13:56
piggzafter deleting some packages, the binaries have been left in the repo13:56
rahultheflyhello all, have been trying to port to Nokia 6.1 Plus (DRG)14:05
rahultheflyInfo[11/09 13:47:07] : Pack rootfs to /home/rahul/hadk/SailfishOScommunity-release- Please wait... Info[11/09 13:49:17] : Running pack scripts ... Info[11/09 13:49:17] : The new image can be found here:   /home/rahul/hadk/SailfishOScommunity-release-   /home/rahul/hadk/SailfishOScommunity-release-
rahultheflyThese are the files built on running mic14:06
rahultheflyI couldn't find the zip file anywhere, any ideas on what I'm missing?14:06
rahultheflyAlso this one  /home/rahul/hadk/SailfishOScommunity-release-
rahultheflyA .tar.bz2 file is present, can't find the flashable zip anywhere14:07
rahultheflyAny ideas would be of great help!14:07
maljust to be sure, did you use the device code name as DRG or drg? in the rpm side of things14:12
mallook like you used capitalized codename which is not supported, there is way to handle things when android side codename is capitalized14:13
malas an example https://github.com/mlehtima/droid-hal-fp3/blob/master/droid-hal-fp3.spec and https://github.com/mlehtima/droid-config-fp3/blob/master/rpm/droid-config-fp3.spec14:14
malrahulthefly: ^14:14
rahultheflymal: I used DRG, didn't know that I shouldn't capitalize.14:42
rahultheflymal: Also, does mic generate .zip by default with "rpm/dhd/helpers/build_packages.sh --mic"?14:43
malprobably the issue is that one of the build scripts failed to add some part to the .ks file because of the codename issue14:45
rahultheflyThanks, will fix and try to rebuild now14:45
rahultheflyAlrighty, checking it14:45
malrahulthefly: there are several places in config repo where it has the code name so check both filenames and contents in there14:45
malmight even be easier to regenerate the config repo14:46
malalso remember to recreate the build target with new name14:46
maland fix .hadk.env file14:46
rahultheflymal: Okay, will do!14:47
rahultheflymal: do I need to remove the hybris/mw directory?14:47
malprobably not14:47
rahultheflymal: the DRG in device/nokia/DRG should be in lowercase? Does it have to be updated?15:03
rahultheflyShould I breakfast again and make hybris-boot hybris-recovery?15:03
malno, nothing has to be done to android side sources15:04
malonly to the sfos adaptation repos15:04
malrahulthefly: did you check the spec file I linked earlier, those had FP3 and fp315:04
maldo similar for your device15:04
rahultheflyYeah I'm referring to it15:04
rahultheflyThanks, mal!15:04
malrahulthefly: for example in droid-hal-*.spec the "device" is used for android side of things, like when it copied files from the out/ of android build, the rpm_device is used for the packaging15:05
rahultheflyGot it got it15:06
lolsj29sailfishos on android 11 devices wen?15:16
malwhen I have time to test the hybris-18.1 support15:17
rahultheflycp -a %{android_root}/out/target/product/%{device}/system/etc/init/hw/init.zygote*.rc $RPM_BUILD_ROOT%{_libexecdir}/droid-hybris/system/etc/init/hw/15:33
rahultheflyThis line in droid-hal-device.inc is causing issues15:34
rahultheflySeems like %{android_root}/out/target/product/%{device}/system/etc/init/hw/init.zygote*.rc is missing in my case15:34
rahultheflyCommenting this line and continuing works, is it safe?15:34
malrahulthefly: where are the zygote rc files in out for your device?15:38
rahultheflymal: I don't find them in out/target/product/%{device}/system/etc/init/hw/ ; I have an init.rc there though15:40
rahultheflyWhere should I ideally look for them?15:40
lolsj29mal: ok thanks!15:40
lolsj29you do this in your free time or professionally for jolla?15:41
malrahulthefly: look for in other folders under out/target/product/%{device}/15:41
mallolsj29: hybris-18.1 is during my free time15:41
rahultheflymal: will check15:41
lolsj29hmm ok15:43
rahultheflymal: No file with string zygote in its filename15:50
rahultheflyrahul@vm:~/hadk/out/target/product/DRG$ find . -name "*zygote*" => no results15:51
rahultheflyHowever, there are a plenty of init*.rc files15:52
abrAny of those rc files contain zygote?15:53
rahultheflyNone of them15:53
abrIt's quite an important android service so it should be launched from somewhere. It launches lots of services for it.15:53
abrI mean the contents of the files, as it doesn't have the name15:54
rahulthefly breakfast and make hybris-boot should build it right?15:54
abri guess. do you have zygote binaries in your /system/bin?15:57
rahulthefly~/hadk/out/target/product/DRG/system/bin this system bin?15:58
rahultheflyNot here15:58
abrinteresting. no zygote15:58
malrahulthefly: which android base are you using?15:59
T42<elros34> I think make hybris-hal instead hybris-boot (which is just kernel image)15:59
rahultheflyYeah I've run make hybris-hal too15:59
malok, hybris-18.1 is still untested16:00
T42<elros34> ah 1816:00
malI have had a build waiting for testing for like 2 or 3 weeks now16:00
malstill interesting why it didn't copy those files16:01
abrdid they replace zygote in 18? :D16:01
rahultheflyWhere should the zygote files be present ideally tho?16:02
malabr: it was moved to a different location16:02
malrahulthefly: afaik in hybris-18.1 those should be in that %{android_root}/out/target/product/%{device}/system/etc/init/hw/ folder16:05
malin older based those were in %{android_root}/out/target/product/%{device}/root/16:05
malrahulthefly: did you apply the patches correctly? I assume you did because you managed to build it16:06
rahultheflyall I have here is %{android_root}/out/target/product/%{device}/system/etc/init/hw/ init.rc only16:07
rahultheflymal: which patches? I'm following the hadk manual, did I miss something?16:08
malalso check the hybris-17.1 part16:09
malthe ld.config things are not relevant for 18.116:10
rahultheflymal: Will check it out16:13
rahultheflymal: The patches, do I pull the master branch of https://github.com/mer-hybris/libhybris ?16:22
T42<elros34> you probably already have libhybris cloned in hybris/mw, doing it in another place will cause conflicts.16:25
malah, good point16:26
*** Daanct12 is now known as Danct1216:26
malit has to be somewhere16:27
malbut not in two places16:27
rahultheflySo do I continue with the existing libhybris/16:27
T42<elros34> yes, if its in hybris/mw then do not clone it again. it's still unclear for me whether you used apply-patches.sh?16:29
rahultheflyI haven't used apply-patch.sh yet16:41
T42<elros34> and yet you were able to finish make hybris-hal without errors?16:42
rahultheflyYeah, make hybris-hal ran successfully16:43
T42<elros34> interesting:) hadk-faq should be finally added to hadk pdf. Here is some other unofficial faq for current quirks and issues: http://collabedit.com/kr9xx16:45
rahultheflyHave run apply-patches.sh, just want to confirm, running it twice would result in an error right?16:46
rahultheflyAlso, now can I build hybris-hal or do I make clobber first?16:46
T42<elros34> I would clear whole out just to be sure16:48
T42<pasik2> Does anyone know how to increase the earpiece volume during calls? I have adjusted the maximum volume with the hw buttons, but the volume is still too low.16:50
rahultheflyRerunning make hybris-hal; got this error: build/make/core/base_rules.mk:325: error: external/droidmedia: MODULE.TARGET.SHARED_LIBRARIES.libdroidmedia already defined by droidmedia.16:57
malrahulthefly: do you have droidmedia cloned in two locations?17:05
rahultheflyHaven't cloned anything manually; anyways I'm repo sync -f just to make sure I haven't made any manual changes17:07
rahultheflymal: T42: Is the zygote connected to initramfs in anyways?17:23
malrahulthefly: no, zygote is something we disable but still if the files are missing from out/ then something else could be missing also17:32
rahultheflyOh okayy, thanks!17:34
voidanix[m]is the building of gst-droid supposed to be triggered by build_packages.sh --gg on 4.3.0?18:03
T42<elros34> scripts still have it but building gst-droid is unnecessary18:05
voidanix[m]`meson compile: error: argument -j/--jobs: invalid int value: '%{getncpus}'` tells me that it does not want to be compiled at all :D18:13
rahultheflyGetting this after the apply-patch.sh during breakfast18:55
rahultheflyframeworks/native/build/phone-xhdpi-4096-dalvik-heap.mk:19: error: _nic.PRODUCTS.[[device/nokia/DRG/lineage_DRG.mk]]: "vendor/nokia/DRG/DRG-vendor.mk" does not exist.18:55
rahultheflyI have vendor/nokia/sdm660-common18:55
rahultheflyany ideas?18:55
rahultheflymal: T42: you guys here?18:59
Mister_Magisterrahulthefly: T42 is a relay bot, not a person19:04
T42<elros34> maybe comment out that phone-xhdpi-4096-dalvik-heap.mk from device repo.  About: vendor/nokia/DRG/DRG-vendor.mk: are you sure you have all needed repos?19:06
T42<elros34> like: https://github.com/TheMuppets/proprietary_vendor_nokia/blob/lineage-18.1/DRG/DRG-vendor.mk. Also I see this device also have lineage-1719:07
rahultheflyelros34: I do have all the repos: it's a lineage 18.1 official device, lineage 18.1 builds without any issues19:09
rahultheflyAlso breakfast was working fine earlier19:09
rahultheflyWill give this a shot noe19:09
Mister_Magisterrpm/dhd/helpers/add_new_device.sh doesn't generate metapcakages19:15
Mister_Magisterwait they do19:16
Mister_Magisteri'm just dumb19:16
Mister_Magister.inc is the metapckages19:16
malrahulthefly: clone this to correct place https://github.com/TheMuppets/proprietary_vendor_nokia19:16
rahultheflymal: elros34: Thanks, breakfast succeeded!19:17
rahultheflyerror: packages/apps/Etar/external/timezonepicker/Android.bp:19:1: module "android-opt-timezonepicker" already defined        frameworks/opt/timezonepicker/Android.bp:15:1 <-- previous definition here19:20
rahultheflyIs it safe to remove packages/apps/Etar/?19:20
malrahulthefly: you can try but I wonder why it fails now, I had made working build before19:24
mallet me check my sources19:24
rahultheflymal: it succeeded before when I removed packages/apps/Etar/19:24
rahultheflybut not sure if it's a right move19:25
malif it builds then it's fine19:25
rahultheflyRemoving it wouldn't break anything19:25
T42<elros34> removing android apps is fine, you are building sailfish after all19:26
rahultheflyYay! Thanksss!19:26
mal@elros34 android has some very odd dependencies, I had to keep some apps19:27
T42<hacker12455> just a question, is compiling stuff on a LineageOS 17.1 base horribly slow for anyone else?19:28
T42<hacker12455> it took me nearly 6 hours to build the android HAL19:28
T42<elros34> just to be sure, did you apply hybris patches and do you use make -jX hybris-hal to build android part?19:29
T42<hacker12455> yep19:31
rahultheflyplatform_testing/build/tasks/tests/platform_test_list.mk: error: platform_tests: Unknown installed file for module 'CalendarTests'19:31
T42<hacker12455> maybe running it in a qemu vm is a factor?19:31
T42<hacker12455> but it should be running with kvm19:32
T42<hacker12455> so19:32
T42<elros34> qemu? why?19:32
T42<hacker12455> didn't want to make a mess on my hdd19:32
rahultheflyGot this while make hybris-hal19:32
rahultheflyplatform_testing/build/tasks/tests/platform_test_list.mk: error: platform_tests: Unknown installed file for module 'CalendarTests'  In file included from build/make/core/main.mk:1341: In file included from build/make/core/Makefile:5639: In file included from platform_testing/build/tasks/platform_tests.mk:26: build/make/core/tasks/tools/package-modules.mk:80: error: done. 19:31:22 ckati failed with: exit status 1  #### failed to build some19:32
T42<hacker12455> I could move it all off19:33
T42<hacker12455> if that would make a difference19:33
T42<elros34> what mess do you mean? everything is build in chroots/sdb2, sources are in one directory19:34
T42<elros34> sb2*19:34
T42<hacker12455> yeah I guess you are right19:34
T42<hacker12455> gonna move the hadk directory then19:34
T42<hacker12455> anything else I should move?19:35
T42<elros34> /srv/mer directory if you already created it19:36
malthat CalendarTests error is because Etar package provides that and it was just removed19:38
rahulthefly3_mal: got disconnected19:41
rahulthefly3_platform_testing/build/tasks/tests/platform_test_list.mk: error: platform_tests: Unknown installed file for module 'CalendarTests'19:41
rahulthefly3_thrown when make hybris-hal19:41
malthat CalendarTests error is because Etar package provides that and it was just removed19:42
rahulthefly3_So what if I selectively remove modules from Etar?19:43
rahulthefly3_I guess that's what I did last time19:43
rahulthefly3_Not sure if it is the right method!19:43
malstill wondering it build for me19:43
mal*why it builds19:43
rahulthefly3_I selectively deleted stuff inside Etar last time, and built successfully19:45
rahulthefly3_mal: what would you suggest to resolve the Etar conflict?19:46
malrahulthefly3_: not sure19:57
malmaybe you can try the previous way again19:58
rahulthefly3_mal: going with this rm -rf packages/apps/Etar/external/ex/camera2/ and etc.20:01
malrahulthefly3_: now I know why it worked for me, I don't have those submodules in Etar checked out at all20:04
rahulthefly3_mal: Ah I get it now!20:12
rahulthefly3_mal: been 36 hours since I slpet, let this build run overnight; see you later then! have a good day20:13
T42<hacker12455> did anyone try running sfossdk with doas instead of sudo?21:03
T42<hacker12455> because I get this21:05
T42<hacker12455> sudo: SSH_AGENT_PID=: command not found21:05
T42<hacker12455> for some reason it runs the exported variable as a command?21:15
T42<hacker12455> ah I see where the problem is21:21
T42<hacker12455> damnit21:35
T42<hacker12455> I still need sudo21:35
T42<hacker12455> welp21:35
T42<hacker12455> eh just gonna move to sudo21:37
T42<hacker12455> the hell21:44
T42<hacker12455> sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set21:44
T42<hacker12455> it's like the chroot somehow broke21:46
T42<hacker12455> let me redownload all of the chroots21:48
T42<hacker12455> /etc/profile.d/colorls.sh: line 18: /usr/bin/cat: No such file or directory22:00
T42<hacker12455> Failed to create bus connection: No such file or directory22:00
T42<hacker12455> oneshot: /etc/oneshot.d/0/groupadd-user.later - OK22:00
T42<hacker12455> DBus unavailable, falling back to libssu22:00
T42<hacker12455> oneshot: /etc/oneshot.d/0/ssu-update-repos - OK22:00
T42<hacker12455> bash: /usr/bin/cat: No such file or directory22:00
T42<hacker12455> bash: /usr/bin/cat: No such file or directory22:00
malthose last ones look normal, maybe, not sure about the cat messages22:41

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