/srv/irclogs.ubuntu.com/2012/06/28/#ubuntu-devel.txt

xnoxinfinity: ok, added -pthread... i think.... not always sure things work with CMake the way you'd expect00:04
nwmcsweenso is there a reason efilinux was used over something like barebox?00:04
infinitynwmcsween: 'cause?00:05
infinitynwmcsween: (Is there a reason everyone feels the need to bikeshed over it?)00:05
xnoxinfinity: thanks a lot.00:06
nwmcsweennot bikeshedding barebox has nice code it's got people working on it and it's not ugly like grub 200:06
xnoxinfinity: sometimes dead obvious things are missed00:06
cjwatsonWe don't think GRUB 2 is ugly, so that's not a good start in trying to persuade us.00:06
infinitynwmcsween: Does it have EFI support?  Last I checked, uBoot had no such thing.00:07
cjwatsonMostly I'd just never heard of barebox.00:07
infinitycjwatson: barebox is uboot2.00:07
cjwatsonYeah, google tells me as much.00:07
nwmcsweengrub 2 has nested fucntions - it's ugly00:07
nwmcsweenrelies on gccisms00:07
cjwatsonOnly a few, and they'll go away eventually I think.00:07
geofftIn fairness I'm worried about efilinux, but that's because I have investment into GRUB scripts00:07
infinityGood thing we build with GCC.00:07
cjwatsonAnd yeah, GCCisms aren't a problem for us.00:08
geofft(for my own stuff)00:08
infinityxnox: Can I see your patch? Curious how/where you fixed it.00:08
cjwatsonI'd rather they weren't there in this case, but it's cosmetic.00:08
geofftSo I'm not sure "GRUB 2 is ugly" is an argument even I'd listen to, being someone unhappy with efilinux00:08
xnoxinfinity: building, don't know if it works yet, cause CMake 'forces' me to purge everything to reconfigure. Unless I'm doing it wrong...00:09
nwmcsweenhaving executable stack isn't really too great00:09
nwmcsweenI doubt it's a security issue with grub but still00:09
cjwatson*shrug*.00:09
cjwatsonIf we got authoritative assurance that we weren't going to get bitten by GPLv3 if an OEM screws up, I'm pretty sure we'd be back to GRUB 2 from efilinux like a shot.00:09
cjwatsonUntil then we'll go with small and simple on the grounds that that probably means we don't have to invest too much effort in it.00:10
geofftcjwatson, not to ask you to beat this horse too dead, but I'm curious what the nature of the argument is there00:10
geofftisn't it the case for x86 at least that "just turn off secure boot" suffices?00:10
geofftis the worry about non-x86?00:11
infinitygeofft: Sure, but "Just turn off Secure Boot" is a tough thing to tell someone you handed a CD to.00:11
cjwatsongeofft: No, the worry is an OEM shipping a "User Product" (in GPLv3 language) that has preinstalled Ubuntu and erroneously doesn't permit disabling secure boot.00:11
infinitygeofft: Our target audience is "everyone", and most of the "everyones" I know don't even know their systems have firmware, let alone how to enter and configure it.00:11
cjwatsonThat's a violation of the GPLv3, but the question is who has to cure it.00:12
geofftinfinity: I'm curious about the legal argument, not the practical one. I understand why we need to support secure boot00:12
infinitygeofft: Oh, then what Colin said.00:12
geofftcjwatson: Oh, we expect OEMs to erroneously not have the off button? Okay, sigh.00:12
nwmcsweenbecause there are benifits00:12
cjwatsonThere's been some concern that we might end up having to disclose our private key in such a scenario.00:12
geofftYeah, that makes sense00:12
cjwatsongeofft: We very much hope they don't - and they'd be in violation of the Microsoft logo guidelines too - but it's a possibility00:12
cjwatsonAlso, it's possible to detect from software whether secure boot is enabled, and I can imagine proprietary software acting conditionally on that.  Is an unsigned GRUB binary with secure boot disabled an equivalent replacement for a signed GRUB binary with secure boot enabled on such a system?00:14
cjwatson(Note that the logo guidelines *don't* necessarily require that a user be able to install their own keys, AIUI ...)00:14
infinityxnox: http://paste.ubuntu.com/1063467/00:14
infinityxnox: ^-- That works here.00:14
infinityxnox: (Of course, then the build fails later with glibc single-includes fun, which is also an easy fix)00:15
cjwatsonMy feeling for how it *should* work involves recognising that Ubuntu is just trying to get things working, and isn't interested in locking down people's systems.  But I'm not 100% certain that that's how the licence works.00:15
xnoxinfinity: OWBuild is a build system based on CMake.00:16
xnoxOWBuild is not a fork of CMake, it is simply a set of macros for CMake00:16
xnoxthat simplifies CMake scripts writing00:16
* xnox head desk00:16
xnoxnot another one00:16
infinityxnox: How about I fix the glib thing too and just upload, since I'm halfway there? :P00:16
cjwatsonAnd IMO the cure for such a scenario would be to require the OEM, who did the locking down, to provide users with an unlock mechanism - i.e. in such a hypothetical scenario they ought to be counted as the violators, not us.00:16
xnoxinfinity: well you so my "mega" patch earlier of just removing the include ;-) go ahead00:17
geofftcjwatson: yeah, agreed. I mean, it's the OEM that's violating GRUB's/Ubuntu's copyrights / GPLv3 license!00:18
geofftcjwatson: but you guys not being able to find an actual lawyer that agrees is worrisome00:18
cjwatsonIf we could get a legal opinion, or an FSF statement, that that's what GPLv3 section 6 means, then I think that would fix the problem for us.  But from what I saw we weren't able to get such a thing.  I don't know if it's just that we weren't stating the problem clearly enough.00:18
cjwatson(Speaking, mind you, as somebody who was advocating for using GRUB 2, so take with pinch of salt I suppose)00:19
cjwatsonUnfortunately with this sort of thing it's not clear that my armchair lawyer's opinion suffices. :-)00:20
infinityxnox: Oh wait, hah.  The pthread failure was after the glib one, not before.  My fix didn't fix it. :P00:25
infinityxnox: Did yours?00:25
xnoxinfinity: nope00:26
xnoxit's using funky OWBuild stuff with it's own supermacros00:26
xnoxcjwatson: there are many comments on http://gplv3.fsf.org/comments/gplv3-draft-4.html#3469:3310:3412:3479: and the question of 'this bit prevents providing supported signed software' was raised00:27
xnoxbut it's not legal advice00:27
xnox"This phrase effectively stops three implementations: * Free software digitally signed * Free software used in DRM * Free software in closed environments"00:27
xnoxGPLv3 fail00:27
xnoxI'm guessing they were going aver the Tiovization00:27
infinityThat was exactly the intent, yes.00:28
cjwatsonYeah, I can find lots of random armchair legal advice, but that's no more use to me than my own interpretation00:28
xnoxyes.00:28
cjwatson(Which, FWIW, thinks that we would be OK, but that's only my personal opinion)00:28
xnoxand 'real' legal advice will only come after it's been tried in court..... all lawyers rely on case-studies anyway00:29
cjwatson"Free software digitally signed" is obviously nonsense armchair advice because, for example, I'm pretty sure the FSF has said they're not out to stop e.g. distributions signing their packages for the purpose of integrity00:30
cjwatsonxnox: In this case, I believe that a clear statement from the FSF would suffice, as they're the sole copyright holder00:30
cjwatson(And look up "estoppel")00:31
cjwatsonbryceh: oh, instead of that launchpadlib-based code, you could use rmadison, or something using the same backend CGI service00:38
cjwatsonbryceh: though that's only really expecting to be a developer service and not particularly scalable - but anyway, what I mean is that if all you need is "is this in -proposed" or "is this in -updates" there are lighter-weight approaches than launchpadlib for a desktop system00:39
cjwatsonbryceh: also, worth checking for -updates before -proposed, since the same version of a package can be in both00:40
brycehcjwatson, thanks00:41
cjwatsonOr even apt-cache policy, come to think of it00:42
cjwatsonthough I expect there's a saner way to get at that information in python-apt, and conveniently you're in python already :)00:42
brycehcjwatson, seems like I had tried both of those but didn't like it for some reason00:45
cjwatsonapt-cache policy definitely seems to have the information and doesn't involve hitting the network at all00:46
brycehoh right; the "is this in -proposed or -updates" bit is actually a patch bdmurray is proposing.  What i actually am using lpl for in my apport hook is something different00:47
cjwatsonit only tells you whether it matches what's currently in your Packages for -proposed/-update00:47
cjwatsonah, ok00:47
brycehwhat this is trying to do is see what release status the user's system is00:47
brycehIOW differentiate between stable release vs development release vs unsupported release00:47
cjwatsonConsider distro-info for that00:48
brycehcjwatson, for that I couldn't find an existing tool that'd already be on the user's system... but maybe you know of one?00:48
brycehhmm00:48
cjwatsonIt's not installed by default right now, but it could be00:48
brycehmm, so yeah if that were installed by default, that looks like it would be an ok substitution00:50
cjwatsonJust depend on it if you need it00:50
cjwatsonThen it will be :-)00:51
cjwatsonIt's tiny nowadays and it's in main00:51
xnoxinfinity: it looks like upstream has ditched the owbuild crap and gone pure cmake in 'tip' of their hg repo00:56
infinityxnox: http://paste.ubuntu.com/1063498/00:56
infinityxnox: This worked for me for now.  If upstream fixed it better, good, because my patch isn't remotely upstreamable.00:56
infinityxnox: It's a brute force "fuck it, I want it to build" patch. ;)00:56
* infinity uploads.00:56
stlsaintHello all, Can tell me the file used to set default apps on unity bar for livecd builds?00:57
stlsainthrm, can anyone...00:57
stlsaintsorry for grammar00:57
StevenKinfinity: I was expecting it to be disgusting, but they're small and self contained.00:57
infinityStevenK: No, they're readable, it's just that harcoding '-pthread' after it goes to the trouble of trying to detect how to link pthreads is hilariously wrong.00:58
xnoxinfinity: aha! well done at tracing the real contents of ${CMAKE_THREAD_LIBS_INIT}00:58
infinityStevenK: (right on modern Linux, wrong everywhere else)00:58
StevenKinfinity: Portable code is wrong code!00:58
StevenKOr something.00:58
infinityStevenK: Hah.00:58
brycehcjwatson, actually looks like all I'd actually need is distro-info-data00:59
brycehthat's a csv file, python should be able to handle that :-)01:00
brycehbut wow, that's manually updated every release?01:00
cjwatsonIs the format guaranteed though?01:00
xnoxinfinity: if ${CMAKE_THREAD_LIBS_INIT} broken, then upstream is still broken as well =)01:00
cjwatsonWhy not use python-distro-info?01:00
brycehcjwatson, it would need to be, since distro-info is a dependency on it01:01
infinitybryceh: I was about to say that, yeah.  I think only the distro-info interface is (vaguely) guaranteed, the data files could randomly change (though, I imagine they won't)01:01
cjwatsonSeeing as bdrung went to the effort of writing loads of bindings :-)01:01
infinitybryceh: distro-info and distro-info-data are tied together, he could change the data, make distro-info love it, and leave you broken. :P01:01
brycehinfinity, well he could change distro-info and leave me broken too01:02
infinityxnox: Not necessarily, it's how owbuild is using that.01:02
brycehinfinity, as launchpad does all the fricken time ;-)01:02
StevenKbryceh: You're welcome.01:02
infinityxnox: FindThreads isn't inherently broken, it's that what it spits out is meant to be a library -llink line (ie: in LD_LIBS)01:02
StevenKWe aim to please.01:02
cjwatsonbryceh: published interface vs. unpublished interface.  Use 'import distro_info' from python-distro-info rather than rolling your own.  It's easier anyway.01:02
infinityxnox: But owbuild was jamming it into LD_FLAGS, and I was too lazy to figure out where.01:02
xnoxinfinity: you TIL, i'm not touching it ever again ;-)01:03
infinityxnox: Heh.01:03
StevenKinfinity: I'm amused at it being 'owbuild'. You could almost use it as an explanation of failure.01:03
infinityxnox: If the next upstream is a reorg of the source anyway, I'm sure I can just sync over my hack when the time comes.01:03
infinityStevenK: Indeed.01:03
xnoxinfinity: funny you should say that, cause a "little did you know" is coming up ;-)01:04
* xnox hides. good night all!01:04
cjwatson(Well, python3-distro-info.)01:06
brycehno such package01:07
brycehwell, on precise anyway01:08
bryceh>>> import distro_info01:22
bryceh>>> udi = distro_info.UbuntuDistroInfo()01:22
bryceh>>> code_name = 'quantal'01:22
bryceh>>> code_name in udi.devel()01:22
brycehTrue01:22
bryceh>>> code_name in udi.supported()01:22
brycehTrue01:22
bryceh>>> code_name in udi.lts()01:22
brycehFalse01:22
bryceh>>> udi.stable()01:22
bryceh'precise'01:22
bryceh>>> udi.supported()01:22
bryceh['hardy', 'lucid', 'natty', 'oneiric', 'precise', 'quantal']01:22
bryceh>>> udi.unsupported()01:22
bryceh['warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty', 'gutsy', 'intrepid', 'jaunty', 'karmic', 'maverick']01:23
bryceh>>>01:23
brycehcjwatson, so yeah this looks like it should work, thanks01:23
brycehhrm, the one problem is it doesn't appear to give the release _dates_01:27
micahgdistro-info-data will be SRUd as needed01:27
jbichabryceh: have you heard of libosinfo?01:29
brycehjbicha, yes, I did hear about that just recently.  haven't played with it yet01:29
jbichaI don't know much about it, but it does have a database of disto releases01:30
jbichahttp://git.fedorahosted.org/git/?p=libosinfo.git;a=blob;f=data/oses/ubuntu.xml01:30
brycehmicahg, yeah but cjwatson and infinity said not to use that directly.  but I do know it has the dates I'm looking for01:30
infinitybryceh: No, his point was that distro-info will always be accurate.01:31
infinitybryceh: (because data gets SRUed)01:31
infinitybryceh: So you don't need dates, as long as you're not on an EOL release, you can just rely on it to not lie (well, within a week or two).01:31
brycehinfinity, oh gotcha, but no that's not what I meant01:32
infinitybryceh: Kay, what's the use case for release dates?01:32
brycehI would expect it to be accurate, else I wouldn't consider it01:32
infinitybryceh: Or did you mean version numbers?01:32
brycehno, although now that you mention it I don't know that I can get those either01:32
infinitybryceh: distro-info (the CLI) does numbers and codenames, no idea what the python module does.01:33
infinitybryceh: So, what did you want with dates?01:34
brycehso far I'm only seeing codenames01:34
brycehwell, not so much dates as time since the release01:34
infinitybryceh: I'm trying to sort out why that's valuable. ;)01:35
brycehthere's certain checks I'm doing for post-release bug reports which I'd like to be less strict about if the release *just* came out.01:35
infinitybryceh: What's your cutoff for that?01:35
brycehlike a month or so01:35
xnoxbryceh: int(release.version.split('.')[-1])+2?01:36
brycehxnox, hehe01:36
xnoxbryceh: int(release.version.split('.')[1])+2?01:36
xnoxis better in case of a point release, e.g. 12.04.101:36
infinitybryceh: Again, not sure what the python module has, but the CLI version: "distro-info --date=2012-02-11 --supported"01:36
infinitybryceh: Gives you info as if it were that date.01:36
micahgbryceh: just wait until june/december :)01:36
infinitybryceh: So, just put yourself a month in the past and see if you exist yet!01:37
xnoxbryceh: what if the clock/time is wrong on the machine?01:37
infinityEcxcept that's buggy.01:37
infinitymicahg: Hey Micah, fix distro-info.01:37
infinitymicahg: --supported lists the devel release.01:37
infinitymicahg: That's brimming with wrong.01:38
infinitybdrung: ^01:38
micahgyeah, that's certainly wrong01:38
infinitySame bug with Debian.01:38
infinity(My machine claims that both wheezy and quantal are supported)01:39
brycehyeah there's probably a few ways to achieve this.  I've been wondering if there's a file on the system with a date that dependably matches to the release date?01:39
infinity(Or, if I go back in time, it tells me precise was supported before it was released)01:39
bryceh(and that would never get updated later)01:39
infinitybryceh: Other than the version, which is, like, the date?01:39
infinitybryceh: lsb_release -rs01:40
brycehinfinity, no I do agree that's one way of doing it, but if the release is at the start of the month vs. the end of the month, that could give me a lot more or less than 30 days01:40
infinitybryceh: Just be liberal in your window, then?01:42
brycehI guess...01:42
* micahg wonders why June/Dec 1 isn't good :)01:42
micahgthat's 4-6 weeks ATM01:42
infinityJuly4/Dec25, Independence from bugs day, and Merry Christmas, no more bugs.01:43
brycehI guess my hesitation here is just that  these solutions are all built on the assumption that ubuntu will always be released in april and october01:43
brycehwhich I suppose isn't a *bad* assumption given history, still...01:44
infinitybryceh: Random dates assume that, release versions assume nothing.01:44
infinitybryceh: Since we change the version when we slip.01:44
infinitybryceh: (See 6.06)01:44
brycehinfinity, true01:44
infinityGranted, this has only happened once. :P01:44
brycehso, yeah xnox's solution would be the best for that01:45
brycehhey, so tell me, if I'd said I needed within 7 days of the release, what solutions would you guys come up with for that?01:46
micahgbryceh: anonymous launchpad query01:47
brycehhahaha01:48
infinityModal dialog box with a question.  OBVIOUSLY.01:48
infinityAnd make it too big to fit on a netbook display, for bonus points.01:48
infinityAlso, use Motif.01:48
brycehmicahg, well I can go back to my launchpad query for this once launchpadlib's been updated to python301:49
micahgbryceh: actually, distro info should have the release date of the current stable release :)01:49
micahg*planned01:49
brycehmicahg, yeah that'd be nice01:49
micahgi.e. it should know enough about itself, not necessarily the next release immediately though01:50
micahgalthough in theory we can SRU that as soon as we know as well01:50
infinityIf only https://api.launchpad.net/1.0/ubuntu/precise/datereleased didn't throw an embarassing 500.01:51
brycehinfinity, heh01:51
infinity(It has the right date)01:51
brycehinfinity, yeah I bet that's due to the change in date object type that happened a bit ago.  I'm still fixing my launchpad scripts due to that change.01:52
brycehand I totally don't blame StevenK for that!01:52
infinityStevenK: *stare*01:52
infinityStevenK: Why does https://api.launchpad.net/1.0/ubuntu/precise/datereleased 500?01:53
micahgXML Parsing Error: syntax error01:53
infinitymicahg: Thank god someone's here to cover for my illiteracy.01:53
infinitymicahg: Not quite what I meant by "why".01:53
micahgheh, just pointing out it seems to be another issue :)01:54
brycehactually if you look at the source of that page, it looks like a legit date01:54
micahgs/it/there/01:54
brycehso maybe it's just that the content-type wasn't specified?01:54
infinitybryceh: It is the right date, yes, I said that.01:54
infinityIf you wget it, it 500s all special-like.01:55
StevenKinfinity: Haha. It actually contains the date01:55
infinityAnyhow, I was going to point at the static http API (rather than the xmlrpc bits) as a perfectly reasonable non-lplib way for you to get info.01:55
infinitySince you don't need to actually DO any RPC here.01:55
infinityStevenK: I know.01:56
StevenKinfinity: You can grab precise like that. I guess the lazr.restful machinery does not like you trying to get attributes like that01:57
infinityStevenK: HAHAHAHAHA.01:57
infinitywget -S https://api.launchpad.net/devel/ubuntu/precise/releasedate01:57
infinityIt gives a 404, then proceeds to give me the date raw.01:58
infinityBRILLIANT.01:58
infinityBest.  Webapp.  Ever.01:58
StevenKinfinity: That is what I meant by "[11:55] < StevenK> infinity: Haha. It actually contains the date"01:58
infinityStevenK: Yeah, but I thought you just meant the body (as I was seeing in a web browser)01:58
infinityStevenK: The full response is so much more entertaining.01:58
StevenKOur API sucks. News at 11.01:59
infinityOh wait, that really was a 404, I typed it wrong...02:00
TerminXdoes anyone know if mipmapping is ever going to be fixed in compiz?  it's pretty pathetic that it's still broken 2 months after someone at nvidia submitted a patch to fix it on launchpad (bug 991180)02:00
infinityYeah, the proper URL is a 500. :P02:00
ubottuLaunchpad bug 991180 in compiz (Ubuntu) "Ubuntu 12.04 Nvidia Compiz Expo Mipmap" [Undecided,Confirmed] https://launchpad.net/bugs/99118002:00
infinityAnd the date.02:00
infinityTerminX: "someone at nvidia"?02:02
TerminXyes, the patch posted to that bug is from one of the linux driver maintainers there02:03
infinityTerminX: To be fair, while you know that, I certainly don't.02:04
infinityTerminX: It just looks like a drive-by patch (one that, I assume, no one's noticed yet, since no one's decided to nominate for a release, prepare an SRU, etc)02:04
infinityTerminX: It happens.  Bugs get missed.  Hopping on IRC and calling people "pathetic" doesn't help.02:04
wgrantinfinity, StevenK: The 500 doesn't contain the date.02:05
infinitywgrant: I bed to differ.02:05
infinitywgrant: Or beg.02:05
TerminXI called someone pathetic?02:05
StevenKwgrant: Run the wget _S02:05
TerminXI said the situation itself is pathetic02:05
StevenKs/_S/-S/02:05
wgrantStevenK: What's the got to do with it?02:05
wgrantAccept02:05
wgrantbrowser sends a text/html or application/xhtml+xml Accept02:05
infinitywgrant: The date is in the body.02:05
wgrantSo lazr.restful obliges02:05
infinitywgrant: Anyhow.  It's broken either way.02:06
wgrantThe 500 body looks to be 'TypeError', not the date02:06
wgrantYou can see it at https://api.launchpad.net/1.0/ubuntu/precise/datereleased?ws.accept=application/json02:06
infinityTerminX: You don't see how it came across more confrontational than, say, helpful?02:07
StevenKwgrant: TypeError: datetime.datetime(2012, 4, 26, 12, 9, 10, 437678, tzinfo=<UTC>) is not JSON serializable02:07
StevenKHeh heh02:07
wgrantYes.02:08
wgrantSo it's broken, but not in a way that is even slightly special.02:08
RAOFTerminX: Fun fact: that patch breaks mipmapping on everything else :)02:10
wgrantbryceh: The date type difference is purely a client-side change. It is unrelated to any server-side error.02:11
brycehwgrant, yeah I know02:11
brycehwgrant, and IIRC not due to code changes from the launchpad team, so I blame them inappropriately :-)02:13
wgrantbryceh: Yeah, there's not enough people actively working on LP atm to break that :)02:13
brycehwgrant, exactly02:14
brycehthere's also a launchpadlib cache corruption bug that's been a chronic irritation, but again has ended up being something wonky client-side, in code not maintained by the LP crew02:15
wgrantbryceh: It was in httplib2 itself?02:15
brycehwgrant, it may be, or whatever the layer is above that.  it faults in the json decoding logic02:16
wgrantbryceh: Above that is probably wadllib, which we own.02:17
brycehwgrant, maybe.  The error in question is httplib.IncompleteRead, but I think that gets generated because the cache file is truncated and it's trying to "read" from that.  I don't know what code truncates the cache file though.02:30
TerminXRAOF: does it?  maybe the guy who wrote it would know that and fix it properly if the maintainer he tried contacting (sam spilsbury) didn't just ignore him heh02:31
TerminXI can't imagine it did much to break it further though since the bug also affects intel02:32
RAOFI have no idea whether he contacted Sam, but I do know that Sam's been working on fixing the mipmapping code.02:33
TerminXyeah, he told me he tried to contact him in several different ways and never got any sort of a response whatsoever02:34
TerminXhow recently has he been working on fixing it?  bisection of what change broke it in the first place revealed that the bug was caused by one of sam's changes anyway02:38
TerminXand considering the bug was confirmed to occur on at least intel in addition to nvidia I can't really see how it was broken any further by correcting the code in question02:40
TerminXdo you have some sort of report where the patch was applied and something further broke?02:40
RAOFNo, because it was never pushed out, as the breakage was picked up in testing.02:41
plagmanwas this documented anywhere?02:45
TerminXand what configurations was that on?  it must have been several different configurations for you to say it "breaks mipmapping on everything else"02:45
RAOFplagman: Not as far as I'm aware, which is disappointing; this has just come up in my conversations with Sam.02:46
plagmanin any case, jusding by its contents I strongly doubt that the patch broke anything by itself02:47
RAOFFrom what I gather it *might* be due to a bug in mesa.02:48
RAOFIt would be nice for Sam to provide updates on bugs ☺02:48
plagmanor on irc pings or emails, for that matter02:49
RAOFApparently he's in Canada at the moment, so he might have been flying?02:50
TerminXthe cool thing about email is how when you receive one, it persists in your inbox until you do something with it02:50
plagmaneither Mesa is broken and doesn't know how to report the GLX_BIND_TO_MIPMAP_TEXTURE fbconfig attribute properly and this would mean that mipmaps were broken _only on Mesa_  before Sam's change that moved the context initialization around and after Sam's change on everything else02:51
plagmanand in this case the patch just reversed that tendency02:51
plagmanor Mesa works fine and the patch couldn't have really done anything harmful02:51
plagmanand AFAIK Mesa reports it just fine02:52
plagmananyway, I'd be happy to discuss that with Sam over the bug or otherwise if he has any concerns02:54
RAOFI don't know; I'm just running from what I picked up as he was complaining about all drivers, everywhere, while trying to fix the bug.02:56
RAOFWhen I see him around I'll try and get sam to ping you.02:56
TerminXregardless, it's a pretty significant bug to have in an LTS release.  I'm guessing mipmapping isn't enabled by default or else we'd be hearing a LOT about it (or more likely it would have just been fixed months ago)02:57
RAOFOr it's hard.02:58
StevenKRAOF: "[54302.526085] NVRM: Xid (0000:01:00): 8, Channel 00000003" makes me have a sad.04:20
RAOFStevenK: Do you know how to trigger that? We should have made it as easy as possible for you to file that bug on nvforums, where nvidia want it(!).04:20
pittiGood morning04:21
StevenKRAOF: Not really, it happens randomly and then X has a large sad.04:21
RAOFYeah, that's your driver shouting obsceneties at your card.04:22
StevenKRAOF: Yeah, I only just looked up what 'Xid' actually means, the last time I mashed reset04:22
StevenKRAOF: So it's a driver bug?04:23
plagmannot necessarily04:23
plagmancould be memory corruption, bad HW, etc04:23
plagmancould very well be, though04:23
plagmanbut impossible to say with just that data, that's the symptom04:23
RAOFAh, you're still here :)04:23
StevenKI'm happy to try and diagnose when it happens, I have easy ssh access into the box, but I can't trust anything on the screen.04:24
plagmanyeah, though not at work anymore04:24
StevenKplagman: Oh, just some pointers about what information would be helpful to collect before I go and napalm my X session and the module would be nice.04:25
StevenK(I already have this time, so next time ...)04:25
plagmanrun nvidia-bug-report.sh as root, after that error message pops up04:25
plagmanpreferrably while X is still running if that's possible04:25
RAOFI think ubuntu-bug nvidia collects all that information, too.04:25
StevenKOver ssh is okay?04:26
RAOFBut that'll feed it to launchpad rather than as a nice tgz04:26
plagmanshould be, maybe you need to set DISPLAY04:26
plagmantrying to narrow it down to a deterministic sequence of actions would be stellar of course04:27
plagmanbut that's hard04:27
StevenKplagman: Ugh, this script is horrid. :-)04:27
plagmanis it?04:28
StevenKappend_silent "/etc/redhat-release"04:28
StevenK...04:28
StevenKappend_silent "/etc/gentoo-release"04:28
StevenKBecause you know, a for loop is hard. :-)04:28
plagmannot that it would tremendously change the end-result04:28
plagmananyway, patches welcome04:29
StevenKplagman: Thanks for the pointer.04:30
plagmangenerally I would advise running that script and posting the result as an attachment on the nvnews linux forum04:30
StevenKplagman: That script could also grab /etc/lsb-release, since /etc/debian_version on an Ubuntu machine is going to be unhelpful.04:31
plagmandoes it also grab /etc/issue?04:32
StevenKYeah, that's the first thing it does in that block.04:32
plagmanthat would probably cover ubuntu04:32
plagmanbut yeah, seems lsb-release could have value04:32
=== trijntje_ is now known as trijntje
dholbachgood morning06:49
=== smb` is now known as smb
=== tkamppeter_ is now known as tkamppeter
brycehRAOF, ubuntu-bug nvidia will also generate and collect the .tgz in addition to the stuff we ask for.07:14
jibelpitti, what's your opinion on bug 1013334 , an issue on launchpad's side ?07:23
ubottuLaunchpad bug 1013334 in apport (Ubuntu) "apport could not connect to crash database" [Undecided,Confirmed] https://launchpad.net/bugs/101333407:23
pittijibel: no, it's indeed a bug in some hook, I'll follow up on it; thanks!07:24
jibelpitti, I get a crash in Ubiquity: "TypeError: update() takes exactly 2 arguments (1 given)" but apport redirects me to bug 194688. can you check the signature ?08:42
ubottuLaunchpad bug 194688 in ubiquity (Ubuntu) "ubiquity crashed with TypeError: on_partition_list_edit_activate() takes exactly 2 arguments (4 given)" [Undecided,Fix released] https://launchpad.net/bugs/19468808:42
jibelor is there a way to force apport to file a bug ?08:42
pittijibel: ah, it says it's already known?08:43
jibelpitti, yes08:43
pittithat's an apport bug indeed, it should allow you to file bugs for closed master bugs08:43
pittijibel: you can edit the .crash file and remove the KnownBug: field08:43
jibelpitti, ack08:44
pittijibel: sorry, KnownReport:08:44
pittijibel: and then run it through apport-bug again; that should work08:44
bdrunginfinity: define 'supported'08:45
bdrungbryceh: you can call distro-info --date=2012-05-28 --supported if you want to know what was supported last month08:48
jibelpitti, it worked thanks!08:53
=== doko_ is now known as doko
=== StaffRingedSeal is now known as Myrtti
jmlhow can I get the dependency dag for a package?09:09
brycehbdrung, ok, and that should work similarly through the python api?09:20
brycehbdrung, also, any concerns if [python-]distr-info is included in the CD image?09:21
diwicjml, see your email10:18
alexblighI want to build a package that will install on both Lucid and Precise. ${shlibs:Depends} brings in a dependency on  libssl0.9.8, but this then fails to work on Precise which iuses libssl1.0.0. I've had similar problems with libmysqlclient18 and libdbi1. Ideally I'd like just one package, but one package for Precise and one for Lucid would I suppose be ok provided I can build it in one place. What's the best way here?11:13
=== MacSlow is now known as MacSlow|lunch
cjwatsonalexbligh: In general you can't avoid this problem.  precise users should still be able to install libssl0.9.8 even though it's not the default.  We normally rebuild packages against the current set of library sonames rather than keeping a zillion old libraries around, though.11:35
cjwatsonalexbligh: It should be possible to make the same *source* package work on both.11:35
cjwatsonIf you must have a single binary package, build on the oldest of the releases you want to support, and then at least there's a fighting chance that the worst case will be that users of newer releases will need to dig out older libraries (which perhaps can be automated with cunning use of apt pinning).11:37
=== slomo_ is now known as slomo
=== cpg is now known as cpg|away
=== davmor2_ is now known as davmor2
=== MacSlow|lunch is now known as MacSlow
=== agateau_ is now known as agateau
alexblighcjwatson, thanks12:19
=== yofel_ is now known as yofel
=== _salem is now known as salem_
=== Nigel is now known as G
pgranerogra_, hey I think I might have found what the issue is with the monitors13:16
ppisatipgraner: if you have an installed system, give a try to this one:13:26
ppisatipgraner: http://people.canonical.com/~ppisati/linux-image-3.4.0-202-omap4_3.4.0-202.7_armhf.deb13:26
ppisatipgraner: it should resolve the video issue13:26
pgranerppisati, ok, I'll try after this call I'm about to be on.13:29
pgranerppisati, I'm finding when it fails I don't get a /sys/devices/omapdss/display0/edid file13:29
ppisatipgraner: edid is read after the monitor is detected, looks like hotplug is broken13:33
ogra_pgraner, oh ?13:37
pgranerogra_, see my comment above13:38
ogra_ah, sweet13:38
mterrymvo, hello! FYI last night I just went ahead and committed a pep8 branch and some test improvement commits.  I assumed such things don't need reviews13:46
mterry(to update-manager)13:46
mvomterry: yeah, thats fine13:47
mvomterry: thanks for this, given all the recent work I consider u-m really team owned, but me owned anymore13:47
mvo(which is a good thing :)13:47
mterrymvo, you can't escape that easily.  ;)13:48
cjwatsonNot sure anyone else really understands all the quirks handling and such as yet13:49
stgrabermvo: the code may be team owned, the bugs are still yours, don't worry ;)13:49
cjwatsonOr indeed the controller13:49
mvomterhaha13:52
mvowell, its fine, I don't try to sneak out here :)13:52
mvojust saying that I shouldn't be the lock/bootleneck/gil/bkl13:53
mptjames_w, hi, I'd like to ask you some questions about phased updates <https://wiki.ubuntu.com/PhasedUpdates#update-manager> so I can adjust the settings design14:09
james_wmpt, hi, sure thing14:21
mptjames_w, in "t = x/100 * (s^128 - 1)", what are t, x, and s?14:21
james_wmpt, good question :-)14:22
james_wmpt, try now?14:26
james_wmpt, it's converting a percentage as an integer between 0 and 100 in to a value to be compared with the output of md5 such that around x% of machines will fall below the value in the next step14:27
james_wi.e. it's just an implementation detail of how the percentage of machines is selected14:28
james_wotherwise in the next step (floor(md5(...)/2^128)) could be calculated and compared to x directly14:28
mptjames_w, ok. Next question: Why have an X-Update-Percentage integer instead of an X-Update-Phase float? Are you worried about the crippling CPU requirements of a floating arithmetic operation? :-)14:30
james_wheh14:31
james_wno strong reason for either I don't think14:31
james_wit will likely use floating point anyway with that algorithm as written, but could be avoided14:32
james_wmainly I think I chose that as it's quicker for humans to grasp14:32
james_wbut it can certainly be changed if there's a good reason to use a float14:32
mptjames_w, only because it allows simplifying the definition14:33
mptjames_w, so would this be correct? "A computer is in the current testing set for a package if X-Update-Phase * (2^128 - 1) >= md5(machine-id + packagename + packageversion)."14:33
james_wmpt, yeah14:38
mptsplendid14:38
james_wthough we probably need to shift the bounds slightly14:38
james_wotherwise some unlucky person could get the update if X-Update-Phase == 014:38
mptSo change ">=" to ">"?14:39
james_wand lose the "-1" I think14:39
=== Ursinha` is now known as Ursinha
mptjames_w, next question: Are you familiar with the current emergent client-side phasing? https://wiki.ubuntu.com/SoftwareUpdates#Launching_automatically14:39
james_wotherwise X-Update-Phase == 1.0 doesn't mean that everyone gets it14:39
james_wyeah14:40
mptjames_w, so do you think this new phasing should be instead of, or in addition to?14:40
james_wand I'm not sure we need to do this explicit stuff given that we have that14:40
mpt(or not at all because, yeah)14:41
mptAn advantage of the explicit phasing might be that you can ramp it down again14:41
james_wthat's true14:41
mptor at least it gives you a mechanism to ramp down or pause an update that is less brutal than pulling the update entirely.14:41
james_wI'm not sure how the explicit would work with the settings people currently have though14:41
mptWell, the reason I'm looking at this now is to change the settings design14:42
mptBut a disadvantage of the explicit phasing is that I don't know how to word it.14:42
cousteauwill Ubuntu develop a handwritten-looking font?  (if it were metrics-compatible with Comic Sans but less ugly that would rock)14:42
james_wmy instinct is that putting them together is bad because it stretches out the phasing14:42
james_wmpt, I meant more with the spirit of the settings rather than their exact values14:43
seb128bdmurray, hey, I heard you are doing SRU reviews today, could you review compiz,libunity,bamf? We would like to get those out this week if possible to have room for a new SRU round in 2 weeks14:43
cousteauor alternatively, include one of the many free handwritten-looking fonts that there already are (license would be a topic to look into)14:43
mptjames_w, the spirit of the current settings is to prevent you from being nagged two days in a row (unless it's a security update).14:43
james_wmpt, e.g. I don't know if switching to explicit means that everyone will get prompted for updates every day14:43
mptcousteau, in general we lack someone with responsibility to say "okay, I have X MB of the Ubuntu ISO allocated to fonts, what would be the best possible default selection"14:44
cousteauI see14:44
xnoxcousteau: about other design stuff #ubuntu-design channel might be better. Not sure if there is one just for fonts.14:45
cousteaumaybe a package then...  although there are already several packages14:45
mptcousteau, and to get new fonts packaged -- there are all kinds of interesting free fonts from the League of Moveable Type and elsewhere, which aren't easily installable.14:45
cousteauxnox, ok14:45
cousteauhow can a font not be easily installable?  I usually just copy them to ~/.fonts/SomeFont/14:46
mptjames_w, it doesn't, but it means it's pure chance. Depending on that formula, you might be nagged two days in a row, or 27 days apart, and there's no way to guess in advance without knowing the name of the package that will next be updated.14:46
james_wmpt, indeed, but in aggregate we can have some idea14:47
james_wif we push out an update a day then on average you will be prompted daily14:47
mptcousteau, well sure, but I mean easily findable. Ubuntu Software Center has a Fonts category, but it contains only fonts that are packaged, and the UI isn't optimized for fonts.14:47
mpte.g. you can't see previews when searching, things like that.14:48
james_wand I don't know if allowing that to be limited to once a week fundamentally interferes with the aims of phased updates14:49
cousteauI see...  well, I'm not a big fan of the software center (although it's probably easier than aptitude or synaptics)14:49
* james_w goes to get some food and think about it14:49
cousteaumaybe changing the icon of those packages to a representation of the font14:50
mptcousteau, that would be nifty. In the long run I'd love to see a separate font utility for buying/installing/removing fonts ... but even fixing those icons in USC would be an improvement.14:52
cousteaua "software center for fonts" would be an interesting idea14:53
dokowhat is wrong with:14:53
dokoW: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/Release  Unable to find expected entry 'main/binary---add-architecture'/Packages' in Release file (Wrong sources.list entry or malformed file)14:53
cousteauWhat I want to avoid, essentially, is that an artist (or anyone) decides to use Comic Sans because it has "comic" in it14:53
dokowith deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ quantal main universe14:54
dokocjwatson, slangasek: ^^^14:54
cjwatsondoko: Is that in lxc?14:54
cjwatsondoko: If so, bug 1017862, I believe14:54
ubottuLaunchpad bug 1017862 in lxc (Ubuntu Precise) "Migrate to dpkg --add-architecture to track foreign architecture in template lxc-ubuntu" [Undecided,New] https://launchpad.net/bugs/101786214:54
mptjames_w, the reason Microsoft has "patch Tuesday" is so that admins and other people can plan for and organize installation of updates all at once. I'm not *at all* suggesting we should do that for security updates, but there's a similar motivation in grouping non-critical updates together so you install them all in one go.14:55
cousteaumpt, also, an "identify this font" online (or server-based) interface would be nice.  Like WhatTheFont but for free fonts.14:55
dokocjwatson, no, just an amd64 chroot14:56
cjwatsondoko: I'm not sure then; I'd suggest getting an strace -f to find out where apt's getting that string from14:56
* jml discovers dpkg-dev-el14:57
arandcousteau: There's http://fonts.debian.net/ which is outdated by now, but that combined with apturl, maybe?14:57
mptcousteau, try Purisa. <http://apt.ubuntu.com/p/fonts-tlwg-purisa> It concentrates on Thai, but it has Latin characters too.14:57
cousteauI think I once tried it...14:58
cousteauactually when I said "handwritten" I was thinking more "comic"14:59
barrymvo: any word on command-not-found upload?14:59
cousteau(Komika Text is rather nice for both comic and handwritten imo...  wonder if its license would allow to add it to repositories)15:00
smosercan someone help me out here.15:04
smoseri'm not sure where to go loking for this.15:04
smoseri laucnhed a fresh instance of quantal on ec215:04
smoseri apt-get install 'pastebinit'15:04
smoserit decides it needs to update-initramfs15:05
smoseris there some reason for that? or does update-initramfs always have to run on installation?15:05
cjwatsonsmoser: I suspect that's a trigger previously pulled by some other package that hadn't been activated.15:09
cjwatsonPerhaps due to an installation failure or something when building the image.15:10
smosercjwatson, what sort of thing would do that?15:10
cjwatsonAnything that delivers files that get copied into the initramfs.15:10
cjwatsonYou can see the mechanism near the top of /usr/sbin/update-initramfs.15:11
smoserthanks. that was my next question.15:11
cjwatsonSo look for "update-initramfs: deferring update" in your build logs, compare with where update-initramfs is actually run, and see if there's a mismatch.15:11
cjwatsonThen investigate from there.15:11
smosergracias15:12
cjwatsonde nada15:12
james_wmpt, I've added some thoughts to the unresolved questions section.15:13
james_wmpt, basically I think having an option like today to not prompt for non-security updates every day will be ok15:14
james_wwe just need to understand that X-Update-Percentage: 80 means that < 80% of machines will have it installed15:14
james_wwhich is true anyway, that option would just make even more sure of that15:14
* mpt tries to sketch some phase curves15:20
infinitybdrung: I would argue that unreleased/devel releases shouldn't show as "supported", personally.15:22
mptjames_w, so if t = time, the normal update curve (resulting from the wait-a-week client behavior) is u(t), and your phase curve is p(t), the resulting update curve will be u(t)*p(t).15:25
james_wmpt, I think so, but my maths isn't up to thinking in a bounded plane15:27
mptjames_w, if you were in the office I could show you on this here whiteboard. :-) But give me a few minutes and I'll sketch it15:28
james_wmpt, I sketched a couple myself15:28
james_wtwo linear curves gave an s curve for me15:28
bdmurrayseb128: neither of these bamf bugs have precise tasks (I've added them) nor a regression potential statement15:29
mptjames_w, p(t) might be linear, but u(t) is not, because people don't have their computer on every day, and even if they do, sometimes they'll click "Remind Me Later"15:30
james_wmpt, right, I was assuming u(t) was linear in that case15:30
seb128sil2100, didrocks: ^ cf bdmurray's comment on the bamf SRU15:35
sil2100seb128, bdmurray: looking into it, but I remember adding that during the sprint...15:36
didrocksand I remember double checking that15:37
didrockswell, regression potential is empty15:38
sil2100Ouch15:39
didrockssil2100: can you file them, please?15:39
sil2100Will do, I think I didn't save them or something15:39
seb128sil2100, didrocks: the precise lines where missing as well, anyway that's easily fixed15:40
didrocksseb128: well, when filing them for 20 bugs, I guess missing two in the row was unavoidable in double checking ;) (didn't happen in "my time" though :p)15:41
ogra_hmm, do we have any magic cmdline option to debug plymouth ?15:43
ogra_i suspect its broken on arm but cant find anything in any logs15:43
bdmurrayI think there is a boot option / switch15:45
bdmurrayhttps://wiki.ubuntu.com/Plymouth#Debugging15:45
* ogra_ hugs bdmurray 15:46
bdmurrayogra_: ^ plymouth:debug15:46
ogra_thanks !15:46
bdmurrayregarding the libunity SRU bug 893688 shouldn't be fix released for precise15:47
ubottuLaunchpad bug 893688 in libunity "Unity.ActivationResponse does not work properly for python scopes" [Low,Fix committed] https://launchpad.net/bugs/89368815:47
james_wah, I see the difference, I think you were considering only a single update, and so update-manager opens as soon as the phase includes the current machine?15:48
sil2100bdmurray: regression potentials editted15:48
james_wmpt, ^15:48
bdmurraysil2100: thanks15:48
mptjames_w, I was considering a naive implementation where update-manager starts treating the update as being "available" only once the phase includes the current machine15:49
mptjames_w, and then starts the clock from that point15:49
james_wmpt, right, I think we got different curves because I was assuming that update-manager would be opening for other things15:50
james_wand so it might have opened just before your machine became part of the set, meaning that even though you were in the testing set now you wouldn't see update-manager for a week15:50
mptjames_w, we don't have to do it that way, though. update-manager could do a maximum instead: open when the computer is in the phase set, or when the week has passed, whichever is later.15:51
james_wmpt, my understanding was each day would go: are there security updates? no. Are there other updates for which I am in the testing set? Yes. Has it been a week since I last opened?15:53
mptjames_w, that makes sense. That would avoid the kink in this curve: http://imgur.com/rT5iV15:57
mpt(not that the kink matters much, but anyway)15:57
bdmurrayseb128, sil2100: none of these compiz bugs are fixed in Quantal?15:58
james_wmpt, yeah, with that scheme I had something like a smooth version of your yellow curve15:58
james_wof course if we want to drive something like the orange one we can make p(t) non-linear15:59
sil2100bdmurray: which bugs?15:59
bdmurrayany of the bugs associated with the SRU for precise of compiz16:00
seb128sil2100, the compiz sru ones16:00
seb128https://bugs.launchpad.net/compiz-core/+bug/99360816:00
seb128https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/100633516:00
ubottuLaunchpad bug 993608 in compiz (Ubuntu Precise) "CMake Error at FindCompiz.cmake:84 (include): include could not find load file: CompizDefaults" [Undecided,New]16:00
bdmurraybug 1005569 for example16:00
ubottuLaunchpad bug 1006335 in compiz (Ubuntu) "[callgrind] compiz spends ~7% of its time inserting into and destructing the events list in PrivateScreen::processEvents()" [Medium,Triaged]16:00
ubottuLaunchpad bug 1005569 in compiz (Ubuntu Precise) "[callgrind] compiz spends ~25% of its time constructing/destructing strings in PrivateScreen::handleActionEvent" [High,In progress] https://launchpad.net/bugs/100556916:00
mptjames_w, ok, thanks for clarifying this with me, I understand it better now16:00
sil2100bdmurray: they are, since those were cherry-picked from trunk, and trunk is used now in quantal16:00
sil2100didrocks: you released compiz for quantal yesterday?16:01
seb128bdmurray, oh16:01
james_wmpt, no problem, do you feel this is something that will work ok, and something that you can phrase for users?16:01
seb128bdmurray, the quantal upload is in quantal-proposed16:01
seb128sil2100, didrocks: ^16:01
seb128bdmurray, and launchpad will close them only when it's copied to quantal16:01
seb128bdmurray, so they are pending "end of a2 freeze"16:01
mptjames_w, possibly. We can say something slightly vague like "After a week" (not mentioning exactly how long after...)16:01
bdmurrayseb128: hmm, okay16:02
seb128bdmurray, but you can probably count quantal-proposed as them being uploaded16:02
didrockssil2100: I did, and yes, it's in proposed16:03
bdmurrayseb128: well what is the point of having it fixed in the development release?  Is it so the package gets some testing first?16:03
didrocksbdmurray: it's to ensure we have both fixes in both sides16:04
seb128bdmurray, it's mostly so we are sure that bugs will get fixed in the new serie16:04
didrocksbdmurray: meaning, we won't trigger regressions but forgetting a fix16:04
didrocksby*16:04
seb128bdmurray, some SRU team members are fine with having the fix commited in the vcs or available in upstream git pending the next update16:04
slangasekseb128: "end of a2 freeze" - but you're supposed to be able to upload to quantal-proposed?16:05
seb128bdmurray, but even if you consider testing, the new version is being tested by quantal-proposed users16:05
slangasekoh, you say this one is16:05
slangasekso n/m16:05
didrocksslangasek: it's in -proposed16:05
seb128slangasek, I'm waiting for it to be copied to quantal-proper :p16:05
didrocksI did the upload at the same time16:05
slangasek"quantal-proposed users" - there's not supposed to be any of those16:05
slangasekand we should not assume anything is getting tested by users in quantal-proposed16:06
seb128slangasek, well, that's what you get by having freezes ;-)16:06
seb128shrug16:06
* ogra_ wonders if the dropping of the intel drm stuff broke plymouth on arm16:06
* ogra_ tries to downgrade to the precise version ... lets see16:06
seb128I want to kill alpha freezes16:06
slangasekthat seems to be quite a different topic16:06
infinitybdmurray: My understanding of "fixed in devel" has always been that we want to make sure it's fixed in development so there won't be surprise regressions when people upgrade, not for extra testing (though testing is nice).16:07
james_wmpt, ok16:07
seb128slangasek, anything as long as SRUs don't get blocked because stuff in quantal are in quantal-proposed and can't be copied over :p16:07
infinitybdmurray: Since "it's uploaded to quantal" is no guarantee anyone's actually using it (though, in the case of unity, people would be).16:07
bdmurraywell the language does say 'It is, in general, not appropriate to release bug fixes for stable systems without first testing them in the current development branch.'16:07
didrocksthat wasn't the practice at all16:08
james_wmpt, the other thing is that this requires LP changes as well as client-side, so if the new UI doesn't make sense for the current scheme we may want to be able to turn it on/off easily.16:08
infinityslangasek: I don't think it's safe to assume that anything in quantal-release is getting heavy testing either (though, like I said, we can be fairly sure unity is).16:08
infinityslangasek: For some leaf package, mind you, "uploaded to devel release" means nothing, except the guarantee that the fix won't regress when someone upgrades from 12.04 to 12.10 (which is the point of that bullet point, I thought).16:09
didrocksinfinity: I had the same understanding at the time16:09
ogra_slangasek, as one of the plymouth gods in here, does anything in the log from https://launchpadlibrarian.net/108854042/plymouth-debug.log stick out on a glance ? seems all arm images have the same prob that plamouth only shows a black screen on boot16:13
bdrungbryceh: yes, it's similar for the python API (the functions have an optional date parameter). i have no concerns about shipping it on CDs.16:16
bdrunginfinity: it depends on the definition of support. the current behaviour is correct if unsupported = get's security updates16:18
infinitybdrung: Hrm?  I assume you meant "supported = gets security updates".16:19
bdrungi meant unsupported = get's no security updates16:20
infinitybdrung: And that's not true at all.  We often have security updates hit all stable/supported releases but miss the devel release because "we know it's fixed properly in the new upstream we're releasing in a week".16:20
bdrunginfinity: but the updates will hit the devel release sooner or later16:20
infinitybdrung: Devel releases (in neither Ubuntu nor Debian) are "supported" in the way that any end-user would consider using the word, I suspect.16:21
infinitys/are/aren't/16:21
infinitybdrung: Devel releases also have packages randomly dropped from the archive, and other such forms of "not supported" that aren't true in stable/supported releases.16:21
bdrunginfinity: because end-user define "supported" as stable16:21
infinitybdrung: Well, there's also how *we* define supported, which is basically the same. :P16:22
infinitybdrung: Note the lack of quantal on http://changelogs.ubuntu.com/meta-release ;)16:23
bdrunginfinity: there we have the definition difference: stable VS get's updates16:23
infinitybdrung: And we've tried to make it clear in Debian on many occasions that unstable/testing are both not "supported" too.16:23
* ogra_ suspects the pylmouth issue has something to do with "[./plugin.c] ply_renderer_head_map:Creating buffer for 1920x1200 renderer head16:23
ogra_[./ply-renderer-libkms-driver.c]                                 create_buffer:Could not allocate GEM object for frame buffer: 22"16:23
bdrunginfinity: that file is called *release*16:23
infinitybdrung: Yeah, I was looking at the "Supported: N" stanza.16:24
infinitybdrung: http://changelogs.ubuntu.com/meta-release-development16:24
infinitybdrung: Which has a 0 for quantal. :)16:24
=== Exio is now known as EXIO
=== wcchandler is now known as WCCHANDLER
slangasekinfinity, bdmurray, seb128: so I think one of the benefits to having fixes actually uploaded to the dev release before published in -updates *is* that it gives us additional confidence that the fix works; but yeah, if it's clearly on track I don't think we should treat that as a blocker for an SRU since the main purpose is to ensure we don't regress17:02
* ogra_ grumbles ... libdrm-intel seems to give us something that makes plymouth work on arm framebuffers :(17:03
* ogra_ tries that theory and runs a plymouth build that pulls libdrm_intel back in 17:03
slangasekogra_: plymouth> it looks to me like the regression is that the new plymouth in quantal now supports a generic DRM backend, so it's actually talking to omapdrm instead of using the framebuffer?17:04
ogra_apart from the fact that there is no omapdrm that might be right :)17:05
slangasekogra_: try rm /lib/plymouth/renderers/drm.so17:05
ogra_this kernel still uses omapdss17:05
slangasekogra_: your log says otherwise :)17:05
slangasek[./plugin.c]                                   load_driver:Attempting to load driver 'omapdrm'17:05
ogra_hmm, intresting17:05
slangasekso... maybe the problem is you have a drm driver not connected to the monitor :P17:05
ogra_yup, that could be, i see the same issue on ac100 and omap though17:06
ogra_(same behavior, havent logged yet)17:06
ogra_so something changed that made it stop working on plain framebuffers i think17:06
slangasekcjwatson: do you know if we ever have /dev *not* by devtmpfs nowadays?  Is that supported?17:06
slangasekogra_: attach a separate log for ac100, please17:07
ogra_yes, will do17:07
slangasekplymouth is *very* hardware specific, don't try to generalize bugs there17:07
ogra_ok17:07
slangasekand please try that rm drm.so and see if that works - plymouth always prefers the drm renderer if it can get it, and only then falls back to fb17:07
ogra_let me reinstall the qunatal version and try the removal ...17:07
ogra_slangasek, thanks, that gets me fsck interaction and a splash :)17:13
infinityslangasek: It could be that it's universally loading omapdrm on all arm* machines, regardless of whether the driver does anything useful for the platform (which it won't for any right now, and won't for anything but omap* when the kernel is fixed)17:15
infinityslangasek: Which would explain ac100 being broken too.17:15
ogra_??17:16
ogra_how could ac100 load an omap4 kernel driver ?17:16
ogra_or even think thats there17:16
infinityogra_: I'm referring to the userspace.  We don't *have* an omapdrm kernel driver yet, do we? :P17:16
infinityogra_: We only just recently got an omap drm userspace library.17:17
ogra_i think there is a stub or so17:17
infinityogra_: And that's likely exploding the world.17:17
ogra_right17:17
ogra_though whats that userspace thing you talk about ?17:17
* ogra_ never heard of omapdrm userspace libs17:17
infinitylibdrm-omap117:18
infinityIntroduced in the recent libdrm upload.17:18
ogra_oh !17:18
infinityNeeded for the omapdrm kernel driver, which won't work right until 3.517:18
ogra_yeah, that would be it17:18
ogra_damned, another package to watch :P17:18
infinityObvsiouly, if that *is* causing issues, something's gone wrong, since having a drm userspace library shouldn't blow up the world (otherwise, having intel/nouveau/radeon installed on every x86 machine would end in tears)17:19
infinitySo, this may need some input and fixing from Rob.17:20
ogra_well, lets see how the ac100 behaves ...17:20
ogra_but i wont test that today anymore ...17:20
ogra_given i have to do my patriotic duty in 2h and watch the game i'll be off soon :)17:21
ogra_err, 1h17:21
slangasekinfinity: libdrm-omap1 still shouldn't explode ac100 unless /dev/dri/card0 is being created, and that's a kernel problem17:32
infinityslangasek: Well, even in that case, it still shouldn't.17:34
slangasekinfinity: the issue on omap4 is that there *is* a /dev/dri/card0 and it's broken17:34
infinityslangasek: That certainly wouldn't help.17:34
slangasekI'm not going to speculate on the ac100 until I see a log :)17:34
ogra_on ac100 there definitely isnt17:35
ogra_a /dev/dri/card0 i mean17:35
cjwatsonslangasek: /dev not by devtmpfs> Not if there's an initramfs, but I'm not sure about the non-initramfs case.17:35
ogra_the ac100 3.1 kernel has similar probs with the framebuffer though (only works if you set console=tty1 now)17:36
slangasekcjwatson: AFAICS we have nothing that mounts it by default in the initramfsless case17:38
slangasekso hmm, maybe that explains some previously-reported bugs17:38
slangasekcjwatson: I ask because we have a job to fallback to calling MAKEDEV if /dev isn't devtmpfs, and lintian complains17:39
slangasekso I was wondering if that still makes sense or if we should drop the makedev dep17:39
slangasekI think I'm inclined to drop it anyway; makedev is prio: extra in Debian, and this job is definitely a no-op in the default case for Ubuntu17:40
cjwatsonI would rather we arranged to mount it early, for consistency17:40
cjwatsonCould init do this as part of its initial setup?17:40
cjwatsonOr is that evil?17:41
slangasekcjwatson: I think it's evil to have init hard-code the information about what fs to mount17:56
slangasekdevtmpfs is the flavor of the month, but who knows what it'll be next round17:56
cjwatsonPerhaps we need an Upstart job for it that runs absolutely first, then17:57
cjwatsonMaybe mountall, and audit everything earlier, would do?17:57
slangasekmaybe17:57
slangasekmountall itself is already 'start on startup' and most things can't start until after17:58
cjwatsonI see the job in question is already pretty early, but it's kicked off from mountall AIUI17:58
cjwatsonSince it's "start on mounted MOUNTPOINT=/dev"17:58
slangasekright17:58
cjwatsonActually wait17:58
cjwatson./src/fstab:16:none            /dev                      devtmpfs,tmpfs  mode=0755                         0 017:58
slangasekmy question about that is why /dev would ever be mounted but *not* be devtmpfs17:58
cjwatsonSo won't mountall already get this right?17:58
slangasekyeah, it appears so17:58
slangasekI had to think twice about what the 'none' there meant17:58
cjwatsonYeah, I'm having a hard time seeing how - either the kernel or a pathological initramfs would have to have done it17:59
* slangasek nods18:00
slangasekor a pathological /etc/fstab overriding /lib/init/fstab18:00
cjwatsonOh, well, if the kernel doesn't have devtmpfs, then it falls back to tmpfs18:00
cjwatsonI think that's what that code in the job is for18:00
slangasekbut does it make sense to install makedev on all machines to cater to that?18:01
=== dpb__ is now known as Guest1484
cjwatsondevtmpfs is still optional, of course18:02
cjwatsonNo, I don't think so18:02
cjwatsonWell, the failure mode is unfortunate of course18:02
cjwatsonDo Debian kernels all have devtmpfs nowadays?18:02
cjwatsonslangasek: So, how about this, simpler option18:04
slangasekI don't know if they all have devtmpfs, but surely any that don't must cope with the makedev requirement some other way18:04
slangasekgiven that it's prio: extra18:04
cjwatsonslangasek: Ship /lib/mountall/devices/ or some such, which is a bit like /lib/udev/devices/, only this one contains the output of 'MAKEDEV std console fd ppp tun' and is only used in the non-devtmpfs case18:05
cjwatsonThen you can just copy it, and it's a lightweight runtime requirement18:05
slangasekhmm18:05
slangasekthat risks skew with the output of the makedev command18:05
slangasekand I'm still not sure why it should be needed at all on a recent system (Debian or Ubuntu)18:06
cjwatsonHomebrew kernels18:06
slangasekbut nothing's doing this in Debian today18:06
slangasekthere's no equivalent to that job in Debian18:06
cjwatsonIn the sysvinit case?18:07
slangasekyeah18:07
cjwatsonMaybe udev deals with it ...18:07
slangasekI believe it does18:07
cjwatsonIf it's being dealt with somehow, I'm certainly in favour of ditching the mounted-dev code, but it would be nice to know how18:08
* slangasek nods18:08
cjwatsonThere's /etc/udev/links.conf18:10
cjwatson(In Debian)18:10
cjwatsonWhich is read a couple of layers deep by /etc/init.d/udev18:12
cjwatsonWith Upstart, the question is whether that's early enough, because it's possible for other things to start between mounted-dev and udev18:13
cjwatsonOTOH if you don't have a /dev/{null,console} then Upstart can't start any jobs18:13
cjwatsonAnyhow, I think it is pub time18:13
slangasekyes; udev isn't started until "virtual-filesystems" are up, and things may assume that includes MAKEDEV std18:21
slangasekbut we already don't work with initramfsless kernels because of the /dev/pts issue... I'm not sure that requiring users to hand-install makedev if they use a devtmpfsless kernel is really an issue18:23
hallyn@pilot in18:32
=== udevbot changed the topic of #ubuntu-devel to: Quantal A2 prep | Archive: please use -proposed | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> precise | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: hallyn
=== zyga is now known as zyga-afk
=== Pierre-Loup is now known as Plagman_
ScottKjelmer: Are we going to have a fix for Bug #1014570  soon?18:54
ubottuLaunchpad bug 1014570 in bzr (Ubuntu Quantal) "bzr: Unable to sign commits: "no terminal at all requested"" [High,In progress] https://launchpad.net/bugs/101457018:54
=== ChanServ changed the topic of #ubuntu-devel to: Quantal Quetzal A2 released! | Archive: open | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> precise | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: hallyn
=== cpg|away is now known as cpg
pgranerogasawara, ppisati, ogra_ : the new kernel linux-image-3.4.0-202-omap4_3.4.0-202.7_armhf.deb works just fine19:25
ogasawarapgraner: cool, I'm prepping the upload on behalf of ppisati right now19:26
pgranerogasawara, great, appreciate it19:26
infinityev: I forget, did I leave an HDMI/DVI-D cable in London, believing it was yours?19:27
infinityev: If so, turns out it's vorlon's. ;)19:27
ogasawaraskaet: re: omap4 kernel ^^, do you want me to upload that straight to the quantal release pocket or -proposed?  Right now I have it (and the meta package since it's an ABI bump) going to -proposed.19:28
infinitypgraner / ogasawara: Yay.19:28
infinityogasawara: Proposed, if you plan to push the meta at the same time, release if you're willing to wait on the meta.19:28
ogasawarainfinity: I like firing both to -proposed since I can do both at the same time19:29
skaetinfinity,  have you cleaned out the others from proposed?19:29
ogasawarainfinity: it just makes more work for you to then pocket copy19:29
infinityogasawara: Yeah, it's much simpler.19:29
infinityogasawara: The pocket copy isn't really effort.19:29
infinityskaet: Still carefully going through the list.  Not copying things that are broken, etc.19:29
ogasawarainfinity: ok cool, I'll fire off to -proposed then19:29
infinityskaet: But if you want a count of how many things are in proposed, go count before I do. :)19:29
infinityskaet: And add a few for the things we uploaded and subsequently copied/deleted during the freeze.19:30
skaetinfinity,  fair enough.   if you want it in proposed,  that's fine.19:30
* skaet goes to count19:30
mterryhallyn, heyo!  If you're not busy with other stuff, I've got a couple branches I'd appreciate a review on.  https://code.launchpad.net/~mterry/ubuntu-release-upgrader/pkexec/+merge/112638 and related https://code.launchpad.net/~mterry/update-manager/pkexec/+merge/11263919:35
mterrybr19:38
mterrybrb19:38
* skaet counts it at 90 packages in -proposed. ;)19:41
hallynmterry: taking a look19:41
hallynmterry: changelog says "Implementation of "update on start" feature from spec https://wiki.ubuntu.com/SoftwareUpdates", but i don't see mention of that at that url19:59
mterryhallyn, that's not part of these branches, that's already in trunk.  But the spec mentions that when you start update-manager, it should do an apt-get update (unlike precise's version which had a Check buton)20:00
hallynd'oh20:01
hallynmterry: i'm afraid it's almost all above my head, but paging through the diffs i didn't see any problems20:09
mterryhallyn, yar, I suppose I just need a "did I do anything stupid" check20:09
mterryhallyn, well, just mark 'em approved if you don't see anything crazy.  Thanks for looking them over!20:19
hallynmterry: will do, my pleasure20:19
hallynmterry: a q on this - i take it htat pkexec is generally meant ot supplant gksu everywhere now?20:20
mterryhallyn, that's the idea20:20
hallyn(just for my education)20:20
hallynok.  (that really means, more than ever, i want to go look at policykit source one of these days :)20:21
hallynthanks :)20:21
=== imbrando1 is now known as imbrandon
hallynSpamapS: whenever you get a chance, could you look over https://code.launchpad.net/~serge-hallyn/ubuntu/quantal/pulseaudio/pa-upstart/+merge/112650  (which addresses previous review comments by you against my same branch for precise) ?20:47
=== salem_ is now known as _salem
SpamapShallyn: ACK, will try to get to it today, running quite behind tho20:49
hallynSpamapS: thanks, no real hurry (i've taken my own sweet time)20:50
evinfinity: I'll have a look21:24
infinityev: No big deal if you have it, it's not worth shipping it around the world.  Just curious, cause I don't think I have it. :)21:27
infinityev: Unless you want to give it to xnox to give to vorlon.21:27
infinityxnox: You're coming to Debconf, right?21:27
xnoxinfinity: yeap, what's up?21:27
xnoxinfinity: something related to what ev is going to look at?21:28
infinityxnox: I stole one of slangasek's cables and then left it on ev's desk.  I think. ;)21:28
xnoxinfinity do I get to charge you 1st Class Royal Mail stamp for the service?21:28
=== james_w` is now known as james_w
infinityxnox: Sure.  I'll buy you a Nicaraguan beer.21:29
* xnox drinks *cider*21:29
evyeah, it was in my suitcase. I think I brought it to UDS to give back to you21:29
infinityev: Hahaha.21:29
xnoxev: and safely took it back? =)21:29
* xnox the world-wide cable, eh? =)))))21:29
evcider? http://www.uniteddairy.com/htmlimages/Product_photos/Apple%20Cider/United_AppleCider_gallon.jpg21:30
evxnox: indeed21:30
xnoxev: can I come in and work from the 'office' next week?21:30
xnoxfor a day21:30
evxnox: you're welcome to work from the office whenever you want21:30
evwe have hot desks for such things21:31
infinityslangasek: So, xnox will be bringing you your cable, via ev. ;)21:31
hallyngah i truly despise the 'progress info' on a bzr branch21:32
slangasekxnox, ev: don't go too far out of your way, I can just order a new cable :P21:32
infinityslangasek: This way's more fun.  Shush.21:32
slangasekyes, but I think one or more of you have actual work to be doing21:32
* infinity fixed an FTBFS while coordinating that.21:33
* ev did absolutely nothing21:33
slangasekxnox, ev: let me know if I should order myself a new one21:33
hallynhm, something i'm not clear on.  if i'm doing UDD for a SRU (merging someone else's bzr tree), can i push to lp:ubuntu/release/package immediately, or do i just build and dput the package to -proposed and skip the udd steps?21:38
slangasekhallyn: the latter21:38
slangasekwhich is why I have an action item to document that UDD is not worth doing for SRUs because of the confusingness21:38
hallynslangasek: sort of too bad, but expected.  thanks.21:38
hallynslangasek: yeah... though it does give a nicer trail while the patch is being considered (at least through patch pilot process)21:39
slangasekto some degree21:39
slangasekbut creating the UDD branch in the first place is problematic21:39
slangasekbecause do you base it off precise, or precise-updates, or precise-proposed, or...?21:40
hallynprecise gets updated by precise-updates right?  but yeah, right, -proposed gets lost, good point21:40
hallynslangasek: thanks21:40
hallynheh, here's hoping i didn't mess that up21:41
xnox... or precise-security if it currently diverged from the current -proposed....21:41
hallynnope, looks good21:41
hallynxnox: right21:41
hallyncyphermox: hi, on https://code.launchpad.net/~poliva/ubuntu/precise/wpasupplicant/fix-for-994739/+merge/106704 you comment "i will take care of this in the merge".  Does that mean that branch is handled (in terms of sponsoring)?  you'll definately merge that?21:47
cyphermoxyes, I'm about to upload it21:48
hallyncyphermox: great, i'll keep my hands off then, thanks :)21:48
cyphermoxnp; sorry for the trouble ;)21:48
cyphermoxhallyn: I'm also looking at freerdp21:49
hallynpaulliu's branch?21:50
micahgcjwatson: when you get a chance, MoM seems broke again (apologies if you've already been told or know)21:51
=== cpg is now known as cpg|away
cjwatsonmicahg: thanks, hadn't realised, will take a look ASAP21:59
hallyn@pilot out22:03
=== udevbot changed the topic of #ubuntu-devel to: Quantal Quetzal A2 released! | Archive: open | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> precise | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
=== bjsnider_ is now known as bjsnider
Davieyhttp://lists.gnu.org/archive/html/grub-devel/2012-06/msg00093.html .. thought it would never happen!22:53
cjwatsonmicahg: Should be fixed for the next run, I think.  MoM gets upset when packages fail to unpack.23:41
cjwatsonI'll check back tomorrow morning.23:42
micahgcjwatson: ah, ok, thanks23:42
=== EXIO is now known as Exio

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