aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-06 17:28:48 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-06 17:28:48 +0000
commita03db1ee456a2497481650975b094b1e659d36fc (patch)
treed2f35a1c9df0f1a799d11ccd945e6eedcf964738
parent04f7d554439b6add8e010a380da05cc592012086 (diff)
downloadiurt-a03db1ee456a2497481650975b094b1e659d36fc.tar
iurt-a03db1ee456a2497481650975b094b1e659d36fc.tar.gz
iurt-a03db1ee456a2497481650975b094b1e659d36fc.tar.bz2
iurt-a03db1ee456a2497481650975b094b1e659d36fc.tar.xz
iurt-a03db1ee456a2497481650975b094b1e659d36fc.zip
fix false positive when looking for errors
(spot by boklm)
-rw-r--r--NEWS1
-rwxr-xr-xiurt2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 59db42e..067e370 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
0.6.10 (unreleased)
+- fix false positive when looking for errors
0.6.9
- failing to mount /dev/pts is not a fatal error
diff --git a/iurt b/iurt
index 56aa63e..f8d6ad0 100755
--- a/iurt
+++ b/iurt
@@ -964,7 +964,7 @@ retry:
exit();
}
plog('DEBUG', "calling callback for $opt->{hash}");
- if ($output =~ m!/bin/ld: cannot find -l(\S*)|configure.*error.* (?:-l(\S+)|(\S+) includes)!) {
+ 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");