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

Bug#347228: libxt6: Missing dependency on libx11-6.



Hello Daniel.

On Mon, 9 Jan 2006 18:48:20 +0100
you wrote:

> On Mon, Jan 09, 2006 at 11:08:21AM -0500, David Nusinow wrote:
> > On Mon, Jan 09, 2006 at 04:22:04PM +0100, Daniel Kobras wrote:
> > > libXt from 6.9.0.dfsg.1-2 was linked with libX11, but this
> dependency is
> > > not reflected in the Depends: of the binary package:
> > > 
> > > % ldd /usr/X11R6/lib/libXt.so.6
> > >         linux-gate.so.1 =>  (0xffffe000)
> > >         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7ece000)
> > >         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7ec6000)
> > >         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7eaf000)
> > >         libc.so.6 => /lib/tls/libc.so.6 (0xb7d78000)
> > >         libdl.so.2 => /lib/tls/libdl.so.2 (0xb7d74000)
> > >         /lib/ld-linux.so.2 (0x80000000)
> > > 
> > > but:
> > > 
> > > % dpkg -s libxt6 | grep Depends
> > > Depends: libc6 (>= 2.3.5-1), libice6, libsm6, debconf (>= 0.5) |
> debconf-2.0
> > > 
> > > The required dependency on libx11-6 is missing.
> > 
> > This is odd. Why doesn't ${shlibs:Depends} add this automatically
> like it
> > should? All these other deps are added correctly. Any clues from
> anyone?

> Looks like debian/libx11-6.shlibs.local (added in 4.3.0-0pre1v5) does
> not only prevent self-dependencies, but prevents any dependency on
> libx11-6 within the xorg-x11 packages.

Yep. Because it looks like dh_shlibdeps ignores -p switch:

sh-3.00# DEBTREEDIR=$(pwd)/debian/tmp dh_shlibdeps -v -a -plibx11-6 -l$DEBTREEDI
R/usr/lib -l$DEBTREEDIR/usr/X11R6/lib -- -Ldebian/libx11-6.shlibs.local
        LD_LIBRARY_PATH=/usr/X11R6/lib
        dpkg-shlibdeps -Tdebian/lbxproxy.substvars -Ldebian/libx11-6.shlibs.local debian/lbxproxy/usr/X11R6/bin/lbxproxy
        LD_LIBRARY_PATH=/usr/X11R6/lib
        dpkg-shlibdeps -Tdebian/libdmx1.substvars -Ldebian/libx11-6.shlibs.local debian/libdmx1/usr/X11R6/lib/libdmx.so.1.0
        LD_LIBRARY_PATH=/usr/X11R6/lib
        dpkg-shlibdeps -Tdebian/libfs6.substvars -Ldebian/libx11-6.shlibs.local debian/libfs6/usr/X11R6/lib/libFS.so.6.0
        LD_LIBRARY_PATH=/usr/X11R6/lib
        dpkg-shlibdeps -Tdebian/libice6.substvars -Ldebian/libx11-6.shlibs.local debian/libice6/usr/X11R6/lib/libICE.so.6.4
        LD_LIBRARY_PATH=/usr/X11R6/lib
        dpkg-shlibdeps -Tdebian/libxp6.substvars -Ldebian/libx11-6.shlibs.local debian/libxp6/usr/X11R6/lib/libXp.so.6.2
        LD_LIBRARY_PATH=/usr/X11R6/lib
        dpkg-shlibdeps -Tdebian/libsm6.substvars -Ldebian/libx11-6.shlibs.local debian/libsm6/usr/X11R6/lib/libSM.so.6.0
        LD_LIBRARY_PATH=/usr/X11R6/lib

... and so on.



Reply to: