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

Re: shlibdeps and duplicate-relation depends warnings

On Saturday 25 December 2004 17:53, Justin Pryzby wrote:
> Morning and happy holidays.

Evening and happy holidays to you too.

> Try dh_shlibdeps -l./debian/mplayer-libs-package/usr/lib in
> ./debian/rules (where that is the directory into which shared
> libraries are installed).  Read about it in dh_shlibdeps(1).

Thanks for that pointer. In fact I have had: 
dh_shlibdeps -l $(prefix)/usr/lib in mine local rules, but and after you 
pointing me out to the man page, I realized it should be:
dh_shlibdeps -L $(package) -l $(prefix)/usr/lib
also added dh_makeshlibs which worked pretty well in getting the shlib 

> Diversions will certainly make it messy ..  maybe you shouldn't build
> mplayer on a machine with those diversions?

I have been thinking of building it at the same machine (having these 
diversions) but within a debootstrap+chroot environment (e.g. will bstrap the 
base of sarge there and chroot into), but I still want to find a way to solve 
the having diversions issue by the means of packaging files. Will look at it 
later ;-)

> The duplicate depends are a result of Debian figuring out dependencies
> for you (I think).  It runs objdump on all the libraries and binaries
> and discovers dependencies that way, and those depends are inserted in
> place of ${shlibdeps} (or some such) in ./debian/control.  So, you
> don't need to manually list everything there (otherwise it *will* be a
> duplicate).

Very good explanation! Every time I look at debhelper's manpages I realize how 
powerfull it is. Now the result is brought down to:
W: mplayer source: not-using-po-debconf
along with the diversions story.

p.s. no need to cc me, I'm subscribed to the list ;-)

pub 4096R/0E4BD0AB  2003-03-18  <keyserver.bu.edu ; pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 

Reply to: