Package: dpkg-dev
Severity: wishlist
Tags: dpkg-shlibdeps
I came across a package where the upstream tarball contained some i386
binaries on it which it did not clean but did install in its makefile.
The result was that when building the package on amd64, I got the
following confusing error message in a minimal build chroot:
dh_shlibdeps -prubiks
dpkg-shlibdeps: failure: couldn't find library libc.so.6 needed by
debian/rubiks/usr/bin/optimal (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any
shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set
LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary-predeb-IMPL/rubiks] Error 1
If libc6-i386 is installed, dpkg-dhlibdeps terminates without errors, and
ldd will correctly claim the binary was linked against /lib32/libc.so.6.
I realize that this represents a bug in the package, but it'd be nice if
dpkg-shlibdeps provided a better error message in this case.
-Tim Abbott
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]