Saturday, 2019-12-21

SimdolHaving a hard time fixing dependencies00:06
Simdolerror: Failed build dependencies:00:06
Simdol        pkgconfig(libnciplugin) is needed by nfcd-binder-plugin-1.1.1-0.armv7hl00:06
Simdol        pkgconfig(nfcd-plugin) >= 1.0.20 is needed by nfcd-binder-plugin-1.1.1-0.armv7hl00:06
SimdolBuilding target platforms: armv7hl-meego-linux00:06
SimdolBuilding for target armv7hl-meego-linux00:06
Simdol* Check /home/irvin/hadk/hybris/mw/nfcd-binder-plugin.log for full log.00:06
SimdolHow do I fix that?00:06
malSimdol: build the missing package "build_packages.sh --mw https://github.com/mer-hybris/libnciplugin"00:39
Simdolmal: that doesn't work is the problem00:39
malor actually "build_packages.sh --mw=https://github.com/mer-hybris/libnciplugin"00:39
Simdolmal: still complains dep oerror00:39
maldid it build the package?00:39
Simdolmal: no00:39
Simdolmal: complains that dep isn't met00:39
malwhat error this time, it can't be the same error00:40
Simdolmal: it seems like it's similar though00:41
Simdolhttp://dpaste.com/0RHTY1T00:41
SimdolI'v been trying to fix this since last night00:44
malrun first "build_packages.sh --mw=https://git.sailfishos.org/mer-core/nfcd.git"00:44
malthen the  "build_packages.sh --mw=https://github.com/mer-hybris/libnciplugin" and finally build nfcd-binder-plugin00:44
malit was quite clear from the last error that nfcd had to be updated00:45
Simdolmal: but i can't somehow00:46
Simdolhttp://dpaste.com/09P6RHT00:46
SimdolIt wasn't me that typed 'c' there, somehow it defaults to that00:47
malit alwasy defaults to c if it cannot resolve something00:50
Simdolmal: is there a way to solve it?00:51
malrun sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper in libglibutil-devel and then select the correct option00:51
Simdolmal: cool, that solved it. i'm assuming that there's anthor chroot within sfossdk for building packages?01:02
malyes, the build target01:39
Simdolmal: neat! thank you. I hate to keep asking for help, but even after retrying, the build is stopped after this:01:47
Simdol* Building of geoclue-providers-hybris finished successfully01:47
SimdolDo you have any idea why that might be?01:48
Simdol*stopped as in there's no more output on the konsole01:48
SimdolFull log: http://dpaste.com/3T1Y6JK01:50
vknechtSimdol, seems you just completed chapter 7 of hadk, you can proceed with chapter 8 and create the image02:02
Simdolvknecht: oh, it doesn't have a completion message or anything like that?02:05
vknechtdo you have a droid-hal-version package in your local repo ? if you don't, or really want to see such a message, build_package -v should do :-)02:06
Simdolvknecht: thanks!02:16
SimdolError <creator>[12/21 02:14:20] : URLGrabber error: http://repo.merproject.org/obs/nemo:/devel:/hw:/oneplus:/enchilada/sailfish_latest_armv7hl/repodata/repomd.xml - e.errno: 1402:16
SimdolDuring the build process, that's what I get, and the URL doesn't have my repo on it.02:17
SimdolIs there a way to use local repo?02:17
SimdolAnyone?04:16
r0kk3rzit should use local repo already04:17
Simdolr0kk3rz: do you know why i'm getting that error?04:18
r0kk3rzit thinks you want to use obs for some reason04:22
r0kk3rzyou generated the kickstart file?04:24
Simdolr0kk3rz: following hadk, yes.04:25
r0kk3rzshow me it04:25
Simdolr0kk3rz: http://dpaste.com/2WJ69DX04:25
Simdolr0kk3rz: i commented those two reps from obs and it seems to have gone past that04:26
r0kk3rzok it does have your local repo in there04:27
r0kk3rzyeah thats fine04:27
r0kk3rzyou want to keep the common repo though04:30
Simdolr0kk3rz: yeah, that's what i did04:30
Simdolr0kk3rz: droid-bin-src-full ubu-trusty04:30
Simdoldo you know where to get those two packages?04:30
r0kk3rzyou need them for something?04:31
Simdolr0kk3rz: yes, for audioflingerglue04:32
r0kk3rzmaybe things have changed a little since the last time i did that04:35
r0kk3rzyou can continue on without at anyway04:37
Simdolr0kk3rz: it might be that i have to build gstreamer and follow 13.304:40
r0kk3rzyou can also leave that until later04:41
r0kk3rzdroidmedia is needed for stuff like hardware accellerated video playback04:42
Simdolr0kk3rz: hmmmm. would i just change the pattern if i wanted to continue regardless?04:44
r0kk3rzyes04:44
r0kk3rzthen it should build an image, which we can check basics with04:45
Simdolr0kk3rz: i'm sooo close to building an image lol04:46
Simdoli can feel it04:46
r0kk3rzyep04:47
r0kk3rzthen the real fun begins04:47
Simdolr0kk3rz: diagnosing issues with dmesg & strace, finding the right patch to patch, fixing the problems, rebuilding the image and trying again?04:47
r0kk3rzyeah04:48
Simdolr0kk3rz: i wonder if i could automate the building part with jenkens...04:48
r0kk3rzits not really worth the effort04:50
r0kk3rzlater on we can get you using obs to build most things04:51
r0kk3rzand ive got a thing on gitlab to build images too04:51
Simdolr0kk3rz: that's good to know. somehow gstreamer was built without a problem04:54
r0kk3rzdroidmedia and gst-droid != gstreamer04:55
r0kk3rzthat system has a bunch of different packages, most are already built04:55
Simdolr0kk3rz: so the steps that i'm following on hadk 13.2 isn't gstreamer?04:57
r0kk3rzno thats droidmedia and gst-droid, which are gstreamer plugins04:58
Simdolr0kk3rz: ah, got it04:59
r0kk3rzyou will need those to get most video playback working04:59
Simdolr0kk3rz: i remember it was a pain to get gstreamer working with nvidia on gentoo...05:01
r0kk3rzmost of the time this is easy, sometimes its tricky05:03
r0kk3rzqcom likes to throw weird formats into the mix05:03
Simdolr0kk3rz: i'm honestly not surprised at the very least about qcom05:04
Simdolr0kk3rz: what provides droid-hal-version-#{device}05:11
r0kk3rzyou do05:12
r0kk3rzthats one of your adaptation packages05:12
Simdolr0kk3rz: getting a weird error05:18
Simdolhttp://dpaste.com/238KRW605:18
Simdolr0kk3rz: weird, folder droid-hal-version is empty05:20
Simdolis there a commond that i have to run to fetch submodule from git when installing with build_packages.sh?05:20
r0kk3rzit should automatically fetch submodules05:21
Simdolr0kk3rz: that's what i thought...05:21
Simdolr0kk3rz: i'm gonna try to rm -rf the source and try it again05:21
r0kk3rzbut it sounds like you missed part of the 7.1 chapter05:21
Simdolr0kk3rz: i don't think so, i think i just ignored it when it failed to build05:23
Simdolr0kk3rz: should i ignore deps? http://dpaste.com/3VJ5XE105:24
r0kk3rzno05:26
Simdolr0kk3rz: i'm not sure what the error is, from the looks of it, everything that i need is met05:27
r0kk3rznot sure either tbh, could be a version mismatch somewhere05:32
Simdolr0kk3rz: http://dpaste.com/3QPGYGF05:41
Simdolin this case, do i uninstall usb-moded-defaults?05:41
Simdolr0kk3rz: oh, nvm05:42
Simdoldownloading 742 packages :O05:50
r0kk3rzsounds like its building05:56
Simdolr0kk3rz: woot! :DD06:06
Simdolr0kk3rz: can i ask you few questions about flashing sos before i do so?06:07
r0kk3rzsure06:11
Simdolr0kk3rz: when i flash, what partitions are modified?06:12
Simdoli assume boot and data/.stowaways06:12
r0kk3rzyep06:14
r0kk3rzi dont think any others are06:15
Simdolr0kk3rz: if my phone is encrypted, can sailfish handle it?06:15
r0kk3rzas in your data partition is encrypted?06:15
Simdolr0kk3rz: yes06:15
Simdoldefault android encryption06:15
r0kk3rzi think sfos recently got support for some kind of main disk encryption, but i dont know exactly how it works06:16
Simdolr0kk3rz: that's fair...06:16
r0kk3rzcertainly for porting at this stage, i wouldnt recommend having an encrypted disk06:16
r0kk3rzone more thing to go wrong06:16
Simdolr0kk3rz: i agree, but i will try anyway to see what happens06:17
Simdolr0kk3rz: to revert back, all i have to do is to restore /boot partition from twrp right?06:17
r0kk3rzyeah if you flash the boot.img from LOS you'll boot back into los just fine06:18
Simdolr0kk3rz: is flashing with twrp fine for sos?06:20
r0kk3rzsure06:20
r0kk3rzthats the usual process06:20
Simdolr0kk3rz: I got this error: failed to boot init in real rootfs sailfish06:51
Simdolwithout sailfish of course06:51
r0kk3rzok, see if oyu can telnet06:52
Simdolr0kk3rz: connection refused with port 2306:53
r0kk3rztry 2323 as well06:53
Simdolr0kk3rz: connection refused06:54
r0kk3rzok06:54
r0kk3rzfirst thing is to double check your fixup_mountpoints06:54
Simdolr0kk3rz: it looks sane to me06:56
r0kk3rzshow me06:57
Simdolbranek: http://dpaste.com/14G1SGW06:57
Simdoloops06:57
Simdolr0kk3rz: ^06:57
r0kk3rzuserdata is definitely on /dev/sda1706:58
Simdolr0kk3rz: let me see if i can chroot into sos image on my phone on recovery07:01
r0kk3rzhttps://github.com/mer-hybris/hybris-boot/blob/master/init-script#L14307:02
r0kk3rzthis is probably where its failing in the init script07:02
r0kk3rzhttps://github.com/mer-hybris/hybris-boot/blob/master/init-script#L39707:04
r0kk3rzis where that error comes from07:04
Simdolr0kk3rz: is there a log file i can retrieve from sos?07:05
r0kk3rzthere is07:06
Simdolr0kk3rz: also does this look right to you? http://dpaste.com/0WS59RT07:06
Simdolit's missing at least /home07:06
r0kk3rzthat might be ok07:07
Simdolr0kk3rz: even without /bin?07:08
r0kk3rzits an overlayfs07:08
Simdolr0kk3rz: i was right. it didn't extract 100%07:13
Simdolr0kk3rz: there's definitely more files now07:13
Simdolhttp://dpaste.com/0X2WRSY07:13
Simdolr0kk3rz: good news. i don't have that error anymore07:15
Simdoli got a blue led on my led indicator07:16
Simdolstill can't telnet though07:16
r0kk3rzto 2323?07:17
Simdolr0kk3rz: and 2307:17
r0kk3rz23 is for early init debug, and with any luck we're past that now07:17
r0kk3rzanything in dmesg on host?07:17
Simdolnew high-speed USB device number 43 using xhci_hcd07:18
r0kk3rzanything about rndis?07:19
Simdolregister 'rndis_host' at usb-0000:04:00.0-1.4, RNDIS device, {MACNUMBER}07:19
Simdolr0kk3rz: with {MACNUMBER} actually being a real mac07:20
r0kk3rzok thats something07:21
Simdolonly if i could telnet :(07:21
Simdolr0kk3rz: my kde/ifconfig sees interface from my phone07:21
r0kk3rzdo you have an rndis networking interface with an ip?07:21
Simdolr0kk3rz: yes.07:21
r0kk3rzwhats the ip07:21
Simdol192.168.2.1307:21
r0kk3rzlooks good07:22
Simdolr0kk3rz: right now, i'm fastboot boot hybris-boot.img ing07:23
Simdoli wonder if that's the problem07:23
r0kk3rzshouldnt be07:24
r0kk3rzbut you can flash it07:24
Simdoli hate using dd lol07:24
r0kk3rzdd?07:27
Simdolr0kk3rz: yeah, dd to flash it07:27
r0kk3rzfastboot flash boot hybris-boot.img07:27
Simdolr0kk3rz: oh, that works too?07:27
r0kk3rzyeah07:27
Simdolr0kk3rz: still the same result :(07:28
r0kk3rzyeah, getting the telnet working can be fun sometimes07:29
Simdolr0kk3rz: is there anything i can do to retrieve log that's relevant?07:30
Simdol/var/log/lastlog is binary file that's 28M...07:32
Simdolhow do i read that?07:32
r0kk3rzsfos uses jounral for logging, so you need journalctl to read it07:32
Simdolr0kk3rz: ofc systemd07:33
r0kk3rzindeed07:33
Simdolr0kk3rz: pottering: "binary logs are better!"07:33
r0kk3rzthey are, except for cases like this where they arent07:33
Simdolr0kk3rz: the sole purpose of log is so that peeps can read it07:34
Simdolanyways, i'm gonna try to chroot into it07:34
Simdoland run lastlog07:34
r0kk3rzjournal and systemd have some nice features when it comes to logging, but it does kinda assume you're viewing the logs on the same system07:35
Simdolr0kk3rz: to me, it has never helped me anyway. one of the reasons why i don't use systemd over runit07:36
Simdolr0kk3rz: http://dpaste.com/0DEW41R07:36
r0kk3rzit got to the nemo session, so thats positive07:37
r0kk3rzyou may need to turn on persistant journal logs, and reboot07:38
Simdolr0kk3rz: how do i do that?07:39
Simdolr0kk3rz: ah found it07:39
r0kk3rzin general everything systemd is reasonably well documented07:39
r0kk3rzand if you're not familiar with it, its probably best you get familiar07:40
r0kk3rzat least on a high level07:40
Simdolr0kk3rz: i kinda am, i wrote a research paper awhile back about it07:40
r0kk3rzgood to know07:41
Simdolr0kk3rz: when you boot sos, there's a boot animation right?07:43
r0kk3rzno07:43
Simdolr0kk3rz: good to know07:44
r0kk3rzyou'll see the oneplus splash i should think07:44
Simdolr0kk3rz: i guess my old jolla ddin't have either07:44
r0kk3rzthat would have a jolla splash image07:45
r0kk3rzwhich you can configure if you want07:45
Simdolr0kk3rz: http://dpaste.com/10D99YS07:46
Simdolr0kk3rz: sorry, stupid mistake07:49
Simdolhttps://gist.github.com/DeltoidDelta/a0723de88bacfe3ef619da64d93be75907:49
r0kk3rzwhich base is this?07:53
Simdolr0kk3rz: LOS 1607:53
Simdolhybris-1607:53
r0kk3rzdoesnt seem too bad really07:58
Simdolr0kk3rz: hmmm07:59
r0kk3rzhttps://github.com/mer-hybris/hadk-faq/blob/master/README.rst#hybris-16-007:59
r0kk3rzdid you do this?07:59
Simdolr0kk3rz: yes08:02
r0kk3rzgood08:11
Simdolr0kk3rz: any ideas?08:27
r0kk3rznot especially, need to figure out qhy you get rndia but no telnet08:30
rinigusmorning! is OBS broken? just updated hal packages but that didn't trigger rebuild for some reason...08:46
r0kk3rzwebhooks are always inconsistent08:49
rinigusNo, there are no webhooks here. I stopped using them and wrote small script updating service file08:58
rinigusBut on update of rpms in hal, I was getting rebuilds. Not today08:58
rinigusPackage in question: https://build.merproject.org/package/show/nemo:testing:hw:sony:tama/droid-hal-tama . Some of rpms were updated, but rebuild was not triggered09:07
Simdolhmmm09:09
Simdol"droid-hal-init: Failed to initialize property area09:10
Simdoli hear that's a common error09:10
r0kk3rzit is09:14
r0kk3rzbut shouldnt stop telnet09:14
Simdolr0kk3rz: any idea how to debug that?09:16
SimdolError creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)09:16
Simdolhmm /dev/tty is missing09:16
SimdolDevice /dev/sailfish/home doesn't exist or access denied.09:18
T42<elros34> that is normal09:19
Simdolelros34: just trying to make sense of the journal09:20
SimdolIt's here if anyone has a time to look into it09:21
Simdolhttps://gist.githubusercontent.com/DeltoidDelta/a0723de88bacfe3ef619da64d93be759/raw/0d3c1d8535fdc0da49f9f768dda8d7058b95fddf/gistfile1.txt09:21
T42<elros34> system-etc-ld.config.28.txt.mount fails so that could be issue, have you figure out how to get telent yet?09:31
T42<elros34> probably /system is not mounted but I this log too much verbose, there is no point to use -x09:33
rinigusI wonder, who do we ping in case of obs issues?09:35
Simdolelros34: didn't use -x. how's /system not mounted?09:36
T42<elros34> "[root@localhost ~]# journalctl -x > out". check droid-hal-$DEVICE.log or /lib/systemd/system/system*.mount whether units were created09:38
Simdolelros34: oh shit, i didn't even realize my bad.09:39
Simdolelros34: do you know where droid-hal-${device}.log is located at?09:39
T42<elros34> in $ANDROID_ROOT09:41
Simdolelros34: http://dpaste.com/39QEXBP09:46
T42<elros34> you are missing mount units, have you followed this https://github.com/sailfish-oneplus6/sf-enchilada/blob/master/building.md? btw CONFIG_MEMCG_KMEM should be enabled09:49
Simdolelros34: odd. CONFIG_MEMCG_KMEM=y is set09:51
Simdolelros34: i'm not 100% sure whether i followed that or not09:51
Simdoljust in case, i will try that and rebuild09:51
T42<elros34> you probably also should grab uevent*.rc from your /vendor partition and diff it with /out/target/product/enchilada/root/ueventd.rc. I see there are custom udev rules 999-android-vendor.rules but make sure the have no common entries09:53
Simdolelros34: still no luck10:11
T42<elros34> what do you mean?10:12
Simdolelros34: after making sure to cp that fstab file, reflashing boot image, it seems like i still can't telnet into my phone10:14
Simdolwondering if i have to rebuild filesystem10:14
T42<elros34> have you checked droid-hal-$DEVICE.log? That is first thing to try before generating new image10:14
Simdolelros34: that file is identical10:16
T42<elros34> Did you rebuild droid-hal package (build_packages.sh —droid-hal)?10:17
Simdolentil: oh shit, no10:17
T42<elros34> you don't have to rebuild whole image, you can just install droid-hal-$DEVICE-0*.rpm package which should contains generated mount units10:19
Simdolelros34: looking good10:24
Simdolhttps://www.diffchecker.com/afBd8MzO10:24
T42<elros34> yes, should be good now. I am wondering about MEMCG, could you please pastebin your ./out/target/product/enchilada/obj/KERNEL_OBJ/.config10:27
Simdolelros34: sure! http://dpaste.com/0PAM24H10:30
T42<elros34> ah so CONFIG_MEMCG_KMEM is just not enabled10:32
KALUBE@elros34 afaik he is using my kernel config. We have the same device and I don't have any issues so I don't think it's the cause10:40
r0kk3rzyou're not sharing an adaptation because?10:41
T42<elros34> Sure MEMCG  is not related but still it's recommended to be enabled for systemd.10:41
KALUBEwill update my config10:45
Simdolomg10:49
Simdoli got gui!10:49
r0kk3rzcongrats11:11
T42fiskindal was added by: fiskindal11:48
T42<fiskindal> Hello, My name is Mehmet.11:48
T42<fiskindal> I am from Turkey,I want to run the software I developed with flutter on the sailfish operating system.11:49
T42<fiskindal> how can I do it11:50
T42<fiskindal> I have a software bundle and a I have a shared lib.11:56
vknecht@fiskindal, doesn't look like flutter is an option for sfos app dev12:34
T42<fiskindal> https://github.com/flutter/flutter/issues/4758412:39
T42<fiskindal> We use flutter or React-Native in Turkey12:40
T42<fiskindal> No need to learn anything new for Sailfish OS.12:40
vknechtwell, either you build it for android and it should work on official sfos devices which have the android "emulator", but won't work on community ported devices12:42
vknechtsee https://sailfishos.org/wiki/Application_Development for support app dev stack on sfos12:44
vknecht*supported12:44
T42<fiskindal> thanks12:45
vknechtmal, loire doesn't have /sys/kernel/boot_wlan/boot_wlan nor WIFI_DRIVER_BUILT := qca_cld3 in its PlatformConfig... should wifisetup.service/connman-suspend just be dropped, or should the PlatformConfig be adapted ? (I have qcacld in droid-hal but I guess it's not used, then)13:09
vknechtzcat /proc/config.gz | grep WLAN only gives CONFIG_BACKPORT_WLAN=y and CONFIG_BACKPORT_WLAN_VENDOR_BROADCOM=y13:13
vknechtwifi basically work but there's regular notification about network errors13:13
T42<fiskindal> I am using sailfish OS on my xperia xz device. What do I need to do for Android support?13:18
vknecht@fiskindal: if it's unofficial port, you can't have it (or maybe try anbox if your kernel supports it, but it's not working very well, if at all)13:25
T42<fiskindal> thanks13:26
rinigusOBS looks to be only scheduling the builds. nothing is moving there :(14:10
deathmistrinigus: same lol I thought I did something wrong, decided to move my dumpling configs to cheeseburger repo as a branch instead of a separate repo https://git.io/JedVm so stuff is simpler to update etc :)14:12
deathmistguess I'll have to wait a bit till making 5T 3.2.1 images ^^14:14
deathmistr0kk3z: mal: may want to look into why OBS has just been scheduling everyone's builds for the past few hours at least, absolutely nothing is happening :/14:55
deathmistr0kk3rz14:55
deathmistbuilding on OBS is still broken btw, lbt too could perhaps look into it?18:46
r0kk3rzsays the dispatcher is dead23:11
r0kk3rz@fiskindal in theory flutter can work on sfos, but we dont really have vulcan support23:18

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