[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg-shlibdeps broken? doesn't read shlibs.local when needed



It appears dpkg-shlibdeps doesn't read debian/shlibs.local when it can't parse
the ldd output. This includes the case where the library wasn't found. Meaning
shlibs.local is no longer an effective way to deal with the problem of finding
dependencies on other binary packages from the same source package.

It doesn't seem like this has always been this way, since this was the normal
way of dealing until now. But it seems currently if your package isn't already
installed then dpkg-shlibdeps isn't going to find the library dependencies.


Here's the contents of my debian/shlibs.local:
libkrb  0 libkrb4kth0
libdes  0 libkrb4kth0
libkadm 0 libkrb4kth0
libkdb  0 libkrb4kth0
libsl   0 libkrb4kth0
libkafs 0 libkrb4kth0
 
And here's the output of dpkg-shlibsdep:
$ dpkg-shlibdeps -T/tmp/x debian/kerberos4kth-user/usr/bin/kinit
dpkg-shlibdeps: warning: unknown output from ldd on `debian/kerberos4kth-user/usr/bin/kinit': ` libkrb.so.0 => not found'
dpkg-shlibdeps: warning: unknown output from ldd on `debian/kerberos4kth-user/usr/bin/kinit': ` libdes.so.0 => not found'

And here's the substvars dpkg-shlibsdep produces:
shlibs:Depends=libc6


As I understand it dpkg-shlibsdep really ought to be reading the shlibs.local
in this case and be saving Depends=libc6,libkrb4kth0

greg


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: