/srv/irclogs.ubuntu.com/2013/03/04/#ubuntu-motu.txt

cjohnston_Would someone take a look at python(3)-urwid with me.. I would like to request a merge, but I'm unable to figure out the delta and if it needs to be merged or if the delta can be removed and synced.00:26
=== cjohnston_ is now known as cjohnston
=== murthy is now known as murthy_
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== Logan_ is now known as Guest15281
=== Logan__ is now known as Logan_
dholbachgood morning08:06
gesergood morning08:24
=== almaisan-away is now known as al-maisan
=== zequence_ is now known as zequence
bdrungcjohnston: for what?11:52
cjohnstonbdrung: bug #113909712:16
ubottubug 1139097 in dh-make (Ubuntu) "Sync dh-make 0.62 (main) from Debian unstable (main)" [Wishlist,Fix released] https://launchpad.net/bugs/113909712:16
bdrungcjohnston: you're welcome :)12:35
jokerdinohey guys, our package, on the course of making it to the archive, seems to be stuck in the NEW queue. is there anything that can be done?13:00
tumbleweedjokerdino: Debian or Ubuntu's NEW queue?13:01
tumbleweedeither way, not much to be done, just sit back and wait13:01
jokerdinotumbleweed: the Ubuntu queue. it's been in the queue for a couple days now.13:01
tumbleweedjokerdino: reviewing new packages takes time13:02
jokerdinoah, I thought MOTU's review is enough?13:02
tumbleweedno. ftp-masters in Debian, and archive-admins in Ubuntu do a final review13:02
tumbleweedmostly checking that the package is distributable13:03
jokerdinoright then. i am just worried about the feature freeze deadline.13:03
tumbleweedit's in NEW before the freeze, so that's ok13:03
tumbleweedalso, sounds like the freeze may go away :P13:03
jokerdinohaha, i dont know13:04
jokerdinotumbleweed: also, i think you would be a good guy to bounce some stuff off.13:04
tumbleweedright now, I'd bet on it going away13:04
jokerdinothe package I am talking about is a unity tweak tool. the rolling release might break our package any time.13:04
tumbleweedthat's to be expected in any development release13:05
tumbleweedrolling just means the development release rolls for longer :P13:05
jokerdinofor another year or so.13:05
tumbleweedso, if it breaks, fix it ASAP13:05
jokerdinoso, in that case of breakage, will the review work fasteR?13:05
tumbleweedprobably not, but after several uploads, if your sponsors agree, you can apply for PPU rights13:06
jokerdinoactually, that's sorta what I have in mind.13:07
jokerdinothe rolling release idea got me confused13:07
jokerdinoand i think it is more than likely they will get on rolling.13:08
jokerdinothe discussion invitation seems namesake.13:08
foxx2morning all! does anyone here have any idea how to remove 'fuzz' from a quilt patch? im creating two patches, the first one applies fine, the second doesn't.. patch works outside of pdebuild, but not inside.. docs seem to suggest its due to fuzzing not being accepted in dpkg-source/dpkg-buildpackage.. but i cant seem to find anything that explains how to fix this problem.. any thoughts?13:08
foxx2(done the usual homework, my google-fu fails me this time)13:09
tumbleweedquilt push; quilt refresh (repeat for all patches)13:10
foxx2thanks - ah, i didnt do the push on each step, only the refresh. let me try that, sec13:10
tumbleweedsome may not apply with a push, then things get extra fun13:11
foxx2heh, im scared.13:11
foxx2tumbleweed: sadly that still failed :X if you have a moment, would you mind reviewing on pastebin? http://pastebin.com/ALJf6id1 - its got the command sequence i used, the output of pdebuild, and the patch contents.. ive tried so many combinations to make this work :/13:23
foxx2its not even a complex patch, its like 1 line lol13:23
foxx21 line patch on a 3 line file :X13:23
tumbleweedfoxx2: what's the output of debuild -S -uc -us13:31
tumbleweedalso, why are you using --include-binaries?13:31
foxx2same output.. include-binaries because otherwise it refuses to add the precompiled binary files :/13:32
tumbleweedwhy are you precompiling binary files?13:33
foxx2(just in case - http://pastebin.com/gtxDi8d4 )13:33
foxx2oh, its for an existing non-free software  called Atlassian Bamboo13:33
tumbleweedsure13:33
foxx2they dont give the source away :/13:33
tumbleweed--include-binaries is about modifications you've made to the source package, not the source you got from upstream13:34
foxx2ohhh13:34
tumbleweedthe manpage says: "Add all modified binaries in the debian tarball."13:34
foxx2okay that makes sense, i shall remove that thenm13:34
tumbleweedyes13:35
tumbleweedif you find yourself using it, you are probably doing something wrong13:35
foxx2sadly same hunk error still lol13:35
foxx2haha okay :)13:35
tumbleweedright, so it looks like dpkg-source thinks that you haven't got any patches applied13:35
tumbleweedtry quilt pop -a; then debuild -S ?13:35
foxx2was just aboutt o say, should i try pop - sec13:35
tumbleweed(I don't know why it thinks that, though because it should handle that situation)13:36
foxx2same - http://pastebin.com/qrAbENq213:36
tumbleweedbut if you quilt push, they apply?13:36
foxx2quilt push; quilt apply?13:37
tumbleweedquilt push -a13:37
tumbleweed(quilt doesn't have an apply command)13:38
foxx2odd that seems to have only applied 1 patch13:38
foxx2http://pastebin.com/5p1pYj0C13:38
tumbleweedoh, I think you misread they as then13:38
foxx2ahh sorry lol13:38
tumbleweedI thought you had two patches? I only see one there13:39
foxx2the fix-debian-target.patch doesnt seem to come up13:39
foxx2yeah lemme try pop again, sec13:39
foxx2okay there we go;13:39
foxx2http://pastebin.com/BXBGNB7k13:39
foxx2seems to apply without problem13:39
tumbleweedweird13:40
foxx2is this a common problem?13:40
tumbleweedno13:40
foxx2lol well thats just great.. anything i could look at that might assist in debugging? any verbose output or anything?13:40
foxx2not sure if this is relevant but13:41
foxx2 $ cat src/webapp/WEB-INF/classes/bamboo-init.properties.rej13:41
foxx2cat: src/webapp/WEB-INF/classes/bamboo-init.properties.rej: No such file or directory13:41
tumbleweedno, not relevant13:41
tumbleweedyou sure you haven't made any modifications to src/webapp/WEB-INF/classes/bamboo-init.properties that aren't represented in the patches?13:41
tumbleweedmy guess is that quilt is basing the patches against something that wasn't the original source13:42
tumbleweed(it backs up the original source to the .pc directory, when you quilt add a file, so that it can generate diffs)13:42
foxx2almost 100% positive.. i even did all this from hand 3 times in a row with no automation just to be sure13:42
tumbleweedso, try extract the upstream tarball in a new directory, copy your debian directory in, and see if the quilt patches apply13:42
foxx2okay 2 secs13:42
foxx2(ty for the help btw, much appreciated)13:43
tumbleweedslow day today (or I'm being lazy, or something) :)13:43
foxx2hmm, same thing.. (ls output + patch error) - http://pastebin.com/mBfdXf2G13:44
foxx2i did a fresh extract from the orig tar into a new dir13:44
foxx2cp -Ra the debian dir, etc13:45
tumbleweederr13:45
tumbleweedyour source package cotains a tarball?13:45
foxx2oh wait13:45
foxx2now we have something13:45
foxx2http://pastebin.com/MDfmqDRD13:45
foxx2now when i do push -a manually, it fails13:45
foxx2(i did pop before hand too)13:45
tumbleweedit looks like you are doing things in the wrong directories13:46
tumbleweedatlassian-bamboo-4.4.4.tar.gz should be called atlassian-bamboo_4.4.4.orig.tar.gz13:46
tumbleweeddebian should be inside atlassian-bamboo-4.4.413:46
foxx2ahhh, sorry yes i messed that up, let me try again, sec13:46
foxx2heh i think i know what i did wrong, 2 mins just testing now13:48
=== al-maisan is now known as almaisan-away
foxx2tumbleweed: it works! :) so here was the problem.. because the dir layout of the atlassian bamboo tar is a bit messy, i was making some changes to the folder structure AFTER creating the .orig.tar.gz file (so orig contained the old layout, but the extracted dir contained the new layout), which in my case, was renaming a root dir and moving all the contents inside to a dir called 'src/'..14:02
foxx2when running the patches on this dir it worked fine, but of course when pbuilder kicked in, it was using .pc, which threw up massive differences which it couldnt figure out (and rightly so)... the fix was to extract the tar, make the changes, create a new tar with this dir struct and rename to the appropriate .orig.tar.gz file, apply the usual patch structure, then it worked fine14:02
foxx2your original guess of "are you sure you havent changed anything" was correct :)14:03
tumbleweedI try and avoid repacking orig tarballs, unless I need to remove undistributable bits14:03
foxx2what if the original tarball changes its foldername on every release? i.e. inside the tar is SOFTWARE-VERSION.VERSION.VERSION14:04
tumbleweedif you do need to, I suggest automating it for next time (e.g. with a get-packaged-orig-source rule in debian/rules)14:04
tumbleweedit doesn't matter what the top level directory name in the tarball is14:04
foxx2oh holy shit, i didnt know about get-packaged-orig-source14:04
tumbleweed(as long as there is only one top level directory)14:04
tumbleweedfoxx2: there isn't, but it's the (semi-)standard name for a rule that does this14:05
foxx2ah14:05
foxx2go fundementally i need to change my approach on automating this.. got it14:05
tumbleweedeither automate, or don't repack14:05
tumbleweed(otherwise nobody else knows what's going on)14:05
foxx2well, at the moment im using a manual script that runs and automates all these steps, (including downloading the source, repacking, and executing the pbuilder stuff)14:06
foxx2should i really be shifting all that inside the actual debian rules?14:06
tumbleweedas it's a 3rd party thing maybe not. but for anything in the archive, I'd strongly suggest doing so - it's what people expect14:06
foxx2got it, yeah that makes sense because renaming a dir or moving a dir is just the same as making a change14:07
tumbleweedwe all have our own workflows for doing most of the things you mentioned14:07
foxx2and moving the dir struct without tracking it in the package, is just the same as making a change to the source instead of using a quilt patch, right?14:08
foxx2(i.e. if someone wanted to modify the package without this bootstrap script, its break)14:08
tumbleweedexactly14:08
foxx2makes sense - ty for the advice :)14:09
foxx2just found a good example of that method i think; http://anonscm.debian.org/viewvc/python-modules/packages/python-gd/trunk/debian/rules?revision=20305&view=markup14:25
foxx2seems clean14:26
tumbleweedyip, that's what I mean14:26
foxx2something that does confuse me slightly.. where is get-packaged-orig-source invoked?? i couldnt find any other mentioning of that name in any of the other files14:27
tumbleweedit'd be run by hand14:27
foxx2ahh14:28
foxx2make debian/rules get-packaged-orig-source ?14:28
tumbleweed(bzr-builddeb knows how to run it, too, if you keep your package in bzr)14:28
tumbleweedyes14:28
foxx2got it, so could just throw a Makefile into the root dir above debian/, and have make builddeb, that would execute the get-packaged-orig-source, and the pdebuild.. sound clean?14:28
tumbleweedno14:31
tumbleweeddh will see that makefile and try to use it14:31
foxx2even if its one dir above the debian dir? i.e.14:33
foxx2- /14:33
foxx2- /Makefile14:33
foxx2- /debian/rules14:33
foxx2oh wait, of course14:33
tumbleweedthat's where makefiles usually live :P14:33
foxx2haha yes, *doh*14:33
tumbleweedthis sounds like it's a personal script, it's nothing to do with teh package14:33
foxx2yeah, just a convinience script.. which should be kept outside of the package, right?14:34
foxx2(or at the very least, in another dir above that one14:34
tumbleweedyeah14:35
foxx2i gotta admit, this is all starting to look a lot cleaner now.. 90 degree learning curve, but its really quite nice14:35
foxx2a lot of those "wtf is this for" moments are now "ahh yes, now i see"14:36
tumbleweedgood ogood14:36
tumbleweedmake that, good good14:37
foxx2sorry, design question.. if the download stage relies on some messy shell script and python script.. is it acceptable to place those scripts into a subdir of the debian/ dir, and then call them from the debian/rules file?14:41
foxx2(in this case, a python script fetches the most recent release URL, then a shell script does a curl download and repacking)14:42
tumbleweedsure14:44
foxx2ty14:44
tumbleweedif uscan can't do it14:44
foxx2uscan.. *googles*14:44
foxx2oh nice.. tho im not sure it would be compatible.. atlassian expose a malformed JSON file, which has to be mangled and parsed to find the appropriate release URL14:45
foxx2d = f.read()14:46
foxx2d = json.loads(d[10:][:-1])14:46
foxx2d = filter(lambda x: x['platform'] == 'Unix' and x['type'] == 'Binary', d)14:46
foxx2v annoying14:46
tumbleweedright14:46
foxx2hmm i just thought, developers would most likely want the ability to specify the package they are about to compile... so it would make more sense to make this a configurable..14:58
foxx2the most sane approach for that would be to include a ./configure script right?14:58
foxx2i.e. ./configure; askes them for the version they wish to compile against, the configure script then stores this version number for the Makefile to use during make14:59
tumbleweedfoxx2: the get-packaged-orig-source you pointed at figured out the version you want from looking at debian/changelog14:59
foxx2(slightly off-topic from packaging)14:59
foxx2ahhhhh14:59
foxx2okay yes, now i see, so they just modify the changelog version number and it takes care of itself14:59
foxx2perfect, ty15:00
=== lynxman_ is now known as lynxman
foxx2hmm, is it normal for "quilt push -a" to have a return code of "2" even if it was successful?15:55
Laneysee "EXIT STATUS" in quilt's man page15:56
foxx2hmm, i dont seem to have EXIT STATUS in my man page :X lemme google sec15:57
foxx2checked 3 different sources for man quilt, nothing mentioning exit codes or exit status15:57
foxx2lol - https://lists.gnu.org/archive/html/quilt-dev/2013-01/txtJTixiCUfQ7.txt15:58
foxx2that'd be why15:58
foxx2only added in january :X15:58
foxx2there we go, that explains what exit code 2 is.. ty :)15:59
Laneywha16:00
foxx2gotta love reading documentation from patch files on dev trunk.. lol16:01
Laneyxnox: how come when I go to http://manpages.ubuntu.com/manpages/raring/en/man1/quilt.1.html I get redirected to .../precise/... (that's what happens if the release isn't found, for example 's/precise/laneyrules/')16:01
Laneydid oneiric and raring not get generated correctly?16:01
xnoxLaney: no idea. I only did a monkey patch, I may have gotten it wrong. And all I did was ask IS to deploy this and hope it works. I am not aware if there are funky deployments instructions to go with suite updates.16:04
LaneyBLAST!16:04
Laneykirkland: ↑ this is yours IIRC - can you help us?16:04
* xnox wonders if they are generated only once on deploy, as they previously were always generated post-release.16:04
foxx2lol did i just open a can of worms? sorry :X16:05
xnoxand hence are not cronned to be kept up to date?16:05
ogra_oh, fun so we'd have 2 years outdated manpages :)16:05
=== mapreri_ is now known as mapreri
=== jbicha_ is now known as jbicha
jtayloroO new mails in-devel 205 since yesterday? not even the worst threads on dd managed that :O17:33
ogra_heh17:34
tumbleweedno, I think mail from lists.ubuntu -> gmail jammed up a bit17:34
ogra_you should try ubuntu-users17:34
tumbleweedall the gmail users seem to have been complaininng, but there was actually very little discussion today17:34
ogra_at good times 300/day are normal there17:34
jtaylorI finally got the mail that started all17:39
jtaylorI wonder why it was delayed so much17:39
ogra_you are not the only one it seems17:39
ogra_someone complained last night too17:39
tumbleweedpresumably because the ubuntu lists have been fairly idle in recent months17:39
* ogra_ had all of them on time17:39
jtayloroh its l.u -> gmail, not other way round17:39
tumbleweedgmail rate-limits source IP addresses17:39
tumbleweedyeah, you guys were missing out on the fun17:40
kirklandLaney: howdy ... looking17:40
jtaylorand thunderbird marks the mail as scam :)17:41
jbichait's all part of the big Canonical conspiracy to pretend to have important conversation in the open ;)17:41
tumbleweednaah, it's all your fault for using proprietary e-mail services :P17:41
jtayloris there a good free one?17:42
tumbleweedgood question, probably not17:42
* tumbleweed runs his own17:42
jtaylorwhy did I add adt tests to all my stuff, now I actually have fix all the breakage ._.17:57
tumbleweed:P17:58
tumbleweedout of interest, how do you know they broke?17:58
jtaylorfrom the jenkins instance17:58
* tumbleweed finds running adt-run ultra-painful, and I don't go looking at that jenkins often17:59
jtaylorI have a more lightweight script17:59
jtaylorquite easy to use17:59
jtaylorusing chroots17:59
tumbleweedshare?17:59
jtaylorits super ugly :)18:00
tumbleweedin that case, make it beautiful first :)18:00
tumbleweedmaybe I should write myself one...18:00
jtaylorhttp://paste.ubuntu.com/5585766/18:00
jtaylorsadtrunner.py <dsc-file> <changes-file>18:01
jtaylormultiple test handling is not perfect it just installs all deps18:01
jtayloralso no restriction handling18:01
tumbleweedthat's not *super ugly, it seems sane18:01
jtaylorlook at the handling of stderr :)18:01
tumbleweedyeah, I'd be quite keen to run each set of tests in its own chroot18:01
tumbleweed*each test18:01
jtaylorI wanted to just remove the dependencies and run again, but didn't get it right on first try and haven't tried again18:02
jtaylorthere are probably still some remnants of the try in there18:02
jtaylorwhy does python-imaging in experimental behave different than raring?18:13
jtaylorImage.open("/usr/share/pyshared/scipy/ndimage/tests/dots.png") gives mode P, in debian it gives RGB18:13
jtaylorno relevant diff it appears, strange18:14
jtaylorpossibly because the image is compressed different in ubuntu?18:16
jtaylorindeed18:18
jtaylornice18:18
tumbleweedoh, on the samples?18:28
tumbleweedthat'd make sense18:28
jtayloranther issue found only by autopkgtest :)18:40
foxx2having a bit of trouble with pbuilder if anyone has a moment.. google fails me again.. seems to be an issue getting dependancies to work inside pbuilder.. see http://pastebin.com/seCdFU11 (at the bottom is the debian/control file, at the top is the pbuilder output)18:44
tumbleweedfoxx2: why do you want ia32-libs?18:45
tumbleweedfoxx2: if this thing is 32-bit only, just build it on i386 and be done. The i386 package can be installed on an amd64 machine thanks to multiarch18:46
foxx2ohhhh18:47
foxx2DIST=squeze ARCH=i386 pbuilder create - is that right?18:47
tumbleweedit looks like your pbuilder chroot didn't have i386 available as a foreign architecture (which is quite sane)18:47
tumbleweedyeah, for the common pbuilderrc18:48
tumbleweedexcept that squeeze doesn't support multiarch18:48
foxx2oh18:48
tumbleweedyour pastebin was a of a sid chroot18:48
jtaylorI recommend use DIST=stable  using names may cause cachers to collect data forever18:49
foxx2if i use ARCH=i386 DIST=stable to compile the package, i can still install the package on a squeeze distro right18:49
tumbleweedno, squeeze predates the multiarch work18:50
tumbleweedwhat I mean is, you can't istall i386 packages on amd64 squeeze installs18:50
foxx2got it.. so id have to somehow make my amb64 pbuilder environment work with the ia32-libs dependancy?18:51
tumbleweedyeah18:51
tumbleweedwhich it probably will for squeeze, but won't for sid18:51
foxx2im assuming that means ive gotta manually fudge the /etc/apt/sources.list in the chroot??18:52
tumbleweedno18:53
tumbleweedI suspect your package will build as-is on squeeze amd6418:53
foxx2oh so i should remove ia32-libs from the deps? the app fails to run without it installed though18:54
tumbleweedI'm saying the opposite18:54
tumbleweedon squeeze, I think it's fine as-is18:55
tumbleweedon sid, build on i386, not amd64, and avoid the whole ia32libs thing18:55
foxx2ohhh, wait sorry i just re-read the convo again (brain is dying) - i understand now.. ill give that a try, ty :)18:55
foxx2im not sure how ive ended up with a sid chroot.. i must have made a typo somewhere18:56
=== shadeslayer is now known as evilshadeslayer
jtaylorhm I still get these strange bus errors in raring chroots19:21
jtayloram I still the only one?19:21
jtaylor(cowbuilder)19:21
lfaraoneHmm, I seem to be getting a bunch of ubuntu-devel mails from 3 days ago in my inbox :/19:23
lfaraoneIs that happening to anybody else?19:23
jtaylorlfaraone: not only you19:23
jtaylorall gmail users19:23
jtaylorpbuilder broken too19:28
ScottKpbuilder is broken on gmail?19:35
* ScottK is confused19:35
jtaylorthat was related to a earlier line :)19:36
jtaylormy raring pbuilder/cowbuilder chroots on raring and quantal for some reason don't --build anymore19:36
jtaylorsince about a week19:36
jtaylorother dists work19:37
foxx2tumbleweed: yeah fixing the distro so it was squeeze instead of sid seems to have fixed the problem. ty :)20:19
ScottKjtaylor: It was funnier my way.20:27
jtayloris there a recap of what I have to do to be able to participate at the uds?21:13
jtaylorirc + a audo webcast is probably not happening this time?21:14
tumbleweedirc + youtube21:16
jtaylorregular anonymous youtube is enough?21:17
* jtaylor does nto even know what this hangout is which keeps getting mentioned21:17
tumbleweedshould be21:17
jtaylorgood21:17
tumbleweedonly a few people can participate in the hangouts21:17
ScottK1022:13
ScottKlfaraone: Since you're interested in AFS, you might want to read  DSA-2638-1 and then prepare patches for an Ubuntu security upload.22:34
lfaraoneScottK: Sure.22:39
=== evilshadeslayer is now known as shadeslayer

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