/srv/irclogs.ubuntu.com/2013/08/06/#ubuntu-release.txt

infinityslangasek: You around?01:20
slangasekinfinity: ohai01:20
infinityslangasek: https://launchpad.net/ubuntu/+source/debian-installer/20101020ubuntu136.1101:20
infinityslangasek: Can you sru-release that as soon as its all built and published (in an hour or two)?01:20
slangasekinfinity: ack01:20
infinityslangasek: The current precise-updates d-i is built against a kernel that never made it to -updates, so iz broke.01:21
infinityslangasek: Belay the d-i/precise request.  I'm still awake, I'll nab it on the next publisher run.02:53
slangasekinfinity: mmk03:18
=== doko_ is now known as doko
apwopenvswitch seems to have built and tested just fine (second time) and yet britney is listing it as autopkgtest fail ... could someone who knows how poke it08:00
ogra_is there any way for a packge to know it is installed on a package builder ?13:39
ogra_infinity, ^^  do you knwo ?13:39
stgraberogra_: that's sounds like an hack ;) but I suppose checking for /build may do the trick13:41
ogra_stgraber, better than nothing :)13:42
ogra_we need a way for libhybris to know it lives in a build env ...13:42
ogra_else it sets an alternative for GLES that points too a non existing android dir13:43
ogra_(instead fo just using mesa ... which it shoudl for builds)13:43
stgraberogra_: you may also be able to use some env variables set by dpkg-buildpackage which should be better than looking at /build (as /build won't exist on your local machine when running debuild)13:43
stgraberah though if you need that to be checkable from the postinst of a build-dep, then I guess /build may be the only way (that I can think of anyway)13:44
ogra_well, doesnt postinst see the env vars ?13:45
ogra_that sounds more proper than checking for /build13:45
ogra_rsalveti, ^^^13:45
stgraberogra_: yeah, it'd except that it's not dpkg-buildpackage installing the build-deps but sbuild, so you'll be missing most/all build env variables that early in the build process13:46
ogra_i need an opinion ... builds fail if Mir is involved because hybris sets the GLES alternative to /system/lib ...  during build we'd like it to use mesa instead13:46
ogra_stgraber, bah, k ... so that wouldnt help13:46
* rsalveti looks13:47
rsalvetiogra_: why is hybris even used there?13:48
ogra_rsalveti, yeah, i was pushig to just drop the dep from Mir as well13:48
ogra_but tvoss says that doesnt work because he uses its herades for gralloc etc13:48
ogra_so the -dev is a build dep of Mir (which breaks all normal armhf desktop installs :( )13:49
ogra_*headers13:49
rsalvetihm, in theory it should just use mesa13:49
rsalvetiwhere is tvoss13:49
ogra_they were about to move the alternative creation into lxc-android-config but i vetoed13:49
ogra_(thats like udev shipping an xorg.conf)13:50
rsalvetiogra_: where did this discussion happened?13:50
cjwatsonIsn't there a way to select a GLES provider other than via the system alternative?13:50
seb128rsalveti, in half a dozen channels and lists today :p13:50
ogra_cjwatson, not implemented i think13:50
cjwatsonSome solution like that sounds much more likely to be robust to me13:50
cjwatsonogra_: You have to implement *something* :)13:50
ogra_cjwatson, and it would involve changing lots of packages i guess13:50
rsalvetiseb128: haha13:50
cjwatsonSurely not13:50
seb128rsalveti, he pinged you earlier on #phablet, maybe pong there13:50
cjwatsonStrawman: LD_LIBRARY_PATH or LD_PRELOAD13:50
ogra_i.e. nvidia/ati drivers on x8613:51
cjwatsonogra_: I don't care about drivers, this is at build time13:51
ogra_cjwatson, yeah i suggested that ... seb128 decliend ... i forrgot why13:51
ogra_rsalveti, sadly it is spread all over the channles (and the ML now)13:51
ogra_there he is :)13:51
seb128cjwatson, ogra_: we are not going to patch every package in the archive calling xvfb-run make check...13:51
ogra_tvoss|lunch, stop eating :)13:51
=== tvoss|lunch is now known as tvoss|hungry
tvoss|hungryogra_, done ;)13:52
=== tvoss|hungry is now known as tvoss_
ogra_seb128, ah, right, i remember it was valid ... just forgot what it was :)13:52
ogra_cjwatson, no it isnt13:52
ogra_cjwatson, it is for packages that depend on libmir13:52
cjwatsonHow about a shim library that tries GLES from the Android directory and falls back to Mesa if it doesn't exist?13:52
rsalvetitvoss_: so, why do you need to build-depend on libhybris?13:52
cjwatsonShould be eminently doable with dlopen et al13:52
ogra_cjwatson, that would break image builds ... we dot have android available there13:53
cjwatsonogra_: What are you replying to?13:53
ogra_<cjwatson> How about a shim library that tries GLES from the Android directory and falls back to Mesa if it doesn't exist?13:53
ogra_<r13:53
tvoss_rsalveti, because the mir client library needs hardware/fb.h, hardware/gralloc.h at buildtime13:53
cjwatsonogra_: Can you elaborate on why that would break image builds?  Why do they need to load GLES?13:53
ogra_cjwatson, oh, i see, you would drop the alterbnative completely13:54
cjwatsonAnd why would they care if they got Mesa as a run-time choice?13:54
ogra_yeah, i didnt get that bit13:54
ogra_sorry13:54
cjwatsonogra_: Not necessarily, since that's probably wired in elsewhere, but have an alternative provider that can dynamically select for itself13:54
ogra_i thought yu wanted a separate entiti for setting the alternative13:54
cjwatsonI would prefer to leave the alternative in place and have it point to something smart13:54
tvoss_cjwatson, that's what we need and want for supporting multiple vendor-specific egl/gl implementations being installed and usable in parallel13:55
ogra_yeah13:55
ogra_well, i think having the postinst be intelligent would suffice13:55
cjwatsonNo, it's better not in the postinst13:55
cjwatsonBecause the postinst is run in a non-Android environment (image build) and then the contents of the system transferred to a device where Android is present13:55
cjwatsonYou could have the library's constructor do a few checks with dlopen and then set a load of function pointers based on what it finds13:56
cjwatsonIt's certainly no harder than all the crazy stuff libhybris already does :)13:56
ogra_so you would do it in libmirclient ? or in hybris ?13:56
rsalvetitvoss_: so would it need such files for all archs?13:56
cjwatsonAnd this way, you can check for what you actually care about (is Android there?) rather than a strange proxy (are we in a package build environment?)13:57
cjwatsonogra_: Don't know enough about them to pick one13:57
ogra_k13:57
tvoss_rsalveti, no, only if we build the android driver model, and we take armhf as a trigger for that13:57
seb128rsalveti, it doesn't, the deps is only there on armhf, but armhf != android13:57
ogra_(arent you on vacation ? i pinged adam on purpose because i thought so :) )13:57
cjwatsonogra_: Me?  No13:58
ogra_ah , k13:58
ogra_i thought you said something about skiing yesterday13:58
rsalvetiseb128: tvoss_: right, assuming armhf == android is already wrong indeed13:58
ogra_yeah13:58
infinityIf hybris is linked against this library, it seems sensible for it to be the one doing the resolution at runtime.13:58
infinitySince it's the only thing that cares about which one it uses.13:59
tvoss_rsalveti, fully agreed, and we would love to have a different trigger13:59
ogra_infinity, it isnt linked thats the issue ... it uses the alternative ... but forcefully sets it13:59
ogra_(to something nonexisting)13:59
infinityogra_: It "uses" the alternatives, how?  It's still linked to and/or dlopening a library, or there wouldn't be a problem. :P13:59
ogra_it is linked to the alternative ... which the postinst sets to something that doesnt exist if android isnt available14:00
rsalvetitvoss_: seb128: do you have the build log for the original issue?14:00
infinityogra_: If it's a dlopen, this becomes trivial.  If it's linked, then you'd need an intelligent stub.14:00
tvoss_infinity, hybris provides an alternative libEGL, that gets selected as the default when hybris is installed14:00
rsalvetitoo many parallel talks and my brain is still waking up14:00
seb128rsalveti, https://jenkins.qa.ubuntu.com/job/unity-saucy-armhf-autolanding/157/console14:00
seb128rsalveti, that's one14:01
cjwatsonogra_: Not I.  In two weeks I'm going to be in the middle of the Alps, but whether that will involve any skiing is debatable since I've never skied before14:01
infinitytvoss_: Oh, I see.  So it's everything else being linked to it that's the issue.  Not running it through hybris.14:01
ogra_cjwatson, heh, Alps = skiing for me like armhf = android for tvoss_ ;)14:01
cjwatsonIn that case I would suggest a new stub library14:01
tvoss_rsalveti, don't have it handy, but in summary: hybris installed -> egl from hybris forced as default -> applications accessing default egl impl -> kaboom14:01
rsalvetiseb128: that's because it's trying to use that library when running the test, right?14:02
infinitytvoss_: So, the libhrybris-provided libEGL should be a stub that loads the right bits if they're there, and not if they're not.14:02
tvoss_cjwatson, +1, and we could reuse that work to support vendor-specific (nvidia, amd) egl/gl implementations being installed in parallel14:02
tvoss_but: we need a short-term fix to unblock CI14:02
seb128rsalveti, it's trying to use a graphical toolkit, which leads to that14:02
rsalvetiright, it's not just a linking issue, it's indeed trying to use the library14:03
seb128rsalveti, same issue on ubuntu-system-settings trying to run a qt5 ui through xvfb-run14:03
rsalvetiand failing because hybris can't load /system/lib/libGLESv2.so14:03
tvoss_infinity, true, but see my comment to cjwatson :) ideally, the mesa egl would be clever, and hybris would be just another implementation14:03
tvoss_rsalveti, right, linking is not the problem14:03
cjwatsonPerhaps, but there's no reason you should block on that.14:03
cjwatsonOr even try to do it in the first pass.14:03
ogra_why cant xfb unset the alternative btw ?14:03
ogra_as a quick hack14:03
ogra_*xvfb14:04
cjwatsonSounds scary14:04
cjwatsonMessing with alternatives is on my "avoid if possible" list14:04
tvoss_cjwatson, the moment tests are executing, they crash14:04
ogra_well, hack ... and quick were in the sentence :)14:04
cjwatsonEspecially outside maintainer scripts14:04
stgraberogra_: because people have xvfb installed on their desktop machines too?14:04
cjwatsonQuick hacks can be hard to undo14:04
ogra_stgraber, crazy people :P14:04
stgraberogra_: well, I'd expect any ubiquity developer to have it and anyone who worked on projects that mvo once started ;)14:04
ogra_why would i need it for ubiquity ? i just test  in a real X :)14:05
stgraber(unless they like windows randomly popping up on their screen while the pre-commit stuff runs ;))14:05
cjwatsonogra_: We have this thing called a test suite :)14:06
ogra_:)14:06
ogra_i dont mind popping up windows14:06
rsalvetitvoss_: would we also have test cases to test gralloc or such?14:06
rsalvetiif so, then we're back to the same issue, even with a stub14:07
tvoss_rsalveti, sure, exercising the mir parts that make use of it14:07
rsalvetiwe basically can run such tests that depend on hybris if we're not in a valid android environment14:07
rsalvetiunless we have fake stubs for everything, but which will cause side effects for the tests as well14:08
tvoss_rsalveti, true, that's why a lot of mir tests on armhf are currently disabled14:09
ogra_cjwatson, stgraber, in any case i would just make xvfb-run export something like "HYBRIS_USE_MESA" and make the hybris postinst alternative setup be conditional for this as the quick hack i was proposing ... shouldnt do any harm to xvfb-run14:09
rsalvetiheheh14:10
stgraberogra_: I doubt that'd work as you'd need to have the dependencies be installed under xvfb-run which I doubt they are14:10
ogra_oh, right, so HYBRIS_USE_MESA would have to override the alternative inside hybris ...14:11
ogra_thats not a quick hack anymore indeed14:11
=== james_ is now known as Guest7355
=== Ursinha is now known as Ursinha-afk
=== chuck__ is now known as zul
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== james_ is now known as Guest20713
=== Ursinha-afk is now known as Ursinha
rsalvetiif anyone around, mind taking a look at ^21:47
rsalvetijust moving stuff from libhybris into more packages, android-platform-headers, libhardware2 and libhybris-common121:47
rsalvetithis will solve that mir/hybris issue in the archive for armhf that we had today21:47
rsalvetiwill split the rest after proper discussion with upstream, as I'd like some libs to get renamed as well21:48
seb128rsalveti, seems weird that you don't have Replaces/Breaks (<< new), on the old binaries, to avoid file conflict on update?21:53
rsalvetiseb128: the new packages would need to replace/breaks << libhybris, right?21:56
seb128rsalveti, yes21:56
rsalvetidoing so many things in parallel that I forgot that21:57
seb128rsalveti, otherwise you might have apt hitting file conflicts if the e.g libhardware is unpacked before libhybris is upgraded21:57
rsalvetiseb128: let me cook another upload21:57
seb128rsalveti, thanks21:57
seb128rsalveti, also you are sure it's not going to break touch? e.g nothing is depending on libhybris and expecting to get libhardware with it?21:58
rsalvetiseb128: mir is the first one22:00
seb128rsalveti, you might want to keep libhybris depending on libhardware (if it's not doing it through shlibs)22:01
seb128rsalveti, to avoid those issues22:01
rsalvetiseb128: yup22:02
skellatGreetings.  Is anybody willing and able to dispose of this SRU request plus Sponsored Upload request?  https://bugs.launchpad.net/ubuntu/+source/xubuntu-docs/+bug/120749323:01
ubot2`Ubuntu bug 1207493 in xubuntu-docs (Ubuntu) "[SRU] Documentation does not match shipped system version (11.10 shipped with 12.04)" [High,Confirmed]23:01

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