[projects/buildlogs] Catch errors like: make[2]: *** No rule to make target '/usr/lib64/libhdf5.so.1.8.20', needed by 'li

arekm arekm at pld-linux.org
Fri May 18 16:41:13 CEST 2018


commit a79bc71c5646bf1f5082e3cd1fbd2741928151ac
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri May 18 16:41:10 2018 +0200

    Catch errors like: make[2]: *** No rule to make target '/usr/lib64/libhdf5.so.1.8.20', needed by 'lib/libopencv_hdf.so.3.4.1'. Stop.

 index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/index.php b/index.php
index 35cbe0d..906294b 100644
--- a/index.php
+++ b/index.php
@@ -393,7 +393,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|recipe for target '.*?' failed)/i", $s)) {
+		} elseif (preg_match("/(?:undefined reference to|recipe for target '.*?' failed|make\[.*:.* Stop\.$)/i", $s)) {
 			$first_cut = true;
 			$err_count++;
 			$toc_elem = "error $err_count";
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/buildlogs.git/commitdiff/a79bc71c5646bf1f5082e3cd1fbd2741928151ac



More information about the pld-cvs-commit mailing list