diff options
author | Elan Ruusamäe | 2013-04-09 18:29:58 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2013-04-09 18:29:58 (GMT) |
commit | b0405c02254b80c67106884b028b9107764177e4 (patch) | |
tree | 564c98ea75d333e7dd582d89ec4092307f80951f | |
parent | 11e3764fad3f027a376e0ecf1cb80be0272e378b (diff) | |
download | cleanbuild-b0405c02254b80c67106884b028b9107764177e4.zip cleanbuild-b0405c02254b80c67106884b028b9107764177e4.tar.gz |
add patterns for ocaml errors
svn-id: @12645
-rwxr-xr-x | findbr | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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} ) { |