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

Re: pbuilder and ${shlibs:Depends}



On Fri, Mar 18, 2011 at 04:46:00PM +0200, Panayiotis Karabassis wrote:
> Hi, I have a question regarding pbuilder.
> 
> My Debian package uses ${shlibs:Depends} in its Depends field.
> 
> However, in a pbuilder environment not all dependencies are installed,
> and hence ${shlibs:Depends} does not expand to *all* real dependencies.

*Build* dependancies are not automatically guessed, you need to provide
explicit Build-Depends so that pbuilder installs them.

{shlibs:Depends} is to be used to produce dependancies for binary packages.
 
> My question is: how do I add the missing dependencies?
> 
> a) Put them in Build-Depends so dpkg-shlibdeps can find them? (ugly)
> b) Drop ${shlibs:Depends} and list them manually?
> c) Something else?

Read:
http://www.debian.org/doc/debian-policy/ap-pkg-sourcepkg.html
http://www.debian.org/doc/debian-policy/ch-sharedlibs.html

-- 
Simon Paillard


Reply to: