From a03db1ee456a2497481650975b094b1e659d36fc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 6 Sep 2012 17:28:48 +0000 Subject: fix false positive when looking for errors (spot by boklm) --- NEWS | 1 + iurt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.1