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

pittiGood morning06:05
QuintasanGood morning.06:18
dholbachgood morning07:53
=== smb` is now known as smb
scientesgm08:40
=== doko_ is now known as doko
=== bambee is now known as rperier
zequencediwic: Hi. I was just giving PA 3 a go. Seems to work a lot nicer with jack. There are a few odd things that I'm wondering about. PA is able to use multiple interfaces at once, correct? As I start jack, I need to set PA to use jack of course. Let's say rhythmbox is using PA all along this process. Then, when I stop jack, and start it again, PA is now not using jack anymore, but Rhythmbox is.09:16
zequencediwic: I'm thinking it might make good sense to have the module set PA to use jack automatically. Optimally, one should be able to set this in user settings somehow. But, initially, I think that's what people would expect to happen. What do you think?09:18
diwiczequence, module-jackdbus-detect should do this09:18
=== henrix_ is now known as henrix
zequencediwic: the sink and source are created, but PA is not set to use the jack sink and source. I do that manually09:19
diwiczequence, but it is possible that streams need to be moved manually in PA from the hardware sink to the JACK sink and back again as you start/stop jack09:19
diwiczequence, right. This is all part of the routing, which currently has a non-scalable solution, pending a better one that is currently implemented...we hope09:20
zequencediwic: will this happen before the release of 13.04?09:21
diwiczequence, no09:21
diwiczequence, 3.0 is what's going to be in 13.04.09:22
zequenceOk, I think I might want to patch the module meanwhile. I'll have a look at that next week (studying for a A+ certificate this week)09:23
zequence..or see what is possible, and what would be a good thing to do09:24
diwiczequence, ok, patches welcome :-)09:24
diwiczequence, but given that 13.04 is two months from release, there is not much time.09:25
diwiczequence, Feature Freeze is 7th of March09:26
zequencediwic: Yep. Should be ok09:27
hrwech, FF... I wonder will I get chromebook support in archive to that time09:28
zequencehmm, ok. I should probably do that pretty soon then09:28
hrwzequence: I do wonder when audio in linux will get automatic output switch on hdmi plug in x86 world09:30
zequencehrw: That sounds like something for the pulseaudio people to do :). I'm a developer for Ubuntu Studio, and am mainly concerned with jack and PA interoperabilty. I use hdmi for my monitor. I use a TV as my monitor. I don't want the TV to be my speaker. I have two studio monitors for that09:31
zequencehrw: I suppose one could have a advanced setting toggle for that kind of thing somewhere, given that hdmi can be detected in smart ways09:33
hrwzequence: I gave new netbook for my wife as birthday present. amount of problems with 'hdmi connect, audio on speakers' is arghhh09:33
hrwzequence: and I do not want her to go to PA settings each time to switch default output hdmi<>speakers09:34
=== Sweetsha1k is now known as Sweetshark
zequencehrw: I could see the point in having that as an option, and maybe also as a default. Probably the more technical person, who might not want things to always happen automatically is also the kind that more easily would be able to change that in somwhere in settings09:53
=== henrix_ is now known as henrix
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
mterrypitti, mind if I swap patch pilots days with you?  I have this Thursday, but would like to have your slot next Monday10:33
pittimterry: no problem10:33
mterrypitti, thanks10:34
pittimterry: I updated my calendar10:34
mterryk10:34
=== yofel_ is now known as yofel
caribouI have a total nOObie's python question: should I concentrate learning directly on Python 3 or python 2.7 ?10:48
pitticaribou: I'd recommend py310:50
pitticaribou: you are going to get a much cleaner understanding of e. g. byte arrays vs. strings, and py 3 has some nicer API in some places10:50
cariboupitti: that's what I thought10:51
pitticaribou: but it depends a bit, e. g. the juju world is still firmly py210:51
xnoxcaribou: this is not really the right channel for such questions. #ubuntu-app-devel is better for questions about developing on ubuntu or targetting ubuntu. This channel is about developing the core ubuntu operating system. But yes, I'd also recommend python3 directly, and if need be its easy to write python3 which is also happens to be valid python 2.7.10:51
pittithe desktop world is rapidly moving towards 310:51
caribouxnox: understood, but I only needed a quick opinion and I hate joining a channel just for a question. Looks like I'll add #ubuntu-app-devel to my list10:52
xnox;_10:52
xnox;)10:52
caribouxnox: thanks for the info10:52
caribouxnox: tbh, the code I'm hacking at is apport which is py3 so I knew that pitti was hanging around here ;-)10:55
alkisgHi, with the Precise 12.04.2 CD having the quantal-lts kernel, samba is unusable due to this bug: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/101689510:56
ubottuUbuntu bug 1016895 in samba (Ubuntu Precise) "smbd crashed with SIGABRT in dump_core()/setgroups being passed a -1 group is causing crashes." [High,Triaged]10:56
xnoxcaribou: if you are hacking on apport, all irc channels policy is waved and you can ask us anything on any channel!10:56
alkisgThat's fix-released in quantal, but for some reason the planned backport never happened10:56
alkisgCan I do something to help in SRU'ing it?10:56
caribouxnox: :D10:57
pitticaribou: FYI, apport still needs to run with 2.7 as well, so please don't use py3 only API (or fallbacks, the code has a few already)10:57
cariboupitti: don't think I'm smart enough on python to do any of those, I'll only use very basic things but I'll keep an eye on it10:57
xnoxcaribou: if sys.version < '3':10:59
xnoxeasy10:59
caribouxnox: /usr/bin/kernel_crashdump already invokes /usr/bin/python311:00
xnoxalkisg: you could update the bug description as per https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template11:00
caribouxnox: but I'll take a note of that11:00
alkisgxnox: is that enough? I saw jamespage was working on it, but I don't know why the work stopped...11:00
xnoxalkisg: what do you mean " by enough"? SRU template with a testcase is the next step one should complete, then anyone can upload it into -proposed unapproved queue, then SRU team will review it, then publishing will happen, then verification, then released into -updates11:06
alkisgxnox: maybe I need to prepare a debdiff or a branch + file a merge request too...11:06
alkisgThere's an upstream commit link, but not a fresh debdiff afaik11:07
xnoxalkisg: start with an SRU template. The exact fix/patch is known such that a debdiff is easy to generate.11:07
alkisgThanks, doing so...11:07
xnoxalkisg: and nobody can/will sponsor a debdiff without SRU template filled.11:07
alkisgSure, I was just asking if someone was working on it and if it was blocked for some reason, so any time I put on writing an SRU template would be in vain... (as were some others in the past)... Thanks, doing the SRU.11:08
alkisgDone11:19
hrwbtw - who (except infinity) has power to take packages from NEW?11:22
jamespagealkisg, I'm not working on it but would be happy to sponsor unless xnox wants to11:22
xnoxhrw: members of ~ubuntu-archive team11:23
xnoxthe AA team =)11:23
hrwgracias11:23
alkisgjamespage, xnox: I've done the SRU description, is that enough?11:25
jamespagealkisg, no - I need a merge proposal or debdiff as well for precise11:28
jamespageI need/it needs11:29
ogra_hrw, see the wikipage for archive administration, there is a schedule with the daily AA11:30
hrwthanks ogra_11:31
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
cjwatsonSome of that schedule may even not be mythical11:39
alkisgjamespage: thanks, I'll do that in a while as one of my kids is sick today11:39
=== amitk is now known as amitk-afk
=== amitk is now known as amitk-afk
=== _salem is now known as salem_
melodiehello12:17
melodieI am seeking some information about how Casper operates, and about the packages which come along for it to fulfill it's task. can someone help me ?12:17
cjwatsonmelodie: depends on what exactly you need to know12:23
cjwatsonit's just a fairly complex initramfs hook12:24
melodiehi cjwatson12:37
melodieI am searching for what makes it trigger autologin in a Live CD, for a spin I try to do and which don't land on the desktop, but on the lightdm login scree ?12:38
melodies/scree/screen/12:38
cjwatsonscripts/casper-bottom/15autologin12:39
melodieI look, thank you !12:39
cjwatsonIt has explicit support for various DMs so it's possible it needs some tweaking12:39
melodieso ?12:39
melodieI am going to look in the last version of my spin and will compare with what I find in Lubuntu/Xubuntu in vbox12:40
melodiecjwatson, the support for various DE ok, but see: when I stripped off some dev packages, and some ibus packages from Lubuntu, in a customized version, after there was no more autologin, when I put it back, autologin was back. But in the other version I try to do, it only brought the choice for languages at the start of the live, when selecting "try without installing". so I also wonder if there are not some packages which should be depend12:43
melodies to casper, or even to a higher level of core packages ?12:43
cjwatsonImpossible to tell given only that information.  Trace it, find out exactly what's going wrong, and then think about a solution12:44
cjwatsonYou can use break=casper-bottom as a boot parameter and then start running scripts in /scripts/casper-bottom/ by hand (perhaps under sh -x)12:44
melodiethat sounds interesting.12:45
cjwatsonOr boot with 'debug' and you should get a giant log in /run/initramfs/initramfs.debug12:45
melodieok, I look at the casper-bottom scripts first, then I will try the debug method with large debug log.12:46
melodieif I have an idea what I will be looking for in there12:46
cjwatsonWell, just look for where the autologin script starts and trace through its execution against the code12:46
melodieok, I will do that12:47
=== francisco is now known as Guest5868
melodiecjwatson, thank you12:49
melodieI have one more question12:58
melodieI have added a script which I was provided, to add 2 icons/launchers on the desktop ("home" and "trash")on the live, and that works, but I don't know how to make the 2 launchers follow at post-install ? any idea ?12:59
cjwatsonmelodie: see the ubiquity-hooks/ directory in the casper source packag13:00
cjwatsone13:00
melodiecjwatson, ok I will. thank you very much!13:00
dokostgraber, #1123588 looks like an issue in upstart13:13
xnoxdoko: loads of nih_* memory commands allocate new, or realloc memory. and we use malloc attribute all over the place.13:25
=== amitk-afk is now known as amitk
dokoxnox, looks like the real issue is that at least job_new caches the pointer, and expects that the latter assignments will have some effect14:04
=== Ursinha is now known as Ursinha-afk
jamespageLaney, around? I have a question re backports (and Jenkins)14:21
Laneyyes14:21
Laneywhat's up holmes14:21
jamespageLaney, do backports build against backports? I'd like to start doing backports of Jenkins but its pretty much always Jenkins + Associated Jenkins Deps that need updating14:24
Laneyjamespage: there's a bug there :(14:25
Laneyhttps://bugs.launchpad.net/launchpad/+bug/88866514:25
ubottuUbuntu bug 888665 in Launchpad itself "Backports can't build-depend on other backports" [High,Triaged]14:25
Laneysee the assignee? give him crap about it :-)14:26
jamespageLaney, ah - I see this has been rolling on for some time....14:27
jamespageLaney, thanks for the backport of mininet yesterday btw....14:29
=== Ursinha-afk is now known as Ursinha
Laneynp! hope it's useful14:31
QuintasanLaney: Did maliit make it out of NEW?14:32
LaneyQuintasan: yeah14:33
QuintasanLaney: Splendid. Now I can legitmately whine about Plasma Active 3 being not done \o/14:33
Laneyno whining, just doing14:33
Laney:P14:34
Quintasanshadeslayer: do plasma active 314:34
shadeslayerI already did14:34
shadeslayerdidn't I14:34
QuintasanKidding me?14:34
shadeslayerit's in raring!14:34
Quintasan\o/14:35
shadeslayer!info plasma-mobile raring14:35
QuintasanLaney: Now I have nothing to do14:35
ubottuplasma-mobile (source: plasma-mobile): transitional package for plasma-active. In component universe, is extra. Version 2.0+git2012071701-0ubuntu1 (raring), package size 3 kB, installed size 41 kB14:35
Laneysure you do14:35
shadeslayerthough last I checked it was stuck in proposed14:35
shadeslayerno idea why14:35
Laneyim-config integration14:35
Laneybuild it against qt5 ;-)14:35
shadeslayerQuintasan: help us automate Kubuntu QA14:35
shadeslayer:P14:35
QuintasanLaney: im-config should be there14:35
QuintasanLaney: That xinput stuff in debian/ was there to make it working14:35
Laneyonly im-switch is14:35
Quintasanoh14:36
Quintasanthat behaves differently?14:36
Laneyyeah apparently you patch im-config itself for new IMs14:36
Laneyseems like a pain to me14:36
Quintasanwell, it IS a pain14:36
QuintasanI'll get to it14:36
Quintasanshadeslayer: It involves Python, I don't want it :P14:36
shadeslayerhaha14:37
LaneyQt5 would be a good thing to do though, so we can build the nemo keyboard14:37
QuintasanLaney: We do have Qt5 packages somewhere don't we? I remember mikhas kind of implying it should work14:38
xnoxsome qt5 is stuck in -proposed as far as i remember14:39
QuintasanLaney: Well, if that's the case I'll get to it after I'm done with input methods in Kubuntu14:41
LaneyIt does build apart from a change to QSKIP: https://gitorious.org/maliit/maliit-framework/merge_requests/23914:41
LaneyI'm not clear what it does to Qt4 applications though as Qt5 contains the input context stuff itself so maliit-inputcontext-qt4 goes away14:42
Laneywill need to check if they keep on working / we care if they don't14:42
* Quintasan really really needs to learn how to code14:47
RZAFCcan someone help?14:56
RZAFC<RZAFC> I can't compile c program in gcc14:58
psusisee topic14:59
xnoxRZAFC: this channel is for development of the ubuntu operating system. for programming help on ubuntu see #ubuntu-app-devel15:07
* xnox wants a factoroid for this.15:08
=== rsalveti_ is now known as rsalveti
=== Ursinha_ is now known as Ursinha
RZAFCok15:09
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== baba is now known as hack
aPpYeI am building a custom system based on the mini.iso and am using the various *buntu-desktop packages as a reference.  I am wondering why anacron is listed as a dependency... Do thhe update managers use cron/anacron to schedule daily updates?15:58
mdeslaurpitti: could pygtk need to be adjusted for the new glib behaviour described here? http://blogs.gnome.org/desrt/2012/11/05/a-warning-about-glib/16:39
mdeslaurpitti: I'm hitting the warning when running meld on raring: bug 110317016:39
ubottubug 1103170 in meld (Ubuntu) "meld crashed with TypeError in <lambda>(): <HistoryFileEntry object at 0x1e58960 (HistoryFileEntry at 0x1f08540)>: unknown signal name: changed" [Medium,Confirmed] https://launchpad.net/bugs/110317016:39
pittiugh, pygtk16:39
mdeslaurhehe :)16:39
pittimdeslaur: I thought on the last hackfest someone mentioned that they ported it to GI and gtk316:40
mdeslaurpitti: I see some other things also, like dia: bug 110296016:40
ubottubug 1102960 in dia (Ubuntu) "dia crashes on startup" [Undecided,Confirmed] https://launchpad.net/bugs/110296016:40
pittimdeslaur: too bad, meld git head is still on pygtk16:42
mdeslaur:(16:42
pittimdeslaur: I guess it's possible, yes; no idea how much effort it will be, I'm not familiar with the pygtk code; but for pygobject it was half a day's work16:42
=== hack is now known as megha
alexbligh1If package A depends on package B, and both packages are upgraded through the same apt-get line, is it possible to arrange matters so the ordering of the start/stops of A and B guaraateed? (preferably stop A, stop B, start B, start A)16:58
xnoxstop A, stop B, start B, start A - usually happens when package B depends on A.17:00
xnoxalexbligh1: you could in package A postinst to do restart B, before restart A.17:01
ogra_and if your upstart jobs are sane :)17:01
alexbligh1So if A depends on B, and just B is upgraded, then that will stop and start A (whilst B is upgraded) too?17:01
Laneyyou'll want a versioned depends if you want that configuration order17:02
=== deryck is now known as deryck[lunch]
alexbligh1Can't really do that as I'd have to change package A whenever I rebuild B, which is pretty much all the time.17:04
xnoxalexbligh1: package B can also have a postinst snippet to restart A17:04
infinitySounds to me like B just wants to stop A before itself and start A after itself.  This can easily be confined to B's maintainer scripts.17:05
xnoxalexbligh1: or job A can have "stop on stopped B" and "start on started B", and then whenever B is stopped/started you will get the behaviour you are describing.17:05
xnoxalexbligh1: and job B's pre-stop also needs stop A.17:06
infinityOr if, indeed, they depend on each other being started/stopped even not during upgrade scenarios, xnox's suggestion about upstart dependencies is sane.17:06
alexbligh1The issue I have is this: I have an OCFS2 package and an openiscsi package. Both very similar to ubuntu mainline, but fortunately (or not) we need a couple of local patches or a version that isn't upstream. Neither depends on eachother right now. When I upgrade them, iscsi's prerm calls the init script (not upstart, sadly) to stop it, and it disconnects iscsi, despite OCFS2 using it for heartbeat. OCFS2 then fences the box a17:06
alexbligh1nd does a hard restart.17:06
alexbligh1Obviously this behaviour is undesirable.17:06
alexbligh1I am trying to think of a general fix for this (i.e. one I can get upstream)17:06
alexbligh1Currently AFAICT iscsi is unupgradeable in various situations - the above being an obvious one.17:07
xnoxiscsi prerm call should not stop hard-drives17:07
alexbligh1iscsi prerm removes kernel modules!17:07
xnoxsee for example mdadm package which never stops raid arrays on upgrade.17:07
alexbligh1it also closes the initiator.17:07
xnox /o\17:08
xnoxthat's like so totally not safe.17:08
alexbligh1This seems to be because icssi's initiator works a bit like nbd, ad the fd starts in user space to do the initiation, then gets passed to the kernel.17:08
alexbligh1We have tried the obvious fixes (like not doing that) but the world gets confused.17:08
alexbligh1I have no idea how iscsi even runs with root on iscsi.17:08
alexbligh1xnox, indeed it's not. I think hard reboot without sync (OCFS2 fence action) is about the most exciting consequence.17:09
xnoxand the packages in ubuntu-archive do this?17:10
alexbligh1I filed LP #1123192, but I am not sure how to fix it17:10
ubottuLaunchpad bug 1123192 in open-iscsi (Ubuntu) "open-iscsi removes modules on stop but should not" [Undecided,New] https://launchpad.net/bugs/112319217:10
alexbligh1Yes they do17:10
xnoxassigned to myself17:10
alexbligh1I only noticed the modprobe when I first filed it. But you can see stop() calls stopalltargets()17:10
xnoxI will ponder about it, over a cup of green tea =)17:10
alexbligh1xnox, much appreciated. We are pulling our hair out a bit. And I haven't got much left.17:11
infinityThose two 'modprobe -r' lines should be no-ops if the module is in use (ie: if root is on iscsi), surely?17:11
alexbligh1infinity, indeed. Those two cause us (and probably only us) problems because we manipulate /proc/scsi/scsi ourselves. It's the 'stop all targets' thing that is the real problem.17:12
alexbligh1stoptargets() {17:12
alexbligh1        log_daemon_msg "Disconnecting iSCSI targets"17:12
alexbligh1        sync17:13
alexbligh1        # only logout if daemon is running, iscsiadm hangs otherwise17:13
alexbligh1        if pidofproc -p $PIDFILE $DAEMON > /dev/null; then17:13
alexbligh1                $ADM -m node --logoutall=all > /dev/null17:13
alexbligh1        fi17:13
alexbligh1        log_end_msg 017:13
alexbligh1}17:13
alexbligh1So the line starting $ADM logs out targets other than the targets that were logged in with the conf file.17:13
alexbligh1IE everything17:13
xnox!pastebin17:13
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.17:13
alexbligh1Which it seems to have to do, in order to stop the daemon17:13
alexbligh1xnox, yeah sorry - confusion with internal IM17:14
xnoxalexbligh1: also there is handy pastebinit command line tool which can paste from command line e.g. $ pastebinit mylog.txt or $ run-command | pastebinit17:14
alexbligh1xnox, ty. I know. I just forgot different etiquitte on 3 different IM systems.17:16
alexbligh1xnox, part of the issue here is that OCFS2 heartbeat does not use an FS mounted device. It just finds what device it's on, then O_DIRECT opens the block device, and carries on writing to it. This seems to die when iscisd gets restarted. At the least it needs a cluster stop and cluster start, but ocfs2 has no obvious way of knowing about iscsid.17:19
infinitylool: It's somewhat pointless to have an ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) wrapping your CC setting, if you're setting to $(DEB_HOST_GNU_TYPE)-gcc17:30
infinitylool: Since that will work just as well in native builds, you could replace five lines of vague confusion with just one export CC.17:31
=== Quintasan_ is now known as Quintasan
cjwatsoninfinity: I prefer the ifneq myself since it avoids confusion if you later have to add in e.g. $(DEB_HOST_GNU_TYPE)-ar17:32
infinitycjwatson: Which should also work just as well in either case, no?  But, to each their own.17:33
cjwatsonNo, i686-linux-gnu-ar doesn't exist here17:34
infinityOh, except that that's $(DEB_HOST_GNU_TYPE)-gcc-ar-4.7 here.  What a pleasant path construct.17:34
cjwatsonAnd I think -gcc-ar-X.Y is kind of internal - gcc-ar-4.7(1) indicates that that's a wrapper adding --plugin17:34
=== henrix is now known as henrix_
infinityIt could be considered a bit of a misfeature/bug if we're not providing the same paths for native builds as we do for cross.17:36
infinityGCC does it, surely binutils can too.17:36
=== henrix_ is now known as henrix
cjwatsonMaybe.  It also kind of depends on whether you prefer uglifying debian/rules or uglifying build logs.17:37
infinitycjwatson: Perhaps, yeah.  I like my build logs matching between native and cross, easier to compare.  But I can see the opposite argument.17:38
infinitycjwatson: Then again, I maintain something with eight billion character compiler calls, a few more doesn't really make it worse.17:38
* xnox remembers that at one point calling $(DEB_HOST_GNU_TYPE)-gcc was causing it to start cross-compiling for native arch. glad it's ok to use that directely now. but so far, yeah I have been exporting CC in ifneq as well.17:47
=== imbrando1 is now known as imbrandon
wookeyinfinity: It would make sense if we put in more native fully-qualified names. so that you could just use <arch>-command (at least for binutils and pkg-config stuff).18:16
wookeyCan we do this generically with some kind of trap? because <BUILD_ARCH>-command should always map to command18:17
=== zequence_ is now known as zequence
wookeyrather than putting in a thausand symlinks18:18
wookeyAnd we should think about things like when we recommend ifeq (BUILD, HOST) blah, vs just making arch explicit always.18:19
wookeyPackagers need 'suggested standard proactice' for this stuff18:19
* xnox somehow thinks that cdbs & dh should as if almost export CC when ifneq (BUILD, HOST)18:20
xnoxthat would fix so many packages out of the box.18:20
wookeyit would. We actually need a proper solution to setting CC that covers llvm as well18:21
wookeycurrently it a mess18:21
infinityxnox: But there's no x86_64-linux-gnu-cc, only x86_64-linux-gnu-gcc, so having debhelper cleverly rewrite CC to $(DEB_HOST_ARCH)-$(CC) wouldn't work as expected.18:21
wookeywith way too much hard-coding for no good reason18:21
wookeybecause that's currently to only way to make it work18:22
wookeythe18:22
infinityIf we had x86_64-linux-gnu-cc, that would solve the llvm and cross use-cases together.18:22
infinitySince cc and HOST-cc should be alternatives, in that ideal world.18:22
xnoxinfinity: if dh already cleverly passes correct --build & --host when cross-compiling, it can as well figure out & export a cross-CC as well ;-)18:22
wookeyinfinity: right - something along those lines18:23
infinityxnox: See above, re: clang.  If it's figuring it out for you, it's also (in the currently world), forcing you to use gcc.18:23
xnoxok. i see what you mean now.18:23
infinityNot that I mind forcing GCC right now, clang's not really all that useful on more than one and a half arches, but still.  If you're going to do it, do it right.18:23
wookeyexactly - and more clang use is obviously headed our way, so to ignore it at this stage would be fgoolish18:24
infinityIt would definitely be great if I could just define CC at the top of my rules (or leave it undefined, which uses the make default of "cc"), and let debhelper DTRT, though.18:25
infinitySo, CC=gcc-4.6 or CC=clang or CC=cc would all Just Work for native and cross.18:26
wookeyA log of things have invented cc_for_build to mess that up. We'd probably have to fix those more generically too.18:27
wookeylot18:27
infinitycc_for_build is BUILD_ARCH, not HOST_ARCH, but yes, that needs dealing with.18:27
infinityStill something DH could probably cleverly divine on its own.18:28
infinity(Then again, --host/--build with autotools, combined with $(CC) being set to a generic, is MEANT to DTRT out of the box, regardless.  Sadly, this isn't often the case when people fight against autotools because they think they know better)18:29
wookeywell DH can easily set BUILD, HOST and CC correctly, but it doesn;t know what the package has called BUILD-CC-when-it-differs-from-cc18:29
infinitywookey: Know, but we could export/set a few of the more common ones, perhaps.18:30
wookeyexactly. there is quite a lot of historical bodging to undo to make this actually nice18:30
wookeybut I'd like to try :-)18:30
* infinity wonders how his fingers turned "No" into "Know".18:30
infinityCleary a sign that I shouldn't be on IRC on a holiday.18:31
=== deryck[lunch] is now known as deryck
zygabryce: ping18:33
zygabryce: I still have my X crashed under gdb18:33
zygabryce: if you want some data to https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1127497/18:33
ubottuUbuntu bug 1127497 in xserver-xorg-video-intel (Ubuntu) "Xorg crashes when exiting steam" [High,New]18:33
zygabryce: now is the time to tell me18:33
wookeyIf autotools and cmake just defined CC (=HOST-CC) and BUILD-CC then everyone could use that and life would be great.18:34
slangasekzyga: fwiw, it's a public holiday in the US today so I don't know that bryce is around18:34
zygawookey: hey, long time no see18:34
zygaah, right, boo18:34
wookeyhi there < in voice of eddie the shipboard computer>18:35
=== odifis is now known as oDiafanos
=== francisco is now known as Guest44847
=== yofel_ is now known as yofel
melodiehi19:53
temporary_hi, i think i found some files that do not match their md5 or sha checksums on http://releases.ubuntu.com/ does anyone here know what to do about it?20:16
infinitytemporary_: Example(s)?20:19
temporary_http://releases.ubuntu.com/12.04.2/wubi.exe appears to not match it's checksums20:20
temporary_they sha1sum i see is 79d2efd6992d969e4790b088b782c0173281639c20:21
temporary_but it should be 40b3aac9a6e0464d7a9724f93b28515771e6c43a20:21
temporary_the other checksums don't seem to match up either20:22
infinityYeahp, looks broken on the master mirror too.  Lovely.20:22
infinitycjwatson: You oopsed the publishing of 12.04.2, wubi.exe got the wrong sums.20:23
infinitycjwatson: Not sure if that means we have the wrong wubi.exe in simple/precise, or if updating the sums just didn't DTRT for you.20:25
temporary_so i guess it's just a small mistake?20:25
infinitytemporary_: Yeah, it's one of two potential mistakes, we'll sort it out.  Thanks for the heads-up.20:26
temporary_i was wondering if a third party had inserted some malicious code and got all paranoid20:26
infinitytemporary_: Paranoia's generally the right response to mismatched hashes.20:27
infinitytemporary_: I can confirm that the wubi.exe on the master mirror is 79d2efd6992d969e4790b088b782c0173281639c however.20:27
infinitytemporary_: So, no MITM attacks or anything.  Just something wrong on our end with the sum versus the file.20:28
temporary_oh cool, that's good to know20:28
temporary_i'm sometimes lazy about verifying hashes, so this has been interesting20:29
=== cmagina is now known as cmagina_away
=== cmagina_away is now known as cmagina
cjwatsoninfinity: I did oops that at one point but I thought I'd fixed it20:53
infinitycjwatson: nusakan disagrees.20:54
cjwatsonAh, I ran checksum-directory and it decided all the timestamps are up to date20:54
cjwatsonOr something20:54
cjwatsonPossibly my code is too clever for its own good20:54
infinitycjwatson: I'd have just resummed the directory, but given that ancestry of the signed wubi.exe binary is a pain to sort out if you're not the person who put it there, I figured I'd let you sort out if the binary or the sums are wrong. :P20:54
cjwatsonI'll double-check but 99% sure it's the sums20:55
cjwatsontemporary_: OK, fixed checksum files syncing out now - sorry about that20:57
cjwatsonWhether it was the code or the operation of it, it was my fault either way ...20:58
cjwatsonAh20:58
cjwatsonThe reason it didn't get resummed automatically was that the timestamp of wubi.exe from the build had been preserved20:58
infinitycjwatson: The last time I ran into all that clever code, I was unconvinced that caching the sums was buying us anything except pain.20:59
infinityI mean, it's a great speed optimisation, but it's optimising for (in theory) the non-common path.21:00
infinityAnd when it breaks, it's confusing. :P21:00
cjwatsonIt's critical path for release publication and makes a giant difference to the length of said critical path21:00
cjwatsonOriginally I had no caching and it was awful21:00
cjwatsonAlso, the code should be much clearer now than the last time you ran into it ...21:01
infinityHrm, yeah, I guess for the daily->release path, it's critical.21:01
cjwatsonAnyway, I've tweaked the process to recommend publishing wubi.exe first, which would have avoided this in practice21:01
infinitycjwatson: Clearer being a matter of perspective, if it's changed languages. ;)21:01
cjwatsonThis was a case where the implementation language made a big difference - it'd outgrown shell21:02
cjwatsonAnd I'll fix it to honour ctime as well as mtime, which will permanently avoid this problem21:02
temporary_cjwatson, infinity: ah cool, thanks for update and fixing things so quickly21:04
temporary_now i don't need to spend all week checking my computer for rootkits :)21:04
loolinfinity: That's a good point!  I had to think hard now at why it is that we have this in packages, and I guess it is only important for autotools packages as to not trigger cross-compilation mode, but clearly it would be much simpler to always use $triplet-gcc; thanks for the tip21:14
infinityScottK: pkgkde-symbolshelper seems to really hate qscintilla.21:47
infinityScottK: I tried feeding the -2 build logs to it, and the result still doesn't build.  Silly thing.21:47
infinityScottK: Oh, I wonder if this is because I fed the Debian -2 build logs at it and then tried the build on Ubuntu.  Compiler version mismatch fun. :/21:49
* infinity tries that build on experimental.21:49
chilicuilNCommander: ping21:53
NCommanderchilicuil, pong21:54
chilicuilNCommander: sry to bother you, could you come to #ubuntu-mx just a momment?21:54
=== salem_ is now known as _salem
ScottKinfinity: Thanks for looking at it.  Agreed.  C++ symbols are a PITA.  They symbolshelper takes them down from impossible to really annoying.22:26
=== charles_ is now known as charles
=== highvoltage is now known as hv-onlogged
=== henrix is now known as henrix_

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