/srv/irclogs.ubuntu.com/2016/03/11/#ubuntu-touch.txt

=== beuno_ is now known as beuno
n1cky_mariogrip: please make ubports/android default branch "ubp-5.1"03:16
n1cky_currently it's 5.1.103:16
n1cky_mariogrip: do you have canonical.com in your .gitconfig to resolve via ssh even when https is specified?03:47
n1cky_because I cannot check out a lot of the platform/external stuff without getting a bunch of03:47
n1cky_error: RPC failed; result=22, HTTP code = 50303:47
n1cky_fatal: The remote end hung up unexpectedly03:48
n1cky_and google says that this has to do with large files over HTTP03:48
n1cky_it would make sense to me that you wouldn't see this if you resolve and access phablet resources in a different way.03:48
n1cky_whether or not others are having a similar issue, I was able to fix my repo sync problems by altering the manifest to use ssh for every host, meaning that my ssh key needed to be on all of the repos.04:37
n1cky_for the most part that meant github, which was easy.04:37
n1cky_i also had to register for the gerrit for hesperidium.canonical.com04:37
n1cky_and even if you register for googlesource.com gerrit, you do not get ssh checkouts. but that server wasn't giving me problems, canonical was.04:37
=== dax is now known as daxcat
=== chihchun_afk is now known as chihchun
pstolowskimardy, hey, the failing test you asked about yesterday may not actually be a random failure, we see this now consistently on armhf & arm64 too; this will need investigating08:28
mardypstolowski: thanks, meanwhile I'll disable the tests in our silo then08:42
marcusto_mardy: is this what you're seeing? (process:10857): accounts-glib-WARNING **: Failed to get D-Bus connection (Cannot autolaunch D-Bus without X11 $DISPLAY)09:09
=== marcusto_ is now known as marcustomlinson
marcustomlinsonmardy: we're getting that on unity-js-scopes. Also just arm: https://code.launchpad.net/~abreu-alexandre/unity-js-scopes/not-handled-activation-query-default/+merge/288032/comments/73538309:10
marcustomlinsonmardy: I assume this is that same issue we were talking about with click scope?09:11
mardymarcustomlinson: the last build which I started seemed to end successfully09:12
marcustomlinsonmardy: if it helps at all, our tests were passing 9th Feb, then first seen to fail 3rd March. They consistently fail now09:13
mardymarcustomlinson: the failure was this one: https://launchpadlibrarian.net/247394491/buildlog_ubuntu-vivid-arm64.unity-scopes-shell_0.5.6+15.04.20160310-0ubuntu1_BUILDING.txt.gz09:13
marcustomlinsonmardy: ok then I guess I'm asking a new question. any idea why I'm getting "(process:10857): accounts-glib-WARNING **: Failed to get D-Bus connection (Cannot autolaunch D-Bus without X11 $DISPLAY)" on armhf and arm64?09:15
marcustomlinsonmardy: you can see all the errors at the bottom of: https://jenkins.qa.ubuntu.com/job/unity-js-scopes-wily-armhf-ci/86/consoleFull09:16
marcustomlinsonmardy: this causes our test scope to crash, hence failing the test09:16
mardymarcustomlinson: libaccounts-glib requires dbus, but it always did... it's weird that you get the failure only now09:18
mardymarcustomlinson: usually I run my tests under xvfb and dbus-test-runner09:19
marcustomlinsonmardy: something in here must have caused it seeing that it's the only change that occured between those dates: http://bazaar.launchpad.net/~ci-train-bot/libaccounts-glib/libaccounts-glib-ubuntu-xenial-landing-066/revision/19409:19
mardymarcustomlinson: nope, taht cannot be: look at the changes in the libaccounts-glib/ directory, you'll see that they are not related to dbus09:20
mardyall other changes are in tests09:20
mardymarcustomlinson: maybe something changes in dbus or dbus-test-runner (are you using it?)09:20
mardys/changes/changed/09:21
marcustomlinsonmardy: our only dependancy for tests is the scopes test harness. Perhaps there.09:22
marcustomlinsonmardy: what happened with the errors you were seeing on click scope? fixed?09:22
mardymarcustomlinson: not yet, but I understood the issue and I'm working on that09:23
mardymarcustomlinson: if you have some time, an early (and rough) review on the branches attached to bug 1554040 would be nice09:24
ubot5bug 1554040 in unity-scopes-api (Ubuntu) "Allow hiding authentication data in scope binary" [High,In progress] https://launchpad.net/bugs/155404009:24
mardymarcustomlinson: they are still marked as wip, because I'm just about to test them09:24
marcustomlinsonmardy: ok09:25
davidcallemardy: quick question about scopes previews, would it be a big deal in terms of performance to switch from Image to AnimatedImage for images in previews? Has it been considered?10:04
mardydavidcalle: I guess the nick completion betrayed you? :-)10:04
mardydavidcalle: at least, I'm afraid I'm not the right person to answer this, I have no idea :-)10:05
davidcallemardy: oh my mistake, I thought you had a hand in this :) I guess it's for tsdgeos then10:07
tsdgeosdavidcalle: animated image as in?10:08
davidcalletsdgeos: if I'm not mistaken, this is a QtQuick component that deals with animated gifs (and supposedly svgs) but also works fine with non-animated image files.10:10
tsdgeosdavidcalle: so you want animated gifs in the scopes'10:10
davidcalletsdgeos: that's the idea, yes :)10:11
ogra_to improve performance and battery life ?10:11
ogra_:P10:11
tsdgeoscan't tell how much the impact would be tbh10:11
davidcalleogra_: snappy will fix it10:11
ogra_indeed !10:11
davidcalletsdgeos: ok, just wondering if it had been looked at. I'll file a bug to start a discussion.10:12
=== ecloud_wfh is now known as ecloud
Mirvcopy-paste in browser \o/ landing now...10:44
Mirvwhere is oSoMoN when one wants to thank him10:44
abdullahhello10:45
abdullahmario are you there?10:45
=== KathyReid_ is now known as KathyReid
[tj]moin10:57
=== w00t_ is now known as w00t
abdullahanyone there?11:01
keesjhi11:12
popeyhi11:12
=== KathyReid_ is now known as KathyReid
=== KathyReid_ is now known as KathyReid
[tj]does ubuntu touch run on a pi2?11:30
=== chihchun is now known as chihchun_afk
k1l_[tj]: yes. there are snappy core images or a ubuntu mate one.11:40
k1l_[tj]: sorry, missed the ubuntu-touch in that question :/11:41
k1l_i dont think there is an image for the rpi2 since ubuntu-touch focuses on smartphones and tablets. but technically it should run.11:42
abdullahhello11:43
k1l_hi11:48
abdullahhey dude11:50
abdullahneed some help11:50
abdullahi am trying to sync ubproject11:51
abdullahand i am getting this error11:51
abdullahFetching projects:  99% (176/177)  error: RPC failed; result=22, HTTP code = 503 fatal: The remote end hung up unexpectedly error: RPC failed; result=22, HTTP code = 503 fatal: The remote end hung up unexpectedly11:51
[tj]k1l_: I want to add ubuntu touch to a build bot11:52
[tj]I work on a networking project and it would be nice to add phone support to our builds11:53
[tj]and ubuntu touch is nice and close to linux11:53
abdullahk1l?11:55
abdullahyou there?11:55
k1l_abdullah: sorry dont know. maybe just try again?11:57
popeyabdullah: where you syncing from?11:57
popeysometimes the server gets overloaded and needs restarting11:57
abdullahk1l i am syncing this "repo init -u https://github.com/ubports/android -b ubp-5.1"11:59
abdullahdon't know what the problem is11:59
abdullahits happening from past couple of hours now11:59
abdullahit just gets stuck at that last part only12:00
abdullahlooks like the branch i was using is the old one12:02
abdullahi am trying with the latest branch now12:02
popeyabdullah: what guide are you following?12:02
abdullahthis one https://wiki2.ubports.com/wiki/Building-ubports-source12:03
abdullah"repo init -u https://github.com/ubports/android -b ubp-5.1.1" this one seems to be the latest branch right?12:03
popeyno idea, sorry.12:05
abdullahits okay dude12:06
ogra_[tj], you mean yu want to run a headless install on a rpi ?12:17
ogra_(based on ubuntu-touch)12:20
=== _salem is now known as salem_
[tj]ogra_: sure12:51
[tj]I just want to build and run a test suite on something12:51
[tj]but a phone isn't very useful hardware12:51
ogra_well, then perhaps take a look at snappy12:52
[tj]link?12:52
ogra_it is the phone systems evolution12:52
ogra_(but yet rather ofcused on headless systems)12:53
[tj]cool12:53
dobey[tj]: just make a chroot then; fwiw, we don't build packages directly on phones either12:53
ogra_https://developer.ubuntu.com/en/snappy/start/12:53
=== alan_g is now known as alan_g|lunch
abdullahhey there guys13:00
[tj]dobey: cool, that can be quite easy to roll out13:01
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
timeaxHi peoples i'm tryiing to build ubuntu touch fir my xiaomi mi2s but at some point it says kernel sources found but no configuration was defined pleaseadd the TARGET_KERNEL_CONFIG variable to your boardconfig.mk file14:23
dobeyso do that :)14:24
timeaxI found the boardconfig mk file but where i have to add this ?14:24
dobeyi don't know exactly. i haven't imported a new device into the tree14:26
timeaxI try adding it to the top14:26
timeaxIn the file there are some headers called14:26
timeaxFlags, architecture,krait optimization,wifi,ecc but i dont find any about kernel14:28
=== dandrader|afk is now known as dandrader
=== sdk_ is now known as sdk
=== ahayzen_ is now known as ahayzen
=== chihchun_afk is now known as chihchun
mardydobey: hi! Silo 79 (https://requests.ci-train.ubuntu.com/#/ticket/1049) is now ready for testing, works reasonably well. When you feel bored, you can test it :-)15:28
dobeymardy: ok15:28
n1cky_how does telephony work on Android / Ubuntu Touch?16:04
n1cky_Presumably the modem creates some kind of hardware interrupt which goes to the kernel16:05
n1cky_and then passed to the HAL?16:05
=== dandrader is now known as dandrader|lunch
dobeyn1cky_: ofono just talks to the modem exposed by the HAL in the device tree in ubuntu i think16:20
n1cky_dobey: interesting16:21
n1cky_what copyright should I use when adding support for new boards?16:22
n1cky_Android uses Apache, Cyanogenmod uses? Ubuntu touch uses?16:22
dobeythat's license, not copyright16:23
* n1cky_ nods16:23
dobeynot sure what you're asking exactly though; the device tree already has a license presumably16:23
n1cky_nevermind.16:23
n1cky_why does cyanogenmod call their shamu lunch combo "aosp_shamu-userdebug"16:27
n1cky_just a matter of not renaming, or I'm missing something?16:27
n1cky_bbiab16:28
dobeyi don't know16:30
=== daxcat is now known as rwd
dobeythe hammerhead and mako itmes are the same though16:31
=== salem_ is now known as _salem
n1cky_mariogrip: ping17:08
abdullahhey mario you there?17:15
=== _salem is now known as salem_
abdullahanyone there?17:41
lotuspsychjeno17:41
abdullahlol17:43
abdullahare you from ubuntu touch support?17:43
lotuspsychjeno, im just a happy user17:43
abdullahoh! alright cool17:43
abdullahwell i need some help if you can17:43
abdullahhave you used this guide?17:44
abdullahhttps://wiki2.ubports.com/wiki/Building-ubports-source17:44
lotuspsychjeno sorry, porting is not my skill17:44
abdullahoh! damn okay17:45
abdullahany ubuntu touch support guy here?17:52
lotuspsychjeabdullah: i think its best to ask your question here, and be real patient :p17:52
abdullahoh! well okay :D17:53
abdullahi have synced the source code of ubuntu touch using this guide "https://wiki2.ubports.com/wiki/Building-ubports-source"17:53
abdullahthe source code downloaded is around 14GB so i know its not fully downloaded whenever i run repo sync the sync finishes without downloading any more source17:54
abdullahit says at the end sync done 100%17:54
abdullahso how can i fully download the source code? any idea?17:55
=== salem_ is now known as _salem
dobeyif it says it's 100% in sync then it sounds like you have the code; i don't know what more you're expecting there?17:57
abdullahthe folders are not complete17:57
dobeyhow so?17:57
abdullahi mean in vendor folder there should be cm folder17:57
abdullahi don't know really17:57
dobeywhat vendor folder? explain what it is you expect to see and are not seeing17:57
abdullahi am using this link as a guide https://wiki2.ubports.com/wiki/Building-ubports-source17:58
abdullahits based on cm right?17:58
dobeyit's based on aosp17:58
abdullahwhat?17:58
abdullahreally?17:58
abdullahthe guy called mario said its based on cm12.117:59
dobeywell ok17:59
dobeythen it's cm12.117:59
dobeyubports is mariogrip's baby17:59
dobeybut you still have yet to actuall explain what you think the problem is17:59
abdullahaha! now i understand what's the problem17:59
=== _salem is now known as salem_
abdullahwell cm source code is around 30GB and this one is half of it its missing files to compile a build18:00
dobeywell no; this just doesn't pull every possible device tree that cyanogen supports18:01
abdullahi know that i know18:02
dobeyas i understand it, anyway18:02
=== salem_ is now known as _salem
abdullahbut even if i try to compile for one plus one which is supported it won't even compile for that18:03
abdullahplease see the error here which i face while building for one plus one18:03
abdullahhttps://www.zerobin.net/?f77530fecc4da92a#1DCFKqV/QuYbD1ddlh7bMbLaimuO8P5yjJK+0yKU4fg=18:03
=== alan_g is now known as alan_g|EOW
dobeywell i don't know what you did wrong; ask mariogrip when he's around18:04
abdullahalright sure thanks for looking into my problem18:05
abdullahis there anyway to see when he is online on this chat?18:05
=== chihchun is now known as chihchun_afk
dobeymariogrip: ^^ abdullah is having some issues with the ubports documentation and trying to build the tree, when you're back around18:08
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
n1cky_abdullah: what did you try to run there?19:17
aashuPlease help me with this issue paste.debian.net/41427019:28
dobeyaashu: replace "utopic" with "vivid"19:29
=== dandrader is now known as dandrader|afk
=== rwd is now known as ro
abdullahnicky: i tried to run the lunch command20:00
=== dandrader|afk is now known as dandrader
aashuPLEASE HELP ME WITH THIS ISSUE - paste.debian.net/41427820:11
dobeyaashu: I GAVE YOU THE ANSWER ALREADY20:12
dobey!patience | aashu20:13
ubot5aashu: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/20:13
aashuBOTH ARE DIFFERENT PROBLEMS - please check once more20:14
n1cky_aashu needs to remember there's someone on the other end of the keyboard.20:14
dobey!capslock20:14
n1cky_They were pming me yesterday saying that "if you tell me what to type, I will do it."20:15
n1cky_to which I said, hey, I have work to do myself.20:15
n1cky_to which aashu said something about my "precious time."20:15
n1cky_so I /ignored.20:16
dobeywow20:16
abdullahmario are you there yet?20:20
n1cky_abdullah: maybe i can help20:20
n1cky_whats up20:20
=== JanC_ is now known as JanC
abdullahhey nicky20:21
abdullahdidn't i already answered you above?20:21
abdullahanyways i wanted to say i am trying to sync20:21
abdullahubport project20:21
abdullahusing this guide "https://wiki2.ubports.com/wiki/Building-ubports-source"20:22
abdullahi was able to sync the code but i guess it didn't sync fully20:22
abdullahbecause the one which i have synced is around 14 GB20:22
abdullahand to my knowledge it should be around 30s20:23
abdullahnow when i try to sync it says sync done 100%20:23
abdullahanyways i thought perhaps its really done20:23
popey14GB here20:23
abdullahso for testing purposes i started to build for one plus one which is officially supportted20:23
abdullahand it gave me some errors saying folders and files are missing20:24
abdullahwhich i was pretty sure about before the ywere20:24
abdullahthey were"20:24
n1cky_cd /path/to/phablet/.repo/manifests && git remote show origin20:24
abdullahokay20:24
abdullahremote origin   Fetch URL: https://github.com/ubports/android   Push  URL: https://github.com/ubports/android   HEAD branch: ubp-5.1.1   Remote branches:     4.4.2         tracked     master        tracked     phablet-5.1.1 tracked     ubp-4.4.4     tracked     ubp-5.1       tracked     ubp-5.1.1     tracked   Local branch configured for 'git pull':     default merges with remote ubp-5.120:25
abdullahoops20:25
abdullahlet me use zero bin20:25
n1cky_thats fine20:25
abdullahokay20:25
abdullahsoo? what do you think the problem is?20:25
n1cky_as far as i can tell you are on the correct branch20:26
abdullahwell its not building then20:26
abdullahi don't even have cm folder inside vendor folder which i should have20:26
n1cky_try "repo sync -j1 --no-clone-bundle --fetch-submodules --force-broken --force-sync"20:26
abdullahalright20:27
n1cky_what makes you think you should have vendor/cm?20:27
n1cky_If you look at manifest.xml, it's nowhere in there.20:27
abdullahit says so when i am building20:27
abdullahhave a look20:28
abdullahhttps://www.zerobin.net/?f77530fecc4da92a#1DCFKqV/QuYbD1ddlh7bMbLaimuO8P5yjJK+0yKU4fg=20:28
abdullahso what do you think of the error?20:30
abdullahhey the branch ubp-5.1.1 is the latest one? can i use that one?20:30
n1cky_Either add the cyanogenmod sources to the manifest file or comment out those inheretances in cm.mk20:30
n1cky_The newest in terms of date pushed is 5.120:30
n1cky_I do not know, honestly, what mariogrip is doing with all that,.20:31
abdullahso what is 5.1.1 is for?20:31
abdullahoh! well20:31
n1cky_fwiw you're going to have that same issue with ubp-5.1.1, look at the manifest20:32
abdullahi was syncing 5.1.1 to see whether the issue is there or not but it didn't sync always gave me http 503 errors20:33
n1cky_I had this same issue20:33
abdullahsync issue?20:33
n1cky_yeah. If you make a gitconfig that resolves them via ssh they go away immediately.20:33
abdullahoh! how do i make them? sorry i am new to this stuff20:34
n1cky_Any canonical folk^^^^^^^^ read this. Something is wrong with your gerrit server serving HTTP git clones20:34
n1cky_I think it has to do with nginx20:34
n1cky_https://confluence.atlassian.com/stashkb/git-push-fails-fatal-the-remote-end-hung-up-unexpectedly-282988530.html20:35
abdullahthis is server side issue so they have to fix it right?20:36
n1cky_you can try "git config --global http.postBuffer 157286400"20:36
popeyn1cky_: thanks, I'll poke IS20:36
n1cky_but it did not fix anything for me.20:37
popeyfor future reference, if gerrit borks, jump in #canonical-sysadmin to ask for it to be fixed :)20:37
n1cky_Make a gerrit account and clone via ssh and you'll have no problems, abdullah20:37
n1cky_popey: good to know. :)20:37
abdullahalright, thanks for the tip nicky20:38
popeyhave asked for it to be restarted20:38
n1cky_if there's a place I can file a ticket or something, let me know20:38
popeyjust pounce on that irc channel usually is enough, poke whoever is vanguard20:39
=== salem_ is now known as _salem
popeyabdullah: is it working now?20:54
abdullahnope20:55
popeyi mean, the repo sync?20:55
popeyworking for me.20:55
abdullahoh! yeah the sync is fine now20:55
popeyok, thanks20:55
abdullahwelcome20:55
=== ro is now known as ezri
n1cky_am I legally allowed to host https://developers.google.com/android/nexus/drivers somewhere on git so that I can work it into repo?21:21
n1cky_(are these on git somewhere?)21:21
popeyit's pretty clear21:26
popey"These files are for use only on your personal devices and may not be redistributed by you or used in any way except as specifically set forth in the license terms enclosed in each individual download"21:26
popeyso i guess read the license :)21:26
n1cky_Who are The Muppets?21:33
popeyque?21:35
dobeythe ones owned by Jim Hensen Co?21:35
n1cky_https://github.com/themuppets21:36
popeyno idea21:36
n1cky_ahh, I get it now. I'm hip.21:37
n1cky_So when Android boot it goes Bootloader -> Kernel -> SysV Init -> Zygote, their rc.d system, which -> starts dalvik -> apps launch -> booted21:49
n1cky_When Ubuntu Phone boots it goes21:49
n1cky_Bootloader -> Kernel -> systemd -> service that starts lxc container -> HAL initialized -> After=foo.target telephone.target -> booted?21:50
abdullahhey the http errors are back again lol22:00
popeyugh22:03
abdullahis mario back yet?22:05
n1cky_abdullah: can you try something for me?22:14
abdullahsure, tell me22:14
n1cky_edit /path/to/phablet/.repo/manifest.xml22:15
n1cky_change code-review.phablet.ubuntu.com to 91.189.95.18:2941822:15
n1cky_and try to clone again.22:15
abdullahill change fetch and review both right?22:16
n1cky_yeah22:17
abdullahokay done, syncing now22:17
n1cky_let me know if it fails again, i have another method that i'm certain will work if this doesn't.22:18
abdullahsure...22:18
abdullahumm fatal: repository 'https://github.com/ubports/91.189.95.18:29418/aosp/platform/external/libcxx/' not found22:18
abdullahi am getting that22:18
n1cky_... what did you do?22:19
n1cky_it's the first entry in /path/to/phablet/.repo/manifest.xml22:19
n1cky_<remote name="phablet" ...22:19
abdullahyeah that's what i did22:19
n1cky_fetch="https://91.189.95.18:29418"22:19
n1cky_review is same22:19
abdullahdamn that's what i asked and you said change both lol22:20
n1cky_revision is "refs/tags/android-5.1.1_r5"22:20
n1cky_no, i mean review is the same IP hard-coded22:20
abdullahokay so the revision is the same22:20
n1cky_and i messed up22:20
n1cky_91.189.95.24722:20
abdullahi didnt change that22:20
n1cky_not 18, 24722:21
n1cky_but that doesn't explain why that messed up github url appeared... You must have changed something else.22:22
abdullahokay started sync again22:22
abdullahi didn't just changed fetch and review22:22
n1cky_did it fail again?22:23
abdullahyes22:24
abdullahfatal: unable to access 'https://91.189.95.18:29418/CyanogenMod/android_external_pigz/': Failed to connect to 91.189.95.18 port 29418: Connection timed out fatal: unable to access 'https://91.189.95.18:29418/aosp/platform/external/libcxx/': Failed to connect to 91.189.95.18 port 29418: Connection timed out22:24
n1cky_Where did /CyanogenMod come from?22:29
n1cky_That's under remote name="cm"22:29
n1cky_can you just post your manifest.xml?22:29
abdullahsure22:30
abdullahhttps://www.zerobin.net/?8f43bae0efbd98ba#m0sE/b34G88w0PCnze7Pyvd3L/rWjivPETE2t3F5ni8=22:30
abdullahcyanogenmod is part of it22:31
abdullahits based on cyanogenmod22:31
abdullahanyways i have downloaded the source twice now22:31
abdullahlooks like only mario can you explain me what's going on now22:32
n1cky_okay I just wanted you to try that.22:36
n1cky_go to code-review.phablet.ubuntu.com and login in the top right22:36
n1cky_then go to settings and enter in your SSH key22:37
n1cky_if you don't have one, enter "ssh-keygen" at your bash prompt and press enter a couples times. Then copy the contents of ~/.ssh/id_rsa.pub to your clipboard and paste it into the gerrit settinsg.22:37
abdullahalrighty but the code has been downloaded22:38
n1cky_oh you have it?22:38
abdullahdo you think i should try that?22:38
n1cky_okay cool.22:38
n1cky_no, you are good.22:38
abdullahalright22:38
n1cky_That's just how I fixed it-- I switched everything from http clones to git.22:38
abdullahjust waiting for mario now22:38
n1cky_/git/ssh/g22:38
abdullahi see22:38
abdullahthe server is much better now actually22:38
abdullahdoes ubuntu touch still use 4.4 kitkat sources from aosp? or it has been updated?22:40
popeythe released images use 4.x22:41
popeyI think the next couple of devices might be on 5.x22:41
popeyMeizu Pro 5 and bq M10, but not sure. Not seen either device in person.22:42
abdullahokay22:47
abdullahubport is based on cm12.122:48

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!