From b0405c02254b80c67106884b028b9107764177e4 Mon Sep 17 00:00:00 2001 From: Elan Ruusamäe Date: Tue, 9 Apr 2013 18:29:58 +0000 Subject: add patterns for ocaml errors svn-id: @12645 diff --git a/findbr b/findbr index ca7fa66..951b771 100755 --- a/findbr +++ b/findbr @@ -281,11 +281,21 @@ while ( $_ = shift @lines ) { 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} ) { -- cgit v0.10.2