Author: glen Date: Tue Apr 9 20:29:58 2013 New Revision: 12645 Modified: toys/tools/cleanbuild/findbr Log: add patterns for ocaml errors
Modified: toys/tools/cleanbuild/findbr ============================================================================== --- toys/tools/cleanbuild/findbr (original) +++ toys/tools/cleanbuild/findbr Tue Apr 9 20:29:58 2013 @@ -281,11 +281,21 @@ warn "Looking for package $pkg\n"; poldek_file( "/usr/lib*/pkgconfig/$pkg.pc" ); } + + if (/^ocamlfind: Package `(\S+)' not found - required by/ + or m{Camlp4: Uncaught exception: DynLoader.Error \("(\S+)", "file not found in path"\)} + ) { + my $pkg = $1; + warn "Looking for ocaml package $pkg\n"; + poldek_file( "/usr/lib*/ocaml/*/$pkg.a", "/usr/lib*/ocaml/*/$pkg"); + } + if ( m{^cp: cannot stat `(/.*)': No such file or directory$} ) { my $f = $1; warn "Looking for file $f\n"; poldek_file( $f ); } + if ( m{^find-lang.sh: Error: international files not found for '} or m{ gettext tools not found} ) { _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit