Debian Bug report logs - #577140
svn-buildpackage: Cannot handle packages with multiple original tarballs

version graph

Package: svn-buildpackage; Maintainer for svn-buildpackage is svn-buildpackage maintainers <svn-bp-devel@lists.alioth.debian.org>; Source for svn-buildpackage is src:svn-buildpackage.

Reported by: Gunnar Wolf <gwolf@gwolf.org>

Date: Sat, 10 Apr 2010 00:27:02 UTC

Severity: normal

Tags: moreinfo

Found in version svn-buildpackage/0.7.1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Neil Williams <codehelp@debian.org>:
Bug#577140; Package svn-buildpackage. (Sat, 10 Apr 2010 00:27:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gunnar Wolf <gwolf@gwolf.org>:
New Bug report received and forwarded. Copy sent to Neil Williams <codehelp@debian.org>. (Sat, 10 Apr 2010 00:27:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Gunnar Wolf <gwolf@gwolf.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: svn-buildpackage: Cannot handle packages with multiple original tarballs
Date: Fri, 09 Apr 2010 19:16:14 -0500
Package: svn-buildpackage
Version: 0.7.1
Severity: normal

When building a package with more than one source tarball, only the
main tarball is considered. 

Thanks,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages svn-buildpackage depends on:
ii  devscripts                   2.10.61     scripts to make the life of a Debi
ii  file                         5.04-1      Determines file type using "magic"
ii  libcapture-tiny-perl         0.07-1      module to capture STDOUT and STDER
ii  libfile-libmagic-perl        0.91-2      Perl interface to libmagic for det
ii  liblocale-gettext-perl       1.05-6      Using libc functions for internati
ii  libsvn-perl                  1.6.9dfsg-1 Perl bindings for Subversion
ii  liburi-perl                  1.52-1      module to manipulate and access UR
ii  perl                         5.10.1-11   Larry Wall's Practical Extraction 
ii  subversion                   1.6.9dfsg-1 Advanced version control system
ii  unp                          1.0.15      unpack (almost) everything with on
ii  wget                         1.12-1.1    retrieves files from the web

Versions of packages svn-buildpackage recommends:
ii  debhelper                     7.4.15     helper programs for debian/rules

svn-buildpackage suggests no packages.

-- debconf-show failed




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#577140; Package svn-buildpackage. (Sat, 10 Apr 2010 15:06:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Neil Williams <codehelp@debian.org>:
Extra info received and forwarded to list. (Sat, 10 Apr 2010 15:06:08 GMT) Full text and rfc822 format available.

Message #10 received at 577140@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: 577140@bugs.debian.org
Cc: 577140-submitter@bugs.debian.org, control@bugs.debian.org
Subject: Example?
Date: Sat, 10 Apr 2010 16:03:36 +0100
[Message part 1 (text/plain, inline)]
tag 577140 + moreinfo
quit

Can you add the name of a source package that you've had this problem
with when building?

Thanks.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

[Message part 2 (application/pgp-signature, inline)]

Added tag(s) moreinfo. Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Sat, 10 Apr 2010 15:06:10 GMT) Full text and rfc822 format available.

Message sent on to Gunnar Wolf <gwolf@gwolf.org>:
Bug#577140. (Sat, 10 Apr 2010 15:06:15 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Neil Williams <codehelp@debian.org>:
Bug#577140; Package svn-buildpackage. (Sat, 10 Apr 2010 16:06:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gunnar Wolf <gwolf@gwolf.org>:
Extra info received and forwarded to list. Copy sent to Neil Williams <codehelp@debian.org>. (Sat, 10 Apr 2010 16:06:06 GMT) Full text and rfc822 format available.

Message #20 received at 577140@bugs.debian.org (full text, mbox):

From: Gunnar Wolf <gwolf@gwolf.org>
To: Neil Williams <codehelp@debian.org>, 577140-quiet@bugs.debian.org
Cc: 577140@bugs.debian.org, 577140-submitter@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#577140: Example?
Date: Sat, 10 Apr 2010 10:52:12 -0500
Neil Williams dijo [Sat, Apr 10, 2010 at 04:03:36PM +0100]:
> tag 577140 + m54oreinfo
> quit
> 
> Can you add the name of a source package that you've had this problem
> with when building?

