Package: debhelper
Version: 5.0.63
Severity: normal

IIRC the logic behind the "-l" option was to help "ldd" find out a given
lib... but dpkg-shlibdeps doesn't use ldd since a long time (even before
the recent changes) and finds the library by himself by following the same
logic as ld.so but in different (virtual) root directories (those of the
packages - debian/pkg - and then the real root /).

Nowadays, dpkg-shlibdeps uses LD_LIBRARY_PATH only as a list of absolute
directories to scan. If we have for example LD_LIBRARY_PATH=/usr/lib/package/ 
then dpkg-shlibdeps will try to locate the libraries in:
- debian/pkg1/usr/lib/package/
- debian/pkg2/usr/lib/package/
- /usr/lib/package/
(I skipped the standard directories in that list)

So with a value of "/tmp/buildd/.../debian/libfoo/usr/lib" it will
try to find the library in:
- debian/pkg1/tmp/buildd/.../debian/libfoo/usr/lib
- debian/pkg2/tmp/buildd/.../debian/libfoo/usr/lib
- /tmp/buildd/.../debian/libfoo/usr/lib
And this is counter-productive.

I understand that you can't change the semantics of -l for backwards
compatibility, so it's best if you simply update the manual page and
explain how -l should be used nowadays.

The EXAMPLES section should also be fixed. In fact, the -L and -l option
are not needed with a recent dpkg-shlibdeps unless you have multiple
flavor of the same library (see the other bug report about the -L option).

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils            2.18.1~cvs20071027-1 The GNU assembler, linker and bina
ii  coreutils           5.97-5.6             The GNU core utilities
ii  dpkg-dev            1.14.15~ctlrm        package building tools for Debian
ii  file                4.21-4               Determines file type using "magic"
ii  html2text           1.3.2a-3             An advanced HTML to text converter
ii  perl                5.8.8-12             Larry Wall's Practical Extraction 
ii  po-debconf          1.0.11               manage translated Debconf template

debhelper recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to