From e8f4a77c242470c6a9179c3c32a3926ea748a4c8 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 3 Oct 2017 19:13:31 +0100 Subject: Kill missing buildrequires detection It should probably work in a few cases but is not really useful as it ends up in some logs no one reads while the error is obvious to understand. --- iurt | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/iurt b/iurt index 23bc21d..d0ec6bf 100755 --- a/iurt +++ b/iurt @@ -874,27 +874,6 @@ retry: exit(); } plog('DEBUG', "calling callback for $opt->{hash}"); - if ($output =~ m!/bin/ld: cannot find -l(\S*)|configure.*[^W]error.* (?:-l(\S+)|(\S+) includes)!) { - my $missing = $1; - my @rpm = find_provides(\%pack_provide, $missing); - plog(5, "likely @rpm ($missing-devel) needed to rebuilt $srpm is not in build_requires"); - if ($maintainer ne 'NOT_FOUND') { - $opt->{mail} = $maintainer; - #$opt->{mail} .= ", other_maint"; - } - if (!$opt->{mail}) { - $opt->{mail} = "Maintainer not found <$config->{admin}>"; - } - if (@rpm > 1) { - $opt->{error} = "[MISSING_BUILD_REQUIRES_TAG] one of @rpm ($missing-devel), needed to build $srpm, is not in buildrequires"; - } elsif (@rpm == 1) { - $opt->{error} = "[MISSING_BUILD_REQUIRES_TAG] @rpm ($missing-devel), needed to build $srpm, is not in buildrequires"; - } else { - $opt->{error} = "[MISSING_BUILD_REQUIRES_TAG] $missing-devel, needed to build $srpm, is not in buildrequires"; - } - $cache->{buildrequires}{$srpm}{$missing} = \@rpm; - return $srpm; - } 1; }, freq => 1)) { -- cgit v1.2.1