Sunday, 2020-05-24

*** Piece_Maker is now known as Acou_Bass00:56
T42shivank_here was added by: shivank_here07:05
wdehoogI used to update droid-hal-bacon using osc but when I try that I now get: 'No module named M2Crypto.httpslib .....'12:28
riniguspiggz: I am getting ready to look into fingerprint. do you have pointers for docs regarding the stack?13:07
rinigusin particular, how is it hooked in SFOS, what's done on AOSP level? how that fits with biometryd13:07
rinigusif not, I'll search around and try to figure it out13:08
wdehoogafter manually uploading the rpms now droid-hal-version-baon fails13:16
wdehoog error: unpacking of archive failed on file /boot/hybris-recovery.img;5eca7052: cpio: open failed - File exists13:16
wdehoogand  error: unpacking of archive failed on file /boot/boot-initramfs.gz;5eca7052: cpio: open failed - File exists13:16
wdehoogfor onyx the same seems to happen13:16
deathmistwdehoog: you need https://github.com/sailfishos-oneplus5/droid-hal-device/commit/f95c839f7be994d2020ccf877adad118d04e1d9a for your dhd submodule, this should probably be put in a PR as I believe anyone building 3.3 will have the exact same issue building both locally as well as on OBS13:33
wdehoogdeathmist: thanks, I'll try13:34
T42<hacker12455> ```hybris/hybris-boot/Android.mk:71: ********************* /boot appears to live on /dev/block/bootdevice/by-name/boot14:10
T42<hacker12455> hybris/hybris-boot/Android.mk:72: ********************* /data appears to live on /dev/block/bootdevice/by-name/userdata14:10
T42<hacker12455> **********************************************14:10
T42<hacker12455> The boot animation could not be generated as14:10
T42<hacker12455> ImageMagick is not installed in your system.14:10
T42<hacker12455> Please install ImageMagick from this website:14:10
T42<hacker12455> https://imagemagick.org/script/binary-releases.php14:10
T42<hacker12455> **********************************************14:10
T42<hacker12455> vendor/cm/bootanimation/Android.mk:40: *** stop.14:10
T42<hacker12455> make: *** [/home/kacper/hadk/out/build-lineage_cedric.ninja] Error 1```14:10
T42<hacker12455> I'm in HABUILD_SDK14:10
T42<ankaos> https://paste.ubuntu.com/p/7CYgVRbFbT/ how fix?14:11
T42<ankaos> @hacker12455 [hybris/hybris-boot/Android.mk:71: ************ …], sudo apt-get update14:12
T42<ankaos> sudo apt-get install bsdmainutils rsync vim unzip imagemagick software-properties-common python-software-properties14:12
DylanVanAsschehacker12455: You need to install ImageMagick 😉 If you want to post some logs or command output, please use a pastebin for IRC and Matrix users 🙂14:12
T42<hacker12455> @DylanVanAssche [hacker12455: You need to install ImageMagick � …], got it14:13
T42<ankaos> DylanVanAssche: https://paste.ubuntu.com/p/7CYgVRbFbT/ how fix?14:14
DylanVanAsscheankaos: I'm not an expert on that, but `open failed - File exists` says that something exists already in the /boot partition.14:16
wdehoog@deathmist it worked. on to the next issue...14:27
wdehoogankaos: for the cpio problem see deathmists link14:29
deathmistwdehoog: I think rinigus had an upgrade document with all steps porters needed to take in order to successfully get a 3.3 image going14:32
wdehooglooks like I relly need this document. image boots but wizard has very small font and I am now stuck at entering pin security code. no link to skip or 'enter'14:45
wdehoogany idea where this document is located?14:45
riniguswdehoog: update was actually mostly as usual. its mainly things that I had to do slightly differently due to the port14:52
rinigusdoc is at https://github.com/sailfishos-sony-tama/main/blob/master/hadk-sony-xz2.md14:53
rinigusits probably just update notes that are referred to (end of it)14:53
wdehoogrinigus: thanks. so you had no problems with scaling? (small font)14:53
riniguswdehoog: not at all14:53
rinigusthat's something new14:54
T42<elros34> wdehoog: my notes for 3.3.0: http://collabedit.com/kr9xx14:56
wdehoogelros34: thanks.14:58
T42<hacker12455> building gstreamer15:19
T42<hacker12455> https://bpa.st/DAGQ15:19
wdehoogelros34: after updating my ks file scaling is normal again and I could finish the startup wizard. thanks!15:34
wdehoognow I have to find a way to update testing without ocs (which does not seem to work anymore)15:35
wdehoogsorry. I meant osc15:37
T42<elros34> Last time I use it it worked. Have you tried outside of sdk maybe?15:39
riniguswdehoog: osc works, but I never used it in hadk/sdk - just from system15:41
rinigusas for ks update, forgot it as I am using autogenerated one15:41
wdehoogit looks like in hadk M2Crypto is installed for python 315:41
wdehoogand osc wants python 2 or the default is python 215:41
T42<hacker12455> so does anyone have any idea about my gstreamer build issue?16:42
T42<hacker12455> mainly I wonder what this si16:46
T42<hacker12455> `ninja: error: '/home/kacper/hadk/out/target/common/obj/PACKAGING/public_api.txt', needed by '/home/kacper/hadk/out/target/common/obj/PACKAGING/checkpublicapi-last-timestamp', missing and no known rule to make it`16:47
T42AgnusDeiQuiTollisPeccataMundi was added by: AgnusDeiQuiTollisPeccataMundi16:50
T42<hacker12455> issue fixed17:03
T42<hacker12455> how do I get rid of this extra slash17:30
T42<hacker12455> URLGrabber error: https://releases.jolla.com/jolla-apps//armv7hl/repodata/repomd.xml - e.errno: 1417:30
T42<elros34> @hacker12455 you are missing some env variable. BTW now to build gstreamer and related packages you only need to: make droidmedia and build_packages.sh  --gg17:32
T42<hacker12455> after I fixed that got this17:32
T42<hacker12455> Error <creator>[05/24 17:31:50] : Command 'modprobe' is not available.17:32
T42<hacker12455> I'm in PlatformSDK17:32
T42<elros34> modprobe is in kmod package, install it17:32
T42<ankaos> zypper in kmod17:33
T42<hacker12455> alright, now it's retrieving packages17:34
T42<hacker12455> now it spams this17:48
T42<hacker12455> https://bpa.st/HMNQ17:48
T42<hacker12455> running post scripts17:50
T42<hacker12455> https://bpa.st/YP6A17:50
T42<elros34> too old target or/and ks file17:52
T42<hacker12455> probably the second one17:52
T42<hacker12455> let me remake it17:53
T42<hacker12455> how do I run this17:56
T42<hacker12455> ```sed \"/$HA_REPO/i$HA_DEV --baseurl=file:\/\/$ANDROID_ROOT\/droid-local-repo\/$DEVICE" \$ANDROID_ROOT/hybris/droid-configs/installroot/usr/share/kickstarts/$KS \> $KS```17:56
T42<elros34> don't, use build_packages.sh --mic17:56
T42<hacker12455> ```PlatformSDK [kacper@kacper-pc hadk]$ rpm/dhd/helpers/build_packages.sh --mic17:57
T42<hacker12455> !! Please set the desired RELEASE variable in ~/.hadk.env to build an image for```17:57
T42<hacker12455> it is set17:57
T42<hacker12455> PlatformSDK [kacper@kacper-pc hadk]$ cat ~/.hadk.env17:58
T42<hacker12455> export PLATFORM_SDK_ROOT="/srv/mer"17:58
T42<hacker12455> export ANDROID_ROOT="$HOME/hadk"17:58
T42<hacker12455> export VENDOR="motorola"17:58
T42<hacker12455> export DEVICE="cedric"17:58
T42<hacker12455> export PORT_ARCH="armv7hl"17:58
T42<hacker12455> export RELEASE="3.3.0.16"17:58
T42<elros34> exec bash, then echo $RELEASE17:58
T42<hacker12455> it's empty17:58
T42<elros34> try to exit and enter sdk so it can be sourced17:59
T42<hacker12455> the hell17:59
T42<hacker12455> ```[kacper@kacper-pc hadk]$ sfossdk17:59
T42<hacker12455> bash: /srv/mer/sdks/sfossdk/mer-sdk-chroot: No such file or directory```17:59
T42<hacker12455> ```[kacper@kacper-pc ~]$ cat ~/.mersdk.profile18:00
T42<hacker12455> PS1="PlatformSDK $PS1"18:00
T42<hacker12455> [ -d /etc/bash_completion.d ] && for i in /etc/bash_completion.d/*;do . $i;done18:00
T42<hacker12455> function hadk() { source $HOME/.hadk.env; echo "Env setup for $DEVICE"; }18:00
T42<hacker12455> hadk18:00
T42<hacker12455> function hadk() { source $HOME/.hadk.env; echo "Env setup for $DEVICE"; }18:00
T42<hacker12455> hadk```18:00
T42<hacker12455> needed to reopen the terminal18:01
T42<hacker12455> running build_packages —mic18:02
T42<hacker12455> damnit same tracker spam18:06
T42<hacker12455> removed kickstart, let18:07
T42<hacker12455> is it because I am on manjaro?18:08
T42<hacker12455> same thing...18:11
T42<hacker12455> is the zip generated after working?18:11
T42<hacker12455> the address empty errors are weird18:12
T42<hacker12455> can sailfish run on f2fs fine?18:50
T42<hacker12455> it works19:08
T42<hacker12455> hm ssl error when trying to log into a jolla account19:19
T42<hacker12455> and it can't install rpm packages from gui19:19
T42<hacker12455> seems like certs did not get installed?19:21
T42<hacker12455> any way to manually install them?19:23
T42<elros34> did you fix that dconf errors you had?19:34
T42<hacker12455> nope19:36
T42<elros34> you should. What about target? Do you use 3.3.0.16?19:38
T42<hacker12455> yep19:39
T42<hacker12455> hmm so dconf reports permission denied errors19:39
T42<elros34> what sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R ssu re returns?19:39
T42<hacker12455> Device release is currently: 3.2.1.2019:40
T42<hacker12455> how do I change that to 3.3.0.16?19:41
T42<elros34> upgrade or download correct versioned target (seems latest still points to old release)19:43
T42<hacker12455> how?19:44
T42<elros34> follow instruction, there is info how to upgrade and url with all tartgets available19:45
T42<elros34> http://releases.sailfishos.org/sdk/targets/19:46
T42<hacker12455> downloading target19:47
T42<hacker12455> after that build_packages.sh —mic?19:48
T42<elros34> no, on fresh target run script once without arguments so it will install at least libhybris and droid-hal in target19:49
T42<hacker12455> alright19:49
wdehoogelros34: camera is black. in your notes you say to update droidmedia and gst-droid. I did but building of gst-droid fails. which branch do you use?20:01
T42<elros34> I used master but for now I downgrade it as I notice more browser crashes but that could be related to something else20:06
wdehoogthanks. and downgrade to which version?20:10
T42<elros34> you would have to downgrade 4 packages20:11
T42<elros34> here: https://build.merproject.org/project/show/nemo:testing:hw:motorola:moto_msm8960_jbbl but better use latest20:12
wdehoogthanks20:21
T42<hacker12455> ```* Building of pulseaudio-modules-droid-glue finished successfully20:27
T42<hacker12455> * Building rpm/droid-hal-version-cedric.spec20:27
T42<hacker12455> Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /boot/boot-initramfs.gz;5ecad81f: cpio: open failed - File exists20:27
T42<hacker12455> error: droid-hal-cedric-kernel-0.0.6-202005242015.armv7hl: install failed```20:27
T42<hacker12455> @elros3420:27
T42<elros34> https://irclogs.sailfishos.org/logs/%23sailfishos-porters/latest.log.html#t2020-05-24T14:56:5420:28
T42<hacker12455> am I missing something here?20:30
T42<hacker12455> I ran build_packages without argument20:30
T42<elros34> sorry wrong timestamp, anyway: http://collabedit.com/kr9xx20:32
T42<hacker12455> mic is now running20:46
T42<hacker12455> looks like the certs are not available?20:49
T42<hacker12455> ```Downloading ...20:49
T42<hacker12455> -=#=-   #       #          #20:49
T42<hacker12455> curl: (77) error setting certificate verify locations:20:49
T42<hacker12455>   CAfile: /etc/pki/tls/certs/ca-bundle.crt20:49
T42<hacker12455>   CApath: none```20:49
T42<hacker12455> dconf still errors out...20:50
T42<hacker12455> error: The given address is empty20:50
T42<hacker12455> so trackers failed20:52
T42<hacker12455> can't see permission denied errors for dconf now20:53
wdehoogelros34: camera now works after droidmedia+gst-droid. (I made an error while packaging the 1st time.) thanks again for your notes20:55
T42<hacker12455> full mic log20:57
T42<hacker12455> https://bpa.st/YOYQ20:57
T42<elros34> wdehoog: strange:) it shoudn't works without nemo-gst* and nemo-qtmultimedia*20:59
T42<elros34> @hacker12455 can you confirm that you are using now correct target and sdk? paste your ks file21:02
wdehoogreally? well picture and video record work. I have only nemo-qtmultimedia-plugins-gstvideotexturebackend21:02
wdehoogand used master of both droidmedia and gst-droid21:02
T42<hacker12455> @elros34 [@hacker12455 can you confirm that you are usin …], https://bpa.st/CUZA21:03
T42<elros34> wdehoog: ah I missunderstand, so now you use master?21:03
T42<ankaos> I'm starting from scratch. I'm bored.21:04
wdehoogyes for both droidmedia as well as gst-droid. (but my droidmedia is still patched for bacon cm12.1 video play problems)21:05
T42<elros34> @hacker12455 looks correct, is that a new port? Did you update all sumodules?21:10
T42<hacker12455> this is a port that worked before, just wanted to update it to a new version.21:11
T42<hacker12455> all submodules should be updated, I can check21:11
T42<hacker12455> everything seems to be updated.21:14
T42<hacker12455> do you want a link to repos?21:17
T42<elros34> I believe that you compare your submodules last commit with mer-hybris one so I have no more ideas why dconf fail21:24
T42<elros34> but your previous errors are fixed now, so maybe it's enough21:27
T42<elros34> I mean: Failed to open file “/etc/dconf/db/vendor-variant21:28
T42<hacker12455> still there is the certificate error21:29
T42<hacker12455> not sure if that is normal21:29
T42<hacker12455> and given the fact that the installed system does not have certificates...21:29
T42<elros34> That errors seems irrelevant for me21:31
T42<hacker12455> @elros34 certificates still are missing.22:18
T42<elros34> When? how about you show full error?22:19
T42<hacker12455> https://bpa.st/GLUA22:21
T42<hacker12455> this is what happens when I try to run zypper up22:21
T42<hacker12455> jolla account login shows a network error22:21
T42<hacker12455> certificate section in settings is all empty.22:23
T42<hacker12455> before the login showed a SSL error22:23
T42<elros34> iirc dethmist had some issues with jolla account.22:24
T42<elros34> Do you have correct date/time set?22:25
T42<hacker12455> yes22:25
T42<hacker12455> see this22:27
T42<hacker12455> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/VFoE0jIBak.png22:27
T42<hacker12455> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/R0sXhxxXeO.png22:27
T42<hacker12455> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/YzGSSxfIYv.png22:27
T42<ankaos> @hacker12455 wlan open??22:28
T42<hacker12455> do you mean if I have wlan working?22:29
T42<ankaos> @hacker12455 [do you mean if I have wlan working?], yes22:29
T42<hacker12455> yes22:29
T42<hacker12455> but I have a bigger issue22:29
T42<ankaos> how did you run the wlan?22:29
T42<hacker12455> don't remember doing anything special22:30
T42<hacker12455> maybe something in your kernel config22:31
T42<ankaos> build droidmedia?22:33
T42<ankaos> @hacker12455 [maybe something in your kernel config], what did you compile22:33
T42<hacker12455> @ankaos [build droidmedia?], that is built22:35
T42<ankaos> I cannot overcome the wlan and ril problem.22:36
T42<hacker12455> did anyone else have an issue where their certificates were not installed?22:37
T42<ankaos> I cannot access the internet when the wlan does not open.22:38
T42<hacker12455> (Document) https://irc.thaodan.de/.imgstore/BIeFFML0Fp.txt22:40
T42<elros34> @hacker12455 I checked my mic build log and I have no such a dconf, certificate eroors like your22:42
T42<hacker12455> hmm22:42
T42<hacker12455> I really don't want to wipe everything22:42
T42<hacker12455> idea22:43
T42<hacker12455> what if I sent you my repos, manifest and kickstart file and you could try building it under your hadk?22:44
T42<elros34> you can use https://gitlab.com/sailfishos-porters-ci for building image22:47
T42<hacker12455> requested access22:49
T42<ankaos> will i add this? `%define have_kernel_modules 1`22:57
T42<elros34> @ankaos which steps from hadk-faq about wifi did you finish so far?22:58
T42<ankaos> https://github.com/mer-hybris/hadk-faq#build-wlan-driver-as-module only22:59
T42<ankaos> https://github.com/mer-hybris/droid-config-onyx/blob/master/sparse/lib/systemd/system/wlan-module-load.service https://github.com/mer-hybris/droid-config-onyx/blob/master/sparse/lib/systemd/system/multi-user.target.wants/wlan-module-load.service ı dont use22:59
T42<elros34> so do you have now some modules in /lib/modules/`uname -r`/ aftere following instruction23:01
T42<hacker12455> Quick question, do I need to send my gitlab username here too or is clicking the request access button enough?23:03
T42<ankaos> WIL6210 wifi modul23:04
T42<elros34> modprobe it then23:18
T42<elros34> @hacker12455 this 'Failed to start message bus: Value too large for defined data type' maybe 64bit feature set in your partition cause such an issue23:20
T42<hacker12455> Maybe23:20
T42<hacker12455> But would that affect anything?23:20
T42<elros34> I have no idea just a guess23:20
r0kk3rzdo you have your adaptation on obs?23:21
T42<hacker12455> Nope23:22
r0kk3rzyou should do that23:22
T42<hacker12455> I know, but not now23:23
T42<hacker12455> Still I want to solve that certificate issue23:23
r0kk3rzthe gitlab ci wont help you without that23:23
T42<ankaos> are there any errors? https://paste.ubuntu.com/p/yr3hNFRbkb/23:56

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