#sfdroid log for Friday, 2017-07-14

*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-qdfcgtldnmlzwnod> has joined #sfdroid01:02
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-qdfcgtldnmlzwnod> has quit IRC (Quit: Connection closed for inactivity)04:31
*** CrKit <CrKit!~nekit@37.200.78.29> has joined #sfdroid04:36
*** CrKit <CrKit!~nekit@37.200.78.29> has quit IRC (Read error: Connection reset by peer)05:11
*** CrKit <CrKit!~nekit@37.200.78.29> has joined #sfdroid05:11
*** pseudodev_ <pseudodev_!uid205973@gateway/web/irccloud.com/x-ipdpsangicectyft> has joined #sfdroid05:30
*** piggz <piggz!~piggz@95.151.212.235> has quit IRC (Ping timeout: 260 seconds)05:43
*** pseudodev_ is now known as pseudodev05:48
*** CrKit <CrKit!~nekit@37.200.78.29> has quit IRC (Ping timeout: 260 seconds)06:37
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid07:10
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ipdpsangicectyft> has quit IRC (Quit: Connection closed for inactivity)07:58
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has quit IRC (Ping timeout: 246 seconds)08:11
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has joined #sfdroid08:12
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Ping timeout: 260 seconds)09:22
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid09:34
*** krnlyng|mobile_ <krnlyng|mobile_!~sailfish@213162072250.public.t-mobile.at> has joined #sfdroid10:00
*** krnlyng|mobile_ <krnlyng|mobile_!~sailfish@213162072250.public.t-mobile.at> has quit IRC (Ping timeout: 260 seconds)10:07
*** TheKit <TheKit!~nekit@85-95-179-56.saransk.ru> has joined #sfdroid10:27
*** NeKit <NeKit!~nekit@85-95-178-206.saransk.ru> has quit IRC (Ping timeout: 276 seconds)10:31
*** krnlyng|mobile <krnlyng|mobile!~sailfish@212095007127.public.telering.at> has joined #sfdroid10:57
*** ranter <ranter!~ranter@37-136-53-217.rev.dnainternet.fi> has quit IRC (Ping timeout: 248 seconds)11:47
*** CrKit <CrKit!~nekit@80.83.238.64> has joined #sfdroid11:55
*** CrKit <CrKit!~nekit@80.83.238.64> has quit IRC (Ping timeout: 260 seconds)12:09
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving)12:22
*** CrKit <CrKit!~nekit@80.83.238.64> has joined #sfdroid12:42
*** CrKit <CrKit!~nekit@80.83.238.64> has quit IRC (Ping timeout: 260 seconds)12:48
*** krnlyng|mobile <krnlyng|mobile!~sailfish@212095007127.public.telering.at> has quit IRC (Ping timeout: 240 seconds)12:52
*** nh1402 <nh1402!~nh1402@146.95.208.46.dyn.plus.net> has joined #sfdroid13:03
*** nh1402_ <nh1402_!~nh1402@146.95.208.46.dyn.plus.net> has joined #sfdroid13:19
*** nh1402 <nh1402!~nh1402@146.95.208.46.dyn.plus.net> has quit IRC (Ping timeout: 268 seconds)13:22
*** krnlyng|mobile <krnlyng|mobile!~sailfish@212095007189.public.telering.at> has joined #sfdroid14:38
*** krnlyng|mobile <krnlyng|mobile!~sailfish@212095007189.public.telering.at> has quit IRC (Ping timeout: 248 seconds)15:30
*** srohmen <srohmen!~srohmen@x4e302c5f.dyn.telefonica.de> has joined #sfdroid15:41
*** srohmen <srohmen!~srohmen@x4e302c5f.dyn.telefonica.de> has quit IRC (Client Quit)15:41
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-kuynohxhclnhzuir> has joined #sfdroid17:01
*** piggz <piggz!~piggz@95.151.212.235> has joined #sfdroid17:03
*** piggz <piggz!~piggz@95.151.212.235> has quit IRC (Ping timeout: 248 seconds)17:18
*** piggz <piggz!~piggz@95.151.212.235> has joined #sfdroid17:19
piggzsaidinesh5: ping17:42
saidinesh5ssup piggz17:42
piggzsaidinesh5: trying to build anbox commit you said, just wondering which packages i need to install to solve deps17:43
piggzerror: Failed build dependencies:17:43
piggz        mesa-llvmpipe-libEGL-devel is needed by anbox-sailfishos-1-1.armv7hl17:43
piggz        mesa-llvmpipe-libGLESv2-devel is needed by anbox-sailfishos-1-1.armv7hl17:43
piggz        mesa-llvmpipe-libwayland-egl-devel is needed by anbox-sailfishos-1-1.armv7hl17:44
piggz        pkgconfig(libcap) is needed by anbox-sailfishos-1-1.armv7hl17:44
saidinesh5piggz: all the dependencies for anbox are in that repo...17:44
saidinesh5umm17:44
piggzwhen i try to install mesa-llvmpipe-libEGL-devel it wants to remove _loads_17:44
saidinesh5i think egl-dev should be provided by your droidhal17:44
piggzyeah, i thought it was something like that17:44
saidinesh5but otherwise for all the other dependencies needed by anbox, anbox-obs        ... http://repo.merproject.org/obs/home:/saidinesh5:/anbox/sailfish_latest_armv7hl/17:45
saidinesh5they should be in that repo17:45
piggzsaidinesh5: yes, I have that repo ... and ive installed droid-hal-mido-devel and it still fails the same17:46
* saidinesh5 looks17:46
piggzand i have libpcap-devel installed and it still complains17:46
saidinesh5libcap or libpcap?17:48
saidinesh5https://github.com/sfdroid/anbox/blob/anbox/rpm/anbox-sailfishos.spec17:48
saidinesh5i think you can remove the mesa libgl dependencies from there17:48
saidinesh5provided that you have the /usr/include/EGL/* files17:48
saidinesh5(in your scratchbox target)17:49
piggzdoh, yes cap17:49
piggzbash-3.2$ sb2 -t $VENDOR-$DEVICE-armv7hl -R -msdk-install ls /usr/include/EGL17:49
piggzegl.h  eglext.h  eglhybris.h  eglmesaext.h  eglplatform.h17:49
saidinesh5yeah looks good17:49
saidinesh5the packaging was a quick and dirty work iirc.17:50
saidinesh5interesting though.. i have those header files too but i get this:17:51
saidinesh5zypper wp /usr/include/EGL/egl.h17:51
saidinesh5No providers of '/usr/include/EGL/egl.h' found.17:51
piggzsaidinesh5: is it a long build time?17:55
saidinesh5anbox? nah. takes like 2-5 minutes17:56
saidinesh5anbox-image.. you gotta have it from krnlyng , iirc i the patches for that arent open yet17:56
piggzkrnlyng: image file?17:56
piggzthe build seems to ba taking some time17:56
saidinesh5just anbox itself?17:56
piggzyes17:57
saidinesh5hmmm.. usually takes 2-5 minutes iirc with make -j5 or something17:57
piggzsaidinesh5: its ok ... its still working according to the log17:58
piggzmy laptop is obviously too slow!17:58
piggz89%17:58
piggzim using build-packages.sh to do the build17:58
saidinesh5Ah yeah, even i use that most of the time17:59
piggz9217:59
saidinesh5heh good. Without any compiler errors now17:59
piggzbuilt, just need the older image18:01
saidinesh5does OBS keep previous packages?18:02
saidinesh5maybe we can find something there...18:02
saidinesh5https://api.merproject.org/package/show/home:saidinesh5:anbox/anbox-sailfishos-image18:02
saidinesh5piggz: i think we may find you the package18:02
saidinesh5https://api.merproject.org/package/revisions/home:saidinesh5:anbox/anbox-sailfishos-image18:03
saidinesh5revisions there...18:03
piggzsaidinesh5: but there are no binaries there?18:06
saidinesh5they are the binaries right?18:06
saidinesh5the rpm in the source..18:06
piggzah18:07
saidinesh5osc fetch or something18:09
saidinesh5looking up the command18:09
*** piggz <piggz!~piggz@95.151.212.235> has quit IRC (Ping timeout: 258 seconds)18:16
*** piggz <piggz!~piggz@95.151.212.235> has joined #sfdroid18:19
*** piggz <piggz!~piggz@95.151.212.235> has quit IRC (Ping timeout: 248 seconds)18:30
*** piggz <piggz!~piggz@95.151.212.235> has joined #sfdroid18:45
piggzsaidinesh5: so .... where are the binaries for the revisions??18:46
* saidinesh5 checks18:48
piggzsaidinesh5: the <goto repository> link just shows the latest i think18:49
krnlynghi18:49
saidinesh5Yeah but with osc you can download then "sources"18:49
saidinesh5Which is where the binary is18:50
saidinesh5Hey krnlyng18:50
piggzah18:50
piggzthe binary was a direct upload i guess?18:50
saidinesh5Yep . like dhd18:50
piggzyes18:51
piggzkrnlyng: i built an older anbox ... just need an image18:51
piggzto test with18:51
piggzive never used osc18:52
krnlyngpiggz, you can use the rpms on obs?18:52
piggzkrnlyng: yes, im just tryingt o figure out how to get the older revision18:52
krnlyngwhy? the one on obs should work for you18:53
piggzoh, saidinesh5 said not18:53
saidinesh5krnlyng: the latest ones are the ones where input isnt working right?18:53
saidinesh5so trying to get the older revision from OBS where it was still using the sfdroid backend18:54
krnlyngsaidinesh5, the one on obs are still using the sfdroid backend18:54
saidinesh5Ohh.. even the most recent one?18:54
saidinesh5iirc we started moving to a headless mode right?18:55
krnlyngsaidinesh5, ahh maybe input is not working because of https://github.com/sfdroid/anbox/commit/6d053d3bb20245169fac1c8757c254234ad4835418:55
krnlyngbut the anbox-image should still work18:55
krnlyngso you only need to build anbox container/session manager18:55
krnlyngwithout this patch18:55
saidinesh5Ahh... yeah got piggz to build an older revision of anbox18:55
saidinesh5but wasnt sure what changes were there to the anbox image18:56
saidinesh5so thought to be safe and get an older image where things were working18:56
krnlyngah ok18:56
krnlyngsaidinesh5, another possibility would be using the rpms from obs and just fixing anbox-init.sh with the overlay18:56
piggzso, how do i test it?? :)18:56
piggzclicking on the icon doesnt do much18:56
saidinesh5piggz: systemctl start anbox-container-manager18:56
krnlyngsaidinesh5, piggz but it would be cool if more people can build the sources, there is still lots to do18:56
saidinesh5and then as nemo18:57
saidinesh5anbox --session-manager18:57
saidinesh5should tell you how ti starts or what fails and so on..18:57
saidinesh5krnlyng:  yeah lots of todo even on my plate.. need to clean up and push out the headless flag18:57
piggzJul 14 19:57:27 Sailfish anbox[21667]: [EE 2017-07-14 18:57:27] [container_manager.cpp:144@setup_mounts] Failed to mount Android rootfs18:57
krnlyngpiggz, you need kernel configs18:58
saidinesh5piggz: you installed anbox-image on the device?18:58
krnlyngah yes and that18:58
piggzkrnlyng: i think my kernel is ok18:58
krnlyngyou have CONFIG_SQUASHFS_XZ?18:59
piggzkrnlyng: nope19:01
piggzthatll be it then19:01
piggzback when i have a new kernel!19:01
krnlyng:)19:01
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-kuynohxhclnhzuir> has quit IRC (Quit: Connection closed for inactivity)19:10
piggzkrnlyng: still fails to mount19:39
piggzhttps://bpaste.net/show/137206bfbe8e19:39
krnlyngpiggz, do you have overlayfs? and saidinesh5 wasn't there some additional config, i cannot remember right now19:46
saidinesh5piggz: what happens when you try to manually mount the anbox image?19:47
saidinesh5also krnlyng piggz' overlayfs could be trying touse mount -t overlay vs. mount -t overlayfs or the other way around, and iirc he patched tht too19:48
piggzmy /proc/filesystems states overlayfs19:50
krnlyngpiggz, try mounting it manually to see what the problem is19:51
krnlyngpiggz, or strace anbox19:51
saidinesh5piggz: could you Mount it manually?19:51
piggzon it...19:51
piggzkrnlyng: saidinesh5: [ 1109.065047] overlayfs: missing upperdir or lowerdir or workdir19:55
krnlyngah damn19:55
saidinesh5Ah.. Odd params prolly19:55
krnlyngi know the issue19:55
krnlyngdid you install anbox before anbox-image?19:56
piggzpossibly19:56
krnlyngpiggz, you need to reinstall the anbox rpm then19:56
piggzmount("overlayfs", "/var/lib/anbox/rootfs", "overlayfs", MS_MGC_VAL|MS_RDONLY, "lowerdir=/var/lib/anbox/rootfs,upperdir=/var/lib/anbox/overlay") = -1 EINVAL (Invalid argument)19:56
krnlyngdidn't we put anbox-image as a dependancy?19:56
piggzkrnlyng: i re-installed my older build of anbox after the image tho19:57
krnlyngpiggz, did you see the messages which created the folders and injected the blobs to overlay?19:57
krnlyngpiggz, were there errors?19:58
piggzkrnlyng:19:58
piggzSetting up extra bind mounts19:58
piggz/dev/ion19:58
piggz/usr/bin/prepare-anbox: line 86: /var/lib/anbox/containers/default/extra_bind_mounts: No such file or directory19:58
piggz/dev/kgsl-3d019:58
piggz/usr/bin/prepare-anbox: line 90: /var/lib/anbox/containers/default/extra_bind_mounts: No such file or directory19:58
piggzwarning: %post(anbox-sailfishos-1-1.armv7hl) scriptlet failed, exit status 119:58
krnlyngok we probably have an error in that script19:59
krnlyngpiggz, mkdir -p /var/lib/anbox/containers/default; mkdir -p /var/lib/anbox/overlay; then reinstall the anbox rpm20:00
krnlyngwe need a cleanup so desperately :D20:00
saidinesh5krnlyng: iirc we cleaned up in a later commit20:00
piggzkrnlyng: there are still invalid args for overlayfs20:01
piggzkrnlyng: workdir is not specified20:02
piggzmount("overlayfs", "/var/lib/anbox/rootfs", "overlayfs", MS_MGC_VAL|MS_RDONLY, "lowerdir=/var/lib/anbox/rootfs,upperdir=/var/lib/anbox/overlay") = -1 EINVAL (Invalid argument)20:02
krnlyngahh so you have a newer version of overlay fs probably20:02
piggzhmpf20:02
saidinesh5Yeah he got it straight off the kernel20:02
piggzits a hard live being on such a new kernel!20:03
piggzgood old 3.18!20:03
krnlyngpiggz, can you modify anbox and try setting workdir=/tmp/anbox-workdir also mkdir /tmp/anbox-workdir20:04
krnlynghttps://unix.stackexchange.com/questions/324515/linux-filesystem-overlay-what-is-workdir-used-for-overlayfs20:04
krnlyngah wait20:04
krnlyngit needs to be on the same fs20:04
krnlyngso pick whatever you like :D20:04
krnlyngbut it needs to be empty20:05
piggzyeah, i can manage that ... u lot need to update to a more stable version of overlay!20:05
*** captain42 <captain42!~captain42@unaffiliated/captain42> has quit IRC (Ping timeout: 248 seconds)20:10
piggzkrnlyng: mounrted20:15
piggz/dev/loop0 on /var/lib/anbox/rootfs type squashfs (ro,relatime)20:15
piggzoverlayfs on /var/lib/anbox/rootfs type overlayfs (ro,relatime,lowerdir=/var/lib/anbox/rootfs,upperdir=/var/lib/anbox/overlay,workdir=/var/lib/anbox/work)20:15
piggz/dev/mmcblk0p49 on /var/lib/anbox/rootfs/cache type ext4 (rw,noatime,data=ordered)20:15
piggz/dev/mmcblk0p49 on /var/lib/anbox/rootfs/data type ext4 (rw,noatime,data=ordered)20:15
piggznext?20:15
krnlyngcool20:18
piggzpatch for ya https://bpaste.net/show/d60846e1b85720:18
krnlyngpiggz, but anbox mounted it or did you just do it manually?20:18
piggzanbox mounted it20:18
krnlyngpiggz, cool thanks20:19
piggzroot      3853  0.0  0.1  55188  4688 ?        Ssl  21:14   0:00 /usr/bin/anbox container-manager --privileged20:19
krnlyngpiggz, nothing appeard on screen?20:19
krnlyng(takes a while)20:19
piggznope20:19
krnlyngahhh20:19
krnlyngyou need anbox session-manager --single-window20:20
krnlyng(our fast implementation doesn't handle multi window yet)20:20
krnlyngas it's been done in a ~ a week xD20:20
piggzas root or user?20:21
*** captain42 <captain42!~captain42@unaffiliated/captain42> has joined #sfdroid20:22
piggzas nemo i guess...root doesnt have env set up20:22
krnlyngas nemo20:22
krnlyngbut stop the other session manager first :D20:22
piggzkrnlyng: there are loads of errors in journal for init20:25
krnlyngpiggz, can you paste?20:25
piggzhttps://bpaste.net/show/230b492a208f20:26
nh1402_yeah make tomato paste20:26
krnlyngpiggz, wait20:26
krnlyngpiggz, do you have the binder namespaces?20:27
piggzkrnlyng: seems not20:27
piggzkrnlyng: what patch do i need for that?20:32
krnlyngpiggz, https://github.com/anbox/anbox/tree/master/kernel/patches20:32
krnlynglets hope they apply :D20:32
piggzkrnlyng: i have some manual patching to do!20:40
piggzkrnlyng: actually ... i think i already aplied these!20:47
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has quit IRC (Ping timeout: 268 seconds)20:48
krnlynghm ok20:48
krnlynglet me think20:48
krnlyngpiggz, can you install adb?20:49
*** maheart <maheart!~maheart@110-174-95-7.static.tpgi.com.au> has joined #sfdroid20:49
piggzkrnlyng: on what?20:49
krnlyngpiggz, on the device20:51
krnlyngpiggz, wait a sec20:51
krnlyngpiggz, see sfdroid dropbox20:53
piggzkrnlyng: https://bpaste.net/show/5f3878ca899620:56
piggz(i trust your random binary i downloaded of the internet is not a worm) ;)20:56
krnlynguhhhBinder driver protocol does not match user space protocol!20:57
krnlyng64 bit?20:57
krnlyngwe need a 64 bit rootfs for you :S20:58
piggzah :P20:58
krnlyngor what binder protocol version do you have?20:58
piggzu guys need newer phones ;)20:58
krnlyngcheck in kernel20:58
krnlyng:D20:58
piggzkrnlyng: 7 or 821:02
piggzdepends if ANDROID_BINDER_IPC_32BIT is set21:02
krnlyngfyi don't set that flag21:04
piggzkrnlyng: i dont think it is ... its not in my running config21:04
krnlyngjup but i meant don't try to set it :D21:05
piggzkrnlyng: so, assumeing its 7 ... is that the same as the image?21:07
krnlyngyou probably have 8, the image has 721:07
piggzkrnlyng: so, newer image needed?21:11
krnlyngpiggz, yep21:11
krnlyngpiggz, either rebuild the image against a 64 bit kernel, or build a 64 bit rootfs21:12
piggzkrnlyng: so, not a job for tonight then eh!21:12
krnlyngyou could start fetching the sources :)21:12
piggzmy build drive has only 3.5gb left!21:14
krnlyngah :D21:14
*** nh1402_ <nh1402_!~nh1402@146.95.208.46.dyn.plus.net> has quit IRC (Read error: Connection reset by peer)22:11
*** srohmen <srohmen!~srohmen@x4e302c5f.dyn.telefonica.de> has joined #sfdroid22:44
*** srohmen <srohmen!~srohmen@x4e302c5f.dyn.telefonica.de> has quit IRC (Quit: Leaving.)23:03
*** CrKit <CrKit!~nekit@37.200.78.29> has joined #sfdroid23:20
*** captain42 <captain42!~captain42@unaffiliated/captain42> has quit IRC (Ping timeout: 248 seconds)23:29
*** CrKit <CrKit!~nekit@37.200.78.29> has quit IRC (Ping timeout: 260 seconds)23:33
*** CrKit <CrKit!~nekit@37.200.78.29> has joined #sfdroid23:35
*** captain42 <captain42!~captain42@unaffiliated/captain42> has joined #sfdroid23:38

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