/srv/irclogs.ubuntu.com/2011/12/07/#ubuntu-motu.txt

ockham_tumbleweed: the previous autotools based approach catered for that, too00:00
EvilResistanceis there any way to pass to backportpackage when it tries to extract the source package of <somepackage> to ignore the gpg key checks during extraction?00:00
ockham_tumbleweed: oops, another copy&paste incident00:00
EvilResistancebecause i'm doing backportpackage -s precise -d oneiric -w <dir> php5, and it won't extract the source00:00
cjwatsonAh, apparently the publisher's about to come back on00:02
tumbleweedEvilResistance: it should be ignoring the gpg signature00:02
EvilResistanceah yeah, there it is00:02
* EvilResistance misread the error00:02
EvilResistancecjwatson:  eta?00:02
EvilResistance(assumign they told you)00:02
ockham_tumbleweed: ok, fixed the import * part. is there any way I can take care of /etc in setup.py?00:02
cjwatsonEvilResistance: the publisher runs at *:0300:03
tumbleweedockham_: I wouldn't try to. setup.py is normally for installing a python module, its data, and possibly, at a push some manpages.00:03
cjwatsonEvilResistance: it currently takes around half an hour00:03
ockham_tumbleweed: docs are ok, too?00:04
cjwatsonalthough I expect it will have a bit more to do this time round00:04
EvilResistancecjwatson:  i'd assume so there were TONS of builds afaict :P00:04
tumbleweedockham_: if it's trying to put them in /usr/share/doc/$packagename, that's probably too debian-specific for setup.py00:04
cjwatsonNot radically more so than usual, I'd expect :-)00:04
EvilResistancecjwatson:  the backlog of it, though... :P00:05
cjwatsonOh, BTW, this is the distro publisher, I don't know about the PPA publisher00:05
EvilResistanceyeah the PPA publisher is my focus00:05
tumbleweedEvilResistance: have you seen the armhf backlockg?00:05
ockham_tumbleweed: uhm, what then?00:05
cjwatsonMay well be coming back soon as well but it's on a different schedule.00:05
cjwatsonThey were both disabled at the same time.00:05
cjwatsonI think the PPA publisher runs every five minutes rather than every hour.00:06
tumbleweedockham_: what then? bed time for me.00:06
EvilResistancenow on an entirely unrelated question, a company i work with wants to set up an apt repository for ubuntu, but doesnt want it to be an apt mirror.  i said i'd research getting it done, but not actually do it.  any of you know how i'd attack that problem?00:06
EvilResistanceor should I just go post on the ubuntuforums or whatnot00:06
ockham_tumbleweed: ok.00:06
cjwatsonThey should specify what they mean: a repository of add-ons to Ubuntu, or a private mirror of Ubuntu itself that isn't exposed to the world00:06
EvilResistancewell the way i understood their request is they dont want a mirror of Ubuntu at all00:07
EvilResistancethey want a repo that acts similar to what a PPA does: hold *additional* packages00:07
EvilResistancestuff not already in the ubuntu main repos.00:07
cjwatsonOK.  There's a variety of packages for managing that kind of thing.  Names that come to mind are reprepro and mini-dinstall.00:09
cjwatsonreprepro seems the most popular at the moment, from what I've gathered.00:09
EvilResistancefor the sake of the actual server admins at this company, got any links to documentation/instructions for setting up and configuring?00:10
cjwatson(Or it's possible to roll your own around apt-ftparchive, or try to set up something industrial-scale like dak or Launchpad - but I wouldn't advise either of those two)00:10
cjwatsonI do not, sorry.00:10
EvilResistancenot a problem00:10
EvilResistancei assume google will turn up something :P00:11
cjwatsonreprepro seems to come with documentation in the package.00:11
EvilResistanceafter a quick google i'm glad i'm just researching it, not the one actually *doing* the setup and config xD00:13
EvilResistancealthough it would be JUST MY LUCK if I get told to set it up >.>00:13
cjwatsonOh, I just found mini-buildd-rep as well, which is another option.00:15
cjwatsonThey may also need to attach build servers to it.  sbuild/buildd is probably a sane choice, but there's mini-buildd-bld too.  (I have no idea of the latter's quality.)00:15
EvilResistanceisnt sbuild/buildd what lp builders use?00:16
EvilResistanceor something...00:16
cjwatsonLP builders use sbuild00:16
cjwatson(Albeit currently a rather old fork)00:16
cjwatsonbuildd is more or less what Debian builders run; Launchpad has its own build farm00:16
cjwatsonsbuild builds a single source package; since you're familiar with pbuilder already, pbuilder is more or less analogous to sbuild00:18
EvilResistancepbuilder and sbuild are only slightly different, no?  the end result is a built package.00:20
cjwatsonEvilResistance: Right.00:27
cjwatsonpbuilder is slower for doing lots of builds, though, as it wants to unpack a tarball every time.  sbuild is more flexible.00:28
EvilResistancecould a private apt repository with addons be configured to use pbuilder over sbuild if they arent producing tons of packages/addons?00:29
EvilResistance(see, if i explore every angle, then the company won't feel the need to say "Go Do More Research!" :P)00:30
cjwatsonI wouldn't see why you'd want to bother; but it's no doubt possible.  Whether any of them actually have a config knob for that I wouldn't know.00:31
cjwatsonI just upload to Debian or Ubuntu where somebody else manages this for me ;-)00:32
EvilResistance:P00:32
EvilResistanceyeah, but you're a MOTU, you have that right xD00:32
EvilResistancestandard users dont get that00:32
EvilResistanceand corporations/companies that want private repositories dont either :P00:32
cjwatsonsure, I wasn't being serious00:32
cjwatsonI'm told that publishers and builds are all back up00:32
EvilResistance:P00:32
EvilResistance*all* publishers?00:33
cjwatsonso I'm told00:33
EvilResistanceyeah wgrant just changed the topic in #launchpad00:33
EvilResistance:P00:33
micahgcjwatson: in that case, I'll go poke about why the buildds aren't picking up builds :)00:33
cjwatsonThere's still some build database trouble.00:33
micahgah, just saw comments in another channel00:34
cjwatsonLet wgrant work on it :-)00:34
wgrantI think they'll resolve themselves in 15-20 minutes.00:34
wgrantmicahg: They're all security builds, I guess?00:34
wgrantIn a private PPA?00:34
micahgwgrant: oh, that could be00:34
micahgwgrant: I have no idea, didn't look, just saw the backlog on +builders00:34
wgrantAh.00:34
wgrantPrivate builds don't start until they're published, and there's a massive publisher backlog.00:35
EvilResistanceheh00:35
EvilResistanceso if i were to upload to a PPA a package, then its likely it wouldnt get published until sometime next year?00:35
EvilResistance(figuratively speaking)00:35
wgrantHopefully it'll all clear up in about 20 minutes.00:36
* EvilResistance points at the word "hopefully"00:36
EvilResistance;P00:36
wgrantThe build queues might take another 6-7 hours.00:36
=== EvilJackyAlcine is now known as JackyAlcine
micahgah, I'm not in a rush for anything, was just curious00:39
=== keffie_jayx is now known as effie_jayx
EvilResistancewgrant:  heh, i'm not in a rush either :P00:43
jtokarchukalpha or actual release? ;o on precise00:47
=== JackyAlcine is now known as how
=== how is now known as when
=== when is now known as because
=== because is now known as JackyAlcine
=== almaisan-away is now known as al-maisan
dholbachgood morning07:54
=== Guest30213 is now known as Zic
=== Zic is now known as Guest96253
=== Guest96253 is now known as Zic
Laneymorning10:46
l3onhey guys.. can we take a look at bug 896695 ?10:48
ubottuLaunchpad bug 792146 in clang (Ubuntu) "duplicate for #896695 clang can’t link any programs: cannot find crt1.o, crti.o, crtn.o" [Medium,Confirmed] https://launchpad.net/bugs/79214610:48
l3onit's solved, but set as duplicated of a discussion that doesn't see the end in the immediate future10:49
l3onthis is the url of bug → https://bugs.launchpad.net/ubuntu/+source/clang/+bug/89669510:51
ubottuLaunchpad bug 792146 in clang (Ubuntu) "duplicate for #896695 clang can’t link any programs: cannot find crt1.o, crti.o, crtn.o" [Medium,Confirmed]10:51
handschuhHi, will there be a REVU-day in this month, or is there some rough schedule about when the next REVU day will be?11:10
=== al-maisan is now known as almaisan-away
geserhandschuh: probably never, REVU is on the way to get deprecated11:19
handschuhgeser: ok so whats the new way of getting packages into ubuntu? (or is it not decided yet?)11:21
geserhandschuh: the currently preferred way is to go through Debian and sync it to Ubuntu11:28
* ogra_ never saw revu as a tool to get packages into ubuntu ... its simply a easy tool to review packages, nothing more11:29
handschuhgeser: thank you for the information11:29
geserit's still possible to get a package directly into Ubuntu if you find someone willing to do the review (e.g. from a team which is interested to get this package into Ubuntu)11:29
handschuhso, https://wiki.ubuntu.com/MOTU/Contributing#Preparing_New_Packages should be changed then11:31
Laneywendar: are you working on adding the deprecation notice to revu?11:33
Laneyp.s. hi!11:33
mhall119can someone help me?  I'm getting the following error on a python package using dh_python:12:53
mhall119 /usr/bin/fakeroot debian/rules clean12:53
mhall119dh clean --with python212:53
mhall119dh: unable to load addon python2: Can't locate Debian/Debhelper/Sequence/python2.pm in @INC12:53
mhall119targetting lucid12:53
akheronmhall119: I may be wrong but I think it requires debhelper 812:57
cjwatsonit doesn't; but dh_python2 isn't in lucid yet12:58
Zhenech_no, it needs python 2.6.something from debian or whenever you introduced it12:58
cjwatsonfor now I'm afraid you have to fall back to python-{central,support} for lucid12:59
cjwatsoneven though those are now deprecated12:59
mhall119oh, ok13:00
mhall119when I tried python-central and cdbs, it was putting my code in /usr/lib/python2.7/site-packages13:02
mhall119instead of /usr/share/pyshared/13:03
mhall119and while dist-packages is on my path, site-packages is not13:03
Zhenech_it should do links on install though13:03
pqatsiIve always used apt-pinning for "version blendings" and now this appear to do not work very well or concise. Ive tryed to ask in #ubuntu about this but the awnser i got is "precise isnt suported", but im blending versions for backporting development. Anyways, where i can find a information about how apt-pinning works for ubuntu?13:10
pqatsisince even pinning using apt.conf/preferences.conf dont appear in apt policies and install packages using apt-get install xpto/precise marks for update from precise, but mantain higher priority for oineric13:11
pqatsi(If a paste helps with my question: http://pastebin.com/ks0jz4L2)13:11
cjwatsonmhall119: python setup.py install --install-layout=deb13:12
cjwatsonalthough dh_auto_install should do that for you13:12
cjwatson(dunno about cdbs, I avoid it)13:12
=== jibel_ is now known as jibel
wendarLaney: it's on my list for this week, yeah. But no worries if someone beats me to it. :)14:56
ockham_is there any way to use the bash exclusion operator in debian/rules?15:58
ockham_as in15:59
ockham_cp source/!(not_this_file) target15:59
ockham_i'm using the above in a loop, and get16:01
ockham_/bin/sh: 3: Syntax error: "(" unexpected (expecting "done")16:02
ockham_same stuff works when directly entered into a terminal16:02
Zhenech_no16:04
Zhenech_dont asume bash functionality16:04
ockham_aww, to bad16:07
Zhenech_sh != bash16:07
Zhenech_and you want your package to build on machines w/o bash16:08
ockham_is there any textbook example of excluding files in shell commands in debian/rules then?16:08
=== Quintasan_ is now known as Quintasan
brodertumbleweed: i'm finding your reverse-depends script/service to be incredibly useful, by the way16:14
tumbleweedbroder: glad to hear that :)16:14
KiallHas anyone had difficulty with cowbuilder-dist installing the wrong apt lines into the image? It always installs the host's distros lines16:33
tumbleweedKiall: hrm, that's the exact opposite of pbuilder-dist, which was always using archive.ubuntu.com16:34
KiallWell, it uses archive.ubuntu.com .. but always "oneiric" and never lucid or precise :)16:34
tumbleweedthat sounds problematic :P16:34
KiallYea .. I've been scratching my head (on and off!) for a day or two  ;)16:35
* tumbleweed has never used cowbuilder, but I'd appreciate a bug report (and even better, a patch)16:35
Kiallcowbuilder is basically pbuilder, but with cow rather than tgz images16:36
tumbleweedright, but people are reporting bugs on it that we don't see with pbuilder16:36
Kiall(cowbuilder basically just wraps pbuilder)16:36
tumbleweedand cowbuilder-dist wraps cowbuilder :P16:36
KiallYea ;)16:37
tumbleweedin fact, investigation on any of these bugs would be welcome https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools?field.searchtext=cowbuilder-dist16:37
Kialltumbleweed: well, I've spotted why it always uses http://archive.ubuntu.com/ubuntu/ … Its hardcoded ;)16:42
tumbleweedKiall: we fixed that recently16:43
Kiallah, I guess that hasnt landed in oneiric yet so...16:43
tumbleweedno, it won't16:43
tumbleweedgrab a daily build / the bzr branch if you want to fix bugs in it16:43
KiallNormally I'm up for that, but right now I need to get the CI server building packages right ;)16:44
* tumbleweed suggests sbuild for production use16:45
Kiallmay I ask why? (Other than personal preferences :P)16:45
tumbleweedpartly that, it's also what the buildds use16:46
KiallThe LP builders?16:46
tumbleweedit does a great job of building packages, out of the box16:46
tumbleweedthe LP builders run an ancient fork of sbuild, but that's hopefully going to be resolved soon16:47
KiallI'll have a look, any suggested docs/wiki pages etc? Looking at the debian wiki page for it now...16:48
tumbleweedmk-sbuild makes it easy to set up16:49
KiallThanks, Will have a look16:50
tumbleweedhere's something a little more manual: https://wiki.ubuntu.com/SecurityTeam/BuildEnvironment16:50
tumbleweedlike cowbuilder, it doesn't use a tarball for each chroot16:51
tumbleweedbut it uses schroot, which is really handy for other things16:51
Kialltumbleweed: I think I'm onto something with the cowbuilder-dist issue17:18
Kiallthe command ran by (p|cow)builder-dist is something along these lines:17:19
Kiall"... ARCH=amd64 DIST=precise cowbuilder ... --distribution precise .."17:19
Kiall--distribution makes it work with pbuilder17:19
Kiallbut cowbuilder wants "DISTRIBUTION=.." rather than "DIST="17:20
tumbleweedright, DISTRIBUTION is the variable pbuilder is actually going to use17:20
tumbleweedDIST is what many people use to drive their .pbuilderrcs (but that's normally people not using pbuilder-dist)17:21
tumbleweede.g. https://wiki.ubuntu.com/PbuilderHowto17:21
Kiallyea - but pbuilder/cowbuilder-dist use DIST, rather than DISTRIBUTION17:21
Kialland hence it gets ignored by cowbuilder17:21
tumbleweedKiall: what I'm saying is that that's partially intentional17:21
Kiallbut it works with pbuilder since pbuilder also understands the --distribution precise17:22
KiallSure, I get that..17:22
tumbleweedright, I'm sure there's no harm in setting DISTRIBUTION, but we may need to set DIST too, for people with existing pbuilderrcs17:22
KiallBut - Currently, cowbuilder-dist does not provide the dist to cowbuilder using any method it understands, hence it is defaulting the the host's dist17:23
tumbleweedyup, that I can understand17:23
KiallHumm - maybe I'm wrong, adding that aint helping17:27
psusiso MOM says auto merge of a package failed... the instructions say you fix the merges, build the source package, then upload it ( with dput? )... how does bzr fit into this picture?  Are the MOM instructions just outdated and you should now do this with bzr?18:38
tumbleweedmost of the time, it's a lot easier to do a merge with MOM output than bzr18:39
tumbleweedapplied quilt patches make merging with bzr branches less fun than it should be18:40
psusiindeed18:41
psusiso if I do it the mom way, how won't that leave the lp bzr branch out of date?18:41
tumbleweedthe bzr branch will be updated by the importer, just like it would be for any other upload18:42
psusihrm... I thought the importer updated the debian branch, but the ubuntu one you just push to and the archive auto imports from that?18:53
cjwatsonit does both18:54
cjwatsonif there's a commit on the Ubuntu branch with a tag matching the upload it wants to import then it leaves it alone18:54
cjwatsonif there's a commit after the last tag on the Ubuntu branch then it imports the new upload but moves the commit aside to a new branch and files a merge proposal for it18:55
cjwatsonotherwise it imports the new upload18:55
psusicool.. so if I use grab-merge and fix it up... I can't dput it, so... what do I do then?18:56
cjwatsonattach a debdiff to a bug; current Debian -> your merge is probably the best one although some people also attach current Ubuntu -> your merge18:58
broderi like to look at current ubuntu -> merge | filterdiff -i '*/debian/*', but i consider that sufficiently advanced technique that i don't expect it from sponsorees19:00
cjwatsonYou can construct either one from the other anyway, so :)19:00
cjwatson(well, from the other plus archives)19:01
pcprattshey everyone.  my config script is being executed twice during an apt-get install19:20
pcprattsany ideas why?19:20
EvilResistancewhat the heck is with the php source package in precise being dependent on a precise-only version of mysql-client :/19:21
tumbleweedpcpratts: http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html19:21
pcprattstumbleweed: again, you saved the day!  thanks!19:21
pcprattsthanksssssssssssssss!19:22
tumbleweedthere's a graphical version somewhere...19:22
tumbleweedthere http://wiki.debian.org/MaintainerScripts19:22
pcprattsooo.  even easier!19:23
psusihrm... actually, just doing the bzr merge works like a charm19:25
tumbleweedpsusi: please use bzr merge-package not merge19:25
tumbleweedotherwise it can miss out metadata that'll confuse the importer (and other users) later19:26
psusiwhat's that do?19:26
psusiotherwise it works the same way?19:26
tumbleweedyes19:26
psusihrm... ok19:26
psusithank god for packages that don't already have the quilt patches applied in bzr ;)19:27
pcprattsI love open source19:32
=== JackyAlcine is now known as webjadmin
=== webjadmin is now known as JackyAlcine
pcprattsmy config script to prompt the user with debconf is called twice: once when the screen says: Preconfiguring packages and again when the screen says Setting up package19:49
cjwatsonyes, that's intended19:50
cjwatsonyour config script must be idempotent - that is, if called twice it must behave as if it were called once, and it must not re-ask questions (which generally means you shouldn't force questions to the unseen state)19:50
pcprattscjwatson: I am prompting the user twice.  my config says:19:50
pcprattscase "$1" in19:50
pcpratts    configure)19:50
pcprattsoh okay19:50
pcprattsyeah, I see now19:51
pcprattswhere should I reset the dbconf variables?19:51
pcprattsanywhere?19:51
pcprattsdebconf*19:51
cjwatsonthe reason it is this way is to allow preconfiguration without actually requiring it19:51
cjwatsonas a general rule, you shouldn't19:51
pcprattsokay19:52
pcprattsthanks19:52
cjwatsonwhy do you want to?  there are sometimes exceptions, but you must be careful19:52
pcprattseh, when I was debugging I wanted to make sure I could type it in everytime I did dpkg -i19:54
pcprattsbut it probably doesn't matter now19:54
cjwatsonuse debconf-communicate19:54
cjwatsonecho RESET your/question/name | sudo debconf-communicate your-package-name19:54
cjwatson(NOT in your maintainer script, but from a terminal while debugging)19:55
cjwatsonso yeah, it sounds like you should just omit the reset in your config script and then you'll be good19:55
pcpratts:) thanks.  yep, just read not in your maintainer script19:55
pcprattsyeah I think so19:55
psusihow often is harvest supposed to update?20:18
brodermuch more frequently than it is20:29
broder(which appears to currently be never)20:29
broderi keep meaning to bug dholbach to get him to bug canonical IS about it20:29
psusiyea, I just found an entry that should have been removed back in july...20:31
=== l3on__ is now known as l3on
psusihow do you get bzr bd to pass options like -us -uc to builddeb?20:46
broder-- -us -uc20:46
jtaylorbzr bd -- -us -uc20:46
psusiahh20:46
psusiwait a second... why does bzr bd leave me with a .tar.bz2 instead of a .diff.bz2?20:52
psusithe ubuntu/debian changes relative to the orig tarball should be in a diff shouldn't they?20:55
jtaylordebian.tar.bz2?20:55
psusiyea20:55
jtaylorthats how the diff is called with 3.0 pacakges20:55
psusiugh20:55
psusidamn... seems to break debdiff20:55
jtaylorin what way?20:56
psusiit claims there are no differences20:56
psusiohh, wait, works when I give it the .dsc files instead of the .changes ;)20:57
philipballewWho would I talk to about an outdated package?21:07
jtaylordepends on the package21:08
philipballewjtaylor, kismet. Its like 4 years old in the repos and the dev's are hoping this can be fixed21:09
jtaylorhm looks like it needs a new maintainer in debian21:12
philipballewexactly. Is there anything that we can do here?21:12
philipballewalso the kismet dev makes a deb for you to add to the repos but its not debian rules friendly21:13
philipballewhttp://www.kismetwireless.net/download.shtml21:15
jtaylorinterested in taking of the package maintenance yourself?21:19
philipballewI can, I am really crappy at packaging however. but I am trying to learn all that. I downloaded and am going to be reading the ubuntu packaging guide soon21:19
philipballewover christmas break I can learn packaging21:20
philipballewwell I already know how to package. I just need to make myself more comfortable with advanced packages21:22
jtaylorthats good, best you get involved in debian and try to find a sponsor there, ubuntu will automatically get the new package21:23
tumbleweedphilipballew: I queried the maintainers status in the MIA database. The MIA team is aware that he's inactive21:23
tumbleweedI think it's fairly NMUable21:23
philipballewjtaylor, whats the best way to do that?21:24
philipballewtumbleweed, Thank you. i think I will try to see if I can get this in by lts21:25
jtaylor#debian-mentors and mentors mailing list are good places for information if you have any technical issues just ask there or in #ubuntu-packaging21:25
jtaylorif you can get the package in a team it usually makes sponsoring easier21:26
pcprattsI took out db_fset variable seen false in most places from my config.  now installation works on the first time.  after a remove and install again, things fail with exit status 30.  the way I can revert back to it working again is to do: dpkg --purge --force-remove-reinstreq <package_name>21:26
EvilResistancehow do i figure out what source package provides certain binaries?21:27
EvilResistancea search on LP?21:27
philipballewjtaylor, thats in irc.debian.net right?21:27
tumbleweedjtaylor: right, but hijacking a package into a team is probably going a little far for an NMU :P (and I can't think of any relevant teams)21:27
jtaylorEvilResistance: apt-cache show package | grep Source21:27
pcprattsEvilResistance: packages.ubuntu.com ?21:27
lifelessEvilResistance: apt-cache show <binary> will report the source package name21:27
EvilResistancelifeless:  thanks21:28
jtaylortumbleweed: no upload in 3 years known mia isn't that enough for an hijack?21:28
pcprattsregarding my previous question: I solved it.  thanks.21:28
pcprattsI think I had an infinite loop if the password confirmation was not right21:29
tumbleweedjtaylor: the hijack process is to announce that you are planning on hijacking before you hijack: http://wiki.debian.org/qa.debian.org/removals (if someone wants to file such a bug, that'd be awesome)21:30
EvilResistanceshould i be worried about these broken pipe errors being thrown whilst using backportpackage ?  http://pastebin.com/feqRTmS621:45
psusisomeone said earlier I should use bzr merge-package instead of merge, but it doesn't seem to be smart enough to deapply quilt patches before the merge, and won't take --force to do the merge after I manually deapply them... how can I work around this?23:08
tumbleweedpsusi: I know there are scripts out there to make it less painful, but don't know where offhand23:12
tumbleweedbug 845860 says barry was going ot write something...23:12
ubottuLaunchpad bug 845860 in Ubuntu Packaging Guide "merge-package discussion doesn't discuss coping with quilt" [Medium,Triaged] https://launchpad.net/bugs/84586023:12
psusihrm.. so there's no way to avoid the bogus deapply/reapply commits in the history?23:17
tumbleweedyah, that seems like a horrible solution23:18
tumbleweedI recall a better one23:18
* psusi wonders why --lca isn't the default23:25

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