/srv/irclogs.ubuntu.com/2011/01/28/#ubuntu-motu.txt

=== jtechidna is now known as JontheEchidna
jferhi all i was wondering if there were plans to package acire for ubuntu 10.10?01:24
Bachstelzejfer: if it isn't packaged yet, it will never be01:24
Bachstelzein the official repos, at least01:25
persiaWhy?01:25
RAOFWell, that's not strictly true.  It could be packaged in Natty and then backported, or it could possibly go through the ARB.01:25
persiaIndeed.01:25
jferok01:26
ari-tczewjfer: do you want to pack it?01:26
Bachstelzenatty is past FF, do new packages generally get an exception?01:27
Bachstelzeer no, it's past import freeze01:28
Bachstelzemeh01:28
BachstelzeI need to go to bed01:28
jferi think that jono is the maintainer of the package so i might contact him01:31
persiaUbuntu doesn't really have maintainers, but he may be able to help, certainly.01:32
=== Amaranth__ is now known as Amaranth
MTecknologywhat section would a -common package belong in?07:11
RAOFWhat section is the base package in?07:12
MTecknologyRAOF: they should be the same?07:14
RAOFIt's a pretty reasonable bet.07:14
RAOFThe if -common package is for a library, then it's essentially part of that library and lives in the same section.07:15
MTecknologyRAOF: not a library, the main package is in httpd07:21
MTecknologyis there a debug section?07:22
RAOFIf it's only useful in conjuction with $BASE_PACKAGE and doesn't obviously fit into any other sections, throw it in the same section.07:22
MTecknologynvm- i see it now :)07:22
MTecknologythanks :)07:23
RhondaYes, there is a debug section, but how would a -common package qualitfy for debug?07:23
MTecknologyI was looking at the other packages provided07:24
MTecknologythe -dbg packages07:24
Rhondaah07:26
micahgif I'm fixing a FTBFS error from a sync, do I need to use -v on upload?07:27
MTecknologyI have this .logrotate file (http://dpaste.com/361716/) and I need to add a command in there; can I just add that command to the bottom?07:35
MTecknologyIt needs to be either   kill -USR1 `cat /var/run/nginx.pid`   or   nginx -s07:36
MTecknologyheh....... I feel really dumb now07:36
RhondaEither in the prerotate or postrotate part, but isn't that there already? :)07:37
RAOFmicahg: The sync has already been processed by the archive, so you only need to have the new changes in the changes file.07:40
MTecknologyRhonda: ya, that was why i felt really dumb :P07:40
micahgRAOF: k, that's what I thought, thanks07:41
dholbachgood morning08:16
MTecknologydholbach: howdy08:18
MTecknologyI love being able to use the excuse.. I can't do anything, it's compiling.08:43
MTecknologyIs there any way to tell dh_installchangelogs to install the changelog to a different directory? to ./usr/share/doc/nginx/changelog.gz instead of ./usr/share/doc/nginx-common/changelog.gz08:51
MTecknologyI'd like to do it with two different packages and a could different things... I want things installed as nginx instead of nginx-common08:58
RhondaMTecknology: Put nginx-common as first binary package in debian/control09:06
RhondaAnd actually, man dh_installchangelogs has documentation on its options ;)09:07
MTecknologyRhonda: there's an 'nginx' package too, a dummy one though; there's two packages that I want to install stuff into the one directory for too09:08
MTecknologyRhonda: I was looking at the man page for that app, and then started looking through man debhelper, still looking09:09
MTecknologymaybe -ppackage is what I need?....09:11
MTecknologyno..09:11
gesergood morning09:18
MTecknologygeser: how ya been?09:20
MTecknologygeser: maybe you can help me... you've helped me out on a lot of toughies before... :)09:24
MTecknologygeser: http://dpaste.com/361974/   nginx is a dummy package that selects nginx-full; I don't really think it needs the changelog in it; I'd like the nginx-doc and nginx-common package to install things to ./usr/share/doc/nginx/ instead of what they do now..09:31
MTecknologywow... 10min to ask a question.. punishment of 03:30 and booze09:31
geserMTecknology: currently no idea, try to find other split packages and check how they do it09:33
MTecknologygeser: i tried but couldn't find much that didn't have files laid out the same way which means either a) they don't care or b) they don't knoe09:34
geserand check what Debian policy allows09:34
MTecknologyor c) it's not allowed..09:35
MTecknologyI need to learn how to find what I want in that policy09:36
geserfor the -doc packages you could have a symlink in /usr/share/doc/nginx/html (or what ever) and point it to /usr/share/doc/nginx-doc/09:36
MTecknologyhm.. i remember something about symlinks.. i'll try to find where i saw that09:38
MTecknologygeser: does it look kinda ok from what you can see from that little bit?09:38
geser"/usr/share/doc/package may be a symbolic link to another directory in /usr/share/doc only if the two packages both come from the same source and the first package Depends on the second."09:39
geserand a footnote mentions that you need a strict dependency (= version)09:40
MTecknologygeser: where at is that?09:40
geserhttp://www.debian.org/doc/debian-policy/ch-docs.html 12.3 Additional documentation, 5th paragraph09:40
MTecknologythanks :D09:40
geserif you would do this symlink (if it would work in your case), your -doc package would need to depend on nginx (or the other way around, depending how you symlink)09:42
geserand if you depend on the -doc package, you don't gain anything by the package split09:42
MTecknologyMaybe I'm getting a little bit pedantic in my wants..09:43
MTecknology!info svn-buildpackage10:35
ubottusvn-buildpackage (source: svn-buildpackage): helper programs to maintain Debian packages with Subversion. In component universe, is extra. Version 0.8.1 (maverick), package size 142 kB, installed size 600 kB10:35
=== almaisan-away is now known as al-maisan
MTecknologyI've heard that people naturally adjust to a 25hr day; being unemployed for a long time, i'm starting to really believe it11:01
MTecknologyevery day, I want to stay up an extra hour11:02
=== yofel_ is now known as yofel
=== al-maisan is now known as almaisan-away
jderosehello, i was wondering if someone debhelper savy could help me fix the problem i describe here - https://bugs.launchpad.net/pyskein/+bug/70924713:59
ubottuUbuntu bug 709247 in PySkein "[packaging] UnicodeDecodeError when LANG not set" [High,Triaged]13:59
jderosebasically i need to make sure setup.py is called with LANG=en_US.UTF-8, but i'm not debhelper/make savy enough to get it working :)14:00
=== dholbach_ is now known as dholbach
doctormopersia: ping15:28
persiaYes?15:28
doctormopersia: that's weird, my irc client says your not here. And yet here you are.15:33
=== roaksoax__ is now known as andreserl
cjwatsonjderose: I've commented with a suggested approach15:43
jderosecjwatson: thanks so much, i've been totally stuck on this!15:43
jderosecjwatson: quick question: how do I "make your other targets depend on debian/tmp-locale"? sorry, not very make savvy15:46
cjwatsonjderose: like this: override_dh_install: debian/tmp-locale15:49
jderosecjwatson: okay, thanks again!15:49
cjwatson(sorry, override_dh_auto_install in your case, but you get the idea)15:50
cjwatsonjderose: also, 'override_dh_python2:\n\tdh_python3 ...' is just weird ...15:51
cjwatsonwhy not just 'dh $@ --with=python3' in the '%' target at the top?15:51
jderosecjwatson: agreed, i copied from some other python3 packages... how should i do it?15:51
cjwatsonpossibly --with=python2,python3 if you want both dh_python2 and dh_python3, but I don't know whether you do15:52
cjwatsonI guess not, your control file is 3-only15:52
jderoseright now pyskein is python3 only15:53
cjwatsonyou might also want --without=python-support15:53
jderoseso if i have --with=python3, i no longer need override_dh_python2?  do i still need    override_dh_auto_install?15:53
cjwatsonyou don't need override_dh_python215:53
jderosewhat does --without=python-support change?15:53
cjwatsonturns off the default call to dh_pysupport15:54
cjwatsonI'm not sure how dh_python2 was being called for you at all in the first place, since dh_python2 is only used if you say --with=python2, unless something has changed15:54
jderoseis that needed because dh_pysupport is python2 only?15:54
cjwatsonI believe it to be15:54
cjwatsonit's being phased out anyway, eventually15:55
jderosecjwatson: my adaptation from httplib2 might not be without serious misunderstanding on my part :)15:55
cjwatsonyou still need override_dh_auto_install since you need to modify the call to setup.py15:55
cjwatsonI wouldn't know about that ...15:55
doctormojderose: I would, what would you need to make setup.py do?15:57
=== hanska is now known as dapal
jderosedoctormo: well, i don't need to do anything special except make it work with python3.  i'll admit i don't understand that rules file, but looking at other python3 packages, they all seem to have rules kinda like that15:59
doctormojderose: I see, so your issue is with the debian dh side of things rather than distutils.16:01
jderosedoctormo: right, although there is a bug in distuils i'm also https://code.launchpad.net/~pyskein/pyskein/packaging16:03
jderosei'm also working around16:04
=== Amaranth_ is now known as Amaranth
jderosecjwatson: i'm still getting the same build failure, would you mind looking at my rules to see if you spot any problems? http://bazaar.launchpad.net/~pyskein/pyskein/packaging/view/head:/debian/rules18:58
MTecknologyok.. there was a way to see what package installed what file, right?   what was that?19:11
jderoseMTecknology: dpkg -S /usr/bin/inkscape19:13
ari-tczewjderose: could you show us error message?19:13
jderosehttp://launchpadlibrarian.net/63030182/buildlog_ubuntu-natty-amd64.pyskein_0.7.0-0ubuntu5_FAILEDTOBUILD.txt.gz19:13
MTecknologythanks :D19:13
jderoseUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 71: ordinal not in range(128)19:13
jderosethis is actually the result of an upstream Python bug when no locale is set, so a need to create a locale when it's built on build server, but i can't get it working19:14
ari-tczewpython 3.2? wow, natty bases on 2.719:15
jderosePySkein is python3 only ATM19:15
jderoseplus, python3 is the future :)19:15
bencerhi all, i just uploaded a new version of libredis-perl to debian and filled this but to sync the package for natty, #709431. is there anything else i should do?19:20
geserbug #70943119:23
ubottuLaunchpad bug 709431 in libredis-perl (Ubuntu) "Support redis 2.0" [Undecided,New] https://launchpad.net/bugs/70943119:23
micahgbencer: best to use the requestsync tool19:23
micahgit's in ubuntu-dev-tools19:23
geserwhich is also in Debian19:23
bencergoing to have a look19:24
kklimondajderose: barry may be a better person to ask about it. He has reported bug on python tracker about gettext not supporting LOCPATH, it may be related.19:28
jderosekklimonda: this is bug the the PySkein author pointing me to - http://bugs.python.org/issue956119:30
jderosebarry: could your infinite Python wisdom offer any guidance on this build problem? https://bugs.launchpad.net/pyskein/+bug/709247   :)19:31
ubottuUbuntu bug 709247 in PySkein "[packaging] UnicodeDecodeError when LANG not set" [High,Triaged]19:31
micahgis there a more proper way to make a comment like this in a patch: http://bazaar.launchpad.net/~mathieu-tl/ubuntu/natty/evolution-rss/688776.stan+debfixes/revision/2219:32
kklimondajderose: I don't think there is much that can be done, in bug http://bugs.python.org/issue10419 (which is linked in 9561, and which seems to describe exactly your situation) there is a patch that should be applied to distutils script to fix that.19:34
kklimondajderose: other than monkey patching build_scripts at the runtime (which is an awesome idea, the kind of mad men propose) the best bet would be to wait for the fix to get into python ;)19:35
jderosekklimonda: shouldn't it be possible to create the necessary environment in debian/rules though?  i mean, it builds fine on my system, just not build servers19:36
kklimondajderose: http://bugs.python.org/issue8409 suggests that gettext doesn't honour LOCPATH, it may be related19:37
kklimondajderose: the fix may be to generat locales system-wide19:37
jderosekklimonda: um, how would i do that?  :)  http://bazaar.launchpad.net/~pyskein/pyskein/packaging/view/head:/debian/rules19:38
kklimondajderose: remove $@/en_US.UTF-8 from the localegen invocation (actually you can remove whole debian/tmp-locale target and move localedef to override_dh_auto_install19:41
kklimondano, wait - don't remove whole $@/en_US.UTF-819:41
kklimondajust $@/19:41
kklimondaand leave en_US.UTF-819:41
jderoseif ! localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias --quiet en_US.UTF-8; then \19:43
jderosekklimonda: it should be like that? ^^^  and then do i remove LOCPATH=$(CURDIR)/debian/tmp-locale?19:44
kklimondajderose: try that http://paste.ubuntu.com/559670/19:46
kklimondawell, you can remove the LOCPATH19:46
jderosekklimonda: thank you! trying...19:47
jderosekklimonda: so on the build servers will rules have sufficient permissions to modify system wide locale?19:51
kklimondajderose: each build is done in a chroot (or maybe vm), so they have all rights inside it19:53
jderosekklimonda: ah, gotcha.  well, i just did a dput, maybe this got it. thanks again for the help!19:54
ari-tczewkklimonda: maybe you should consider join to MOTU?19:57
kklimondaari-tczew: I did, now I just need some time to gather endorements.20:00
ari-tczewkklimonda: create a wiki page and I'll comment20:01
kklimondaI'd have to go through my bugs, and see who did sponsor them - which is taking me more then required. But then I've always been.. less motivated on winters ;)20:01
kklimondaari-tczew: https://wiki.ubuntu.com/KrzysztofKlimonda/MOTUApplication20:01
ari-tczewkklimonda: from my documents mean that I've sponsored for you 1 bugfix.20:03
kklimondaari-tczew: no idea - my documentation is lacking :)20:04
ari-tczewkklimonda: but I remember that I asked you for fix bug and you prepared a patch so quickly which is good asset for comment.20:04
kklimondaari-tczew: ah, the g-s-d20:04
ari-tczewkklimonda: no, gwget, but right, g-s-d as well :)20:05
kklimondaright20:05
ari-tczewkklimonda: have you got more to sponsor ATM?20:09
kklimondaari-tczew: hamster-applet for natty, and same version as sru for maverick - bug 697667 and bug 65439720:11
ubottuLaunchpad bug 697667 in hamster-applet (Ubuntu) "Update hamster-applet to 2.32.1" [Wishlist,New] https://launchpad.net/bugs/69766720:11
ubottuLaunchpad bug 654397 in hamster-applet (Ubuntu Maverick) "Reports lack totals" [Wishlist,Triaged] https://launchpad.net/bugs/65439720:11
ari-tczewkklimonda: OK, I'll get them. Do you consider sponsoring time when you be in MOTU? ;)20:12
kklimondaari-tczew: I don't know, I don't like to touch stuff that I don't use or at least care for as I can't be sure if I'm not breaking it. But I could sponsor stuff for things I care about, or general things like ftbfs, packaging fixes, or transitions.20:15
ari-tczewkklimonda: yea, small patches like FTBFS fixing are welcome to sponsor. January is last month when I got time for Ubuntu.20:17
macokklimonda: you're not a motu?20:20
ari-tczewkklimonda: I had a quick research of your uploaded packages and there are some sponsors which did for you single uploads (1-2, no more). dholbach, coolbhavi, quadrispro, chrisccoulson or seb12820:21
macohmm i feel like ogra now. thats what he said to me a month before i applied for motu20:21
micahgmaco: that's generally a sign it's time for someone to apply :), happened to me too20:21
ari-tczewmaco: If you feel that kklimonda should join MOTU, comment his application. ;)20:22
macoill take a look at his uploads. i just see him doing so much i assumed he was one already20:22
ari-tczewmaco: maybe you want these 2 things hamster-applet to sponsor to be sure?20:23
ari-tczewMy endorsement is so strong without them, so I can leave them for someone else who want to comment kklimonda's application.20:24
macoi cant do any sponsoring til i get internet access at home20:24
macowhich ...assuming i get first paycheque monday...should be about a week20:24
maco(tarballs + starbucks dont mix)20:25
micahgmaco: so you need the BW equivalent of the trente?20:25
macothe what what?20:25
micahgerr, bandwidth equivalent of the trenta, http://www.starbucks.com/blog/653/-trenta-means-more-refreshment20:26
macowell actually...i could ssh to my vps20:26
maco31oz? who use 31? that is not a multiple of 4!20:27
kklimondamaco: well, I just see uploading rights more as a responsibility, and less as a privilege. But I guess it's time to grow up a little ;)20:34
micahgkklimonda: in reality it's both20:35
kklimondahmm.. once again I got lost in my directory with various packages..20:35
kklimondacan someone describe how he or she keeps his packaging environment organized? :)20:35
kklimondaI've tried various ways but it all falls apart at some point, especially when I do some work on debian packages additionally.20:36
micahgkklimonda: I have everything in /opt/source, then under that I have a folder for each release, then under that a folder for sync, merge, and each pocket (-proposed, -security)20:37
=== Quintasan_ is now known as Quintasan
kklimondamicahg: so you don't use bazaar for packaging?20:38
micahgkklimonda: generally not, but I also have a bzr branch under each release as well20:39
micahgs/branch/folder20:39
kklimondamhm20:39
micahgactually, hmm, there's more, I have a bzr folder under /opt/source for stuff I manage outside the distro, I also have /opt/source/daily for the mozilla dailies :)20:40
kklimondaI like the idea with creating new folders for -proposed and -security20:41
hakermaniaWhy revu has this sign of Christianity?20:41
micahgkklimonda: for people that always track lp:ubuntu/foo, I guess you can have those in a separate folder as well20:43
Picihakermania: Um.  What are you referring to exactly?20:43
kklimondahakermania: it's the same logo as MOTU have on LP, I don't think it's meant to be a cross.20:44
kklimondaat least not the christian one.20:44
hakermaniaPici, kklimonda: I'm just wondering if it means something...20:44
micahgit's the ubuntu-dev badge on LP actually20:44
* micahg heads out for a bit20:45
kklimondagood point :)20:47
ari-tczewkklimonda: a piece of my packaging environment ;) http://people.ubuntu.com/~ari-tczew/environment/21:10
ari-tczewI don't have that structure as micahg has, but I remember (yet) which package is for what.21:11
kklimondaso I just done something funny21:14
kklimondaI wrote find . -type f -delete instead of find . -maxdepth 1 -type f -delete21:14
kklimondagood it wasn't in some important folder..21:14
macokklimonda: i keep source packages in ~/src/ and if its stuff-to-sponsor then in ~/src/sponsor/  -- code i write goes in ~/code/21:14
kklimondamaco: and how do you keep package in ~/src ?21:15
kklimondapackages*21:15
macoone dir per source package, with its .orig, .dsc, and .diff.gz & unpackedness in there21:15
ari-tczewit's very good topic for blog or something :)21:15
ari-tczewbdrung: ping21:16
macokklimonda: all the versions i have of that src pkg are in that dir together. though if i also maintain it in debian, theres a debian dir in there to keep debian and ubuntu separate21:16
kklimondamaco: ah, I end up with a mess when I do that really quick - like ls ~/code/maintainance/transmission |wc -l21:16
kklimonda10021:16
kklimonda ;)21:16
macooccasionally i delete dirs from ~/src/ for stuff ive already uploaded21:17
macoit tends to result in reclaiming several gigs of disk space21:17
kklimondayeah, this is really nice side effect :)21:17
kklimondaI've actually started unpacking random pieces of software (like packages I'd like to take a quick look at) in /tmp so I don't have to remember about them.21:19
jderosekklimonda: hmmm, still not working, seems like build servers didn't like creating the locale - http://launchpadlibrarian.net/63035122/buildlog_ubuntu-natty-amd64.pyskein_0.7.0-0ubuntu6_FAILEDTOBUILD.txt.gz21:20
kklimondahmm, builders may be dropping privileges after unpacking everything.21:21
kklimondajderose: now, there is one more thing you can try doing.21:23
kklimondajderose: adding langpack-all | language-pack-en-base to build-depends21:23
jderoseah, okay21:23
kklimondajderose: but I'm not sure if it will work with official Ubuntu builders21:23
jderosekklimonda: and keep rules as is?21:24
kklimondajderose: you can remove localedef call21:24
kklimondahmm21:25
kklimondajderose: but it may not build when you try to upload package to official ubuntu archives.21:27
kklimondafor a reason I don't know yet21:27
kklimonda(as it builds fine on ppa builders)21:27
jderosewell, getting building on ppa builders will be a good step  :)21:27
jderosekklimonda: ug, still not working - http://launchpadlibrarian.net/63041366/buildlog_ubuntu-natty-amd64.pyskein_0.7.0-0ubuntu7_FAILEDTOBUILD.txt.gz21:39
jderosekklimonda: but thanks so much for all the help!21:40
kklimondajderose: try LC_ALL instead of LANG21:40
jderoseso LC_ALL=en_US.UTF-8 ?21:41
kklimondayes21:41
* jderose dputs21:41
kklimondajderose: configuring local pbuilder would make it much faster :)21:42
jderoseby default pbuilder will have locale setup thought, wont it?  how to i make it like the ppa build servers in this way?21:43
kklimondajderose: no, pbuilder creates an empty chroot so it wouldn't have any locales set21:43
jderoseah, okay, i'll play with that then...21:44
kklimonda(empty of packages other than essential minimum)21:44
kklimondaari-tczew: heh, how can this folder that clean (speaking of http://people.ubuntu.com/~ari-tczew/environment/env.jpeg) ;)21:44
kklimondacjwatson: bah, looks like python ignores LOCPATH so I can't use localedef as an alternative to langpack-all | language-pack-en-base :/21:46
ari-tczewkklimonda: as I said, in general I know which package is for. TODO file helps sort out ;)22:04

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