Bug#359747: [Buildd-tools-devel] Bug#359747: Fails to install
sourcedeps when dsc has a ./ prefix
Roger Leigh
rleigh at whinlatter.ukfsn.org
Tue Mar 28 17:53:25 UTC 2006
tags 359747 + patch fixed-upstream pending
thanks
Roger Leigh <rleigh at debian.org> writes:
> sbuild does not install sourcedeps when invoked like this:
>
> $ sbuild ./package_version.dsc
This patch corrects the bug:
Index: sbuild
===================================================================
RCS file: /cvsroot/buildd-tools/sbuild/sbuild,v
retrieving revision 1.108
diff -u -r1.108 sbuild
--- sbuild 27 Mar 2006 16:15:15 -0000 1.108
+++ sbuild 28 Mar 2006 17:51:33 -0000
@@ -342,6 +342,7 @@
($urlbase, $pkgv) = ($1, $3) if $pkgv =~ m,^(\w+://(\S+/)?)([^/]+)$,;
$pkgv =~ s/\.dsc$//;
(my $pkg = $pkgv) =~ s/_.*$//;
+ $pkg =~ s/^\.\///;
next if !open_pkg_log( $pkgv );
if ($conf::chroot_mode eq "schroot") {
Index: debian/changelog
===================================================================
RCS file: /cvsroot/buildd-tools/sbuild/debian/changelog,v
retrieving revision 1.139
diff -u -r1.139 changelog
--- debian/changelog 27 Mar 2006 16:15:16 -0000 1.139
+++ debian/changelog 28 Mar 2006 17:51:34 -0000
@@ -33,6 +33,8 @@
toolchain package versions, in the same style as reportbug.
- build(): Check for _all.udeb files which are built when they
shouldn't (merge from upstream SVN cset 98).
+ - Strip "./" from $pkg, so the name used for source dependencies is
+ correct (Closes: #359747).
* sbuild.1: Document schroot chroot naming.
* sbuild-setup.7: Use debootstrap rather than cdebootstrap.
* bin/common_functions: Allow any chroot name to be specified
--
Roger Leigh
Printing on GNU/Linux? http://gutenprint.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060328/c57de79c/attachment.pgp
More information about the Buildd-tools-devel
mailing list