SVN: toys/tools/cleanbuild/findbr
glen
glen at pld-linux.org
Tue Jan 29 09:45:10 CET 2013
Author: glen
Date: Tue Jan 29 09:45:10 2013
New Revision: 12615
Modified:
toys/tools/cleanbuild/findbr
Log:
more finding pkgconfig errors (from xpra build)
Modified: toys/tools/cleanbuild/findbr
==============================================================================
--- toys/tools/cleanbuild/findbr (original)
+++ toys/tools/cleanbuild/findbr Tue Jan 29 09:45:10 2013
@@ -236,7 +236,6 @@
}
poldek_file( "/usr/bin/$exec", "/bin/$exec" );
}
-
if ( /\S+\.[ch](?:pp|xx|c)?:\d+:\d+: error: (\S+): No such file or directory$/ or
/\S+\.[ch](?:pp|xx|c)?:\d+:\d+: fatal error: (\S+): No such file or directory$/ ) {
@@ -244,7 +243,9 @@
warn "Looking for C(++) header $h\n";
poldek_file( "/usr/include*/$h" );
}
- if ( m{^ImportError: No module named (\S+)$} ) {
+ if ( m{^ImportError: No module named (\S+)$} or
+ m{^ERROR: Cannot find .+: No module named (\S+)$}
+ ) {
my $mod = $1;
$mod =~ s#\.#/#g;
warn "Looking for python module $mod\n";
@@ -254,7 +255,7 @@
"/usr/lib*/python2*/_$mod.so",
"/usr/lib*/python2*/$mod.so" );
}
- if ( /configure(?:\.in|\.ac)?:\d+: error: possibly undefined macro: (\S+)/
+ if ( /configure(?:\.in|\.ac)?:\d+: error: possibly undefined macro: (\S+)/
or m{configure(?:\.in|\.ac)?:\d+: error: m4 macro `(\S+)' is not defined}
or m{warning: macro `(\S+)' not found in library} ) {
my $macro = $1;
@@ -270,6 +271,7 @@
/Package (\S+) was not found in the pkg-config search path/
or m{None of the required '(\S+?)(?:[<>=].*)?' found}
or m{--\s+package '(\S+?)(?:[<>=].*)?' not found}
+ or m{ERROR: cannot find a valid pkg-config package for \['(\S+?)(?:[<>=].*)?'\]}
) {
my $pkg = $1;
warn "Looking for package $pkg\n";
More information about the pld-cvs-commit
mailing list