[Buildd-tools-devel] Bug#483338: Bug#483338: sbuild: ~*=PROVIDED=*= hack breaks build-conflicts

Roger Leigh rleigh at whinlatter.ukfsn.org
Sat Aug 16 12:18:31 UTC 2008


Patch modified to use a string comparison:

diff --git a/lib/Sbuild/Build.pm b/lib/Sbuild/Build.pm
index 64127bf..d1b1367 100644
--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -1310,7 +1310,7 @@ sub check_dependencies (\$\@) {
 		if (!$dep->{'Rel'}) {
 		    $fail .= "$name(still installed) ";
 		}
-		elsif ($stat->{'Version'} == '~*=PROVIDED=*=') {
+		elsif ($stat->{'Version'} eq '~*=PROVIDED=*=') {
 		    # It's a versioned build-conflict, but we installed
 		    # a package that provides the conflicted package. It's ok.
 		}


-- 
  .''`.  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/20080816/b4a5f80d/attachment.pgp 


More information about the Buildd-tools-devel mailing list