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

Bug#119016: marked as done ([checks/rules] proper {dh_,dpkg-}shlibdeps usage for packages with both libs and binaries)



Your message dated Sun, 01 Feb 2009 13:52:21 -0800
with message-id <87d4e1dduy.fsf@windlord.stanford.edu>
and subject line Re: Bug#119016: [checks/rules] proper {dh_,dpkg-}shlibdeps usage for packages with both libs and binaries
has caused the Debian Bug report #119016,
regarding [checks/rules] proper {dh_,dpkg-}shlibdeps usage for packages with both libs and binaries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
119016: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=119016
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 1.20.16
Severity: wishlist

Basically, I'd like to see something like this:

if (anything in /bin /sbin /usr/sbin /usr/bin /usr/X11R6/bin) {
  if (dpkg-shlibdeps used in debian/rules) {
    if dpkg-shlibdeps not prepended with LD_LIBRARY_PATH {
      throw warning about possible wrong usage of dpkg-shlibdeps
    }
  }
  if (dh_shlibdeps used in debian/rules) {
    if dh_shlibdeps used without -l argument {
      throw warning about possible wrong usage of dh_shlibdeps
    }
  }
}

Say I have a (source) package that contains both a library and one or
more binaries that depends on this library.  For the shlibdeps to
generated properly I have to point the packaging system at the directory
where my just-built library is living so it can be taken into account in
the dependencies of the binary.

E.g.

dh_shlibdeps -ldebian/libfoo/usr/lib

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux apocalypse 2.4.13 #1 Thu Oct 25 03:13:42 EST 2001 i686
Locale: LANG=C, LC_CTYPE=en_US.iso-8859-1

Versions of packages lintian depends on:
ii  binutils                  2.11.92.0.10-2 The GNU assembler, linker and bina
ii  diffstat                  1.28-1         produces graph of changes introduc
ii  file                      3.37-3         Determines file type using "magic"
ii  perl                      5.6.1-5        Larry Wall's Practical Extraction 
ii  perl [perl5]              5.6.1-5        Larry Wall's Practical Extraction 

-- 
G. Branden Robinson                |      "There is no gravity in space."
Debian GNU/Linux                   |      "Then how could astronauts walk
branden@deadbeast.net              |       around on the Moon?"
http://www.deadbeast.net/~branden/ |      "Because they wore heavy boots."

Attachment: pgp0roGDU8T5_.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Branden Robinson <branden@debian.org> writes:

> Basically, I'd like to see something like this:
>
> if (anything in /bin /sbin /usr/sbin /usr/bin /usr/X11R6/bin) {
>   if (dpkg-shlibdeps used in debian/rules) {
>     if dpkg-shlibdeps not prepended with LD_LIBRARY_PATH {
>       throw warning about possible wrong usage of dpkg-shlibdeps
>     }
>   }
>   if (dh_shlibdeps used in debian/rules) {
>     if dh_shlibdeps used without -l argument {
>       throw warning about possible wrong usage of dh_shlibdeps
>     }
>   }
> }
>
> Say I have a (source) package that contains both a library and one or
> more binaries that depends on this library.  For the shlibdeps to
> generated properly I have to point the packaging system at the directory
> where my just-built library is living so it can be taken into account in
> the dependencies of the binary.

It looks like improvements in dpkg-shlibdeps have now made this request
unnecessary.  dpkg-shlibdeps now looks in debian/*/DEBIAN for shlibs files
and normally doesn't require LD_LIBRARY_PATH or the -l option to
dh_shlibdeps.  The changelog in dpkg is not entirely clear, but I think
this went in as part of the large reworking of dpkg-shlibdeps in 1.14.8.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


--- End Message ---

Reply to: