/srv/irclogs.ubuntu.com/2014/09/05/#ubuntu-mir.txt

racarr!! I think I fixed it00:08
ubot5racarr: I am only a bot, please don't think I'm intelligent :)00:08
racarr:( fine00:09
racarrI think maybe I got it00:36
racarrbut I may just be mis understanding...actually00:37
racarrtried build dependency as g++-4.9:native00:37
racarrhmm colinwatson suggests against using g++-4.9:native but doesnt say why in the reference I found00:42
racarrhahahahahaha00:47
racarrhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=76015800:47
ubot5Debian bug 760158 in dpkg "dpkg: please implement the new build profiles syntax" [Wishlist,Open]00:47
racarrno wonder build profiles aren't working00:47
racarrthe patch was posted 4 days ago00:47
racarrlol ok it seems there really is no fix here but debian is on top of it. I'm going to make a script to modify debian/control to depend on g++-4.9-arm-linux-gnueabihf  instead of g++-4.9, build a source package, restore debian control00:53
racarrand call it "create-cross-compile-source" or some such...maybe useful enough to check in ill think about it00:53
racarrif nothing up will write an email with findings00:53
racarr / comment on https://bugs.launchpad.net/ubuntu/+source/mir/+bug/135385500:54
ubot5Ubuntu bug 1353855 in unity8 (Ubuntu) "Explicit g++ 4.9 dependency breaks cross-building" [Undecided,Confirmed]00:54
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dufluRAOF: Can you comment on correct procedure for updating symbols.map here? https://code.launchpad.net/~vanvugt/mir/mircommon2/+merge/23331003:44
RAOFduflu: Done04:09
dufluRAOF: So if only adding new symbols then add a new block for SONAME+1 but don't bump SONAME?06:10
dufluSounds futuristic06:10
RAOFNew block for new version; SONAMEs reset the blocks ;)06:11
dufluRAOF: OK so what's the block named in the case of no new SONAME?06:11
RAOFThe new Mir version would be an obvious candidate.06:12
RAOFBut it actually doesn't matter at all as long as the string is unique across all versions.06:12
dufluRAOF: Hmm kinda makes sense but we presently use SONAMEs (kinda) in the symbols.map06:12
RAOFRight. Because when I first proposed it I used the Mir version and everyone was all “that'll be confusing” :P06:13
dufluAll options are confusing in their own little way06:13
RAOFWe could actually just use the output of uuidgen. It would be equivalent :)(06:14
dufluRAOF: OK, so for the simple case (and common case) where we've broken the ABI anyway, just continue bumping the SONAME in the symbols.map?06:14
dufluI say "continue" should be "start"06:14
RAOFYes.06:14
dufluRAOF: Oh of course. Because there won't be users of the old version (already enforced by SONAME in dynamic loading)06:15
RAOFWell, there actually might be - in the case that something links against libmirfoo.so.X and additionally links against libbaz which links against libmirfoo.so.X-1.06:16
RAOFWhich fails appalingly in the absence of symbol versioning, but can work with appropriate versioning (in this case, meaning things in mirfoo.so.X need different versions to mirfoo.so.X-1, which is satisfied by “bump the version to the new SOVER”).06:17
RAOFOf course, with our magical protobuf singleton that fails _anyway_, but it's a really useful property to have if we can fix the protobufing.06:17
dufluRAOF: I'm not convinced we're disciplined enough for symbol versioning to work out properly, but will continue supporting the effort :)06:17
RAOFOh, for the immediate and mid-term future our versioning is just going to be ‘bump the SOVER, change the version’.06:18
RAOFBut even that is useful, because when we _do_ get into a position to be more stable than that we can take advantage of “load multiple different SOVERs in the same process”, which you can only get if everything's always been versioned.06:19
dufluRAOF: So SONAME bump means bump symbols.map. But symbols.map should be bumpable more often than SONAME?06:20
RAOFCorrect.06:20
RAOFAnytime you add something to symbols.map it should technically go in a new version section.06:20
dufluRAOF: Might be a good idea for new functions to just go in SONAME+1. Then assuming they don't change, that will remain true when we do finally break the ABI06:24
RAOFOh, when we break the ABI then everything coalesces into a single new version.06:24
dufluRAOF: Exactly06:24
dufluAnd the new functionality added during SONAME-1 was already linked as symbol version SONAME06:25
RAOFAh, but how do you distinguish between two different additions *before* the new SONAME?06:26
dufluRAOF: Crap06:27
RAOFeg: We release 0.7. In 0.8 we add some symbols, adding them to a new version bit. In 0.9 we add some more new symbols. Where do they go?06:27
RAOFThen in 0.10 we break ABI and everything gets folded into a single new version stanza, and that's ok.06:28
dufluRAOF: Ah, but if you break a new addition then by your own rules you would bump and coalesce everything anyway06:28
dufluKind of06:28
dufluIt wasn't part of SONAME-1 really06:28
RAOFduflu: Right, but what if you add things in too successive releases without breaking.06:28
RAOFI know this is largely theoretical, as it's predicated on us making two whole releases without breaking ABI, but longer term that won't be a joke :)06:29
dufluVersions then06:29
RAOFOf course, we at Canonical don't believe in versions and just continuously release from trunk :P06:29
RAOFBut that's a swamp we can drain when we get to it :)06:30
dufluRAOF: Found somewhere we need to decide on the syntax of naming new blocks: https://code.launchpad.net/~kdub/mir/protobuf-exchange-buffer/+merge/23272806:49
RAOFTo the rebuild button!06:59
dufluYes please07:00
RAOFA symbol versioning guide?07:03
dufluRAOF: Just docs with sections titled "I have added new functionality" and "I have changed or removed existing functionality"07:07
dufluRAOF: I meant yes to the rebuild. It will help land things faster07:08
dufluhttps://code.launchpad.net/~raof/mir/remove-old-clang-workaround/+merge/23344807:08
RAOFI've pressed rebuild on everything of mine that should build.07:09
RAOFIncluding that one :)07:09
dufluRAOF: OK then. Bon weekend07:10
dufluanpok: Got a shiny new mesa coming to utopic soon?08:17
anpoki think a 10.3 based version is close to be released08:18
anpokI will have to talk marteen to include my patches. only one of them have been reviewed yet08:18
anpokthere were some llvm related issues.. and lately ppc build issues to resolve08:19
anpokduflu: do you have a i915 system?09:22
dufluanpok: Yes, but they're way out of date. Needs reinstalling.09:22
anpokare those 945 and similar gpus still included in current intel processors?09:23
dufluanpok: No, a few years old09:24
dufluanpok: A few years old but still required to be supported by Ubuntu of course09:24
duflu(e.g. original Netbooks)09:25
anpokso also current atoms are now also served through i965?09:25
dufluanpok: I think so(?)09:26
dufluanpok: If you remind me, I'll have my i945 machines updated by next week09:27
anpoki have a intel atom netbook.. now trying an optimized build09:27
dufluOtherwise they gather dust09:28
dufluI usually do hardware support experiments on weekends, but not very often. Not for a long time now09:29
anpokyeah just i need to test the unity8-dash test with a non hacked mesa - hopefully the last iteration now09:33
anpoks/test/change09:34
dufluanpok: So after I do reinstall a machine or two you want me to also install nonstandard Mesa? :)09:43
=== mpt_ is now known as mpt
robotfuelkgunn:  do you know who the right person to assign this crasher to? https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1271879 we had more crashes for this yesterday on errors.ubuntu.com  from the long running tests.14:24
ubot5Ubuntu bug 1271879 in qtubuntu (Ubuntu) "qmlscene crashed with SIGABRT in qt_message_fatal()" [Undecided,Confirmed]14:24
kgunnrobotfuel: sorry, i got lost in bug world y'day....didn't mean to ignore you14:28
kgunnrobotfuel: sorry, i got lost in bug world y'day....didn't mean to ignore you14:29
robotfuelkgunn: heh that's okay I can always bug you again ;)14:30
kgunnrobotfuel: so that's ancient ?14:33
kgunnis that right ?14:33
kgunn...so the signature is the same ?14:33
robotfuelyes it is still crashing in yesterdays image14:33
robotfuelkgunn: https://bugs.launchpad.net/ubuntu/+source/qtubuntu/+bug/1365673 has the latest errors.u.c link14:34
ubot5Ubuntu bug 1271879 in qtubuntu (Ubuntu) "duplicate for #1365673 qmlscene crashed with SIGABRT in qt_message_fatal()" [Undecided,Confirmed]14:34
kgunnrobotfuel: any hints on when/what exactly makes it happen ?14:39
robotfuelkgunn: no I connected a camera to try to catch the crash, but it hasn't happened again today.14:41
kgunnrobotfuel: so spoke to some guys....sounds like the original fix is still in place (e.g. unity-mir replaced by qtmir..but the change is there)14:43
kgunnthey said that the unity8 log would be really helpful14:43
kgunncan you grab that if it happens ??14:44
kgunnrobotfuel: ^14:44
robotfuelkgunn: I have the unity8 log, I just need to dig it out of jenkins14:44
kgunnsweet, thanks, just attach to the bug14:44
=== om26er_ is now known as om26er|dinner
kgunnrobotfuel: think we can dedup 1271879....and close out 1365673 ?15:26
robotfuelkgunn: if that works better for you sure15:27
kgunnyes please15:27
robotfuelkgunn: I've added the crash files to 136567315:32
kgunntahnks15:32
=== chihchun is now known as chihchun_afk
=== om26er|dinner is now known as om26er
TassadarHi, I have a problem with some code in unity-system-compositor, namely the part which takes care of screen power off/on during suspend/resume after pressing the power button - http://bazaar.launchpad.net/~unity-system-compositor-team/unity-system-compositor/trunk/view/head:/src/screen_state_handler.cpp#L16216:29
Tassadarthe sequence of operations is "turn the screen of with blank call (under display->configure())" and _then_ set brightness to 016:30
Tassadarandroid does it the other way around - it sets the brightness first16:30
Tassadarthat's the reason why backlight on nexus 5 stays on all the time, the kernel driver refuses to set the brightness after the panel is powered down16:31
Tassadaris there anybody who knows if there's a specific reason why the screen panel is turned off before the brightness is set, or would it be okay to change the order to the one Android has?16:31
kdubAlbertA,^16:36
kdubI don't know of a reason16:37
TassadarI'd try out if it works when I change the order, but setting up the build would probably take ages16:39
racarrOh! I never said good morning hi everyone16:39
racarrsorry I slept through standup:). Standup:16:40
racarrDistracted from USC touchspot configuration by perfecting cross compile work flow16:40
racarrI think i've made a lot of progress though and will be writing up something good soon...16:40
racarractually right now im using my new cross compile set up to test my USC changes16:40
racarrand then will submit those, then send some emails about cross compiling16:41
AlbertAkdub: Tassadar: yeah no particular reason16:46
Tassadarokay, so can I submit a merge request which changes the order?16:47
AlbertATassadar: yeah go ahead16:47
Tassadarhm, actually, I'd really like to test it out frist16:47
Tassadarwhat about "compositor->start();", does it matter if it is after or before display->configure()?16:48
AlbertAthat one has to be after configure16:49
Tassadarokay16:49
TassadarI'll try to build that package so I can see if it works or not and then submit the merge request16:49
racarrShouldn't USC also have an explicit g++-4.9 dependency?16:51
racarr(went to apply my hack and failed)16:51
AlbertATassadar: for a quick test you can use these scripts16:52
AlbertAhttps://github.com/albaguirre/unity-dev-scripts16:54
AlbertAand do ./cross-compile.sh <usc directory>16:54
AlbertAand ./adb-push.sh usc16:54
Tassadarthanks16:55
racarrhttps://code.launchpad.net/~mir-team/unity-system-compositor/explicit-g++-dependency/+merge/23356416:57
racarrhmm having trouble getting sbuild top use my local apt repository for deps17:17
kdubracarr, i'm having sbuild problems too17:48
kdubalthough, mine might just be bad setup17:48
racarrkdub: There are a few problems along the way...it doesn't really work at the moment17:49
racarrI've got Mir to cross-build with a few hacks though just sturggling now to crossbuild USC against those packages17:49
racarrwhere is it giving up for you?17:49
kdubi'm still a few steps back17:50
racarrif its the g++-4.9 dependency, you just have to remove it, change it to g++-4.9:native, change it to g++-4.9-arm-blablabla, etc.17:50
racarrthere's no actual fix atm...17:50
racarrdebian upstream is working on some tooling changes to fix it as late as...last week I found17:51
racarraha...17:51
kdubhmm, i'll probably run into that17:52
kdubevery time i try sbuild its like spinning my wheels trying to find the magic key to get things going :/17:52
racarraha :(17:53
racarrkdub: Do you know about https://wiki.ubuntu.com/SimpleSbuild17:53
racarrthis has been the best set of directions for me17:53
kdubi'll try it out17:53
kdub'simple sbuild' would be17:53
kdub./go.sh17:53
kdub:D17:53
racarrlol17:54
racarrok so the short story is17:55
racarrmk-sbuild --target armhf utopic17:55
racarrthen, prepare the mir source (replace g++-4.9 in debian/control with g++-4.9:native)17:56
racarrbuild a source package17:56
racarrbzr bd -S --native -- -uc -us17:56
racarr-S for build source package, --native for build from working tree rather than try and download the upstream tarball17:56
racarr -uc and -us are options for debbuild to skip signing17:57
racarrso you dont have to mess around with bumping the changelog17:57
racarrthen you will have the .dsc in the directory one up17:57
racarrwhich you should now be able to build17:57
racarrDEB_BUILD_OPTIONS=nocheck sbuild --build amd64 --host armhf -d utopic <PATH-TO-DSC-FILE>17:58
racarrIt's still going to be really slow though17:59
racarrbig optimizations: pre-populated chroot (discussed on simplesbuild, prepopulate with buidl deps)17:59
kdubeven at that though, still slow because its running through qemu17:59
racarrwait really.18:00
racarrI know pbuilder can use qemu but I thought sbuild was using a real cross chain18:00
kdubeh, i might be wrong, but I saw it fetching the qemu emulator18:01
racarrmaybe it can use qemu!18:01
racarrI am pretty sure if you use --build amd64 and --host armhf18:01
racarrit should be a real cross chain though, the build I have running right now is using18:01
racarrwell, I see cc1plus in my top outside of the chroot so.18:04
racarrits so confusing the "armhf" is called the "host" though18:04
racarranyway with prepopulated chroots, and ccache18:04
racarrits actually quite fast...18:04
Tassadarkdub: AlbertA https://code.launchpad.net/~vbocek/unity-system-compositor/fix-hammerhead-backlight/+merge/23357218:17
Tassadartested in on hammerhead and it works there, I hope it won't break anything else18:18
kdubracarr, okay, you're right, seems to be using the cross compiler18:21
kdubhad to use that gcc 4.9:native thing18:21
kdubTassadar, cool, thanks18:26
Tassadarthat issue took way to long to track down)18:26
racarrBack in a few, off to doctor18:40
racarrkdub: :D Cool, hope you can get it working18:41
racarrmy EOD task for today is I hope to write up18:41
racarreverything ive gathered, + the set of working instructions for the various18:41
racarroptimizations, etc18:41
kdubyeah, its going better than my previous attempts18:41
racarrand post it to warthogs/phone list or something in which case18:41
racarrsomeone who actually understands the tools will fill in the gaps18:41
racarrand maybe we will finally have a nice workflow for it :D18:42
racarrDOCTTOOOOOR TIME18:42
fgintherkgunn, camako, can either of you recommend someone to look at the new jenkins mir-mediumtests results? https://jenkins.qa.ubuntu.com/job/mir-mediumtests-runner-mako/2671/console19:00
fgintherthis contains the modifications for the adb user changes19:01
fgintherThe results look similar to the last job which passed.19:01
camakofginther, RAOF is your guy... I'll ask him to look over..19:02
kdubcamako, have you gotten qtmir to build under sbuild?19:02
camakokdub, no that's the only one because I think it uses some weird qml build files19:03
kdubcamako, hmm, okay19:05
camakokdub, looking at the build logs... I guess I got over the qml build failures then I got this :19:06
camakoThe following packages have unmet dependencies:19:06
camako sbuild-build-depends-qtmir-dummy : Depends: libubuntu-application-api-dev (>= 2.1.0) but it is not going to be installe19:06
camakod19:06
camakoE: Unable to correct problems, you have held broken packages.19:06
camakokdub, is this what you're seeing?19:07
kdubi'm seeing19:07
kdubqmake: could not find a Qt installation of ''19:07
kduband then qmake failes19:07
camakokdub, let me check earlier build files19:07
camakokdub, I take that back.. I did successfully built qtmir by itself.. What was failing for me is when I built qtmir with Mir packages coming from a local repo (also built with sbuild)19:15
camakoI got that conflict and I haven't had a chance to investigate it yet19:15
camakoI mean the 'unmet dep'19:16
kdubwell, thats encouraging19:17
kdubcamako, did you run into what I was seeing?19:21
camakokdub, no19:21
kdubokay, will keep poking at it19:21
racarrBack21:05

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