diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2014-07-28 05:33:22 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-08-09 23:04:37 +0200 |
commit | 7104dc16110603687b85c6e2b9a0170b17caab8c (patch) | |
tree | cfafd62c25dec67adff74daaef438439086ee723 /scripts/dpkg-shlibdeps.pl | |
parent | 43c945efdf244e9124d916e3a4e028a557ed8e3c (diff) | |
download | dpkg-7104dc16110603687b85c6e2b9a0170b17caab8c.tar.gz |
dpkg-shlibdeps: Add a hint to the error on no dependency information found
Suggest in the output to check if the library is actually packaged.
[guillem@debian.org:
- Line-wrap to 80 columns.
- Slight rewording. ]
Closes: #756230
Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'scripts/dpkg-shlibdeps.pl')
-rwxr-xr-x | scripts/dpkg-shlibdeps.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl index ccd5980c2..d821cd856 100755 --- a/scripts/dpkg-shlibdeps.pl +++ b/scripts/dpkg-shlibdeps.pl @@ -291,7 +291,9 @@ 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 actually comes ' . + 'from a package.'), $lib, $file) unless $ignore; } } |