[projects/buildlogs] Catch errors like 'CMakeFiles/Makefile2:991: recipe for target 'nepomuk/CMakeFiles/nepomuk.dir/all'
arekm
arekm at pld-linux.org
Sun May 24 22:17:51 CEST 2015
commit 3aa6202cf5cb1d9f17c36b60ef8e481b9a9b1bc5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun May 24 22:17:47 2015 +0200
Catch errors like 'CMakeFiles/Makefile2:991: recipe for target 'nepomuk/CMakeFiles/nepomuk.dir/all' failed'
index.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/index.php b/index.php
index d358384..3397013 100644
--- a/index.php
+++ b/index.php
@@ -374,7 +374,7 @@ function dump_log($tail)
$toc_elem = "error $err_count";
$err_elem = $s;
$s = "<span class=error id=error-$err_count>$s</span>";
- } elseif (preg_match("/(?:undefined reference to)/i", $s)) {
+ } elseif (preg_match("/(?:undefined reference to|recipe for target '.*?' failed)/i", $s)) {
$first_cut = true;
$err_count++;
$toc_elem = "error $err_count";
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/buildlogs.git/commitdiff/3aa6202cf5cb1d9f17c36b60ef8e481b9a9b1bc5
More information about the pld-cvs-commit
mailing list