libprawn-ruby. The SVN repository is at
svn+ssh://svn.debian.org/svn/pkg-ruby-extras/trunk/libprawn-ruby

-- 
Gunnar Wolf • gwolf@gwolf.org • (+52-55)5623-0154 / 1451-2244




Information stored :
Bug#577140; Package svn-buildpackage. (Sat, 10 Apr 2010 16:06:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gunnar Wolf <gwolf@gwolf.org>:
Extra info received and filed, but not forwarded. (Sat, 10 Apr 2010 16:06:11 GMT) Full text and rfc822 format available.

Message sent on to Gunnar Wolf <gwolf@gwolf.org>:
Bug#577140. (Sat, 10 Apr 2010 16:06:13 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#577140; Package svn-buildpackage. (Sat, 10 Apr 2010 18:18:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Neil Williams <codehelp@debian.org>:
Extra info received and forwarded to list. (Sat, 10 Apr 2010 18:18:03 GMT) Full text and rfc822 format available.

Message #33 received at 577140@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: Gunnar Wolf <gwolf@gwolf.org>
Cc: 577140@bugs.debian.org, svn-bp-devel@lists.alioth.debian.org
Subject: Re: Bug#577140: Example and logs for multi-tarball failure
Date: Sat, 10 Apr 2010 19:14:31 +0100
[Message part 1 (text/plain, inline)]
On Sat, 10 Apr 2010 10:52:12 -0500
Gunnar Wolf <gwolf@gwolf.org> wrote:

> > Can you add the name of a source package that you've had this
> > problem with when building?
> 
> libprawn-ruby. The SVN repository is at
> svn+ssh://svn.debian.org/svn/pkg-ruby-extras/trunk/libprawn-ruby

Thanks, Gunnar.

I've tested this with 0.8.0 from SVN r15961 and:

$ cd /tmp
$ debcheckout libprawn-ruby 
$ svn-buildpackage -uc -us --svn-download-orig --svn-rm-prev-dir | \
 tee ../577140.log 2>&1

The log file is attached.

Interestingly, there's a different error if the build is re-attempted.
That's the part2 log file.

(Remove all contents of ../tarballs/ and ../build-area/ to revert to
the first error.)

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

