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

bcurtiswxquilt edit always says patch is located below debian/patches/01:40
bcurtiswxhow do I fix that?01:40
ebroderare you trying to do something like "quilt edit debian/patches/my_new_awesome_patch.patch"?01:41
nomadiumbcurtiswx: with QUILT_PATCHES env var?01:42
bcurtiswxebroder, yes.  i have it pushed to that patch, and am trying to quilt edit01:42
bcurtiswxyes i have that in my .bashrc01:42
ebroderbcurtiswx: you use quilt edit to edit files in a patch. you use quilt create to make a new patch01:42
ebroderbcurtiswx: quilt automatically works on the last patch that you pushed01:42
bcurtiswxOK, so it will edit a chunk in a patch?01:43
bcurtiswxebroder, ^^01:43
ebroderbcurtiswx: or create a new one as needed01:44
bcurtiswxebroder, ty01:46
bcurtiswxebroder, how would I delete a chunk from a patch?01:50
bcurtiswxmanually the only way?01:52
EagleScreenI ma trying to create a natty enviroment with pbuilder in Debian testing, I get this: http://pastebin.ca/203996901:53
EagleScreenthis is my pbuilderrc http://pastebin.ca/203998401:54
bcurtiswxEagleScreen, pbuilder-dist natty ?01:54
EagleScreenbcurtiswx: I use sudo DIST=natty pbuilder create01:55
EagleScreenhow do I do it in your way?01:56
bcurtiswxdo you get the same error with pbuilder-dist natty create ?01:56
EagleScreenyes bcurtiswx, the same02:00
bcurtiswxEagleScreen, could be your pbuiderrc, comment the entire thing out and see if my command works then02:04
EagleScreenbcurtiswx: the DEBOOTSTRAPOPTS= line?02:05
bcurtiswxseems to be where your issues are.. so its a good start02:06
EagleScreenbcurtiswx: the same for your command02:09
bcurtiswxEagleScreen, try commenting out the entire pbuilderrc just to see if it is really something with that in the first place02:10
EagleScreenok02:11
EagleScreeni will mv it02:11
bcurtiswxEagleScreen, yes, didn't think of that02:12
EagleScreenthe same error02:13
EagleScreen:(02:15
bcurtiswxEagleScreen, pastebin plz02:15
EagleScreenhere is http://pastebin.ca/203999302:16
ari-tczewEagleScreen: have you got installed debian-archive-keyring ?02:18
EagleScreenwill check it, but shouldn't I need ubuntu-archive-keyring?02:18
EagleScreendebian-archive-keyring is installed02:18
bcurtiswxEagleScreen, is the ubuntu one installed?02:19
EagleScreenubuntu-archive-keyring (or ubuntu-keyring) isn't because it is not packaged in Debian02:19
EagleScreendo I need it?02:19
EagleScreenI can install it02:19
bcurtiswxEagleScreen, its ubuntu-keyring02:20
bcurtiswxgot it ?02:20
EagleScreenI have installed it02:21
EagleScreenthe same problem with sudo pbuilder-dist natty create02:21
bcurtiswxpatebin plz02:22
EagleScreenok -> http://pastebin.ca/204000002:22
bcurtiswxhmm, whats the version of the key ?02:23
EagleScreeni have installed this one -> http://packages.ubuntu.com/natty/all/ubuntu-keyring/download02:23
EagleScreenthe same happens trying to create a maverick or lucid enviroment02:25
bcurtiswxEagleScreen, you're running as root02:26
bcurtiswxi don't usually02:26
EagleScreenI always run pbuilder as root as the root tar.gz are stored out of home02:27
EagleScreensudo DIST=natty pbuilder create needs to be run as root02:27
EagleScreenif I am not root, I get this: Error: Could not find "pbuilder".02:28
bcurtiswxyou have an interesting setup, hmm.  not sure how to help you from this point. sorry02:29
EagleScreenthanks anyway02:30
ari-tczewEagleScreen: I have installed debian-archive-keyring, not debian-keyring02:32
EagleScreenI too, i ma installing now debian-keyring02:33
EagleScreenremember that I am trying to create an ubuntu root in a Debian system02:34
ari-tczewEagleScreen: try:  sudo pbuilder-dist natty create --debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"02:36
EagleScreensame error02:37
ari-tczewso I don't have an idea02:38
ari-tczewEagleScreen: maybe wiki will be helpful for you: https://wiki.ubuntu.com/PbuilderHowto02:39
EagleScreenI was using '--keyring' '/usr/share/keyrings/ubuntu-archive-keyring.gpg'  and the right option is "--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg" in .pbuilderrc, not it works, but  sudo pbuilder-dist natty create --debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg" doesn't02:57
ari-tczewEagleScreen: so problem is fixeD?02:59
EagleScreenyes if I use my old way02:59
Legendariowhat should i do to package a software which upstream only releases the source as a zip package04:43
Legendario?04:43
micahgLegendario: you can repack as tar.gz04:44
Legendariomicahg, thanks04:48
Legendario:-)04:48
micahgLegendario: you should make a get-orig-source rule to do it04:49
Legendariomicahg, how do i do that?04:50
micahgLegendario: here's an example for svn http://wiki.debian.org/SandroTosi/Svn_get-orig-source, you just need to replace the svn checkout bits with code to download the .zip file and decompress it05:03
Legendariothanks micahg05:04
Legendariomicahg, do you have an example with cdbs05:05
Legendario?05:05
micahgLegendario: https://wiki.ubuntu.com/PackagingGuide/Examples/ChangingTheOrigTarball05:08
micahghttp://cdbs-doc.duckcorp.org/en/cdbs-doc.xhtml#id39221705:10
dholbachgood morning07:22
=== ara_ is now known as ara
=== yofel_ is now known as yofel
batronixI've put a changelog file into the DEBIAN folder of my package and get a "W: ... unknown-control-file changelog" from lintian11:26
akheronbatronix: changelog doesn't go to DEBIAN, it goes to /usr/share/doc/yourpkg/11:29
akheronyou shouldn't copy these files by hand, use debhelper instead11:29
batronixthank you. I'll take a look at debhelper.11:31
mok0Jeez I am having a hell of a time trying to build a source package under bzr control12:43
mok0this close to giving up on bzr12:43
mok0I wish there was a source package format where you could define what you want to go in there and not rely on debuilds flawed logic12:45
BachstelzeI've never worked bith bzr really but yeah, I'm not particularly eager to try12:48
BachstelzeIt really seems like just overhead to me12:48
mok0Bachstelze: it is a convinient way to keep track of your changes12:52
Bachstelzemeh12:52
Bachstelzedebian/changelog is good enough for me12:52
mok0But a.t.m. we have a whole range of tools and they are all getting on each other's toes12:52
Bachstelzeoften I have just skipped over a package that I could have fixed because I don't really have the time to figure out how bzr works12:53
mok0Bachstelze: yeah it's a problem12:53
mok0Bachstelze: It would be very convienient, because you can check out and unpack the sources very easily. The really really dumb thing is that you _still_ need an .orig.tar.gz tarball like before.12:55
mok0So why doesn12:55
mok0t dpkg-buildpackage just check out the sources from bazaar instead of unpacking the tarball???12:55
mok0My problem is that there are differences between upstream's bzr tree and the tarball that can be produced using "make dist"12:56
mok0so dpkg-buildpackage tries to represent those differences, but they are _meaningless_12:57
mok0If there was at least some way to say: only represent diffs in debian/ ignore the resst12:57
akheronmok0: can't you repack the upstream's bzr tree as the orig.tar.gz?12:58
mok0akheron: yes I could12:58
mok0akheron: I will probably have to do that12:59
mok0akheron: but it just illustrates how the tools work at cross-purposes12:59
mok0akheron: and doing it that way means I have to extract the version number from configure.in13:02
mok0grr13:02
akheronbut if you're packaging software that releases tarballs, why do you want to use the code in their bzr repo?13:06
akheronif they were using git, would you use git-buildpackage?13:07
akheronwhy don't you use your own favorite tool and the tarball?13:07
akheronat least git-buildpackage supports working with the upstream tarballs so that your debian changes live in a different branch and when a new upstream version is released, you import it to your _packaging_ tree and merge accordingly13:08
akheronthe packaging git tree is completely separate from the upstream source tree13:08
=== Quintasan_ is now known as Quintasan
=== gnomelogger is now known as markeylogger
mok0akheron: they are not releasing tarballs13:21
akheronah13:22
mok0akheron: but it's a gnu autotools project, so the easiest way to do it is to do "make dist"13:22
akheronso won't your bzr tool do an upstream tarball for you then, without using make dist?13:22
akheronat least git-buildpackage does13:22
akheronit just takes the sources13:22
mok0akheron: perhaps it can do that13:22
akheronmok0: if it's an autotools project you should not ship ./configure or any generated stuff in the tarball13:23
akheronand run autoreconf -f -i as the first thing when building13:23
mok0akheron: well, yes, but...13:23
akheronand depend on autoconf, automake and libtool (or whatever is needeD)13:23
mok0that's not the autotools way13:23
akheronit's the debian way if there are no tarballs13:23
akheron(I think)13:23
mok0akheron: make dist creates all you need to build the package, on ANY system13:24
akheronso does "autoreconf -f -i; ./configure"13:24
mok0akheron: true :-)13:24
mok0akheron: I am doing that anyway :-)13:24
akheronI've been struggling with this myself13:25
mok0akheron: ... because upstream's version of libtool is causing problems13:25
mok0*sigh*13:25
akheronwell, that's a different problem then :)13:25
mok0akheron: my problem is getting bzr-builddeb to *run* in the first place13:25
=== markeylogger is now known as apachelogger
mok0akheron: which it doesn't because it complains about a whole bunch of changes that can't be represented in diff... changes which I don't _care_ about.13:27
akheronwhat versions do you have with libtool?13:28
akheronhow can you bootstrap the autotools if there are problems with libtool?13:28
mok0akheron: it seems the ltmain.sh shipped in the bzr repo is out-of-sync versionwise with some of the other tools...13:29
mok0akheron: autoreconf -i -f fixes that13:29
akheronwhy do they ship ltmain.sh?13:29
akheronare there other generated files in the bzr repo too?13:29
mok0akheron: don't know13:29
mok0akheron: afair, yes13:30
akheronsigh13:30
akheron:)13:30
mok0akheron: *sigh*13:30
akherondo they depend on a certain version of some of these tools?13:30
mok0akheron: I think the tools depend on the right versions of each other...13:30
akheronyes but does the project require a specific version of e.g. libtool to build at all?13:31
akheronor something like that13:31
mok0akheron: no, I don't think so... I got an error message at some point... can't remember the exact circumstances... I just fixed it using -f -i13:32
mok0akheron: I just continued with that and didn't do a post-mortem13:33
akheronwell, if autoreconf makes it work, why don't you just run autoreconf on build and be happy with a tarball that contains only the stuff in the bzr tree?13:33
mok0akheron: it's definitely an option13:33
akheronthat would *not* work only if they required a specific version of some of the tools13:33
akheronand that specific version is not available for ubuntu/debian13:33
mok0akheron: they don't13:33
mok0akheron: ... I think that is rather typical if you include the generated files in the repo13:34
mok0because then, if upstream is ahead of you in terms of system upgrading, you are in trouble13:35
akheronyou mean they use never versions of the tools than you have available?13:35
mok0akheron: yes13:35
mok0akheron: newer macros and so on13:35
akheronthen you should get a "make dist" tarball on a system that has the new tools and not use the upstream bzr at all13:36
mok0akheron: indeed13:36
mok0akheron: anyway, thanks for the ping-pong. I am more relaxed now :-)13:37
akheronnp :)13:37
akoskmHi! How can I modify the java.library.path while I'm installing my package? I have precompiled native libraries (by ant) what I want to include their directory in java.library.path.13:41
BlackZScottK: hello, can you please have a look at bug #697844 if you have time?14:04
ubottuLaunchpad bug 697844 in maverick-backports "Please backport amsn 0.98.4-0ubuntu1 from Natty" [Undecided,New] https://launchpad.net/bugs/69784414:04
ScottKSure14:04
BlackZScottK: thanks :)14:04
ScottKDone14:08
=== hanska is now known as dapal
=== leagris is now known as virtuald
evaluatehello dapal :-)18:58
dapalevaluate: moo :)19:51
dapalevaluate: I just replied to your mail -- I read it before today, but I was quite tired, so I delayed it to tonight ;)19:51
evaluateawesome. I'll read it right now.19:55
evaluatedapal, could I PM you for a minute?20:10
dapalyup20:10
tumbleweedwhat actually is our policy on maintainer e-mail addresses for ubuntu-only packages? I see many REVU packages using ubuntu-developers as the maintainers, with the original packager as XBSC-O-M.20:20
tumbleweedbdrung's recent update-maintainer change sets ubuntu-developers if the maintainer doesn't end in @ubuntu.com, is that the best approximation to our policy?20:21
siloxidhas there been any word recently of the ubuntu app center taking paid apps?  it seems like it was there for a short time and then got taken down20:37

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