/srv/irclogs.ubuntu.com/2013/02/08/#ubuntu-devel.txt

cjwatsonsarnold: not the same situation, but there are multiple causes, I guess00:05
=== wedgwood is now known as wedgwood_away
hallynDaviey: around?01:21
infinityUhm.  What just spawned Ubuntu Core Installer from its postinst? :P01:55
sarnoldinfinity: funny, cjwa tson and dob ey were mentioning it earlier..01:57
infinityYeah, I'm going to fix this with fire right now.01:57
* sarnold gets his ovegloves out01:58
hallynjamespage: is there a way to have the server seed depend on 'qemu-system-$arch' ?  (new qemu will have separate qemu-system-x86, qemu-system-ppc, qemu-system-arm, etc;  qemu-kvm depends on qemu-common which will depend on all of them)02:09
infinityhallyn: Sure.02:09
hallyninfinity: I'm still ironing out the details on the new qemu merge from debian, but when I push that qemu-system-x86 will be a new package containing only files from qemu-system (which is in main) - will it be hard to get into main?02:12
infinityNo, splits don't need an MIR.02:12
hallynphew02:12
infinityAnd you'd want seeds something like this (adjusted for whatever the actual truth is):02:12
infinity * qemu-system-ppc [powerpc ppc64]02:12
infinity * qemu-system-arm [armel armhf arm64]02:12
hallynah cool02:13
infinity * qemu-system-x86 [i386 amd64 x32]02:13
hallynso just like you do in a debian/control :)02:13
infinityPretty much.02:13
hallynthx02:13
infinityPlenty of examples of this in the seeds currenty.02:13
hallynthat should reduce the size of the server seed a bit,02:13
hallynbut theni still need to figure out why oh why qemu-system is depending on libgl1-mesa-glx | libgl1 all of a sudden02:13
infinityspice?02:13
infinityOr is this pre-spice-enabling?02:14
hallynpre-spice02:14
infinityOh, indeed.02:14
hallynfeh, i do hope spice won't add that, that could suck02:14
infinityEvery single qemu-system-* has a libgl dep.02:16
infinityAnd given our aggressive use of --as-needed, that probably means they actually use symbols from it.02:16
infinityUnless there's some gross hand-made linking going on.02:16
hallynis that libglib-2.0.so.0 ?02:17
infinityOh, my grep might be bad. :P02:17
hallynright i don't actually see a 'libgl' as such, or any *mesa* or *qxl02:17
infinity/usr/bin/qemu-system-lm32 is the only one.02:18
infinity(base)adconrad@cthulhu:~$ for i in `dpkg -L qemu-system` ; do if ldd $i 2>/dev/null| grep -q libGL; then echo $i; fi; done02:18
infinity/usr/bin/qemu-system-lm3202:18
infinity(base)adconrad@cthulhu:~$02:18
infinityI always forget it's uppercase GL.02:18
hallyn<scowl>02:18
infinityThat's sort of a self-solving problem after the split.02:19
infinityAssuming lm32 isn't one you care about. :P02:19
infinityWhatever it is...02:19
hallynright it's not :)02:19
hallynbut libGL comes from nvidia for me02:20
infinitylm32-uclinux         lm32 platform for uClinux and u-boot by Theobroma Systems02:20
infinitylm32-evr             LatticeMico32 EVR32 eval system (default)02:20
infinitymilkymist            Milkymist One02:20
vibhavlibxcb test cases completed \o/02:20
infinityWell, yes.  Your libGL comes from nvidia cause you have the nvidia drivers installed, so?02:20
vibhavpitti: ^^02:20
hallyninfinity: I'm still just trying to figure out what libgl1-mesa-glx is02:21
infinityhallyn: It's libGL.02:21
hallynall right02:21
* hallyn checks where lm32 falls in the split - hopefully qemu-system-misc02:21
infinityhallyn: Your dep is "libgl1-mesa-glx | libgl1", and binary drivers all provide the latter and use alternatives.02:21
vibhavpitti: I will request a branch merge after I come from school, the bus is here02:22
hallyninfinity: ah, i see02:22
hallyninfinity: phew, yeah, it's in -misc, so that may solve that02:22
infinityhallyn: Unless spice uses GL. ;)02:22
infinityhallyn: Well, spice would be its own package too, I'm guessing, a second build of x86?02:23
infinityhallyn: Or is Debian just building it in?02:23
infinityHrm, guessing spice is just built in to x86.02:23
=== zz_Jacky_ is now known as jackyalcine
* infinity looks at how that pans out.02:24
hallynyeah i guess we should b eable to tell by looking at the debian-experimental packages02:24
infinityWhich I just did.02:25
infinityAnd I guess it's not a big deal.02:25
=== jackyalcine is now known as Jacky_
infinityI was going to bitch about how spice would pull in all those useless X11 deps.  But qemu-system does that ANYWAY.02:25
hallynright, qemu-kvm shoudl always have done that too, bc it built in sdl02:25
infinityBecause it's such a wonderfully modular design, so well-suited to masquerading as a lightweight hypervisor.02:25
infinity</sarcasm>02:25
hallynand sdl never works right anyway02:26
=== Jacky_ is now known as zz_Jacky_
hallynmaybe we can add a qemu-kvm-barebones02:26
hallyninfinity: ok, so spice in debian doesn't add libGL?02:26
hallyninfinity: (bc it is a big deal due to bug 1118407)02:26
ubottubug 1118407 in qemu (Ubuntu Raring) "qemu-kvm/system has a large number of dependencies" [High,Triaged] https://launchpad.net/bugs/111840702:26
infinityIsn't what qemu-kvm *was* before we decided to just use system?02:26
hallynrephrase?02:27
infinityOh, no, kvm built with sdl too.02:27
infinityNevermind.02:27
hallynright02:27
hallyngah.  biab02:27
infinitySo, yeah.  It would be nice to have something targetted at servers.02:27
infinityIt would be so much better if it had a modular/plugin system. :/02:28
infinitySo you could have the base installed and then say "actually, I'd like some X graphics with that, too... Or spicy acceleration... Or sound... Or whatever)02:29
infinityThough, I guess all anyone really needs is the "nothing but barebones kvm/paravirt with no GUI and sound stuff" and "the kitchen sink".02:29
=== zz_Jacky_ is now known as jackyalcine
=== jackyalcine is now known as Jacky_
infinityhallyn: Oh, speaking of qemu, IS needs a patch in your next upload.02:31
infinityhallyn: https://launchpadlibrarian.net/93501920/qemu-linaro-921078.patch got dropped when the great merge happened.02:32
infinityhallyn: Given that 2.6.32 is the baseline for experimental's glibc as well, it may pay to just push this to Debian.  Or we can carry it locally.  Whichever.02:33
infinityhallyn: So, when that patch got dropped and they rolled out a new backport, all the ARM PPAs broke.  Well done.02:33
RAOFHm. Library versioning question: if liba takes some symbols and puts them in liba-private, with liba depending on liba-private (so the the union of symbols in the new liba + liba-private is a strict superset of the symbols in the previous liba), does this break ABI? My guess is yes, but it seems empirically to not break ABI.02:35
infinityRAOF: Nope.02:35
infinityRAOF: Not on GNU/Linux anyway.  It all resolves sanely and it's like nothing happened.02:36
infinityRAOF: Of course, that also means liba-private isn't private.02:36
infinityRAOF: If its symbols are exported and accessible through linking liba.02:36
infinitywin 30102:36
RAOFYeah. A better name for it could be "liba-minus-the-glib-bits"02:36
infinityHeh.02:37
RAOFinfinity: Ta. The obvious case is "it works", but I wasn't sure if there were some funky dlopen options you could wrangle to only see symbols directly from the library you're dlopening.02:37
infinityBut if liba depends on liba-glib-bits, why bother with the split?02:37
infinityIf you dlopen() liba and it links liba-whatever, you'll get whatever with it.02:37
RAOFBecause other things can depend on liba-minus-glib-bits, I think.02:38
infinityNote that I said dlopen() intentionally there.  There are non-dlopen dlopen-alike implementations that screw this up.  But glibc doesn't.02:38
infinity(be wary of ctypes)02:38
infinityAnything using glibc's linkers (dlopen() or ld.so via direct linking) will be fine.02:39
infinityAnd anyone else is doing it wrong.02:39
infinityQED.02:39
RAOFEh. This has an accompanying gir; I don't think anyone sane will be ctypesing it.02:39
hallyninfinity: oh, never heard of that patch.  oh i see it wasn't in qemu-kvm...02:52
hallyninfinity: should that only be for arm targets?02:52
infinityhallyn: The same misfeature applies to all qemu-user-static builds, it's hard an ARM issue.02:52
infinityhallyn: Without declaring a uname at build time, it just passes through the system's uname.02:53
hallynoh. i see.  which'll be 2.6.23 or something for hardy :)02:53
infinityhallyn: Which is a blatant lie (the syscall emulation doesn't relate at all to the system kernel), and is also rather problematic in some cases.02:53
infinity2.6.2402:53
hallyni was close!02:53
infinityBut same problem in the other direction.  The syscall emulation isn't ever up to date with linux mainline, so 3.8.0 is just as much a lie.02:53
infinityAnd 3.8.0 is what my raring system will say running uname under qemu-user-whatever.02:54
hallynok, i'm getting clsoe to pushing, lemme toss taht patch backin tehre realy quick02:54
=== pcarrier_ is now known as pcarrier
hallyntrying to tell if that flag is safe for system builds03:02
=== jono is now known as Guest51
=== jbicha is now known as Guest80174
=== StevenK is now known as Guest40324
=== Guest80174 is now known as jbicha_
=== emma is now known as em
hallynDaviey: jamespage: infinity: mjt: ok, the qemu built from https://github.com/hallyn/qemu/tree/de.jan28.ubuntu2.nixdoc seems to do all the right things for me.  In the morning i'll try a quantal->raring upgrade with it, then probably push it to raring.04:44
hallyn(should fix the two bugs jamespage filed today)04:45
* hallyn out04:45
* shuduo is away: auto-away04:58
* shuduo is back (gone 00:07:21)05:05
=== Jacky_ is now known as zz_Jacky_
=== zz_Jacky_ is now known as jackyalcine
=== jackyalcine is now known as Jacky_
pittiGood morning05:27
pittivibhav: awesome!05:27
* shuduo is away: auto-away05:38
=== Jacky_ is now known as zz_Jacky_
=== zz_Jacky_ is now known as jackyalcine
LantzRHiya05:49
* shuduo is back (gone 00:17:53)05:56
=== Guest40324 is now known as StevenK
=== amitk is now known as amitk-afk
dholbachgood morning07:27
=== jackyalcine is now known as zz_jackyalcine
=== chiluk is now known as chiluk_away
dholbachhighvoltage, happy birthday! :)08:18
highvoltagethanks, dholbach!08:23
dholbach:)08:23
mitya57highvoltage: happy birthday and congrats with becoming a gnome-panel maintainer! :)08:24
=== yofel_ is now known as yofel
=== amitk-afk is now known as amitk
seb128dholbach, hey, udd question ... will those uploads you did lead to the udd merge request to autoclose if you just dput and didn't bzr merge & push? or should they be set to merged manually?08:51
dholbachI think they won't close08:52
dholbachI was just waiting for them to be merged08:53
seb128dholbach, ok, works for me, I usually set them as merged when I dput so I don't forget but I was wondering if I was overlooking some autoclosing magic on the udd side ;-)08:53
dholbachok08:54
seb128dholbach, when is Logan's application going to be reviewed for MOTU btw? ;-)08:54
dholbachseb128, according to https://lists.ubuntu.com/archives/devel-permissions/2013-February/000445.html it's on 25 Feb08:54
seb128great08:55
seb128dholbach, danke!08:55
dholbachI feel good now, I just translated a page on https://translations.launchpad.net/ubuntu-packaging-guide/trunk and reviewed 2 pages of translations suggestions08:56
=== henrix_` is now known as henrix
vibhavpitti: ping09:52
pittihey vibhav09:53
vibhavAfter compilation, how do I run Xvfb and the test together?09:53
pittivibhav: xvfb-run yourtestprogram09:54
vibhavCan xvfb run in the background?09:54
pittixvfb-run does all that for you09:56
vibhavpitti: What about the parameters to Xvfb?09:56
pittiyou don't usually need parameters09:56
vibhavPerfect09:56
vibhavSo screen is :0 , right09:56
pittivibhav: no, xvfb-run will use :99 by default09:58
pittibut it sets $DISPLAY09:58
pittiso you can do "xvfb-run xeyes" and everything will work09:59
vibhavAh09:59
lifelessJust Work in fact09:59
vibhavGood09:59
vibhavSo I refine it and then request a merge10:00
vibhavI will*10:00
Gwaihirhello, got a question about a Python bug, https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1119195 fixed upstream, what is the process to get it included in 12.04?10:03
ubottuUbuntu bug 1119195 in python2.7 (Ubuntu) "_DummyThread' object has no attribute '_Thread__block" [Undecided,New]10:03
vibhav!sru | Gwaihir10:04
ubottuGwaihir: Stable Release Update information is at http://wiki.ubuntu.com/StableReleaseUpdates10:04
Gwaihirthanks vibhav10:06
vibhavNo problems10:06
jrpHi, Im compiling some software and Im curious. Why arent ubuntu packages compiled with -fPIC?10:25
jrpexamples include: libssl.a, libc.a, and libz.a10:25
mjtbecause you've libssl.so, libc.so, libz.so etc10:27
mjtif you compile your prog dynamically, use these. if you compile it statically, use libz.a etc but in this case you don't need -fPIC.10:27
jrpIm trying to create a shared lib thats statically linked if that makes sense, in which case I do need -fPIC10:28
mjtstatic lib compiled with -fPIC makes sence if you include that static libs into shared libs10:28
mjtheh10:28
jrpyeeeep.10:28
mjtas i said, do not do it, use real shared libs.10:28
xnoxjrp: that's not supported on debian/ubuntu.10:29
xnoxjrp: you can recompile libraries in question and then you can do it.10:29
xnoxaka in a ppa.10:29
jrpis there anyway I can create a staticly linked library out of shared libraries?10:29
jrpxnox: yeah, im recompiling glibc now :\10:29
mjtstatic libs are already very questionable things, but it really is sometimes necessary to build static apps sometimes.10:30
xnoxjrp: do not use it, unless all the test-suites pass.10:30
cjwatsonstatically linking glibc is very unwise.10:30
mjtbut embedding a static lib (especially such common ones like glibc(!!) and libz) is really insane.10:30
cjwatsonand we went to serious effort to hunt-and-destroy instances of static linking of libz a security vulnerability or two ago.10:31
jrpIm very far down a rabit hole, I really just need a shared library with statically linked libcurl10:31
mjthahaha10:31
mjthttp://curl.haxx.se/docs/adv_20130206.html -- fresh curl security hole for you10:32
jrpi saw10:32
jrpwould it improve things at all if i said it was a research project PoC and not for a production system? I understand why statically linking things is such a horrible idea from a security perspective10:33
mjtit is really a bad taste to help to do such a bad thing.10:33
cjwatsonjrp: it's not going to persuade us to offer the facility widely, I'm afraid, because it's just too tempting to misuse10:33
mjtand it always starts from research/PoC thing, and spreads from there...10:33
cjwatsonjrp: that said, you'll find some -pic variants of libraries, which exist for special purposes - for example libc6-pic10:33
mjtcjwatson: what purposes are these?10:34
jrpcjwatson: thats incredibly helpful10:34
cjwatsonmjt: installer10:34
mjtubuntu uses its own installer?10:34
cjwatsonscary library reduction thing which really ought to be replaced now that we have sane udeb shlibdeps, but ...10:34
cjwatsonmjt: no, d-di10:34
cjwatson*d-i10:34
cjwatsonmjt: libc6-pic is in Debian too10:35
mjtyeah, d-i and reduction. i remember now.10:35
jrpI mean, if youd like Id happily explain my project briefly and if theses a better way to do it Ill happily switch to it. Im very much stumbling through things as I go10:35
cjwatsonwe wouldn't have introduced it ourselves10:35
mjtd-i is an evil thing anyway :)10:35
cjwatsonnah, it's lovely and fluffy10:35
cjwatsonadmittedly there is a core of complex evil10:35
* mjt , being one of the d-i team, hides and runs away10:35
cjwatsonwell, likewise :)10:36
mjtbut i don't do much there, only busybox10:36
mjt(maybe it's time to stop caring about lib size reduction, -- we use DVDs with much larger size and alot more packages these days, so the difference in size between reduced and regular libc.so makes no sence at all)10:38
jrpwell, thank you guys very much for the help, i appreciate it10:39
cjwatsonjrp: In general the better way is just to use ordinary dynamic linking and have dependencies to ensure that the proper shared libraries are present ...10:40
jrpcjwatson: Im building something which will be executed through LD_PRELOAD (which I know is also evil)10:40
cjwatsonI wasn't aware that LD_PRELOAD disregarded indirect linkage?10:40
mjtwow. linking libc statically into LD_PRELOADed object may have... interesting effects.10:40
mjt;)10:40
cjwatsonQuite, you'll probably end up with a sea of symbol conflicts and consequent segfaults10:41
jrpok, backing up some more. Im hooking connect() using LD_PRELOAD, then trying to use libcurl to send data off10:41
cjwatsonhttp://stackoverflow.com/questions/4385155/setting-my-lib-for-ld-preload-makes-some-processes-produce-loader-errors implies that dynamically-linking a preloaded library works fine10:42
jrpIm concerned that libcurl will see my not-real-connect, as opposed to real connect10:42
jrpdoes that make any sense?10:43
cjwatsonI think what you want is to build a shared libcurl without -Bsymbolic-functions10:44
mjtyou'll have to implement all read/recvfrom/etc stuff too10:44
cjwatsonLet me check what our curl is built with10:44
mjt(or just fork a child process linked with curl, and return a real socket fd from socketpair)10:45
mjtthat might be a ton easier and safer10:45
jrpIm trying to avoid forking, I have it working now in a fashion via fork/exec10:45
cjwatsonYeah, our curl's linked with -Bsymbolic-functions, so you'd need to undo that in order to be able to override symbols therein using LD_PRELOAD.  Or mjt's solution would work too.10:46
jrpbut id like to avoi the process overhead10:46
cjwatsonA bit of a hassle but almost certainly less painful than static linking.10:46
jrpUh, so Im sure were on the same page. I -want- curl to use the system's connect()10:46
cjwatsonOh, ISWYM10:47
jrpso Im trying to statically link curl so it -wont- hit my connect/getaddrinfo/gethostbyname10:47
cjwatsonAh, no, -Bsymbolic-functions doesn't apply because connect isn't within the library10:47
cjwatsonjrp: Sounds like sledgehammer and nut ...10:47
jrpcjwatson: As I said, Im stumbling through it, down a rabit hole. Im 100% open to smaller hammers10:48
mjtwrite a small daemon that does your curl work and connect to it from ld_preload10:48
mjtto avoid forking overhead10:48
jrphm, thats a very good idea10:49
mjttons of possibilities, embedding stuff into ld_preload seems like one of the worst solutions10:49
jrpwhen all you have is a hammer... I dont know why I didnt think of a daemon10:50
* cjwatson tries to remember details of symbol resolution rules10:50
jrpit makes me feel marginally better that all this isnt super obvious10:51
cjwatsonjrp: Here's another possibility (probably at the very least glibc-specific and possibly Linux-specific): http://paste.ubuntu.com/1623988/11:17
cjwatsonjrp: (Actually, make the "int (*connect_real)" line "static int ..." instead for efficiency, I missed that bit)11:18
jrp...wow. seriously, thank you so much.11:19
cjwatsonbar.c here is of course a stub taking the place of libcurl11:20
jrpyeah11:20
pittitjaalton: could you please have a quick look at https://jenkins.qa.ubuntu.com/view/Raring/view/JHBuild%20Gnome/job/jhbuild-amd64-gtk-/129/artifact/gtk+.log ? that's a very recent failure, does that ring a bell?11:23
pittitjaalton: it still worked on Feb 6, failed on Feb 711:23
pittihttps://jenkins.qa.ubuntu.com/view/Raring/view/JHBuild%20Gnome/job/jhbuild-amd64-mutter/101/artifact/mutter.log fails in the same way11:24
pittierror: conflicting types for 'BarrierEventID'11:24
tjaaltonpitti: needs a rebuild, I've uploaded a new libxi last night11:25
pittitjaalton: oh, is that  2:1.6.99.1-0ubuntu211:25
tjaaltonyes11:25
pittitjaalton: thanks, sorry for the noise11:25
tjaaltonsorry for pushing the original one to raring and not the staging ppa ;)11:25
pittican't escape Jenkins :)11:26
tjaalton:)11:26
cjwatsonjrp: ... and no problem, it was an excuse to try to remember this stuff11:27
jrpcjwatson: is theres a source youd recommend for understanding what -Bsymbolic-functions does?11:29
cjwatson     When creating a shared library, bind references to global function11:30
cjwatson     symbols to the definition within the shared library, if any.11:30
cjwatsonis what 'info ld' says11:30
cjwatsonIn other words: normally something earlier in the link (the main program, a library loaded earlier, or an LD_PRELOAD) gets to override symbols in any libraries linked later11:31
cjwatsonSo if you have a "malloc" symbol in your program then that also overrides malloc for any libraries it loads11:31
cjwatsonActually, sorry, that's misleading11:32
cjwatsonLet's say you have a curl_getenv symbol in your main program - that would ordinarily override the one in libcurl11:33
cjwatsonBut if libcurl is linked with -Bsymbolic-functions, the linker looks for any internal function calls within the library (that is, calls from one function in the library to another) and rather than leaving those symbols to be resolved when the whole program is loaded, it resolves them all in advance in libcurl.so11:35
cjwatsonThis has the downside that you can't then override those symbols with LD_PRELOAD (so we don't use -Bsymbolic-functions for libraries like libc where you commonly want to preload their symbols), but it has the advantage that the dynamic linker has to do many fewer relocations when loading a program, so it makes program execution more efficient, especially for programs involving many libraries such as you find on the desktop11:37
cjwatsonDoes that help?11:37
jrpyes, very much11:37
jrpok, Im trying to make sure I understand this. main calls connect, which gets sent off to libfoo.so. libfoo passes it to inner connect in libbar, which actually sends it back to libfoo. But because the inner val is different, we now execute real connect, flip inner back, and return11:40
cjwatsonRight, and because inner is static its value is saved across invocations11:41
jrpyep11:41
Gwaihirhi, can anybody give an update on this bug? https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1077153 there's a comment for precise, but I cannot find an updated package with that fix...11:42
cjwatsonSo the preloaded connect gets to communicate with recursive calls to itself11:42
ubottuUbuntu bug 1077153 in python2.7 (Ubuntu Precise) "Backport request: http://bugs.python.org/issue14308" [Undecided,Triaged]11:42
cjwatsonThe RTLD_NEXT trick is the glibc-specific bit, I believe11:42
jrpyeah, it is11:42
cjwatsonHence #define _GNU_SOURCE11:42
jrpyep11:42
jrpif youre going to do that btw11:42
jrpwell, i gues you couldnt matke it static then11:43
cjwatsonmake which static?11:43
jrpbut typeof(connect) connect_real11:43
cjwatsonoh, yeah11:43
jrpmakes the function pointer syntax less obnoxious11:43
cjwatsonI figured it didn't really matter since we already need to know the type for the wrapper function11:43
jrpyeah11:43
cjwatsonBut feel free to polish further :)11:43
jrpok, so Im still missing something here I think11:44
jrplets say bar.c is our program which uses libcurl. wont it still hit connect in libfoo?11:44
cjwatsonIs libcurl being used in the main program as well as in the preloaded wrapper?11:45
jrppossibly11:45
jrpwell, yes, it will be11:45
jrpin some cases11:45
cjwatsonYou'll have to figure out when you want your wrapper to take effect and when you don't11:45
cjwatsonBut you should have enough flexibility this way to vary the policy11:45
cjwatsonIf all else fails you could wrap curl functions just for the purpose of noticing that you'd entered them ...11:46
cjwatson(You'd need a file-scope static variable then)11:46
jrpyeah, ok11:46
jrpthat makes sense11:46
jrpheh, christ what a PITA :)11:46
xnoxGwaihir: well precise has 2.7.3 not sure which patchlevel. Do you have a link to the commit on 2.7 branch handy? There should be 2.7.4 soon, is that patch included?11:47
Gwaihirxnox, upstream commit link is this one: http://hg.python.org/cpython/rev/ab9d6c4907e711:48
Gwaihirxnox, as far as I know it should be in upstream 2.7.4, but is 2.7.4 going to be available in precise too?11:49
jrpcjwatson: hm, I think the easiest way is just going to be to wrap the curl_execute functions with something like your inner var11:52
jrpcjwatson: because all my functions call their real versions11:53
pittivibhav: meh, https://jenkins.qa.ubuntu.com/view/Raring/view/AutoPkgTest/job/raring-adt-ncurses/1/ARCH=i386,label=adt/ fails11:53
jrpcjwatson: and return the same results, they just perform some db operations along the way11:53
pittivibhav: that may be because the test doesn't actually have a stdout/stderr?11:53
xnoxGwaihir: well we are currently packaging the tip of 2.7 branch in raring. And I don't see past history of uploading python micro-releases. But since 2.7 is the last one.....11:59
xnoxGwaihir: i think it's safer to cherry pick that one patch as an SRU. Please follow https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template on the bug report. with pointers upstream and then we can SRU that.12:00
cjwatsonjrp: *nod* makes sense12:00
Gwaihirxnox, ack12:01
xnoxpitti: did any body write UDisks2 template for dbus-mock yet?12:02
pittixnox: not that I know of12:02
xnoxpitti: ok. I ported usb-creator to UDisks2, but I don't trust it. Looked into porting the test-suite and it seems like dbus-mock would be more extensive and easier to use. Considering that I also want to test our own (usbcreator) helper as well.12:03
pittixnox: yeah, and might be useful for other tests, too12:04
pittixnox: "trust" in which sense? fails in tests? or just a gut feeling?12:05
pitti(fails in manual test, I mean)12:05
xnoxpitti: it now doesn't fail in manual tests, but I did have round-trips of "i fix here, now it's broken there again where I just fixed it"12:05
xnoxI guess my pitfall was being inconsistent in passing sometimes dbus object path '/org/freedesktop/UDisks2/block_devices/sdb1' and sometimes device file names '/dev/sdb1'12:06
xnoxmanual tests are ok, apart from failure conditions not that well tested (what if it's unplugged at various points of progress)12:07
jrpcjwatson: thanks again, its past time for me to pass out. i owe you a sixpack12:10
jrpcjwatson: feel free to collect if youre ever in Oregon12:10
=== _salem is now known as salem_
Gwaihirxnox, will something like this https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1119195 work for an SRU?12:30
ubottuUbuntu bug 1119195 in python2.7 (Ubuntu) "_DummyThread' object has no attribute '_Thread__block" [Undecided,New]12:30
tjaaltongrr, could someone remove xserver-xorg-video-s3 and -qxl from raring-proposed?12:30
tjaaltonmistakenly uploaded there12:30
tjaaltonsomeone as in archive admin..12:31
Laneytjaalton: they shouldn't be there at all or you're going to fix in a subsequent upload?12:31
tjaaltonLaney: not at all, should be in canonical-x/x-staging12:31
Laneyseb128: didrocks: ^^^12:31
tjaaltonnothing critical there, it's basically just a rebuild12:32
tjaaltonbut would save yet-another upload :)12:32
xnoxGwaihir: looks good. I'm confused why you filed it as a new bug, instead of updating the existing one =)12:33
didrocksLaney: hum, I think you need more than an archive admin to change something in the published repo :) (or I've never done that more exactly and https://wiki.ubuntu.com/ArchiveAdministration doesn't mention it)12:33
didrockstjaalton: ^12:33
Gwaihirxnox, the old one was marked as Fix Released...12:33
seb128didrocks, I think you can just delete from proposed (as you would delete a source from the archive), but I never tried12:34
xnoxGwaihir: bugs can have tasks. Precise task was not "Fix Released"12:34
xnoxGwaihir: e.g. we track bugs per-series =)12:34
tjaaltonright, it's still pending, so should be doable12:34
didrocksseb128: same, I think that the manual removals enable that, but I prefer people knowing to do it first :)12:34
Gwaihirxnox, yep... right... my bad, I can update the other one12:34
xnoxGwaihir: don't worry. Let me sort it out.12:35
Gwaihirxnox, thanks12:35
xnoxGwaihir: now, that's better. Note that it will have to wait until after 12.04.2 is released.12:36
xnoxbug 107715312:36
ubottubug 1077153 in python2.7 (Ubuntu Precise) "_DummyThread' object has no attribute '_Thread__block" [Medium,Triaged] https://launchpad.net/bugs/107715312:36
seb128tjaalton, Laney, didrocks: trying "./remove-package -m "uploaded by error" -s raring-proposed xserver-xorg-video-s3"12:36
Gwaihirxnox, ok, thanks again12:36
xnoxGwaihir: in the mean time you can just catch and ignore that attribute error ;-)12:36
tjaaltonseb128: same for -qxl?12:37
seb128trying12:37
tjaaltonthanks :)12:38
tjaaltonlp shows it as published in the proposed pocket now12:38
tjaalton*them12:38
Laneylet me block them to be safe12:38
seb128yeah, command doesn't work for atm12:40
seb128    items = gnomekeyring.find_network_password_sync(username, service)12:40
seb128gnomekeyring.IOError12:40
Laneyhoho12:40
Laneyyou might want https://rbtcollins.wordpress.com/2013/01/24/launchpadlib-without-gnome-keyring/12:40
seb128didrocks, does "./remove-package -m "uploaded by error" -s raring-proposed xserver-xorg-video-s3" work for you?12:41
didrockslet me try12:41
seb128my session is screwed, compiz froze again12:41
seb128and I didn't want to restart12:41
seb128I ran it from a vt, which restored UI but broken env12:41
Gwaihirxnox, wish I could do that, I would have to patch another library not under my control, anyway, is that targeted for 12.04.2 or .3?12:41
didrocksseb128: Laney: tjaalton: flushed12:42
seb128didrocks, same for qlx please ;-)12:42
Laneyqcl12:42
Laneyqxl12:42
seb128ups12:42
didrocksyep, looking first at what's happening in launchpad for -s312:42
seb128I need to report that compiz issue12:42
tjaaltondidrocks, seb128, Laney: great, thanks!12:42
seb128it's frozen every second time I come from a guest session since I started using a second monitor12:42
didrocksok, seems that -raring still have a package :)12:43
seb128didrocks, that command is what https://wiki.ubuntu.com/ArchiveAdministration recommends to remove buggy SRUs12:43
Laneyseems like it worked12:43
tjaaltondidrocks: do the same for -qxl too12:43
seb128didrocks, so I figured it would be similars ;-)12:43
didrocks-qxl done :)12:43
tjaaltonah, echo12:43
tjaalton:)12:43
Laneyso be aware that you can't reuse that version next time12:43
tjaaltonoh12:44
didrocksseb128: yeah, I feel more confortable when seeing it's what is done for SRUs ;)12:44
tjaaltonwell this was a useless excercise then :)12:44
didrockstjaalton: tsss tsss, let's say it was for exercising our fingers at least!12:44
didrocksnot completely useless ;)12:44
tjaaltonheh, ok12:44
didrockstjaalton: thanks for checking my health :)12:45
* didrocks hugs tjaalton12:45
tjaaltondidrocks: :)12:54
=== zz_jackyalcine is now known as jackyalcine
=== jackyalcine is now known as Jacky_
=== Jacky_ is now known as zz_jackyalcine
xnoxGwaihir: .3, we are frozen for .213:26
ogra_xnox, cjwatson, i'll roll back ac100-tarball-installer so we have installable images over the weekend (and i have a little more time to find some fixrtc like workaround)13:40
=== wedgwood_away is now known as wedgwood
xnoxogra_: all the way to using -m or simply without warning stanza?13:41
ogra_all the way to the last known working setup13:41
* xnox ponders if all the default no-warning should be listed as well on the command line.13:42
ogra_i dont want to block QA so we need a quick fix for now13:42
ogra_since we dont have milestone images anymore we could point people to for a last known good install ...13:43
ogra_and uploaded ...13:51
* ogra_ will trigger a manual image build later, once the cron build is done13:51
xnoxinfinity: anything else I have missed? http://paste.ubuntu.com/1624731/14:01
xnoxogra_: i wonder if it's a red-herring though14:12
xnoxogra_: i just did simg2img on the last nexus7 image I have -> copied the tarball. Did tar xvf on it and it reported same error14:12
xnoxtar: Skipping to next header14:13
xnoxtar: Exiting with failure status due to previous errors14:13
xnoxwith exit code 214:13
=== Ursinha is now known as Ursinha-afk
=== tkamppeter_ is now known as tkamppeter
ogra_xnox, hmm14:33
xnoxogra_: the error is from zcat not from tar14:34
xnoxogra_: http://paste.ubuntu.com/1624936/14:34
xnoxlooking at logs on ~ubuntu-archive/* i can't seem to find the bit where compression was invoked to see if that had errors.14:34
ogra_you need the live-build log14:35
=== zz_jackyalcine is now known as jackyalcine
ogra_wow14:37
ogra_new acii art on nusakan14:37
xnoxogra_: pastebinit =) i don't have access there.14:38
ogra_hmm, there isnt any tzar output in the livefs build logs either14:39
ogra_*tar14:39
=== henrix is now known as henrix_
ogra_http://paste.ubuntu.com/1624983/14:39
xnoxogra_: that is very cool14:40
ogra_yup14:40
ogra_we regulary get new shiny login graphics :)14:40
ogra_hmm, so we dont actually roll the tarball form our own function but use live-build's14:41
xnoxtoo bad they don't make it to OMGubuntu for everybody to comment how thin the stokes are and imperfect the perspective is.14:41
xnoxwell the error is from zcat, I'd expect to see some warnings at gzip step =) if any, for example I/O fail etc...14:42
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Guest65450
ogra_right, but there arent any errors14:43
ogra_P: Begin mounting /sys...14:45
ogra_[2013-02-08 14:40:49] lb_binary_iso14:45
ogra_[2013-02-08 14:40:49] lb_binary_netboot14:45
ogra_[2013-02-08 14:40:50] lb_binary_tar14:45
ogra_[2013-02-08 14:40:50] lb_binary_hdd14:45
ogra_lb_binary_tar should have the errors if any14:45
xnoxogra_: add a zcat | tar -t > /dev/null there and if it fails abort the build =)14:46
xnoxcause it's annoying to build/publish/download/flash/boot to find out there is a tarball decompress error.14:47
ogra_nthe build already takes over 90min ....14:47
xnox*sigh*14:47
ogra_i cant really add something that takes another 3014:47
ogra_we were planning to switch to xz anyway14:48
xnoxwell there is only read IO and no write  + CPU14:48
ogra_we didnt have issues before though14:48
xnoxtrue.14:48
xnoxgzip upgraded recently?14:48
ogra_not that i know of14:48
ogra_at least not on -changes ... did debian upgrade ?14:48
* xnox is recompressing the tarball to recreate the image and check if that fails.14:48
ogra_so that we have pulled something in by accident14:49
xnoxnah last gzip update is from before starting nexus7 images =)14:50
ogra_tar cf binary-tar.tar binary14:50
ogra_gzip ${GZIP_OPTIONS} binary-tar.tar14:50
ogra_thats the code in lb14:50
ogra_       GZIP_OPTIONS="${GZIP_OPTIONS:---best}"14:51
ogra_        if gzip --help | grep -qs "\-\-rsyncable"14:51
ogra_        then14:51
ogra_                GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -e 's|--rsyncable||') --rsyncable"14:51
ogra_        fi14:51
ogra_and that seems to be the default14:52
ogra_nothing special in it (and i dont really belive it is gzip)14:53
=== kentb-out is now known as kentb
xnoxmake_ext4fs corrupting files? =/14:54
ogra_nah, it didnt before14:55
ogra_the only actual change was that we dropped -m and that infinity switched to long options14:56
ogra_and i doubt the long options cause it :)14:56
xnoxit was working fine when -m was dropped.14:58
xnoxI reported that it prints "timestamp too far in the future" for every file on flashing, but it did finish flashing and booted into oem-config14:58
ogra_oh14:58
xnoxIt didn't work after --warning=no-timestamp got uploaded14:58
ogra_i dont see a --best option in our gzip manpage14:58
xnox(and it's ~ same image I have now)14:59
xnox--best == -914:59
LaneyI installed it after that warning was disabled14:59
Laneys/installed/flashed/14:59
ogra_xnox, yes, but its not documented14:59
ogra_Laney, and it worked ?14:59
xnox -# --fast --best in man gzip14:59
Laneyyeah14:59
Laneysomething borked and I had to go back to android first though14:59
ogra_xnox, bah, need to train my search abilities :P15:00
* ogra_ scratches his head15:00
xnoxogra_: technically it's the -9 that isn't documented ;-))))) -# is15:00
ogra_xnox, do we log the output of fastboot when flashing with usb-creator ?15:01
ogra_i wonder if there were any issues when flashing for the people seeing no installer15:01
* xnox wonders did people start using usb-creator suddently? (considering that it doesn't do ungzip)15:04
xnoxthere are some logs....15:04
ogra_oh, it doesnt work yet ?15:04
xnoxit does work, it's just the download is .img.gz & usb-creator expects .img15:05
stgraberI'm mostly killing it whenever it shows up (and it does that a lot)15:05
xnoxone needs to decompress =)15:05
pittixnox: I used it yesterday, yes15:05
pittibut for .iso15:05
ogra_xnox, well, we should include the decompressing somwhow15:05
xnoxstgraber: yeah, sorry about that. Infinity hit it on the head.15:05
xnoxstgraber: http://paste.ubuntu.com/1624731/ can you think of any other times it popped up & you didn't want it to?15:05
ogra_stgraber, it wants to tell you something about the priority of working on mobile i guess ;)15:06
stgraberogra_: well, considering it did that every time I wanted to test some packages for mobile, it did a pretty sucky job at motivating me to continue ;)15:06
ogra_lol15:07
cjwatson+[ x"$XAUTHORITY" == x"" ] && exit 015:08
cjwatson+[ x"$user" == x"lightdm" ] && exit 015:08
cjwatsonxnox: those are bashisms15:08
cjwatsons/==/=/15:08
cjwatson$ [ "" == "" ]15:08
cjwatsondash: 1: [: unexpected operator15:08
ogra_well, we just need to make upstart use a full bash implementation ... see ... fixed :)15:10
stgraberwow, I'm really glad we're getting upstart user sessions soon, that kind of upstart job really shouldn't exist ;)15:10
barrycjwatson: that sure looks familiar15:10
ogra_stgraber, ++15:10
xnoxshadeslayer: yes.15:10
ogra_stgraber, in the beginning it actually fired on every USB plug event :)15:11
ogra_it already improved a lot15:11
stgraberogra_: ah, that might have been my problem then, considering I'm working on phone support and plug/unplug USB phones every 30s or so ;)15:11
ogra_but ... that doesnt fix our tar/gzip issues15:11
* ogra_ sighs15:11
* ogra_ suspects he has to do a fresh install himself to dig deeper15:12
stgraberxnox: there, your new upstart job, which will only work on my laptop ;) http://paste.ubuntu.com/1625157/15:12
* xnox wants a shell that doesn't support bashism, yet has bash-completion & history scrollback and colors15:13
xnoxstgraber: I know. I can't wait for user sessions.15:13
xnoxwith less bash now http://paste.ubuntu.com/1625172/15:14
ogra_s/test/\[/15:15
ogra_?15:15
cjwatsondoesn't matter15:15
xnoxconsistent with previous calls to test15:15
ogra_well, i like it better :)15:15
ogra_technically it doesnt matter indeed15:15
stgraberhehe, was about to mention that I tend to prefer '[ ... ]' to 'test ...' but it's the same statement, so I don't really care, especially as the job will get a lot shorter pretty soon and all that will go away ;)15:16
ogra_yeah15:16
xnoxor I can not upload this and wait for user sessions =)15:19
shadeslayerxnox: whut o_o15:20
xnoxshadeslayer: upstart user sessions - the bit where upstart will start gnome-session and can manage long running processes for the user.15:21
xnoxshadeslayer: see the blueprint and massive spec on the wiki and discussions about it on ubuntu-devel & upstart-devel15:21
shadeslayerno no15:22
stgraberxnox: well, I think it's safe to assume we'll land user sessions before feature freeze but we still need a bit of work to get the whole logout/shutdown/restart working and the environment stuff I mentioned15:22
shadeslayer<xnox> shadeslayer: yes.15:22
shadeslayerwhat was that about? :D15:22
ogra_shadeslayer, he meant stgraber ... tab completion error15:22
shadeslayerahh15:22
=== henrix_ is now known as henrix
shadeslayershould have guessed it15:22
mterryseb128, your pyatspi sync is causing bug 111942615:31
ubottubug 1119426 in pyatspi (Ubuntu) "package python3-pyatspi (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/python3/dist-packages/pyatspi/editabletext.py', which is also in package python3-pyatspi2 2.7.2+dfsg-0ubuntu1" [Undecided,Confirmed] https://launchpad.net/bugs/111942615:31
=== Ursinha_ is now known as Ursinha
=== jbicha_ is now known as jbicha
seb128mterry, oh ok, will look into it, thanks for pointing that15:56
jdstrandcr3: hey, you asked about MSRs on bug #1031090. I don't know-- the description was updated for the SRU. maybe ask smb?15:57
ubottubug 1031090 in linux (Ubuntu Precise) "kvm_intel not loadable in a quantal guest" [High,Fix released] https://launchpad.net/bugs/103109015:57
* smb does not see any MSR related question in that bug...15:59
jdstrandsmb: "Fix: Just add the required flag to the MSRs passed to guests. This change is picked from the patch that enabled the feature but does not enable anything beyond. It has been reviewed upstream and sent to upstream stable."16:00
jdstrandsmb: cr3 was asking about that statement yesterday16:01
smbAh ok. Well what I tried to say was that some of those contain capability flags. Which the kvm module checked to load16:02
cr3jdstrand: hi there, thanks for following up! I just managed to get a quantal kvm working on precise, it must've been a problem with my script that generates the libvirt.xml file16:02
jdstrandcool16:02
=== sil2100_ is now known as sil2100
cr3jdstrand: I was curious how unity would work under kvm but it works like a charm, cpu usage is low, all is well. now, raring ringtail!16:04
jdstrandwow, that has not been my experience on quantal16:04
cr3jdstrand: really, what did you observe?16:05
jdstrandvery slow due to llvmpipe16:05
jdstrandprecise and earlier could use unity-2d and that was fine16:05
jdstrandcr3: mdeslaur discovered how to disable fades and animations in gsettings that made it tolerable16:06
jdstrandbut still slower than unity-2d16:06
cr3jdstrand: I haven't used it much yet in a vm, but when it's idle the cpu usage is also quite idle16:06
jdstrandyes, that isn't so bad16:07
jdstrandbut menu fade-ins and application launches are pretty bad16:07
cr3mdeslaur: ^^^ do you have a link for your tweaks?16:07
jdstrandonce the application is running, it is generally ok16:07
jdstrandcr3 (mdeslaur): I'm getting it16:07
cr3jdstrand: exactly, I was expecting worse so I'm actually pleasantly surprised considering16:07
mdeslaurhttp://bazaar.launchpad.net/~ubuntu-bugcontrol/ubuntu-qa-tools/master/revision/96716:08
ubottuUbuntu bug 967 in gnomebaker (Ubuntu) "Should burn multiple CDs in a row if the first fills up" [Wishlist,Confirmed]16:08
mdeslaurcr3: ^16:08
jdstrandthanks ubottu - very apropos16:09
jdstrandmdeslaur: actually, I forgot to try the Dash. did you see any improvement there?16:09
mdeslaurwell, it doesn't fade in anymore, so it's better16:10
jdstrandcool16:10
jdstrandoh yes, that is considerably better16:10
jdstrandslow, but better16:11
cr3mdeslaur: if I understand the changes you made to ubuntu-qa-tools correctly, these are all persistent; once applied, they persist across reboots. right?16:33
mdeslauryeah16:35
cr3mdeslaur: all good then, thanks!16:35
mdeslaurit's basically just disabling two compiz modules for the user16:35
=== and`_ is now known as and`
=== deryck is now known as deryck[lunch]
=== _abbe is now known as abbe
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== zequence_ is now known as zequence
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== deryck[lunch] is now known as deryck
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== henrix is now known as henrix_
=== jackyalcine is now known as zz_jackyalcine
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
infinityxnox: That user = lightdm test seems silly, and sort of highlights to futility of trying to do this as a system job.18:18
infinityxnox: (The best approximation of what you're trying to do would probably be a check if UID << 1000, so other DMs also work, but it really seems wrong to be doing it this way at all)18:19
infinityxnox: Not to mention the general wrongness with assuming what you're assuming: If I'm logged in, have those packages installed, and plug in my Nexus, that means I want to re-flash it?18:20
xnoxinfinity: and it's in fastboot mode.18:20
ogra_infinity, its obsolete as soon as the upstart session stuff is there18:21
xnoxwhich it wouldn't unless you boot it with power button + volume down.18:21
infinityxnox: Ahh, that helps.  I missed that bit in your revision.18:21
ogra_and what xnox said, the nexus has a special ID in that mode18:21
xnoxinfinity: fastboot devices only prints devices which are in fastboot mode & ready to cooperate with flashing =)18:22
xnoxit's all very consensual.18:22
mdeslauruhm, what are we talking about here? I hope we're not trying to launch stuff as a system daemon on plug events...18:22
ogra_mdeslaur, well, we pop up usb-creator if a nexus7 in flash mode is attached18:30
ogra_mdeslaur, the code above is not supposed to stay, it will be a user session service in the end18:31
xnoxmdeslaur: we are talking about launching a user app on plug event.18:32
mdeslaurogra_, xnox: it's not safe to do with with a system daemon. It needs to be done in the user's session.18:34
ogra_yes, thats the plan18:34
ogra_we're just waiting for the new upstart :)18:35
xnoxmdeslaur: ha =) so why does power-management has functions to do so? =)18:35
mdeslaurusing sudo in this way is likely to facilitate a root escalation via tty hijacking, etc.18:36
mdeslaurxnox: huh? where?18:36
ogra_mdeslaur, yeah, its ugly but its an interim18:36
ogra_its not like we are pushing that into a stable release or so18:38
mdeslaurok18:38
kirklandjamesh: howdy!  is it possible to fork 3 different daemons within a single upstart configuration?18:42
kirklandjamesh: or would it be better to write 4 different upstart jobs (one wrapper, and one for each of the 3 daemons)?18:42
xnoxjodh ^18:43
xnoxkirkland: use instances.18:43
kirklandxnox: can you point me to an existing service/example, and I can probably take it from there...18:44
xnoxkirkland: see for example /etc/init/network-interface.conf which is one conf file but starts/tracks each unique network interface.18:44
JanCinstances might not be the right solution to run *different* daemons18:44
xnoxone can easily use that pagadim to track e.g. N workers.18:44
kirklandxnox: okay -- so I want to launch my binary 3 times, each with a different argument to listen on a different port18:46
kirklandxnox: where do I iterate over those 3 ports?18:46
kirklandxnox: emit a signal in the prestart?18:46
kirklandxnox: that's how I'm reading that network-interface.conf18:46
mjtkirkland: why, oh why you left qemu? :)18:47
xnox1 master job that does: start myfoo 146; start myfoo 147; start myfoo 148.18:47
kirklandmjt: howdy :-)  it's been a *long* time since I contributed anything meaningful to #qemu :-)18:48
xnoxkirkland: sorry it's key-value, so one would have: start myfoo INSTANCEPORT=147 for example18:48
kirklandxnox: perfect -- that'll work18:48
kirklandthanks!18:48
xnoxkirkland: network-interface listens on unique events, but one can emit events from another job file or do explicit start from another job file.18:48
kirkland^ xnox18:48
mjtkirkland: now watch all your stuff is being replaced by debian qemu, as a penalty to you! :)18:48
* mjt hides18:49
kirklandmjt: as it should be :-)  I'm very, very supportive of hallyn's work ;-)18:49
mjtactually.. so as me ;)18:49
kirklandmjt: my excuse was that, at the time (2008-2010), qemu-kvm was so essential to what I was trying to do for Canonical with Ubuntu, I simply had to fork the packaging to keep up (couldn't wait on Debian) :-)18:50
kirklandmjt: and I can't apologize for that :-)18:50
kirklandmjt: all that said, things are so much more stable now, it's definitely time to resync back with Debian on qemu18:50
mjtkirkland: thank you! ;)19:04
mjtkirkland: it was actually the same thing for me when i started working with kvm :)19:04
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== Ursinha is now known as Ursinha-afk
xnoxogra_: after all the chit chat we had, did you respin the nexus images after the revert?20:10
cjwatsontyhicks: are you likely to get bug 1026852 sorted out today?  I have a chain of stuff blocked on it involving eglibc and arm64-cross-toolchain-base; if that could involve just retrying builds rather than new source uploads with patches it would be nice20:18
ubottubug 1026852 in audit (Ubuntu) "[MIR] audit (pulls in libprelude)" [Undecided,In progress] https://launchpad.net/bugs/102685220:18
tyhickscjwatson: Yes, it should be sorted out today. There are tons of compiler warnings but I got a nice head start on it last night.20:19
cjwatsontyhicks: if not I expect I could at least sort out the compiler warnings tonight, which the bug trail indicates should be enough to promote it to main20:19
cjwatsontyhicks: ah, good20:19
infinitycjwatson: Yeah, I've been working with them on it, it's all good. :)20:34
infinitycjwatson: Oh, and I had all of *-cross-toolchain-base sitting here on my machine waiting to upload too.  Oh well.20:35
cjwatsoninfinity: hah20:36
cjwatsoninfinity: um, well, I was about to do armel and powerpc ...20:36
cjwatsoninfinity: if you have them ready feel free, but maybe we want to keep the exact patches in sync20:36
infinitycjwatson: Go ahead.  I'd only done arm64 and armhf so far. :P20:36
cjwatsonheh.  sorry, should've asked.  was trying to unblock wookey20:36
infinitycjwatson: When I said "all", I meant "I had been working on it, which was why the latest glibc upload fixed arm64 cross".20:37
infinityBut yeah.  Go ahead and sync them all, now that you started. :P20:37
infinityThe mess builds fast enough, I wonder if maybe we should just do them all from one source package and be done with it.20:37
infinityAdding proper parallel= handling to it would probably make up the difference.20:38
infinitycjwatson: Oh, the ppc one needed another change to it to undo an unnecessary hack.  I'll fix.21:11
cjwatsoninfinity: ah, thanks, I was about to look at that21:12
cjwatsonYou can tell I got bored of test-building these locally21:12
infinityHeh.  Yeah, that should be the shlibs hack that's no longer needed with my new glibc patches.  I think.  But I'll double-check and test-build.21:14
=== Ursinha-afk is now known as Ursinha
dobeybarry: hey. is there something specific in the new oauthlib that your changes to ubuntu-sso-client needs? do the other branches also need it?21:38
barrydobey: my branches really just change the code to use the different api in oauthlib.  other than that, it shouldn't change anything functional.  when you say other branches, do you mean the u1-client and u1-storage-protocol branches?21:39
dobeybarry: yeah21:40
dobeybarry: i'm asking because on the sso branch you mentioned needing to wait for the new version of oauthlib in raring21:40
barrydobey: they basically do the same thing, just updated to use the oauthlib apis21:40
dobeybarry: so i was wondering if there was a specific reason for it21:40
barrydobey: ah, yes.  it was the ability to pass the timestamp into the ctor21:40
barrythat was missing, but required by the tests21:41
barryso i asked upstream to add it, which they did :)21:41
dobeybarry: do the other branches need that as well, or just the sso one?21:41
barrydobey: hmm.  not sure, but unless you're backporting, it's moot, since we have the right version in raring now21:42
dobeybarry: we build nightlies as far back as oneiric21:42
barry(the other useful new api was better handling of unicodes by passing in an encoding parameter and letting the library encode to bytes.  so that part is probably necessary now as well)21:42
barrydobey: in that case, the current oauthlib will probably be necessary, due to the new encoding api21:43
barrydobey: or at least, very helpful (you can work around that part of it)21:43
barrydobey: by doing the encoding in the u1 branches, which i'd originally done, but removed when oauthlib 0.3.5 was released21:43
dobeyalso, we shop on windows and osx :)21:44
dobeyerr, ship21:44
barrydobey: is it a problem to backport the oauthlib?21:44
dobeybarry: hopefuilly not (i haven't tried yet)21:45
dobeybarry: i was just seeking clarification on it21:45
barrydobey: cool.  please do let me know if you run into any problems21:45
barrydobey: upstream claims support back to py26, so that should be fine21:45
dobeygreat. hopefully it just works on win/osx too :)21:46
* barry nods21:46
dobeybut given it's not just a python lib, that might be a problem :-/21:47
barrydobey: i can probably help with various flavors of osx and if i suppress the gag reflex, windows 7 too21:47
dobeybarry: we still support xp too (xp, 7, and 8)21:47
barrydobey: sounds like fun21:47
dobeyoh, it is all python?21:48
barrydobey: yep21:48
dobeyoh, probably fine then21:48
dobeyi thought it had C too21:49
barrynope.  it does dep on pycrypto though, i guess to do the signatures21:50
dobeyis that not in stdlib?21:50
barrynope, but reading the docs, it's just a soft dependency, to support RSA-SHA1 signatures.  i don't think u1 uses those though21:51
dobeyhmm21:51
barryiirc, just hmac-sha1 and plaintext21:51
dobeywe do use hmac21:52
dobeywell, python-oauth doesn't support rsa-sha1 either21:52
barryyeah, so you're probably fine w/o it21:52
dobeyyeah21:52
barrydobey: yep, looking at github upstream, Crypto is only imported in sign_rsa_sha1() and verify_rsa_sha1()21:55
dobeycool, thanks21:55
dobeybarry: ugh, looks like i have to backport python-crypto and python-nose as well, at least for our nightlies builds (as the package build runs tests and needs newer versions)22:15
=== salem_ is now known as _salem
barrydobey: urg.  i guess you can't or don't want to disable those tests22:17
dobeywell i can. would prefer not to though22:17
dobeytests are nice to have, when they work :)22:17
barry:)22:18
* dobey glares at squid and glibc 2.1722:18
=== Tonio_aw is now known as Tonio__
=== emma is now known as em
=== Tonio__ is now known as Tonio_aw
=== Quintasan_ is now known as Quintasan
=== zz_jackyalcine is now known as jackyalcine
=== jackyalcine is now known as Jacky_

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