Hi!

On Sun, 2014-07-27 at 21:56:17 +0200, Sylvestre Ledru wrote:
> Package: dpkg-dev
> Version: 1.17.6
> Severity: minor

> The attached patch add a hint in case of error.
> Sometime, it is not obvious that the library is not shipped in one
> of the package... causing this error.

> diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl
> index 6f7c9ac..ff0156b 100755
> --- a/scripts/dpkg-shlibdeps.pl
> +++ b/scripts/dpkg-shlibdeps.pl
> @@ -295,7 +295,8 @@ foreach my $file (keys %exec) {
>                   # 3/ when we have been asked to do so
>                   $ignore++ if $ignore_missing_info;
>                   error(_g('no dependency information found for %s ' .
> -                          '(used by %s)'), $lib, $file)
> +                          '(used by %s)\n' .
> +                          'Hint: check if the library is actually shipped in 
> a package.'), $lib, $file)
>                       unless $ignore;
>               }
>           }

Looks good! I've queued the patch for my next push, with only a
line-wrapping change for the string at 80 columns.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to