[Buildd-tools-devel] Bug#489794: Bug#489794: [sbuild] fails to build with relative directory

Roger Leigh rleigh at whinlatter.ukfsn.org
Mon Jul 7 21:04:37 UTC 2008


tags 489794 + confirmed fixed-upstream pending
thanks

Francois-Denis Gonthier <fdgonthier at kryptiva.com> writes:

> sbuild 0.57.4-1 doesn't want to build a .dsc file if the .dsc file is
> specified as a relative path:
>
> D: DSC = ../some-package_1.1.0.2.dsc
> D: Source Dir = ..
> D: DSC Base = some-package_1.1.0.2.dsc
> D: DSC File = some-package_1.1.0.2.dsc
> D: DSC Dir = some-package_1.1.0.2.dsc

> This is a regression from previous version.  It as always worked.
>
> The attached patch fixes the problem for me.

> -	if ((!$self->{'Download'} && ! -f $self->{'DSC File'}) ||
> +	if ((!$self->{'Download'} && ! -f $self->{'DSC'}) ||

Many thanks for catching this, and again for the patch!  This is
indeed a regression, caused by some refactoring of the code since the
previous release.  That was the one and only thing I didn't test
related to the changes!

I've applied your patch to the git repository, and it will be in the
next upload.

http://git.debian.org/?p=buildd-tools/sbuild.git;a=commitdiff;h=aed048c57f9bacff4c903e8c293da02979253b71


Many thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080707/6b94a2d4/attachment.pgp 


More information about the Buildd-tools-devel mailing list