Saturday, 2021-02-27

T42<zinstack625> mal: you up?09:24
hacker420-Muh09:52
hacker420-Mthat join list09:52
hacker420-MAnyway I was trying to update cedric to sfos 4 and in the process up the base to the official LOS09:53
hacker420-Mrunning into this09:53
hacker420-M```09:54
hacker420-MFAILED: ninja: 'out/target/product/cedric/obj_arm/SHARED_LIBRARIES/libqsap_sdk_intermediates/export_includes', needed by 'out/target/product/cedric/obj_arm/SHARED_LIBRARIES/libqsapshim_intermediates/import_includes', missing and no known rule to make it09:54
hacker420-M```09:54
T42<zinstack625> hacker420-M: can't see that from Telegram side09:54
T42hacker12455 was added by: hacker1245509:54
T42<hacker12455> @zinstack625 [hacker420-M: can't see that from Telegram side], I can see it09:55
T42<zinstack625> hacker420-M: I just threw out libqsapshim from my device tree, I believe it has something to do with wifi access point09:55
T42<hacker12455> forgot that channel is on tg too09:55
T42<hacker12455> @zinstack625 [hacker420-M: I just threw out libqsapshim from …], alright09:56
T42<hacker12455> FAILED: ninja: 'libhwc2_compat_layer', needed by 'hybris-hal', missing and no known rule to make it10:03
T42<hacker12455> I assume the fixes from hadk-faq regarding hybris-16.0 apply to 17.1 too?10:03
T42<hacker12455> applied10:06
T42<hacker12455> let10:06
T42<hacker12455> *let's see if this passes10:06
T42<hacker12455> ok now it went furthe10:07
T42<hacker12455> *further10:07
rinigusmal: latest libhybris fails to build for me: https://github.com/libhybris/libhybris/issues/47810:12
rinigusthe one before that, builds fine10:13
rinigus(using that for now)10:13
T42<cfb014> Hi! I'm using sailfish 3.4 in my sony z3 compact tablet. Is there any possibility to get sailfish 4? I've tried to update via OTA but it doesn't work10:40
rinigus@cfb014: do not run OTA before port is updated. right now we wait for OBS updates, probably the same wait for Z3 port10:41
T42<cfb014> @rinigus [@cfb014: do not run OTA before port is updated …], Ok, thank you for your answer! I'm newbie in ports10:42
swanuxSo, since yesterday I got telnet in post-switch_root halt state (thanks!), and now I can interact with the device. I just don't really know where to begin / how to continue.10:43
T42<zinstack625> swanux: see what's broken in systemctl/dmesg/journal and start fixing stuff you want fixed10:44
swanux@zinstack625 You mean var/log/journal? (because what you mentioned doesn't exist, and I got the persistent journal here)10:49
T42<zinstack625> swanux: I meant look in systemctl or dmesg or journalctl10:50
rinigus@cfb014: no problem, it's better to ask10:50
swanuxAh, ok, I read them as path, thanks10:51
T42<zinstack625> logcat (/system/bin/logcat or /usr/libexec/droid-hybris/system/bin/logcat) can be interesting too10:51
swanuxThe logcat files don't exist10:52
swanuxProbably they're generated after systemd init, but mine is halted before that to be able to telnet10:52
T42<elros34> logcat is not a regular file but executable binary and there is no point to run it before droid-hal-init starts. First grab fresh dmesg and confirm selinux is disabled at boottime10:54
T42<elros34> If you follow instruction you see after you telnet the you can continue booting process10:56
swanux@elros34 Yes, selinux is disabled (followed your github pull request). You mean dmesg on the device or on the pc?10:59
swanuxYes, I see the option printed out when I telnet that tells how to continue.10:59
T42<elros34> obviously you want to confirm kernel config on device10:59
swanux[    0.001815] SELinux:  Disabled at boot.11:00
T42<elros34> ok, using 'journalctl --no-tail -f' you can get live log11:01
swanuxOk, I see it. Now continue boot from another telnet session?11:02
T42<elros34> yes11:03
swanuxOk. I got ~2k lines of log. Is there anything special I should look for, or go through every error/exception/NULL/etc?11:07
T42<elros34> start from the top: search for errors, droid mounts, whether droid-hal-init initialize correctly and so on11:09
swanuxOk, thank you11:11
swanuxI collected the "promising" problems here (my comments with # before them): https://pastebin.com/Xbqv5Tnj11:29
swanux(They're in the same order as in the log)11:30
T42<hacker12455> IMPORTANT: some devices in your Android tree are 64bit targets. If your device is aarch64,11:40
T42<hacker12455>             please define droid_target_aarch64 in your .spec, otherwise define droid_target_armv7hl11:40
T42<hacker12455>  NOTE: Currently there is no Sailfish OS ARM 64bit target, so leave PORT_ARCH as armv7hl11:40
T42<hacker12455>        Mixed builds of 64bit Android+Linux Kernel and 32bit Sailfish OS work just fine.11:40
T42<hacker12455> + exit 111:40
T42<hacker12455> error: Bad exit status from /var/tmp/rpm-tmp.FsK0Ky (%build)11:40
T42<hacker12455> in which .spec file do I change that11:41
T42<hacker12455> I set port_arch to aarch64 as  that is what hadk recommends11:41
malrinigus: libhybris fix coming very soon12:04
malrinigus: do you want to test a fix12:08
rinigusmal: sure. there could be some delay in testing, but will be happy to12:12
malrinigus: https://github.com/libhybris/libhybris/pull/47912:12
malrinigus: just a trivial build fix12:12
malhmm, actually I can also test it for fp312:12
T42<hacker12455> quick question12:13
T42<hacker12455> if I have a 64 bit base12:13
T42<hacker12455> do I set droid_target_armv7hl12:13
T42<hacker12455> or droid_target_aarch6412:13
T42<hacker12455> ok defining droid_target_aarch64 worked12:15
T42<hacker12455> with port_arch as aarch6412:15
mal@hacker12455 "%define droid_target_aarch64 1"12:15
T42<hacker12455> yea figured that out12:15
rinigusmal: spent morning on separate hybris-hal and droidmedia building and packaging. nope, that did not help. camera still gets stuck after shooting video. (Waiting for service 'media.audio_policy')12:17
malrinigus: that new fix for libhybris built fine without tracing enabled12:18
T42<hacker12455> ```+ cp -a ./out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libdl.so ./out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libc.so ./out/soong/.intermediates/art/bui12:20
T42ld/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libm.so /home/kacper/hadk/installroot/usr/libexec/droid-hybris/system/lib12:20
T42<hacker12455> cp: cannot stat './out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libdl.so': No such file or directory12:20
T42<hacker12455> cp: cannot stat './out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libc.so': No such file or directory12:20
T42<hacker12455> cp: cannot stat './out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libm.so': No such file or directory```12:20
rinigus@mal: nice! I'll check but later and report back12:26
mal@hacker12455 intesresting, I didn't know android 10 base can be done without apex, can you check have at all the path out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/12:31
T42<hacker12455> @mal [@hacker12455 intesresting, I didn't know andro …], PlatformSDK [kacper@kacper-pc android_common_com.android.runtime.release]$ ls12:32
T42<hacker12455> apex_manifest.json  apex_pubkey12:32
T42<hacker12455> PlatformSDK [kacper@kacper-pc android_common_com.android.runtime.release]$ pwd12:32
T42<hacker12455> /home/kacper/hadk/out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release12:32
T42<hacker12455> there is no image.apex12:32
malok12:32
mal@hacker12455 can you see libdl.so, libm.so and libc.so anywhere in out/, maybe use "find out/ -name libdl.so"12:33
T42<hacker12455> @mal [@hacker12455 can you see libdl.so, libm.so and …], https://bpa.st/2NFHO12:34
T42<hacker12455> libm and libc are also there12:35
mal@hacker12455 ok, as an ugly hack for now edit the rpm/dhd/droid-hal-device.inc file and fix fix paths around here https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L60412:37
malI will see how to make those work better12:37
T42<hacker12455> @mal [@hacker12455 ok, as an ugly hack for now edit …], what path do I put there12:38
malsomehow this out/target/product/cedric/system/apex/com.android.runtime.release12:38
malwhich you saw when using find12:39
T42<hacker12455> art_path=%{android_root}/out/target/product/cedric/system/apex/com.android.runtime.release/12:41
T42<hacker12455>     apex_path=apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex12:41
malno12:41
malart_path=%{android_root}/out/target/product/cedric/system/12:42
malapex_path=apex/com.android.runtime.release12:42
malso when you combine those it will become out/target/product/cedric/system/apex/com.android.runtime.release12:42
T42<hacker12455> art_path=%{android_root}/out/target/product/cedric/system/12:42
T42<hacker12455>      apex_path=apex/com.android.runtime.release12:42
rinigusmal: libhybris fix worked over here as well12:43
malrinigus: yeah, it's merged now, just prepared a PR to mer-hybris12:50
T42<hacker12455> hm should I just accept building all middleware packages?12:50
malyes12:51
T42<hacker12455> so I can just answer al;l12:51
T42<hacker12455> *all12:51
rinigusmal: issue closed as well12:59
T42<hacker12455> Error <creator>[02/27 13:03:03] : URLGrabber error: http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_aarch64/repodata/repomd.xml - [Errno 14] HTTP Error 404 - Not Found13:03
T42<hacker12455> ah there is only an armv7hl directory13:03
T42<hacker12455> change arch to armv7hl?13:05
T42<hacker12455> or what13:05
T42<elros34> @swanux great that you analyze logs but if you want other to take a look at them then provide full logs. Do you still lose telnet? If yes did you figure out what triggers that?13:06
mal@hacker12455 you need to remove the repo from being used13:07
T42<hacker12455> @mal [@hacker12455 you need to remove the repo from …], how?13:09
swanux@elros34 Yeah, sure, here it is (it's the full log after continue from telnet - https://pastebin.com/FVzQR5F1). Without the workaround I still loose it (but if I stop the loop after one successful connection it stays that way). I have no idea what triggers that, but I think it has something to do with the thing that prevents proper boot.13:12
mal@hacker12455 again an ugly fix edit hybris/mw/community-adaptation/rpm/community-adaptation.inc and comment out the line "adaptation-community-common.ini > $RPM_BUILD_ROOT/%{_datadir}/ssu/features.d/adaptation-community-common.ini" near the end of the file, then run "rpm/dhd/helpers/build_packages.sh --build=hybris/mw/community-adaptation --spec=rpm/community-adaptation-localbuild.spec"13:12
T42<hacker12455> comment out with #?13:17
malyes13:17
T42<hacker12455> %endif13:18
T42<hacker12455>     #adaptation-community-common.ini > $RPM_BUILD_ROOT/%{_datadir}/ssu/features.d/adaptation-#community-.ini13:18
T42<hacker12455> %endif13:18
T42<hacker12455> (Photo, 744x72) https://irc.thaodan.de/.imgstore/DSeqcAv9hW.png13:18
T42<zinstack625> I fixed vibrator on my phone (aw869x)! Hooray!13:21
malhow13:21
T42<zinstack625> Turns out, it couldn't find the vibrator firmware(it needed that!), because the vendor partition was not yet mounted13:22
T42<elros34> @swanux is that all? Nothing was printed later? When droid-hal-init start you can try to get logcat. Also make sure you have needed files in /usr/libexec/droid-hybris/system/etc/init/13:23
T42<zinstack625> Building it as module and loading it at runtime allowed it to load its firmware and now it's vibrating like a brand new challenger13:23
T42<zinstack625> Also yesterissue was a long-forgottend systemd 237 bug with cgroups, which was fixed by adding "systemd.legacy_systemd_cgroup_controller=1" to kernel cmdline13:25
T42<zinstack625> Retroactive but works13:25
T42<hacker12455> @mal> @hacker12455 again an ugly fix edit hybris/mw/community-adaptation/rpm/community-adaptation.inc and comment out the line "adaptation-community-common.ini  [$RPM_BUILD_ROOT/%{_datadir}/ssu/features.d/ada …], how long should that build be13:31
T42<hacker12455> PlatformSDK [kacper@kacper-pc hadk]$ rpm/dhd/helpers/build_packages.sh --build=hybris/mw/community-adaptation --spec=rpm/community-adaptation-localbuild.spec13:35
T42<hacker12455> * Building rpm/community-adaptation-localbuild.spec13:35
T42<hacker12455> only thing I am getting13:35
T42<hacker12455> mb2 seems to be running13:37
malit should not take long13:37
malmaybe do this change instead https://github.com/mer-hybris/community-adaptation/pull/3/files13:37
T42<hacker12455> did that13:41
T42<hacker12455> barely any cpu usage13:41
T42<hacker12455> building is still stuck13:41
T42<hacker12455> (Photo, 1280x690) https://irc.thaodan.de/.imgstore/0Fh3JPo5pk.png13:42
malshow what you did to the .inc file13:42
T42<hacker12455> %if "%{flavour}" == "testing"13:43
T42<hacker12455> sed -e "s|@FLAVOUR@|testing|g" \13:43
T42<hacker12455> %else13:43
T42<hacker12455> sed -e "s|@FLAVOUR@|devel|g" \13:43
T42<hacker12455>     -e "s|sailfishos_%%(release)|sailfish_latest_%%(arch)|g" \13:43
T42<hacker12455> %endif13:43
T42<hacker12455> %ifnarch aarch6413:43
T42<hacker12455>     adaptation-community-common.ini > $RPM_BUILD_ROOT/%{_datadir}/ssu/features.d/adaptation-community-common.ini13:43
T42<hacker12455> %endif13:43
T42<hacker12455> %endif13:43
maltry killing the sb2 and mb2 processes and try again13:45
T42<hacker12455> just to be sure13:46
T42<hacker12455> rpm/dhd/helpers/build_packages.sh --build=hybris/mw/community-adaptation --spec=rpm/community-adaptation-localbuild.spec13:46
T42<hacker12455> ran it again13:47
T42<hacker12455> nothing new13:49
T42<hacker12455> when I control+c it13:51
T42<hacker12455> * Building rpm/community-adaptation-localbuild.spec13:51
T42<hacker12455> ^CBuilding target platforms: aarch64-meego-linux-gnu13:51
T42<hacker12455> Building for target aarch64-meego-linux-gnu13:51
T42<hacker12455> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Z6pyNL13:51
T42<hacker12455> + umask 02213:51
T42<hacker12455> + cd /home/kacper/hadk/hybris/mw/community-adaptation13:51
T42<hacker12455> + '[' /home/kacper/hadk/hybris/mw/community-adaptation/installroot '!=' / ']'13:51
T42<hacker12455> + rm -rf /home/kacper/hadk/hybris/mw/community-adaptation/installroot13:51
T42<hacker12455> ++ dirname /home/kacper/hadk/hybris/mw/community-adaptation/installroot13:51
T42<hacker12455> + mkdir -p /home/kacper/hadk/hybris/mw/community-adaptation13:51
T42<hacker12455> + mkdir /home/kacper/hadk/hybris/mw/community-adaptation/installroot13:51
T42<hacker12455> + LANG=C13:51
T42<hacker12455> + export LANG13:51
T42<hacker12455> + unset DISPLAY13:51
T42<hacker12455> + mkdir -p /home/kacper/hadk/hybris/mw/community-adaptation/installroot//usr/share/community-adaptation/13:51
mallooks like there is something wrong in the changes, trying to fix it13:54
malah, found the issue13:55
swanux@elros34 There is nothing after it, just before. Nothing printed later because at the end I loose telnet (when mer loader becomes Mi 8 in dmesg - battery light starts working) - that's why I can't get logcat after droid hal init, because there's no telnet at the time. If you mean the .rc files from the faq, then I have them13:57
mal@hacker12455 check the new changes here https://github.com/mer-hybris/community-adaptation/pull/3/files13:57
T42<hacker12455> that worked13:58
T42<hacker12455> except13:59
T42<hacker12455> Error <creator>[02/27 13:59:02] : URLGrabber error: http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_aarch64/repodata/repomd.xml - [Errno 14] HTTP Error 404 - Not Found13:59
T42<hacker12455> still have that13:59
T42<hacker12455> unless I need to do something else13:59
T42<hacker12455> let me just run —configs14:00
swanux@hacker12455 Refer here (it worked for me): https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2021-01-06.log.html14:01
swanux(ctrl+f the link in the log)14:02
malswanux: my fix is the proper fix14:03
swanuxmal No doubt, the one I shared is just a workaround. just in case14:04
T42<hacker12455> now I just need to manually run mic14:04
mal@hacker12455 there should not be need to run mic manually with my fix14:05
T42<hacker12455> well14:06
malif it worked as it should14:06
T42<hacker12455> it does not work14:06
T42<hacker12455> ran  rpm/dhd/helpers/build_packages.sh --configs afterwards14:06
T42<hacker12455> [02/27 14:07:34] : mic 1.0.2 (Sailfish OS 4.0.1.48 (Koli))14:07
T42<hacker12455> Info[02/27 14:07:34] : Substitute macro variable @ARCH@ with aarch6414:07
T42<hacker12455> Info[02/27 14:07:34] : Substitute macro variable @RELEASE@ with 4.0.1.4814:07
T42<hacker12455> Info[02/27 14:07:34] : Substitute macro variable @EXTRA_NAME@ with -my114:07
T42<hacker12455> Info[02/27 14:07:34] : Retrieving repo metadata:14:07
T42<hacker12455> Info[02/27 14:07:34] : filename /var/tmp/mic/cache/adaptation-community-cedric-4.0.1.48/7ec3fd8ecfd04f7300168e38ff36e918a523ae2915d6c373470beefdc9843d4e-primary.xml.gz gunzipped14:07
T42<hacker12455> Info[02/27 14:07:34] : filename is now /var/tmp/mic/cache/adaptation-community-cedric-4.0.1.48/7ec3fd8ecfd04f7300168e38ff36e918a523ae2915d6c373470beefdc9843d4e-primary.xml14:07
T42<hacker12455> Info[02/27 14:07:34] : /var/tmp/mic/cache/adaptation-community-cedric-4.0.1.48/69d739fed1f2227a55dc6f3540e7f4255f7501e61f5cec30ed564f7396a8084a-patterns.xml checksum f5c595dc4eb4bb6095ef6a4f309275e05a3bd4639b83e0a4fca32be8e04f94e0 matches cache14:07
T42<hacker12455> Error <creator>[02/27 14:07:34] : URLGrabber error: http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_aarch64/repodata/repomd.xml - [Errno 14] HTTP Error 404 - Not Found14:07
malat least it did what it's supposed to do in my test build, are you sure it installed the new package to local target14:08
T42<birdzhang> @hacker12455 run sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in droid-config-$DEVICE14:10
malalso try running sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in --force community-adaptation-localbuild14:10
malbefore that other command above droid-config14:10
T42<hacker12455> well ran the community-adaptation  command first14:11
T42<hacker12455> then the droid config one14:12
T42<hacker12455> afterwards build_packages.sh —mic14:12
T42<hacker12455> and same error14:12
maldo you see any files when you run sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R ls -l /usr/share/ssu/features.d/14:14
T42<hacker12455> PlatformSDK [kacper@kacper-pc hadk]$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R ls -l /usr/share/ssu/features.d/14:16
T42<hacker12455> total 814:16
T42<hacker12455> -rw-r--r-- 1 kacper system 313 Feb 27 14:11 adaptation-community-common.ini14:16
T42<hacker12455> -rw-r--r-- 1 kacper system   0 Feb 27 14:11 adaptation-community.ini14:16
T42<hacker12455> -rw-r--r-- 1 kacper system 473 Feb 27 14:11 customer-jolla-sdk.ini14:16
malhmm, why is the adaptation-community-common.ini file still there if you correctly modified the .inc file14:17
T42<hacker12455> also output of the above commands14:17
T42<hacker12455> https://bpa.st/4QPZM14:17
malare you sure you correctly edited the hybris/mw/community-adaptation/rpm/community-adaptation.inc and the build worked14:18
T42<hacker12455> entire file14:19
T42<hacker12455> https://bpa.st/5EXWC14:19
T42<hacker12455> reran the build again14:20
T42<hacker12455> PlatformSDK [kacper@kacper-pc hadk]$ rpm/dhd/helpers/build_packages.sh --build=hybris/mw/community-adaptation --spec=rpm/community-adaptation-localbuild.spec14:20
T42<hacker12455> * Building rpm/community-adaptation-localbuild.spec14:20
T42<hacker12455> * Building successful, adding packages to repo14:20
T42<hacker12455> Retrieving repository 'adaptation-community-common' metadata ..........................................................................................................................................................................[done]14:20
T42<hacker12455> Repository 'apps' is up to date.14:20
T42<hacker12455> Repository 'customer-jolla' is up to date.14:20
T42<hacker12455> Repository 'hotfixes' is up to date.14:20
T42<hacker12455> Repository 'jolla' is up to date.14:20
T42<hacker12455> Retrieving repository 'local-cedric-hal' metadata .....................................................................................................................................................................................[done]14:20
T42<hacker12455> Building repository 'local-cedric-hal' cache ..........................................................................................................................................................................................[done]14:20
T42<hacker12455> All repositories have been refreshed.14:20
T42<hacker12455> * Building of community-adaptation finished successfully14:20
malso manually check the contents of the rpm file it created14:20
T42<hacker12455> where did it output it?14:21
maldroid-local-repo/$DEVICE/community-adaptation/14:21
T42<hacker12455> (Photo, 694x187) https://irc.thaodan.de/.imgstore/h9NNwN1dJt.png14:22
T42<hacker12455> only have adaptation-community.ini.in14:22
malso the file is not there14:23
malthen why is it in your target14:23
T42<elros34> @swanux: do you have your droid repos uploaded? You need to somehow get logcat to figure out why vndservicemanager fails. Try systemctl mask droid-hal-init, reboot then start droid-hal-init same as /usr/bin/droid/droid-hal-startup.sh starts it and logcat at then same time.14:24
T42<hacker12455> @mal [then why is it in your target], good question14:25
T42<hacker12455> oops just saw the don't use direct reply14:25
T42<hacker12455> ran14:25
T42<hacker12455> sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in --force community-adaptation-localbuild14:25
T42<hacker12455> and reran mic14:25
T42<hacker12455> same error14:25
malis the file still there?14:27
T42<hacker12455> yep14:27
T42<elros34> @swanux btw have you tried whether masking usb-moded prevents losing telnet as suggested some time ago?14:27
mal@hacker12455 what does this return sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R rpm -ql community-adaptation-localbuild14:29
T42<hacker12455> PlatformSDK [kacper@kacper-pc hadk]$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R rpm -ql community-adaptation-localbuild14:29
T42<hacker12455> /usr14:29
T42<hacker12455> /usr/share14:29
T42<hacker12455> /usr/share/community-adaptation14:29
T42<hacker12455> /usr/share/community-adaptation/adaptation-community.ini.in14:29
T42<hacker12455> /usr/share/ssu14:29
T42<hacker12455> /usr/share/ssu/features.d14:29
malalso please do not paste many lines here, usually anything more than 3 lines should go to pastebin or some similar service14:29
T42<hacker12455> alright14:30
mal@hacker12455 what does this return sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R rpm -qf /usr/share/ssu/features.d/adaptation-community-common.ini14:30
T42<hacker12455> file /usr/share/ssu/features.d/adaptation-community-common.ini is not owned by any package14:30
malhmm, so sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R rm /usr/share/ssu/features.d/adaptation-community-common.ini14:31
T42<hacker12455> anything to run after that command14:31
T42<hacker12455> or go straight to mic14:32
malrun this first build_packages.sh -c14:32
swanux@elros34 Here are my repos (https://github.com/swanux/droid-hal-version-dipper-16, https://github.com/swanux/droid-hal-dipper-16, https://github.com/swanux/droid-config-dipper-16). How deas exactly usb-moded mask14:32
swanux(accidental enter) masking work?14:33
T42<elros34> it will prevents the service from starting.14:34
T42<hacker12455> works now14:34
T42<elros34> do i same as for droid-hal-init so: systemctl mask usb-moded14:34
T42<hacker12455> well14:34
T42<hacker12455> Error <creator>[02/27 14:34:40] : Unable to find package: patterns-sailfish-device-configuration-cedric14:34
T42<elros34> @swanux I do not see *.rc files from faq in your droid-config.14:36
swanux@elros34 Ok, I masked both, I'm about to try the manual init (usb-moded mask didn't help with the telnet stability, still needs loop). They're no there because I pushed them later manually, but now they're there. (just not in the repo yet)14:38
swanuxBTW, how do I run logcat at the same time? (as logcat command not found) Or journalctl will be fine?14:39
T42<elros34> zinstack625 gives you previously path to logcat. '/sbin/droid-hal-init &' then run logcat14:41
T42<hacker12455> hm14:42
T42<hacker12455> why am I getting a pattern error if my patterns are defined in the .spec file14:42
T42<hacker12455> %include droid-configs-device/droid-configs.inc14:42
T42<hacker12455> %include patterns/patterns-sailfish-device-adaptation-cedric.inc14:42
T42<hacker12455> %include patterns/patterns-sailfish-device-configuration-cedric.inc14:42
T42<elros34> Can you find patterns rpms in droid-local-repo?14:43
T42<hacker12455> (Photo, 401x189) https://irc.thaodan.de/.imgstore/9wfW9A6Y9S.png14:43
malhow new is the config repo for your build?14:45
mal@hacker12455 what exact error do you get?14:45
T42<hacker12455> @mal [@hacker12455 what exact error do you get?], Error <creator>[02/27 14:41:55] : Unable to find package: patterns-sailfish-device-configuration-cedric14:46
swanux@elros34 Th14:48
swanuxThere may be some problem with logcat https://pastebin.com/kaKWCHdG14:48
T42<elros34> @hacker12455 are you sure that you use  4.0.1.48 aarch64 sdk target?14:48
T42<hacker12455> (Photo, 671x146) https://irc.thaodan.de/.imgstore/NgA5SiA2rI.png14:49
T42<hacker12455> used this target14:49
T42<elros34> @swanux did you run it after starting droid-hal-init or just when you are in init-debug script? ALso update your repositories14:49
T42<hacker12455> PlatformSDK [kacper@kacper-pc hadk]$ sdk-assistant list14:50
T42<hacker12455> SailfishOS-4.0.1.4814:50
T42<hacker12455> └─motorola-cedric-aarch6414:50
swanux@elros34 I ran /sbin/droid-hal-init but still can't run logcat. (yeah, I'll add the rc files to them as well)14:52
T42<elros34> @hacker12455 so can you find that pattern via: sb2  -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R  zypper se -s patterns-sailfish-device-configuration-cedric or any other package in your local repository?14:53
swanuxWhich is strange as ls shows the file there14:53
T42<hacker12455> S | Name                                          | Type    | Version        | Arch    | Repository14:54
T42<hacker12455> --+-----------------------------------------------+---------+----------------+---------+-----------------14:54
T42<hacker12455>   | patterns-sailfish-device-configuration-cedric | package | 1-202102271441 | aarch64 | local-cedric-hal14:54
T42<hacker12455> so yeah15:03
T42<hacker12455> I can find the pattern15:03
T42<hacker12455> I can find all listed patterns15:05
T42<hacker12455> so why mic complains I have no idea15:07
T42<hacker12455> any ideas?15:17
T42<hacker12455> interesting15:22
T42<hacker12455> https://bpa.st/CURFY15:22
T42<hacker12455> if I try to force an install15:22
T42<hacker12455> do I need jolla-devicelock-plugin-encpartition15:23
T42<hacker12455> if I try to force patterns-sailfish-device-adaptation-cedric15:26
T42<hacker12455> https://bpa.st/BPNTG15:26
T42<elros34> so can zypper find jolla-devicelock-daemon-encsfa in target?15:27
T42<elros34> and jolla-devicelock-daemon-encpartition15:27
T42<hacker12455> I mean if it asks to uninstall it15:28
T42<hacker12455> then I assume yes15:28
T42<hacker12455> | jolla-devicelock-daemon-encsfa | package | 0.2.46-1.12.17.jolla | aarch64 | jolla15:29
T42<hacker12455> i | jolla-devicelock-daemon-encpartition | package | 0.2.46-1.12.17.jolla | aarch64 | jolla15:29
T42<hacker12455> @elros3415:49
T42<zinstack625> @elros34, @mal, how do I get jolla store again?15:59
T42<elros34> @hacker12455 I don't know. Based on your output build_packages.sh -c should fail for you. WHy do you have droid-config-cedric-policy-settings even installed? REmove it and try again15:59
T42<elros34> @zinstack625 not sure what do you mean by again but faq have short instruction about that16:01
T42<hacker12455> it does not seem to be installed16:01
T42<hacker12455> the status window is empty16:02
T42<hacker12455> the package came from local-cedric-hal16:02
T42<zinstack625> @elros34 yeah, about instructions, they insist I must be on OBS, yet every time I ask here about it, noone seems to care16:02
T42<elros34> @hacker12455 right I mixed up. Did you create fresh patterns or you used some old one?16:03
T42<hacker12455> patterns should be fresh16:04
T42<elros34> @zinstack625 OBS is about to be closed so that can be reason why your reqests are ignored but it's not hard requirement for jolla store access16:04
T42<zinstack625> @elros34, then I think I'm ready, here's my ssu s: https://pastebin.com/TukZ5dSV16:05
T42<hacker12455> is that ok?16:06
T42<hacker12455> Requires: droid-config-cedric-policy-settings16:06
T42<hacker12455> in patterns-sailfish-device-adaptation-cedric16:06
T42<elros34> should be fine16:06
T42<hacker12455> so build_packages.sh -c passes16:07
rinigusmal: looked into AOSP10 handling of camera. on SFOS, mini* services are 32bit. on AOSP10, camera service is 32 but audio is 64. also all missing libs for audiopolicy are on device at /system/lib64.16:08
rinigussmall summary at https://github.com/sailfishos-sony-tama/main/issues/115#issuecomment-78707327716:08
rinigusand below. logcat on camera closing in AOSP https://dpaste.org/Ut02; SFOS https://dpaste.org/iSw916:09
rinigusmal: but it doesn't reply to a question why do I need MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE16:10
T42<elros34> @hacker12455 maybe installing patterns in target was bad idea.16:10
T42<hacker12455> maybe16:10
T42<hacker12455> so what now?16:11
T42<elros34> I am not sure. You could add patterns-sailfish-device-adaptation-cedric to %packages section in your ks file and then run mic manually to see whether it will complain about missing packages16:12
T42<elros34> and show full output from mic16:13
rinigusmal: also added list of media services running on AOSP10 in the camera issue linked above. there is audio, but not media.audio16:15
T42<hacker12455> do I run mic like this?16:16
T42<hacker12455> sudo mic create fs --arch=$PORT_ARCH \16:16
T42<hacker12455>             --tokenmap=$tokenmap \16:16
T42<hacker12455>             --record-pkgs=name,url \16:16
T42<hacker12455>             --outdir=$imgname \16:16
T42<hacker12455>             --pack-to=sfe-$DEVICE-$RELEASE"$EXTRA_NAME".tar.bz2 \16:16
T42<hacker12455>             "$ANDROID_ROOT"/$ks16:16
T42<elros34> if you exported all that variabales then yes otherwise: https://pastebin.com/2RFg4jYY16:18
T42<hacker12455> https://bpa.st/6H5SU16:20
T42<hacker12455> %packages16:20
T42<hacker12455> patterns-sailfish-device-configuration-cedric16:20
T42<hacker12455> patterns-sailfish-device-adaptation-cedric16:20
T42<hacker12455> %end16:20
T42<elros34> looks like you are missing local repo in ks file16:21
T42<hacker12455> https://bpa.st/B66VK16:24
T42<elros34> do you have %define community_adaptation 1 in droid-config-$DEVICE.spec?16:26
T42<hacker12455> yes16:27
T42<elros34> so I don't know, add set -x to build_packages.sh and run it with --mic argument16:31
T42<hacker12455> rpm/dhd/helpers/build_packages.sh --mic set -x16:34
T42<hacker12455> or before mic16:34
T42<elros34> no, add set -x after #!/bin/bash in script16:35
T42<hacker12455> ah16:37
T42<hacker12455> #!/bin/bash16:38
T42<hacker12455> set -x16:38
T42<hacker12455> like that16:38
T42<elros34> sure16:38
T42<hacker12455> https://bpa.st/3OWII16:39
T42<elros34> ah so messing with community-adaptation probably breaks that16:42
T42<hacker12455> welp16:43
T42<elros34> add local repo and use mic manuly: repo --name=adaptation-community-$DEVICE-@RELEASE@ --baseurl=file:///$ANDROID_ROOT/droid//droid-local-repo/$DEVICE. Expand env variables16:44
T42<hacker12455> Error <creator>[02/27 16:48:06] : URLGrabber error: can't find file ///$ANDROID_ROOT/droid-local-repo/$DEVICE/repodata/repomd.xml16:48
T42<elros34> evaluate  env variables before inserting that line in ks file16:49
T42<hacker12455> they are set properly16:50
T42<elros34> but they are not expanded in ks file do it yourself16:51
T42<hacker12455> ah that16:51
T42<hacker12455> ok now it is going16:52
T42<hacker12455> it finished17:08
T42<hacker12455> whether it boots we will know later17:08
T42<zinstack625> May I please get store access? https://pastebin.com/TukZ5dSV17:40
mal@zinstack62 as hint for future, the UID there is your imei number, you should not share it17:44
mal@zinstack625 ^17:44
T42<zinstack625> mal: will never do again, just this once :)17:47
mal@zinstack625 the store instructions in faq said you just need to verify the UID is correct and matched the actual imei of your device and then inform pketo on this channel with the line "Device model: moto g(7) (river / river)" and saying UID was verified17:50
T42<zinstack625> mal: ok thanks17:52
T42<zinstack625> pketo: ^ UID is indeed, correct17:53
pketoremind me on monday :)18:15
T42<zinstack625> pketo: ok, thanks18:15
piggzmal: any thoughts on this error building gecko on 486 https://paste.mozilla.org/sQgOonPw19:58
piggznew tooling adn target installed19:58
T42<zinstack625> Seems like broken toolchain to me20:13
malpiggz: do you have python-M2Crypto installed?20:13
piggzmal: i do now....trying again20:16
piggzmal: same error20:16
malpiggz: did you properly clean the gecko source from any old build fragments before trying that?20:21
piggzmal: https://paste.mozilla.org/PgBuAexd20:28
piggzmal: the gecko build seems to create its own python environment20:47
piggzseems like all of the virtualenv setup fails20:52
malpiggz: strange why it worked in arm for you21:05
piggzyup21:05
piggzmal: fancy setting up an i486 target, cloning and trying?21:05
malI would need to setup a new target, my i486 target is newer21:10

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