/srv/irclogs.ubuntu.com/2012/08/10/#ubuntu-devel.txt

infinityScottK: Use deborphan, and tell it to keep ubuntu-standard, perhaps?00:11
=== cpg is now known as cpg|away
=== james is now known as Guest15651
=== mdeslaur_ is now known as mdeslaur
=== cpg|away is now known as cpg
=== plars_ is now known as plars
=== cpg is now known as cpg|away
tjaaltonany sru-team members around?04:53
=== cpg|away is now known as cpg
dholbachgood morning07:25
=== mcclurmc_away is now known as mcclurmc
=== yofel_ is now known as yofel
=== zya-afk is now known as zyga
slomoinfinity: gstreamer1.0 should build fine now (just uploaded -2)11:09
=== cpg is now known as cpg|away
=== mdeslaur_ is now known as mdeslaur
infinityslomo: Thanks!11:36
=== larsu_ is now known as larsu
=== mcclurmc is now known as mcclurmc_away
rbasakHow does one switch a package conffile from conffile to manually managed in maintainer scripts? Just doing it makes dpkg think that the file is obsolete after upgrade. dpkg-maintscript-helper seems relevant and mentions this case, but it doesn't seem to fit "removing a conffile" nor "moving a conffile" which seem to be the only two cases documented.12:10
Sweetsharkseb128: for bug 1034558 and bug 1034560 we need to prepare an LO upload soon.12:15
ubottuLaunchpad bug 1034558 in pentaho-reporting-flow-engine (Ubuntu) "[MIR] libbase-java, libsac-java, libxml-java, libflute-java, libpentaho-reporting-flow-engine-java, liblayout-java" [Undecided,New] https://launchpad.net/bugs/103455812:15
ubottuLaunchpad bug 1034560 in libserializer (Ubuntu) "[MIR] libloader-java, libformula-java, librepository-java, libfonts-java, libserializer-java " [Undecided,New] https://launchpad.net/bugs/103456012:15
seb128Sweetshark, don't you plan to upload 3.6 soon anyway? :-)12:18
=== _salem is now known as salem_
Sweetsharkseb128: yes, I have that one ready. Should I just give you one for uploading? the components mismatch will go crazy, but better now than two days before ff, right?12:22
seb128Sweetshark, how come we won those depends between rc3 and stable?12:25
=== mcclurmc_away is now known as mcclurmc
=== zyga is now known as zyga-afk
Sweetsharkseb128: bug 99223212:56
ubottuLaunchpad bug 992232 in libreoffice (Ubuntu) "no libreoffice-report-builder in precise" [Undecided,Fix released] https://launchpad.net/bugs/99223212:56
seb128Sweetshark, seems like we could do longer without it and should not block 3.6 on that?12:57
Sweetsharkseb128: you mean no reportbuilder in quantal main?12:58
seb128Sweetshark, was it in precise main?12:58
Sweetsharkseb128: no but they bitched me in doing an extra ppa rebuilding full LibreOffice only for this small extension13:00
seb128Sweetshark, well, it's not a regression then, I would recommend you keep it off until the MIRs are resolved13:00
seb128or check with the MIR team if they can review,approve that stack soon13:01
SweetsharkIIRC there was at least on of those packages needlessly using crappy maven ...13:02
seb128Sweetshark, so please keep that off13:03
Sweetsharkseb128: k13:05
Sweetsharkseb128: I dropped a note in the bug.13:06
seb128Sweetshark, thanks13:07
=== zyga-afk is now known as zyga
=== james is now known as Guest53826
=== Quintasan_ is now known as Quintasan
=== dendro-afk is now known as dendrobates
stokachustgraber: i got that mp updated with changelog and posted rdeps testing to bug, if you get a chance today could you give it a lookover?14:11
xnoxmicahg: http://people.canonical.com/~ubuntu-archive/transitions/sqlite.html14:13
xnoxmicahg: 37 packages should drop build-deps? 245 are still to fix?14:14
stgraberstokachu: can you paste me that URL again?14:19
stokachusure14:19
stokachustgraber: https://code.launchpad.net/~adam-stokes/ubuntu/quantal/gnome-vfs/lp977940-multiarch/+merge/11425814:20
rbasakHow does one switch a package conffile from conffile to manually managed in maintainer scripts? Just doing it makes dpkg think that the file is obsolete after upgrade. dpkg-maintscript-helper seems relevant and mentions this case, but it doesn't seem to fit "removing a conffile" nor "moving a conffile" which seem to be the only two cases documented.14:27
=== dholbach_ is now known as dholbach
=== doko__ is now known as doko
Peace-hi14:45
Peace-why in the world if i install ffmpeg i get ffmpeg from libav that is deprecated?14:46
rbasakogra_: ping14:46
Peace-my software are all messed up14:46
ogra_rbasak, on the phone atm ...14:46
rbasakogra_: ok, np14:47
rbasakogra_: for when you're done... I think your recent flash-kernel changes might have caused a regression14:47
infinityPeace-: Since when is libav deprecated...?14:47
Peace-infinity:14:47
Peace-ffmpeg version 0.8.3-4:0.8.3-0ubuntu3, Copyright (c) 2000-2012 the Libav developers14:47
Peace-  built on Jul 30 2012 22:10:17 with gcc 4.7.114:47
Peace-*** THIS PROGRAM IS DEPRECATED ***14:47
Peace-This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.14:47
infinityPeace-: Yes... And?14:48
Peace-infinity: and it doesnt work at all14:48
infinityPeace-: ffmpeg is deprecated, not libav.14:48
Peace-infinity: really ? i can compile ffmpeg14:48
Peace-why i have to be forced to use avconv?14:48
rbasakogra_: I've filed bug 1035269 - please could you take a look when you can?14:49
ubottuLaunchpad bug 1035269 in flash-kernel (Ubuntu) "highbank quantal installer regression" [Undecided,New] https://launchpad.net/bugs/103526914:49
Peace-i think the guys i have made this shit is very stupid , if you like use avconv but you should not force people to use it instead of ffmpeg that is currently developed14:51
Peace-then when yoi install ffmpeg14:51
Peace-you get that is not ffmpeg14:51
infinityPeace-: Take it up with libav/ffmpeg upstream.  And please keep the anger and profanity to a minimum.14:52
Peace-infinity: ffmpeg is developed14:52
Peace-so it's not a ffmpeg issue14:52
Peace-but a distro issue14:52
Peace-and there is no way to get the real ffmpeg on ubuntu right now14:52
Peace-you have to git clone and compile it14:52
rbasakIsn't that decision made by debian and not ubuntu?14:53
Peace-debian is ubuntu  ?14:54
Peace-at least someone should provide a ffmpeg version on ubuntu14:54
rbasakubuntu is derived from debian.14:54
Peace-so it's not debian14:55
Peace-i use ubuntu , so i ask in the ubuntu channel14:55
Peace-really i use kubuntu but this is a shell program btw14:55
rbasakYour request to do something different in Ubuntu than Debian is valid, but I'm not sure it's worth maintaining such a big difference from Debian over this.14:56
ScottKPeace-: When I suggested you ask here, I was anticipating you'd do it more politely and productively.14:56
rbasakSince any difference needs to be supported and maintained.14:56
Peace-ScottK: i have lost hours to do my software14:56
ScottKAnd since the people who do the maintenance work on both distros are the same people, it'd be really odd for them to change.14:57
Peace-and now i find out that there is no way for users to get the ffmpeg14:57
Peace-and here they are saying to ask to debian ?14:57
Peace-bah14:57
ScottKPeace-: I understand frustration, but incivility is not productive.  It doesn't help solve your problem.14:57
rbasakYou'd need to achieve consensus about this kind of change before it'll happen. The people with the biggest voices are the people who actually do the maintenance work.14:57
ScottKPeace-: I think what you ought to do is figure out how to support both libav and ffmpeg.  The reason I suggested talking to siretart is he might have a suggestion on how to go about that.14:58
Peace-ScottK: incivility is to say it's not an ubuntu issue14:58
Peace-or if i have a problem i should ask to debian devel14:59
ScottKIt's not an area we're likely to diverge from Debian on.14:59
rbasakI did not say that it's not an Ubuntu issue. I said that the primary decision is made on Debian, and for Ubuntu to diverge is exceptional.14:59
rbasak(and unlikely)14:59
Peace-you have not to diverge , there is ffmpeg => install ffmpeg , you wann avconv install avconv14:59
Peace-but here if you install ffmpeg you get avconv 0_015:00
infinityIt's not that simple, with the switch to libav as a backend provider.15:00
infinityThough, I'm sure there are ways to make ffmpeg and libav coexist in peaceful harmony, no one's put that work in, that I know of.15:01
ChipzzPeace-: from the looks of it you get a malfunctioning ffmpeg, but you don't get avconv?15:01
rbasakI understand your frustration, but the primary place to fix it on Debian, since most changes on Debian propogate to Ubuntu (and I think this would), and we try to stay as close to what Debian do as possible.15:01
siretartPeace-: the 'ffmpeg' package in ubuntu exists only for transitional to help programs that are already in ubuntu. it will go away in the near future15:01
Chipzzsiretart: was there a transitional period were ffmpeg simply emitted a warning instead of not working? or is that what it currently does?15:02
Peace-rbasak: i don't think i can get any support in debian btw15:02
Peace-Chipzz: it works but doesn't recognize some options15:03
Peace-it's a complete mess15:03
siretartChipzz: no, it does not.15:03
=== dendrobates is now known as dendro-afk
ChipzzPeace-: I don't know how it was lately, but ffmpeg has never been known for their stable API. maybe this is a problem with upstream instead of with ubuntu?15:03
siretartChipzz: it simply did not receive any updates. this was done to ensure that *existing*, packaged programs break15:04
Chipzzsiretart: wait, am I reading this right? you want to ENSURE breakage?15:04
vibhavAre there any *easy* "C oriented" bugs that one can help in Ubuntu?15:04
siretartChipzz: the ffmpeg program nowadays received a number of command line updates that requires changes to existing programs that we package. it's all about compatibility15:04
siretartsorry15:05
Peace-siretart:  Chipzz [mpeg2video @ 0x8558e60] Unable to parse option value "mv0"15:05
siretartChipzz: it simply did not receive any updates. this was done to ensure that *existing*, packaged programs *do not* break15:05
Peace-and that string worked before15:05
Chipzzah, ensuring breakage would be quite baffling15:05
Peace-anyway15:05
siretartPeace-: this is not the best place to discuss individual bugs.15:05
ChipzzPeace-: the ffmpeg maintainers were infamous for breaking stuff in the past. who's to say the problem isn't upstream?15:06
Peace-Chipzz: the main stuff has always worked15:06
ChipzzPeace-: from what I understand of this discussion, there's 2 issues: a) ffmpeg breaking some command line options and b) ffmpeg being deprecated and ubuntu *WARNING* about that15:07
mptvibhav, <https://bugs.launchpad.net/ubuntu/+bugs?field.tag=bitesize> is a list of bugs that have been marked as easy. I don't know of any simple way of telling which packages are written in C and which aren't.15:07
Peace-no the issue it's that i want ffmpeg instead i get another stuff15:07
ChipzzPeace-: not 100% sure I'm getting this right, but I don't think the warning causes the breakage15:07
ChipzzPeace-: no you didn't. you got a version of ffmpeg where a couple of options have been broken15:08
Peace-you can joke as you want15:08
vibhavmpt: let me see15:09
ChipzzI'm not joking. you however are misstating the facts15:09
Peace-but the stuff it's this change in this section is a very mess15:09
mptvibhav, but once you have bzr installed, "bzr branch lp:ubuntu/name-of-package" will get you a copy of the package to look for yourself.15:09
vibhavmpt: yeah, I know that :)15:09
mptok :-)15:09
ogra_rbasak, hrm, you dont use normal server images i guess ... good catch, the diversion should actually only show up when live installer is used ... seems it doesnt15:09
rbasakogra_: thanks, shall I leave it with you?15:10
rbasakogra_: you can reproduce on highbank in our lab15:10
rbasakogra_: or me or mahmoh can test for you if you like15:11
ogra_rbasak, err, wait, flash-kernel-installer actually removes the diversion before running15:11
cjwatsonogra_: the diversion ought to work with or without live-installer - that was certainly my intention when I suggested this approach15:11
ogra_(and i see it doing that properly in your syslog15:11
ogra_)15:11
rbasakI can't figure out why update-initramfs does nothing, or whether the kernel postinst ends up not calling it15:11
ogra_cjwatson, yeah, i was mislead, its all fine on the flash-kernel side15:11
rbasakEither way, it doesn't seem to end up running15:11
ogra_Aug 10 14:34:06 in-target: Can't find /boot/vmlinuz-3.5.0-9-highbank or /boot/initrd.img-3.5.0-9-highbank15:12
ogra_Aug 10 14:34:06 flash-kernel-installer: error: flash-kernel failed15:12
cjwatsonrbasak: the intention is for it to do nothing until the installer is ready for it to do something15:12
ogra_i would assume this is the reason15:12
rbasakogra_: the reason is far above that15:12
cjwatsonrbasak: no15:12
rbasakno?15:12
rbasakAt the stage that flash-kernel runs, the initrd doesn't exist15:12
cjwatsonrbasak: the behaviour at the base system installation step is intentional15:12
cjwatsonthe initramfs is supposed to be generated later15:12
rbasakcjwatson: ok, understood15:13
rbasakat what point should it be generated?15:13
ogra_i guess f-k-i should run update-initramfs before running flash-kernel here15:13
cjwatsonright about the point that it's failing15:13
ogra_(or not run f-k at all and just raly on the trigger)15:13
ogra_*rely15:13
cjwatsonogra_: agreed, it should run update-initramfs I think15:13
rbasakSo it's still a bug in flash-kernel?15:13
cjwatsonrbasak: yes15:13
ogra_rbasak, right, just in a different place15:14
cjwatsonogra_: well, it may need to think a bit to work out which kernel to run u-i for15:14
cjwatsonsince I suspect -u won't work, as there's no initramfs yet15:14
ogra_right, but there will only be one kernel15:14
rbasakYes - I tried -u manually after the install failed, IIRC.15:14
ogra_and it has version detection code15:14
cjwatsonah, of course, I had seen15:14
cjwatson                in-target update-initramfs -u || true15:15
ogra_update-initramfs -c && flash-kernel i guess ...15:15
cjwatsonand forgotten that that would now be insufficient15:15
cjwatsonI think you should amend that line to check for the no-initramfs-yet case15:15
ogra_(-c doesnt call the hook (upstream decision))15:15
rbasakI'm at the failure point now, I can easily test something15:15
rbasakOne question: can I get in-target to print output to the console? It redirects to syslog it seems right now15:15
cjwatsonflash-kernel-installer.postinst already takes care of running flash-kernel later, so I don't think you need to worry about whether the hook is called or not15:16
ogra_ah, yeah15:16
cjwatsonrbasak: for all the stuff here, you can just run chroot /target ...15:16
ogra_(the above was from top of my head)15:16
rbasakcjwatson: that's what I did but then it complains about /sys, so I had to bind mount that15:16
rbasakI'll do that :)15:16
cjwatsonrbasak: although you can use in-target --pass-stdout15:16
cjwatsonwhich is the direct answer to your question15:16
rbasakin-target --pass-stdout update-initramfs -u returns nothing15:17
rbasakbut doesn't create the initrd15:17
cjwatsonI wouldn't expect it to15:17
ogra_you need -c and the version15:17
rbasakright15:17
ogra_in-target --pass-stdout update-initramfs -c $(uname -r)15:17
cjwatsonWith -v, it would say "Nothing to do, exiting."15:18
mahmohwell, a link to the non-existent initrd is created15:18
rbasakhttp://paste.ubuntu.com/1139416/15:18
argesmicahg, hello. I think I have a backport bug properly formatted, was wondering if you could take a look at pad.lv/943502 to see if this can be put into the queue. thanks15:18
ogra_rbasak, try -c -v15:18
rbasakogra_: no joy: http://paste.ubuntu.com/1139424/15:19
cjwatsonthink you need -k $(uname -r)15:20
ogra_oh ... yeah15:20
ogra_or -k all15:21
rbasakin-target --pass-stdout update-initramfs -c -v -k $(uname -r) worked15:21
ogra_-k all should actually be fine so we dont need to rely on versions in that call and leave it to u-i15:21
rbasakAgreed - but to test I'll want to redo the test from scratch15:22
ogra_do that :)15:22
rbasakI'm on it :)15:22
ogra_though its really intresting that apparently -u behavior changed15:23
ogra_in the past it just created one as if you had called -c15:23
rbasakIt was news to me that -u even existed, but I might be misremembering15:24
ogra_-u is used since forever15:24
rbasakIIRC I just ran update-initramfs and it updated it as per the name15:24
cjwatsonupdate-initramfs -u has been there forever, and I'm not sure I agree with ogra_'s recollection :)15:24
ogra_cjwatson, i know i could use it with just -u in lucid at least15:24
ogra_it behaved like -c -k all15:24
* rbasak clearly doesn't run update-initramfs very often15:25
ogra_(that was always my workaround for upstream refusing to call triggers from -c)15:25
cjwatsonjust looking at the oldest version I can find and I don't see this15:25
cjwatsonare you absolutely sure that in such cases an initramfs didn't exist already?15:25
ogra_not absolutely, no15:26
cjwatsonupdate-initramfs -u has always picked one of the currently-existing initramfses to update if not told explicitly (exactly which one it picks has changed), but I don't see that it ever updated all of them15:27
mahmohcjwatson: quick ?: do you know of a way to force patman's last partition to a fixed size - avoid filling the disk?15:28
cjwatsonmahmoh: you must create a dummy partition at the end, and then remove it in a manner of your choice at the end of install (preseed/late_command or whatever)15:29
cjwatsonthere is no way to do this natively in partman, I'm afraid15:29
cjwatsonI mean, without such a hack15:29
ogra_cjwatson, oh, i didnt say that, i said it created one if there wasnt one15:29
cjwatsonogra_: I looked at the version in lucid and don't see that :)15:29
mahmohcjwatson: thx, just confirming the hack I guess :) :(15:29
ogra_cjwatson, hmm, that one has set_initramfs() ?15:30
cjwatsonogra_: after the [ -z "${version}" ]15:30
ogra_it might have been a bug that it did create them but i'm pretty sure i used -u to create one for ac10015:30
* ogra_ also remembers that he was wondering for years why -c exists 15:31
mahmohcjwatson: what's a reliable way to remove a partition from the installer env?15:34
rbasakparted /dev/sda rm 4? But it's not in the installer and I'm not sure sfdisk is either15:35
cjwatsonyeah it is15:35
cjwatsonanna-install parted-udeb15:35
cjwatsonand then, yes, you probably want to use parted for this; it will involve accurately predicting the disk name and partition number I'm afraid15:36
mahmohcjwatson: thx15:37
rbasakparse /target/etc/fstab, perhaps?15:38
rbasakBut a bit horrible to detect UUID= and LABEL= and I have no idea if /dev/disk/by-uuid will exist15:38
cjwatsonYou probably don't want the dummy partition to be in /target/etc/fstab15:38
cjwatsonSince you wouldn't want to give it a mountpoint15:38
rbasakI was going to look for another partition that is mounted on the same target disk15:39
cjwatsonAh, yeah, could do.  /dev/disk/by-uuid/ will exist15:39
cjwatsonMight be easier to just df /target or something15:39
rbasakGood point15:39
cjwatsonOr grep ' /target ' /proc/mounts15:39
mahmohif by-label exists I can just use that15:40
cjwatsonWhatever the syntax is15:40
cjwatsonby-label exists15:40
mahmohsweet15:40
cjwatsonEr, I'm not sure partman lets you assign labels though?15:41
mahmohit does15:41
mahmohlabel{ DELETEME }15:42
cjwatsonAh yes15:42
cjwatsonHidden off in the per-fs code so I didn't notice it15:42
rbasakGood news, everyone! http://paste.ubuntu.com/1139467/ - "in-target --pass-stdout update-initramfs -c -k all" works as expected.15:43
cjwatsonLose the --pass-stdout for production code of course15:45
cjwatsonIs it intentional that there's no suffix on the initramfs there?15:45
* cjwatson doesn't know the subarch configuration here15:45
rbasakI'm not sure what you mean. But something didn't work. I see an initrd in /target/boot, but the installer still fails, which it didn't do last time15:46
rbasakErr, no it didn't create an initrd. I saw the vmlinuz-... and assumed15:47
rbasakIt does return exit status 0 though15:47
argeshello. whats the process to get a new package added? looking to get a version of libhugetlbfs in lucid. i see its in natty onwards (and it cleanly can be built with backportpackage)15:47
rbasakWith -v, "Nothing to do, exiting."15:48
rbasakSo the only known way right now is with -k $(uname -r)15:48
rbasak"The use of "all" for the version string specifies update-initramfs to execute the  chosen  action  for all kernel versions, that are already known to update-initramfs.". I suppose update-initramfs doesn't yet know about this kernel, so we do need to use -k $(uname -r)?15:49
rbasakarges: do you know about https://wiki.ubuntu.com/UbuntuBackports?15:50
argesrbasak, yea I was going to do a backport... but the package doesn't exist in lucid at all... wasn't sure of the right path15:50
argeslooks like the code hasn't changed in a while, as all version from natty->quantal are the same15:51
rbasakI think that's OK but I'm not sure15:51
stgraberstokachu: your branch is based on the wrong bzr branch. As that's a desktop package, the base is lp:~ubuntu-desktop/gnome-vfs/ubuntu15:51
stgraberstokachu: the diff applies cleanly on it, so I'm just going to merge it into that one for you15:51
rbasakogra_: ^^15:51
=== dendro-afk is now known as dendrobates
ogra_rbasak, hmpf, i just uploaded with -k all15:52
rbasakogra_: sorry15:52
ogra_rbasak, did you start the install from scratch fixing f-k-i before you did hit the error ?15:53
ogra_i know sometimes there are bindmounts of dev sys and proc in /target after an error occured that can make the installer fall over15:54
rbasakogra_: I reinstalled from scratch, hit the error, and then -k all doesn't create the initrd even though I said it did earlier because I didn't look carefully (sorry).15:54
rbasakI did only in-target --pass-stdout update-initramfs -c -k all15:54
rbasakLast time, it did work with -k $(uname -r)15:54
rbasakI can reinstall from scratch again if you like to verify and make certain? It's all scripted so isn't any trouble, just takes half an hour15:55
ogra_rbasak, if you could inject the fix before it errors, that would be good15:55
rbasakogra_: at what stage exactly?15:56
ogra_i dont see a reason why all wouldnt work15:56
rbasakWe did just enable ssh so I can do that15:56
ogra_any stage before f-k-i gets called15:56
ogra_just to avoid it hitting the error15:56
rbasakOK but after the kernel gets installed I presume15:56
rbasakWe have remote syslog working too so I should be able to manage that15:57
ogra_indeed :)15:57
rbasakJust to be sure, you mean to ssh and try "in-target update-initramfs -c -k all" after kernel install and before f-k-i?15:57
ogra_well, you will just edit f-k-i.postinst i guess15:57
ogra_you shoudl be able to do that at any time once the f-k-i.udeb is in place15:57
rbasakWith -k all or -k $(uname -r)?15:58
stgraberstokachu: uploaded to quantal15:58
ogra_doesnt matter if teher is a kernel already ... as long as the fix and kernel are there if it gets executred :)15:58
ogra_rbasak, -k all please15:58
rbasakogra_: any particular place in the postinst?15:59
ogra_we know that $(uname -r) works, but update-initramfs has its own version detection logic i would like to use instead of hardcoding for the boot kernel d-i uses15:59
stokachustgraber: thanks15:59
ogra_rbasak, http://paste.ubuntu.com/1139494/15:59
rbasakogra_: right15:59
ogra_rbasak, in the fs you will find it in /var/lib/dpkg/info/flash-kernel-installer.postinst16:00
rbasakogra_: thanks16:00
ogra_(and you have to use nano, no vi in d-i)16:00
rbasakaargh16:00
rbasakThat might be tricky16:00
* rbasak will see what he can do :-)16:00
ogra_haha, nano isnt that bad :)16:01
ogra_(i agree its not fun either)16:01
stokachustgraber: https://bugs.launchpad.net/ubuntu/precise/+source/libart-lgpl/+bug/977964 i think this one is ready to go as well16:02
ubottuLaunchpad bug 977964 in libart-lgpl (Ubuntu Precise) "Please transition libart-lgpl to multi-arch" [Medium,In progress]16:02
* rbasak considers submitting a vi udeb16:03
stgraberstokachu: ok. I'll push gnome-vfs and that one to precise-proposed then16:05
stgraberstokachu: gnome-vfs should be identical to the quantal upload I just did right? (except for the release and pocket)16:05
stokachustgraber: exactly16:05
stgraberstokachu: ok, gnome-vfs uploaded to precise-proposed then16:06
ogra_rbasak, i would be surprised if cjwatson didnt acutally have a vi.udeb given he is an extensive user ;)16:06
stokachustgraber: sweet :D16:06
cjwatsonogra_: you'd be surprised, then :)16:08
cjwatsonI do use vi extensively but I have to cope with minimal environments often enough that I've learned to (barely) tolerate nano16:08
ogra_heh16:09
rbasakSo my first nano problem isi that I didn't know how to jump to line 71, so I hope I've applied ogra's patch in the right place :)16:09
* rbasak grepped the file afterwards to make sure16:09
rbasakChange injected, now waiting for the install to finish16:09
ogra_there is only one actual update-initramfs call in the script16:09
ogra_(the second mentioning is a comment)16:09
ogra_as long as the line you changed ends in || true ... all is fine16:10
rbasakYeah that what the grep was for - to check :)16:10
rbasakhttp://paste.ubuntu.com/1139512/16:10
cjwatsonI occasionally use extremely obscure sed invocations instead of nano16:10
* rbasak did consider that just now16:10
rbasakI wonder if there's a patch to sed converter16:11
stgraberstokachu: debdiff in the libart bug isn't up to date. Can you attach one with the bug reference?16:12
stokachustgraber: instead of the MP?16:13
stokachuill do whatever you prefer16:13
stgraberstokachu: oh, I missed that it had a MP16:14
stgraberstokachu: sorry, will use that then16:14
stokachustgraber: thats cool i just linked the related branch a min ago into the bug16:14
ScottKcyphermox: re Bug #1030316 - Postfix upstream has already decided it's the client's responsibility to convert the domain to punycode, so if it stays a postfix but, I'll have to mark it wontfix.  I think it should stay with evolution, but didn't want to just revert your change without discussing.16:14
ubottuLaunchpad bug 1030316 in postfix (Ubuntu) "evolution don't hadle IDN-Mail adresses" [Undecided,New] https://launchpad.net/bugs/103031616:14
ogra_rbasak, heh so instead of changing the existing call you added an update-initramfs call16:14
ogra_shouldnt do any harm though16:14
rbasakogra_: really?16:15
rbasakogra_: I don't see it16:15
ogra_you seem to have edited around line 3016:15
stokachustgraber: shit i didnt update my maintainer email for that changelog16:15
stokachulol16:15
ogra_the actual call is around line 7416:15
stgraberstokachu: that's fine, I fixed it ;)16:15
stgraberstokachu: you also forgot to run update-maintainer and the version should have been ubuntu0.116:16
ogra_or your serial output simply messed it up or so16:16
stokachustgraber: or update-maintainer16:16
stokachustgraber: err yea you got it faster than me16:16
rbasakI did it via ssh16:16
rbasakhttp://paste.ubuntu.com/1139512/16:16
stgraberstokachu: resulting debdiff, let me know if that looks good: http://paste.ubuntu.com/1139518/16:16
stokachustgraber: lol thanks i rushed it16:16
stokachustgraber: looks good16:17
stgraberuploaded16:17
stokachuyou da man16:17
stokachustgraber: do these MP's automatically get flagged as uploaded16:17
stokachuor is it still a manual process16:17
rbasakogra_: AFAICT the edit I intended is consistent with the grep output16:18
rbasakThough I admit I have no idea what line number I edited since I presume ^G doesn't work in nano!16:18
cjwatson^C16:19
rbasakthanks16:19
rbasakLine 74 then16:19
ogra_oh16:19
stgraberstokachu: hmm, nope. Let me mark it as merged16:19
ogra_sorry, blind me i didnt get thats a grep16:20
ogra_i cought that was a copy/paste from your nano session16:20
rbasakAh16:20
stgraberstokachu: they get marked as merged automatically when they are actually merged. Which isn't the case for these ubuntu-desktop branches or for SRUs16:20
ogra_so it looked pretty weird how the functions were suddenly merged into one :P16:20
rbasakNo - I just did the grep to make sure there weren't any other similar occurrences because I didn't know what line number I was on16:20
rbasaktell you what:16:21
rbasakf5cbd5a8ff6202eca1a28187138d9e96  flash-kernel-installer.postinst16:21
rbasak:)16:21
ogra_heh16:21
rbasak"Making the system bootable"16:22
ogra_ogra@anubis:~/Devel/packages/flash-kernel-3.0~rc.4ubuntu18$ md5sum debian/flash-kernel-installer.postinst16:22
ogra_f5cbd5a8ff6202eca1a28187138d9e96  debian/flash-kernel-installer.postinst16:22
ogra_:)16:22
rbasak33%16:22
rbasak!! ERROR: Installation step failed16:22
ubotturbasak: I am only a bot, please don't think I'm intelligent :)16:22
rbasak:-(16:22
ogra_rbasak, syslog please16:23
rbasakon its way16:23
ogra_thx16:24
stokachustgraber: ok cool16:25
rbasakogra_: http://paste.ubuntu.com/1139531/16:25
bkerensabzr: ERROR: These branches have diverged.  See "bzr help diverged-branches" for more information.16:26
bkerensaNo branches have diverged?16:26
ogra_rbasak, i dont see it running at all16:26
rbasakogra_: line 3017?16:27
ogra_thats the fallout16:27
rbasakwell with -k all, it doesn't produce any output16:27
rbasaksince it considers there to be nothing to do16:27
rbasakwhich we see if we add -v. Is this what you mean?16:28
ogra_hmpf, ok, i'll switch to $(uname -r)16:28
rbasakok16:28
ogra_uploaded16:30
rbasakogra_: thanks! sorry for the extra upload16:30
ogra_well, i still would like to have -k all working ... but thats for later :)16:31
stokachucjwatson: any feedback on latest comment on https://bugs.launchpad.net/ubuntu/+source/netcf/+bug/90401416:34
ubottuLaunchpad bug 904014 in netcf (Ubuntu Quantal) "[MIR] netcf" [Medium,Fix released]16:34
rbasakOK :)16:34
rbasakEOD16:34
cjwatsonstokachu: I've followed up16:37
cjwatsonstokachu: make sense?16:38
stokachucjwatson: i think so :)16:39
stokachucjwatson: i think there is a huge user base that would benefit from having precise updated , at least by this bug https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/52038616:40
ubottuLaunchpad bug 520386 in libvirt (Ubuntu Quantal) "libvirt-bin hypervisor does not support virConnectNumOfInterfaces / unable to create domain with virt-manager using network bridge" [High,Fix released]16:40
cjwatsonstokachu: although I'm on ubuntu-sru, I don't do a whole lot of SRU processing in practice, so in this case I'm probably not the one you need to convince16:44
cjwatsonstokachu: for the purpose of this bug I'm basically the archive robot16:44
cjwatsonstokachu: have a look through https://wiki.ubuntu.com/StableReleaseUpdates and see if you can come up with a justification that matches the "When" section there16:45
=== dendrobates is now known as dendro-afk
cyphermoxScottK: np.16:47
ScottKcyphermox: I'll switch it back then.16:47
cyphermoxI'll ship that upstream16:47
ScottKUpstream evolution, right?16:47
cyphermoxyeah16:47
ScottKcyphermox: Here's a reference: http://tech.groups.yahoo.com/group/postfix-users/message/26601816:47
ScottKThe poster is one of the two main postfix devs.16:48
cyphermoxalright16:48
ScottKThanks.16:49
=== dendro-afk is now known as dendrobates
cyphermoxScottK: are you switching it back to evolution?16:50
ScottKI will.16:50
ScottKcyphermox: Done16:51
=== henrix_ is now known as henrix
=== mcclurmc is now known as mcclurmc_away
stokachucjwatson: ok will do, thanks for the tip17:02
micahgarges: you can't backport from quantal straight to oneiric, you can to backport through precise17:22
micahgarges: requestbackport in ubuntu-dev-tools will tell you what you need to do if you pass it the proper options17:22
argesmicahg, ok with this particular package i had to fix something with the debian/rules file upstream. that was fixed and put into quantal17:22
argesmicahg, so do I need to apply that fix to precise, then backport to oneiric?17:23
micahgarges: you can backport to precise and then oneiric, or SRU to precise if appropriate and backport that to oneiric17:24
argesmicahg, the change, btw, is to debian/rules because this package likes to check the version string and fail if it doesn't match. so I 'm guessing this is an SRU to precise to fix debain/rules rather than a backport17:27
micahgarges: right, I remember that17:32
micahgarges: so, the package currently in precise won't build if updated without this fix?17:33
argesmicahg, we can only backport from quantal because that version has the proper debian/rules version regexp17:34
micahgarges: right, but for oneiric, you can only backport from a pocket in precise, so, you have to get it there one way or another17:34
argesmicahg, ok so if i backport from quantal to precise. then i can backport the backport? : )17:35
micahgright :)17:35
argesokey dokey17:35
micahgarges: well, it ends up a no change backport from quantal, but you have to keep the upgrade path, that's the concept17:36
argesshould i make a new bug for this? or just use the existing one?17:36
micahgarges: 'requestbackport -d oneiric -s quantal whois'  might make it clearer what work needs to be done17:36
argesmicahg, also. the version string is 'whois_5.0.17' in quantal. the backportpackage appends ~series1  but shouldn't it append -ubuntu1~series1 ?17:37
micahgarges: it'll now be ~ubuntuXX.XX17:37
argesmicahg, ok i'll get that going then. thanks17:38
micahgarges: you can use backportpackage to test what the version will be17:38
micahgarges: actually, quantal has 5.0.1817:38
argesmicahg,  whois_5.0.18~precise1 is what it does17:41
micahgarges: you have an old version :)17:42
argesmicahg, i'm on my precise desktop... will move to quantal laptop17:42
micahgarges: I use the u-d-t PPA17:42
* micahg is still on precise17:42
argesmicahg, cool adding ppa now thanks17:42
argesmicahg, so there is a new naming convention for backports? the version regex i changed assumed the form -ubuntuX~series1  vs ~ubuntu12.04.1 ... so should I ask upstream guy to change the version string again (or ask that it be removed)? or is there a way I can patch debian/rules for  ubuntu?17:58
=== cpg|away is now known as cpg
cjwatsonthe new naming convention is ~ubuntu12.04.1 tc.17:59
cjwatson*etc.17:59
micahgarges: I thought we discussed making it more generic...17:59
cjwatsonuse quantal's requestbackport17:59
cjwatsonor backportpackage or whatever it is17:59
micahgarges: if it's that fragile, it's still broke IMHO17:59
argescjwatson, yes normally it would work, but for this particular package it has a regex that checks for the version string17:59
argesmicahg, yea I agree18:00
argestime to submit a patch18:00
cjwatsonwhat I mean is that if it's assuming the form ~ubuntu12.04.1 then it's correct (modulo fragility)18:00
cjwatsonit's not clear which side of your "versus" is which :)18:00
* cjwatson -> dinner18:00
Sweetsharkcjwatson: what was that magic source again I needed for async binary package copies?18:22
cjwatsonSweetshark: join the ~launchpad-beta-testers team and you can do it in the web UI18:39
cjwatsonSweetshark: https://blog.launchpad.net/general/beta-test-asynchronous-ppa-package-copies18:39
Sweetsharkcjwatson: done, thanks!18:39
cjwatsonjust another couple of bugs to fix (which shouldn't affect you) and I think we can roll that out to everyone18:40
Sweetsharkcjwatson: /me mumbles the inofficial libreoffice motto: "LibreOffice -- based on code breaking your toolchain since 1985"18:40
Sweetsharkcjwatson: lets see what injuries we can do to launchpad with this ultimate testcase.18:41
cjwatsonthe bugs I know about only happen if the copies fail for some other reason :)18:41
shadeslayercjwatson: kudos to the guys who implemented async copy18:49
cjwatsonshadeslayer: does it work well for you then18:51
cjwatson?18:51
shadeslayercjwatson: yep18:51
shadeslayerI need to try copying the entire kde binaries though ...18:52
cjwatsonoh good.  now if only I could reproduce the last bit of bug 1031092 in the test suite18:52
ubottuLaunchpad bug 1031092 in Launchpad itself "OOPSing PPA async copy shows no failure reason in web UI" [Critical,In progress] https://launchpad.net/bugs/103109218:52
cjwatsonI can make it happen in production, but ...18:52
shadeslayercjwatson: before async copying, the kubuntu team wrote scripts to copy entire releases from one ppa to another18:52
shadeslayerjust because lp went, "No, you're doing that wrong, it's 5 packages at a time"18:53
cjwatsonyeah18:53
cjwatsonyou can still use copy-package in lp:ubuntu-archive-tools if you prefer scripting to the web18:53
cjwatsonor indeed the Archive.copyPackage API call directly18:53
shadeslayeruh ok, I don't think anyone of us knew about copy-package ....18:54
* shadeslayer looks18:54
cjwatsonit's relatively new18:54
shadeslayerprobably why18:54
cjwatsonin fact part of the work in exposing this was to make Archive.copyPackage / copy-package work when the target archive is a PPA - that was previously disabled18:54
shadeslayerwe've had kcopypackage for about a year now I think18:54
shadeslayerah18:54
cjwatsondoes it use Archive.syncSource then?18:54
shadeslayerdon't know, I'll have to look18:54
cjwatsonno google hits for kcopypackage18:54
shadeslayerit's in kubuntu-dev-tools18:55
shadeslayerah it's kopypackages18:55
shadeslayercjwatson: http://paste.kde.org/53217818:55
cjwatsonRight, syncSource.  That used to be the only option18:56
shadeslayer target.syncSource, yeah, syncSource it is18:56
cjwatsonThat's the old synchronous interface18:56
shadeslayerah18:57
shadeslayerI guess we should just use copy-packages now18:57
cjwatsonYou can basically s/syncSource/copyPackage/ to get the async version of the API, though if you're happy with the web UI / other tools then you may not want to bother maintaining that script18:57
=== cpg is now known as cpg|away
cjwatsonsyncSource is vulnerable to timeouts on large packages, which you've probably noticed18:58
cjwatsonor possibly uploads that close lots of bugs, I forget18:58
lifelessthe latter18:58
shadeslayercjwatson: the problem with the web ui is that it's not viable when you want to copy an entire PPA18:58
shadeslayerso if the webui has a "Copy everything from this ppa to target ppa"18:58
shadeslayerthat would be awesome18:58
shadeslayer( that usually happens for every KDE release that we test build and backport )18:59
cjwatsonyeah, it would; I suggest filing a bug, as my work on this has largely been because it was getting in my way for other work :)19:00
cjwatsonin the meantime, that's totally scriptable19:00
shadeslayerwe just scripted it because we didn't expect it to be fixed soon enough19:00
shadeslayerfor that matter, querying lp for recipes times out as well19:00
cjwatsonI don't think anyone's filed this bug, so it's not on anyone's to-do list afai19:00
cjwatsonk19:00
shadeslayer( and a bug was filed for that as well )19:01
cjwatsonperhaps because the mere notion of copying an entire PPA was utterly blocked on bug 57545019:01
shadeslayerhmm .. will do tomorrow, too tired to do right now :)19:01
ubottuLaunchpad bug 575450 in Launchpad itself "Archive:+copy-packages nearly unusable due to timeouts" [Critical,In progress] https://launchpad.net/bugs/57545019:01
shadeslayer:D19:01
shadeslayer"This bug affects you and 13 other people "19:01
shadeslayerxD19:01
cjwatsonthe recipes timeout is presumably bug 100978719:01
ubottuLaunchpad bug 1009787 in Launchpad itself "timeout querying archives for recipes via API" [Critical,Triaged] https://launchpad.net/bugs/100978719:01
shadeslayeryep, that's the one19:02
cjwatsonwhich is probably beyond my SQL ability19:02
sveinseWhen preparing a new patch with quilt, do I always have to pre-declare (quilt add) which files I am about to change? It just feels so... cumbersome. I'd rather make quilt discover what I've done. (I'm a complete quilt noob)19:14
cjwatsonsveinse: 'quilt shell'19:17
jtaylorsveinse: use a proper vcs for that19:17
jtayloror that19:18
jtaylorI always forget quilt has that command19:18
cjwatsonquilt fold is handy too if you're integrating a patch from elsewhere19:18
sveinsejtaylor: yeah, I'm preparing a patch for an existing package, so vcs isn't really an option here19:18
cjwatsonbut quilt shell is the swiss army knife19:19
sveinseand I can emacs in it I guess then :P19:19
cjwatsonif your perversions lie in that direction19:20
sveinselol, yeah19:21
sveinseAre there any resources available to determine if a command name is available? Beyond apt-file which lists everything?19:42
roadmrHello! I need my application to somehow get notified when the user logs out, so it can clean up appropriately. What's the recommended way to do this?19:46
infinityroadmr: Trap SIGTERM and exit cleanly?19:49
roadmrinfinity: oh so I *do* get SIGTERM on logout? that's what I was expecting but a quick experiment (trap the signal, write a file) didn't turn out anything. I must be doing it wrong...19:51
* roadmr goes back to the drawing board19:51
infinityroadmr: Well, I don't know a ton about session management in the wonderful GUI world, but I assume all your children get a TERM, I can't see any other sensible way to do it.19:53
slangasekit depends19:53
slangasekyou might get TERM, you might get HUP19:53
slangasekyou certainly get a signal19:53
infinityslangasek: Randomly? :P19:53
slangasek*however*, if it's a shutdown, you might not get the opportunity to fully *process* that signal before the system cuts out from under you19:53
infinityThere's that, yes.19:54
infinityDepending on how many milisecond you need to sort out your business.19:54
slangasek(I'm not sure how good the handling here is in e.g., lightdm)19:54
roadmrslangasek: I'm less concerned about shutdowns (the app dies anyway) than about logout/login by the same user (app doesn't shut down, then complains it's already running, confused user)19:54
roadmrslangasek: btw thanks for the SIGHUP clue, I guess I should have looked at other signals before asking :/19:54
slangasekinfinity: "randomly" - depends on whether you're a child process of a shell for testing? :)19:55
infinityslangasek: If I am, my mother's been lying to me.19:55
=== yofel_ is now known as yofel
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
roadmrok so I registered a handler for all signals, then closed the session, and the handler seemingly didn't get called :/ so I wonder if maybe the applications get KILLed altogether :/20:38
dobeyif your application is a gui app, you probably get a SIGPIPE when X goes away20:41
roadmrdobey: ok, I'll try that20:44
slangasekroadmr: nothing should be using SIGKILL here20:45
slangasek... except the shutdown scripts at the very end20:45
roadmrslangasek: ok, good to know, that'd be a bit hard to handle :/20:46
slangasekSpamapS: heh, so systemd has its own version of bug #711635.  http://lists.fedoraproject.org/pipermail/devel/2012-June/169365.html20:50
ubottuLaunchpad bug 711635 in mysql-5.1 (Ubuntu Oneiric) "init: post-start can cause respawn to hang" [High,Triaged] https://launchpad.net/bugs/71163520:50
roadmrslangasek, dobey: oh, I'm an idiot, my signal handler was wrong. The application got SIGHUP when I closed the session. Sorry :/ now I know what i need to handle20:50
=== dendrobates is now known as dendro-afk
SpamapSslangasek: yeah looks identical really. I think the workaround we came up with is pretty decent considering.21:00
* slangasek nods21:01
=== dendro-afk is now known as dendrobates
=== JanC_ is now known as JanC
=== dendrobates is now known as dendro-afk
=== salem_ is now known as _salem
xnoxmicahg: thanks for fixing up the sqlite tracker22:32
micahgxnox: no problem, that list scared me :)22:33
xnoxmicahg: yeah it was scary to me as well. So did the regexp catch sqlite3 as well as sqlite, before you changed it?22:33
micahgxnox: yes22:33
xnoxmicahg: nice to know....22:33
micahg~ /sqlite/   matches anything with sqlite in it22:34
* micahg guesses his python-sqlite entry is redundant then :)22:34
micahgI'm glad to know negative lookaheads work :)22:35
* xnox 's head takes a few human seconds to parse lookaheads though22:36
micahgxnox: there's a performance penalty in general with them, but it seemed to make sense here22:38
xnoxmicahg: it's only a tracker =) but the green ones - means that it's spurious dependencies that can/should/must be dropped22:39
xnox?22:39
xnox(which verb do you choose?)22:39
micahgxnox: green is because good == true22:39
=== cpg|away is now known as cpg
xnoxmicahg: but the package is affected.22:39
xnoxmicahg: so why is it still listing sqlite2 build-deps22:40
micahgno, most likely if it's green, it means it's an alternate build dependency or not built on that arch22:40
xnoxok22:40
micahgxnox: hrm?  not understanding the question...22:40
xnoxit needs checking, in case if it's not an alternate build-dep, and we want to remove sqlite2 from the archive22:41
xnoxit will need fixing.22:41
micahglet me make it not show green...22:43
micahgxnox: ok, the next refresh should get rid of the green22:47
xnoxmicahg: great it will be unknown instead, perfect =)22:48
micahggrr...silly redundancy, we22:48
micahg*we'll just call it clarity :)22:48
cjwatsonSweetshark: so did your libreoffice copies work out?  I'm not seeing a record of them in the logs ...23:40
xnoxmicahg: but now we have a split between green and unknown! more information =)23:46
micahgxnox: hrm? looks fine to me23:47
micahgxnox: unknown stuff means no binary bad stuff, but possible build-depends bad23:48
xnoxmicahg: well gentle has alternative build deps and ends up build against sqlite323:48
xnoxmicahg: the rest, yes as you said23:48
micahgxnox: which is why it's good :)23:48
xnoxpreviously we had 6 green =) now we have 1 green and 5 investigations ;-)23:48
xnoxhence the comment "more information!" =)23:49
micahgwhich probably just means that --as-needed is doing its job and the build dependencies need to be updated23:49
* micahg -> off now until Sat night23:52
jocarterhave a good weekend micahg23:54

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