[Buildd-tools-devel] Bug#483338: Bug#483338: sbuild: ~*=PROVIDED=*= hack breaks build-conflicts
Roger Leigh
rleigh at whinlatter.ukfsn.org
Sat Aug 16 14:45:22 UTC 2008
Lucas Nussbaum <lucas at lucas-nussbaum.net> writes:
> On 16/08/08 at 13:18 +0100, Roger Leigh wrote:
>> 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.
>
> One day I will learn perl... :-)
He he! Hopefully I'll get to the point where it's sufficiently
refactored we can switch to a saner language post-Lenny! It's now
mostly there! The dependency code is the next big task on the TODO
list in my head.
--
.''`. 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/39d77ca1/attachment.pgp
More information about the Buildd-tools-devel
mailing list