/srv/irclogs.ubuntu.com/2016/09/14/#ubuntu-touch.txt

=== krowv_ is now known as krowv
mardyjamesh: hi! I need some help from a Go expert... any idea why account polld builds are failing in some architectures here? https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay/+packages07:03
mardyjamesh: is it because of go vs gcc-go?07:04
jameshmardy: I'm not sure of the underlying cause, but it looks like it is having trouble finding the C++ compiler in the failing builds07:08
jameshmardy: "go build launchpad.net/account-polld/qtcontact: /usr/bin/g++-5: fork/exec /usr/bin/g++-5: no such file or directory"07:08
jameshmardy: that's in the failed vivid builds.  In the failed xenial build it says "go build launchpad.net/account-polld/qtcontact: /usr/bin/g++-5: fork/exec /usr/bin/g++-5: no such file or directory"07:09
jameshoops.  wrong paste07:09
jamesh"go build launchpad.net/account-polld/qtcontact: /usr/bin/g++-6: fork/exec /usr/bin/g++-6: no such file or directory"07:09
jameshso for some reason it is looking for GCC 5 on vivid (which ships with 4.9), and GCC 6 on Xenial (which ships with 5)07:10
jameshI don't know why it would be doing this07:10
mardyjamesh: is it possible from the build log to tell whether it's building with go or gcc-go?07:11
mardyjamesh: I'm asking, because I suspect that it's using gcc-go in those failing logs07:11
jameshmardy: the xenial/powerpc build seems to be installing gccgo07:13
jameshinterestingly, it is installing a "gccgo-6" package07:13
mardyjamesh: I wonder if the go shipped in those ubuntu releases did not support those archs, so gcc-go is being used instead07:13
mardyjamesh: ah, so it expects a g++-607:13
mardyweird07:14
jameshmardy: and the failing vivid builds are installing gccgo-507:14
mardyright07:14
mardyjamesh: do you know where this logic resides? is it in the debhelper plugin for go?07:14
jameshmardy: my guess is that they've included gccgo packages from a newer gcc due to the compiler being fairly new07:15
jameshbut it ends up looking for a matching C/C++ compiler if you use cgo, and fails07:15
jameshmardy: I'm not sure what makes the decision07:16
jameshmardy: on another topic, did you see this bug I filed? https://bugs.launchpad.net/online-accounts-api/+bug/161718007:18
ubot5Ubuntu bug 1617180 in storage-framework (Ubuntu) "memory leaks from OnlineAccounts::Manager" [Undecided,New]07:18
mardyjamesh: yes, I'll get to that, eventually07:19
jameshI dug around a bit, but couldn't work out what was causing the leak07:19
jameshI couldn't see anything obvious in the code that could explain the leak07:19
mardyjamesh: I wonder, could you try that in vivid or xenial, where qt 5.5 is being used?07:20
jameshyour code looked pretty much like every other piece of QtDBus code I've seen07:20
mardyjamesh: I wonder if the leak could be in Qt 5.6 itself, sincethe QtDbus part has been heavily modified in there07:20
jameshmardy: that valgrind run was on Xenial07:21
jameshso Qt 5.507:21
mardyjamesh: ok07:21
jameshIf I've got time, I'll try repeating on vivid and yakkety07:22
jameshto cover 5.4 and 5.607:22
mardyjamesh: that might help, thanks07:23
mardyjamesh: back to the gccgo issue, I suspect that the problem is that the gccgo-5 (I'm looking at vivid only, for now) does not depend on g++-5 (or any gcc/g++, for that matter)07:25
mardyjamesh: while in yakkety I see that it has the proper dependency07:25
jameshmardy: there probably isn't a g++-5 package on vivid07:27
mardyjamesh: and you are right...07:29
mardyjamesh: do you know how to solve this? maybe we could check modify the gccgo-5 package in vivid to use gcc-4 instead? Or would the generated objects be incompatible?07:33
mardydbarth: do you have an arm64 device with ubuntu?07:39
mardydbarth: and hi :-)07:39
jameshmardy: I don't know.  If the package has never built on those platforms, then it probably isn't worth worrying about07:43
dbarth_mardy: nope, sorry, only having a cooler here08:33
dbarth_mardy: on maybe my rpi3 ?08:33
pstolowskipitti, hey, can you help with silo 21 and retry autopkg tests on xenial and yakkety there?09:02
pittipstolowski: I need the full URLs to the excuses09:10
pstolowskipitti, https://requests.ci-train.ubuntu.com/static/britney/landing-021/xenial/excuses.html09:11
pstolowskipitti, and https://requests.ci-train.ubuntu.com/static/britney/landing-021/yakkety/excuses.html09:12
pittipstolowski: retried the xneial ones; nothing to do on the yakkety one09:12
pitti(no tests at all)09:12
pittithis is a packaging bug instead, you need to stop building on s390x09:12
pstolowskipitti, ah oh, sorry, you're right09:12
pittibest to explicitly build-dep on the corresponding -dev packages so that it will fail to build09:13
pittiinstead of being built and then uninstallable09:13
pstolowskipitti, i see, ok, will fix that, thanks09:14
zzarrOTA-13 today :D09:17
dufluzzarr: Web page says 19 September: https://launchpad.net/canonical-devices-system-image/+milestone/1309:23
zzarrohh, the testing and bugfixing have been prolonged?09:24
zzarrduflu, do you know if mms:es will be fixed in OTA-13?09:29
dufluzzarr: I don't know. Check the above list09:29
zzarrI could not find anything about it09:30
zzarrreceiving MMS have not worked since OTA-10 (I'm not alone experiencing this problem)09:33
zzarrshould I report the problem?09:34
popeyzzarr: if it's not been reported as a bug then it certainly won't get fixed09:40
zzarrpopey, are the list duflu linked to the complete list of reported bugs?09:41
popeyno09:41
dufluzzarr: No it's more an executive summary. If you think some bug is missing please tell someone here or in the bug09:41
zzarris there a complete list?09:42
dufluzzarr: No it's launchpad. There are separate lists per project. Please check the appropriate project09:42
zzarrthat list is only for OTA-13?09:43
dufluYes, and it's not quite complete for OTA-13 even09:43
dufluIf you know of a bug that's missing please point to it09:43
zzarrif I don't have the complete list I can't know if the problem with MMS is reported09:44
zzarrbut I guess that the worst that could happen is that I report a bug again and my report and the original is merged09:45
zzarror I'm pointed to the correct bug report09:45
zzarrcan I somehow force the phone to send information to my service provider that the phone is capable of receiving MMS?09:49
popeyzzarr: step one is file a bug, yes.09:55
zzarrokey, I'll do it09:55
popeyhttps://bugs.launchpad.net/ubuntu/+source/messaging-app/+bugs09:55
popeythats where mms bugs lie09:55
popeyso maybe scan that list09:55
zzarrokey, thanks09:56
=== oSoMoN_ is now known as oSoMoN
zzarrI found a bug report regarding this issue and a technician at Tele2 the operator I use tells me after a few tests that the problem is with Ubuntu10:45
zzarrnow some lunch10:45
melvsterhi all i heard a rumor OTA13 was coming out this week, is that right?10:56
Hourd\q10:59
jgdxmardy, ping11:25
mardyjgdx: hi!11:26
jgdxmardy, hey, so I'm trying to solve a problem in System Settings I'd like your input on11:26
jgdxmardy, system settings will run on a snappy-based system, this means that every reference to /, will have to be prefixed with $SNAP. There are such refs everywhere.11:27
mardyright11:27
jgdxand this is a problem for libSystemSettings as well, as it refers to / multiple places11:28
jgdxwe don't want six-ish calls to qgetenv at startup11:28
mardyjgdx: what are we using / for? is it for the plugin path, or for something else too?11:29
jgdxmardy, we refer to PLUGIN_QML_DIR, PLUGIN_PRIVATE_MODULE_DIR, PLUGIN_MANIFEST_DIR and PLUGIN_MODULE_DIR11:30
jgdxin main, plugin-manager and plugin11:31
jgdxwhich all point at /11:31
jgdxand we do not know $SNAP at build time, iuic11:31
jgdxone suggestion is to subclass qtapplication, add mountPoint as a property. Then add a header to libsystemsettings-dev that exposes this class, as well as rewrite the qApp macro.11:33
mardyjgdx: or, instead of hardcoding these paths, hardcode only the components on top of XDG dirs11:35
mardyjgdx: and use QStandardPaths in our code, then append the fixed components11:36
jgdxmardy, but why isn't it already relative to xdg dirs?11:36
jgdxi assumed there was some reason, but if not, why we'll do it that way11:37
mardyjgdx: no idea, I guess I didn't see a compelling reason to do so11:38
mardyjgdx: XDG-izing the app is a good idea anyway11:38
jgdxmardy, do you think it's trivially doable?11:39
mardyjgdx: ah, well, one reason *not* to do it is that XDG dirs is a list, while we use one directory only11:39
mardyjgdx: I guess it's fairly trivial if we pick only the first directory, but doing things properly would be a bit more complicated11:40
jgdxmardy, where in the xdg specification are library files mentioned?11:43
mardyjgdx: oh, right, this would apply to plugin manifest files, but not libraries11:44
mardyjgdx: but for QML modules it's not hard either, we just add a path to the QQmlEngine in src/main.cpp11:45
mardyjgdx: so I guess that you could read $SNAP from there, and add a couple of paths based on $SNAP11:46
mardyjgdx: or even, don't change the code at all and play with the QML2_IMPORT_PATH variable11:47
jgdxmardy, okay, so how do a plugin find its .so? Seems that's the last piece of the puzzle here11:53
jgdxthat's not a qml import, nor is it covered by xdg11:54
mardyjgdx: I think it's relative to the QML module dir, so you shouldn't need to worry11:55
jgdxmardy, okay, let's do this then. Thanks11:56
mardyjgdx: yw, let me know how it goes :-)11:57
=== _salem is now known as salem_
jgdxmardy, any reason why you only want to pick one dir when multiple are returned?12:53
mardyjgdx: no, no, feel free to iterate them all, that's better12:54
jgdxyeah12:54
=== boiko_ is now known as boiko
=== chihchun is now known as chihchun_afk
jgdxmardy, I'm not sure your assumption on the .so's holds: e.g. /usr/lib/arm-linux-gnueabihf/ubuntu-system-settings/libonline-accounts.so14:04
jgdxthat's what loaded14:04
tedgpopey: Is ubuntu-terminal-app in the archive somewhere?14:14
mardyjgdx: you are right, the libs are in $$LIBDIR/ubuntu-system-settings/, and the QML plugins are in the "private" subdir14:14
popeytedg: no14:15
tedgpopey: :-(14:16
mardyjgdx: it's non trivial... we could avoid specifying a path, given that we use QPluginLoader which uses QCoreApplication::libraryPaths(), but it's a bit risky14:21
mardyjgdx: because we risk loading some other unrelated plugin, if they happen to have the same name14:21
jgdxmardy, what about putting the mount point in a ctx prop?14:22
mardyjgdx: it's not clear to me what the solution should be. Plugins can also come from other snaps, so we don't want just to check our $SNAP dir14:22
mardyjgdx: unless other snaps can install stuff there too?14:22
jgdxmardy, yeah, I don't know about that scenario. The current approach breaks confinement14:23
dobeytedg: can't you install the click?14:23
tedgdobey: Wanting to include it in a snap.14:24
mardyjgdx: online-accounts for example is a plugin coming from another snap, unless we merge them14:24
tedgdobey: For debugging14:24
mardyjgdx: IMHO, we should have a single snap for the whole of unity8, TBH14:24
jgdxtedg, ^^14:24
tedgHeh, yes, I agree.14:24
jgdx;)14:24
dobeymv system.img unity8.snap14:25
jgdxmardy, okay, so breaking confinement to load external plugins is a non-starter i guess.14:25
jgdxsince what you want is highly probably14:25
jgdxprobable14:25
mardydobey: even better: for i in *.deb; mv $i ${i/deb/snap}; done ;-)14:26
dobeyfor (const auto& rum: rums) { drink(rum); }14:27
jgdxconst ref rum??14:28
jgdxyeah that works14:28
dobeyjgdx: well if you keep creating duplicates of the rum, things get weird15:29
mancebeitorWhen OTA13?15:35
=== dandrader is now known as dandrader|afk
hariramathe glass screen of my bq4.5 broke, friend ordered a new one from china, had it installed:15:57
hariramathing doesn't work right, only lower part works as a keyboard.15:57
hariramahttp://www.ubuntu.com/phone/devices15:58
hariramaall the phones there say:15:58
harirama"sold out"15:58
hariramanow what do i do? aaargh help15:58
=== gkeen_ is now known as gkeen
popeyharirama: call bq?16:02
hariramapopey, what hardware are u running on?16:06
popeyharirama: I have a few phones :)16:10
hariramawell, at the moment, i have 0 :(16:18
mancebeitorWhen OTA 13?16:30
=== blackout is now known as Guest58758
=== dandrader|afk is now known as dandrader
Perzival1312is there anything about any of the one plus models?17:47
dobeyno more than what ubuports has17:49
=== dandrader is now known as dandrader|afk
jgdxmardy, hey, when you got a chance, could you take a look at this [1] mp and see if it agrees with the approach we discussed? It's a bit eclectic, but should work. [1] https://code.launchpad.net/~jonas-drange/ubuntu-system-settings/snapd-paths2/+merge/30575120:11
=== dandrader|afk is now known as dandrader
flohackGood Eve20:16
flohackCan anyone tell me if it is possible to get screen console during touch boot so that stdout messages can be monitored?20:17
Walexflohack: probably in developer mode20:40
flohackHow to get there ;)20:41
dobeyflohack: well assuming it gets far enough to start some services, and usb works, you'd need adbd running, and to then adb in and read dmesg20:48
flohackNo thats my problem... automatic reboot after 5 secs, no adb. Take a look:20:50
flohack[    5.699726] initrd: mounting system.img (user mode)20:51
flohack[    5.733970] initrd: mounting device image as ro20:51
flohack[    5.795786] EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)20:51
flohack[    5.817083] initrd: device is endeavoru20:51
flohack[    8.790337] initrd: mounting /root/var/lib/lxc/android/system.img as /root/android/system20:51
flohack[    9.075972] Kernel panic - not syncing: Attempted to kill init!20:51
flohack[    9.108567] Rebooting in 5 seconds..20:51
flohackI took only the relevant things I hope20:51
dobeyuse pastebin please in future20:51
flohackOk wait a sec20:51
dobeywell i can't really help you, myself20:52
dobeyother than to say a kernel panic seems obviously bad :)20:52
flohackhttp://pastebin.com/a2STZv7120:53
flohack:) thanks, but I need to know the reason somehow20:53
flohackAnd there is lots of things logged in scripts/touch to stdout, not to kmsg20:53
flohackAnd maybe I can get a clue from that20:53
dobeywell, reboot to recovery, and check the syslog. i'm not 100% sure how to do it, but i presume you can adb into recovery21:01
flohackyes I can21:08
flohackits a littel bit tricky with those 100 mounts, remounts and loop mounts to find syslog :P21:08
flohackI would need framebuffer console I think21:21
flohackis this configurable at all?21:21
flohackI try with CONFIG_FRAMEBUFFER_CONSOLE=y21:34
flohacklets ee...21:34
flohackOk fb console works but I got other issues... good night ;)22:11
Acou_Bassi know this isn't really the right channel, but figured you guys might have experience - has anyone replaced the screen on s nexus 4? i broke mine today like a dumbo22:22
=== Guest56430 is now known as IdleOne
=== salem_ is now known as _salem

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