Bug#103024: dpkg-shlibdeps mostly useless on the Hurd
This patch does not seem to work for /usr/X11R6/lib, only /usr/lib:
blackbird:/tmp/chemtool-1.5+1.6alpha27# dpkg-shlibdeps.pl \
-Tdebian/chemtool.substvars debian/chemtool/usr/bin/chemtool \
debian/chemtool/usr/bin/cht
dpkg-shlibdeps.pl: warning: could not find any packages for
/usr/X11R6/lib/libXi.so.6 (libXi.so.6)
dpkg-shlibdeps.pl: warning: unable to find dependency information for
shared library libXi (soname 6, path /usr/X11R6/lib/libXi.so.6,
dependency field Depends)
dpkg-shlibdeps.pl: warning: could not find any packages for
/usr/X11R6/lib/libXext.so.6 (libXext.so.6)
dpkg-shlibdeps.pl: warning: unable to find dependency information for
shared library libXext (soname 6, path /usr/X11R6/lib/libXext.so.6,
dependency field Depends)
dpkg-shlibdeps.pl: warning: could not find any packages for
/usr/X11R6/lib/libX11.so.6 (libX11.so.6)
dpkg-shlibdeps.pl: warning: unable to find dependency information for
shared library libX11 (soname 6, path /usr/X11R6/lib/libX11.so.6,
dependency field Depends)
blackbird:/tmp/chemtool-1.5+1.6alpha27# cat debian/chemtool.substvars
shlibs:Depends=libc6 (>= 2.3.1-1), libglib1.2 (>= 1.2.0), libgtk1.2 (>=
1.2.10-4)
This is what the current unmodified dpkg-shlibdeps on unstable do:
blackbird:/tmp/chemtool-1.5+1.6alpha27# dpkg-shlibdeps.pl.orig \
-Tdebian/chemtool.substvars debian/chemtool/usr/bin/chemtool \
debian/chemtool/usr/bin/cht
dpkg-shlibdeps.pl.orig: warning: could not find any packages for
/lib/libgtk-1.2.so.0 (libgtk-1.2.so.0)
dpkg-shlibdeps.pl.orig: warning: unable to find dependency information
for shared library libgtk-1.2 (soname 0, path /lib/libgtk-1.2.so.0,
dependency field Depends)
dpkg-shlibdeps.pl.orig: warning: could not find any packages for
/lib/libgdk-1.2.so.0 (libgdk-1.2.so.0)
dpkg-shlibdeps.pl.orig: warning: unable to find dependency information
for shared library libgdk-1.2 (soname 0, path /lib/libgdk-1.2.so.0,
dependency field Depends)
dpkg-shlibdeps.pl.orig: warning: could not find any packages for
/lib/libgmodule-1.2.so.0 (libgmodule-1.2.so.0)
dpkg-shlibdeps.pl.orig: warning: unable to find dependency information
for shared library libgmodule-1.2 (soname 0, path
/lib/libgmodule-1.2.so.0, dependency field Depends)
dpkg-shlibdeps.pl.orig: warning: could not find any packages for
/lib/libglib-1.2.so.0 (libglib-1.2.so.0)
dpkg-shlibdeps.pl.orig: warning: unable to find dependency information
for shared library libglib-1.2 (soname 0, path /lib/libglib-1.2.so.0,
dependency field Depends)
blackbird:/tmp/chemtool-1.5+1.6alpha27# cat debian/chemtool.substvars
shlibs:Depends=libc6 (>= 2.3.1-1), xlibs (>> 4.1.0)
Here, the xlibs get considered correctly.
blackbird:/tmp/chemtool-1.5+1.6alpha27# dpkg-shlibdeps \
-Tdebian/chemtool.substvars debian/chemtool/usr/bin/chemtool \
debian/chemtool/usr/bin/cht
blackbird:/tmp/chemtool-1.5+1.6alpha27# cat debian/chemtool.substvars
shlibs:Depends=libglib1.2 (>= 1.2.0), libc6 (>= 2.3.1-1), xlibs (>>
4.1.0), libgtk1.2 (>= 1.2.10-4)
This dpkg-shlibdeps invocation is from the python version in current
cvs, which seems to do fine without modifications. Any ETA for that?
Note that I tested this on linux in an unstable chroot, where I moved
all the stuff under /usr into / and made the symlink like on the Hurd.
The orginal substvars from the package look like:
shlibs:Depends=libc6 (>= 2.3.1-1), libglib1.2 (>= 1.2.0), libgtk1.2 (>=
1.2.10-4), xlibs (>> 4.1.0)
regards,
Michael
Reply to: