aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-10-03 19:13:31 +0100
committerPascal Terjan <pterjan@mageia.org>2017-10-03 21:05:27 +0100
commite8f4a77c242470c6a9179c3c32a3926ea748a4c8 (patch)
treec356d72bf836c783d99024b5c6f0ff012eba272a
parent809aafa691fda512945b550c33b2398f297cd6a4 (diff)
downloadiurt-e8f4a77c242470c6a9179c3c32a3926ea748a4c8.tar
iurt-e8f4a77c242470c6a9179c3c32a3926ea748a4c8.tar.gz
iurt-e8f4a77c242470c6a9179c3c32a3926ea748a4c8.tar.bz2
iurt-e8f4a77c242470c6a9179c3c32a3926ea748a4c8.tar.xz
iurt-e8f4a77c242470c6a9179c3c32a3926ea748a4c8.zip
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.
-rwxr-xr-xiurt21
1 files changed, 0 insertions, 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)) {