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


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110318193208.gh12...@glenfiddich.ikibiki.org

Reply via email to