[577140.log.gz (application/octet-stream, attachment)]
[577140-part2.log.gz (application/octet-stream, attachment)]
[Message part 4 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, svn-buildpackage maintainers <svn-bp-devel@lists.alioth.debian.org>:
Bug#577140; Package svn-buildpackage. (Thu, 15 Apr 2010 17:21:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gunnar Wolf <gwolf@gwolf.org>:
Extra info received and forwarded to list. Copy sent to svn-buildpackage maintainers <svn-bp-devel@lists.alioth.debian.org>. (Thu, 15 Apr 2010 17:21:05 GMT) Full text and rfc822 format available.

Message #38 received at 577140@bugs.debian.org (full text, mbox):

From: Gunnar Wolf <gwolf@gwolf.org>
To: 577140@bugs.debian.org
Cc: Neil Williams <codehelp@debian.org>, svn-bp-devel@lists.alioth.debian.org
Subject: Re: Bug#577140: Example and logs for multi-tarball failure
Date: Thu, 15 Apr 2010 12:07:48 -0500
Neil Williams dijo [Sat, Apr 10, 2010 at 07:14:31PM +0100]:
> > > Can you add the name of a source package that you've had this
> > > problem with when building?
> > 
> > libprawn-ruby. The SVN repository is at
> > svn+ssh://svn.debian.org/svn/pkg-ruby-extras/trunk/libprawn-ruby
> 
> Thanks, Gunnar.
> 
> I've tested this with 0.8.0 from SVN r15961 and:
> 
> $ cd /tmp
> $ debcheckout libprawn-ruby 
> $ svn-buildpackage -uc -us --svn-download-orig --svn-rm-prev-dir | \
>  tee ../577140.log 2>&1
> 
> The log file is attached.

Yes, I added the checks where it dies in debian/rules to ensure I (or
whoever NMUs it) don't try to build without all of the components. So,
I guess what happened here is that dpkg-buildpackage didn't
incorporate the two subproject tarballs. I have not delved in detail
to what svn-buildpackage does - but the main tarball is untarred just
in the same directory the two other ones are, then the diffs in SVN
are applied to it, and I guess dpkg-buildpackage is called to take
from that point on. Maybe when untarring, you should look for
${packagename}_${version}.orig(-whatever)?.tar.gz

> Interestingly, there's a different error if the build is
> re-attempted.
> That's the part2 log file.
> 
> (Remove all contents of ../tarballs/ and ../build-area/ to revert to
> the first error.)

Hm, that's quite odd, it basically says it didn't find the orig
tarballs, right? :-/

Greetings,

-- 
Gunnar Wolf • gwolf@gwolf.org • (+52-55)5623-0154 / 1451-2244




Information forwarded to debian-bugs-dist@lists.debian.org, svn-buildpackage maintainers <svn-bp-devel@lists.alioth.debian.org>:
Bug#577140; Package svn-buildpackage. (Tue, 14 Jun 2011 02:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jakub Wilk <jwilk@debian.org>:
Extra info received and forwarded to list. Copy sent to svn-buildpackage maintainers <svn-bp-devel@lists.alioth.debian.org>. (Tue, 14 Jun 2011 02:06:03 GMT) Full text and rfc822 format available.

Message #43 received at 577140@bugs.debian.org (full text, mbox):

From: Jakub Wilk <jwilk@debian.org>
To: Gunnar Wolf <gwolf@gwolf.org>, 577140@bugs.debian.org
Subject: Re: Bug#577140: svn-buildpackage: Cannot handle packages with multiple original tarballs
Date: Tue, 14 Jun 2011 04:02:37 +0200
[Message part 1 (text/plain, inline)]
* Gunnar Wolf <gwolf@gwolf.org>, 2010-04-09, 19:16:
>When building a package with more than one source tarball, only the 
>main tarball is considered.

The attached patch partially fixes the problem: --svn-download-orig 
doesn't work as expected, but if all the tarballs are already on disk, 
the build should succeed.

-- 
Jakub Wilk
[577140.diff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, svn-buildpackage maintainers <svn-bp-devel@lists.alioth.debian.org>:
Bug#577140; Package svn-buildpackage. (Fri, 02 Mar 2012 19:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tzafrir Cohen <tzafrir@cohens.org.il>:
Extra info received and forwarded to list. Copy sent to svn-buildpackage maintainers <svn-bp-devel@lists.alioth.debian.org>. (Fri, 02 Mar 2012 19:15:03 GMT) Full text and rfc822 format available.

Message #48 received at 577140@bugs.debian.org (full text, mbox):

From: Tzafrir Cohen <tzafrir@cohens.org.il>
To: 577140@bugs.debian.org
Subject: Re: Bug#577140: svn-buildpackage: Cannot handle packages with multiple original tarballs
Date: Fri, 2 Mar 2012 19:10:49 +0000
On Tue, Jun 14, 2011 at 04:02:37AM +0200, Jakub Wilk wrote:
> * Gunnar Wolf <gwolf@gwolf.org>, 2010-04-09, 19:16:
>> When building a package with more than one source tarball, only the  
>> main tarball is considered.
>
> The attached patch partially fixes the problem: --svn-download-orig  
> doesn't work as expected, but if all the tarballs are already on disk,  
> the build should succeed.

It seems that this is basically the same issue as #585658, though the
patch is slightly different. Do you prefer this patch?


> diff -Nru svn-buildpackage-0.8.3/svn-buildpackage svn-buildpackage-0.8.3+nmu1/svn-buildpackage
> --- svn-buildpackage-0.8.3/svn-buildpackage	2010-05-31 00:09:39.000000000 +0200
> +++ svn-buildpackage-0.8.3+nmu1/svn-buildpackage	2011-06-14 03:45:12.000000000 +0200
> @@ -628,6 +628,8 @@
>  	  } else {
>  	     withecho "mv", "$ba/tmp-$mod", "$bdir/$component";
>  	  }
> +	  $mod=rand;
> +	  mkdir "$ba/tmp-$mod";
>        }
>     }
>     if($opt_nolinks || $opt_ignnew) {


-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
tzafrir@debian.org    |                    | friend




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 18:47:56 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.