]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
findbr match updates
authorElan Ruusamäe <glen@delfi.ee>
Sun, 16 Mar 2014 01:00:59 +0000 (03:00 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 16 Mar 2014 01:00:59 +0000 (03:00 +0200)
findbr

diff --git a/findbr b/findbr
index ab68bbb093f57ba5666fdeb8ecfc4fe892ea961c..f23f5647fd37554dada9de1ee0dbb3b9cecb1d91 100755 (executable)
--- a/findbr
+++ b/findbr
@@ -331,13 +331,25 @@ while ( $_ = shift @lines ) {
                poldek_file( "/usr/lib*/perl*/$mod", "/usr/share/perl*/$mod" );
        }
 
-       if ( m{^(?:/usr/bin/ld: )?cannot find -l(.*?)$} ) {
+       if (
+               m{^(?:/usr/bin/ld: )?cannot find -l(.*?)$}
+       ) {
                my $lib = $1;
                warn "Looking for library $lib\n";
                poldek_file( "/usr/lib64/lib$lib.so", "/usr/lib/lib$lib.so",
                        "/usr/lib*/lib$lib.so" );
        }
-       if ( m{^error: Couldn't exec (/\S+): No such file or directory$} 
+
+       # full path to ldd files
+       if (
+               m{^WARNING; can.*t resolve .* dependency: (.*?)$}
+       ) {
+               my $lib = $1;
+               warn "Looking for library '$lib'\n";
+               poldek_file( "/usr/lib64/$lib", "/usr/lib/$lib", "/lib64/$lib", "/lib/$lib");
+       }
+
+       if ( m{^error: Couldn't exec (/\S+): No such file or directory$}
                        or m{^Can't open perl script "(/\S+)": No such file or directory$}
                        or m{unable to open (/\S+) \(No such file or directory\)$}
                        or m{GConf-CRITICAL \*\*: No such file `(/.\S+?)'$}
This page took 0.120902 seconds and 4 git commands to generate.