Hello Rich.

On Sun, Oct 05, 2014 at 01:59:46PM +0100, Richard W.M. Jones wrote:
> 
> > libaugeas0,
> > libcap2,
> > libhivex0,
> > libpcre3,
> > libxml2,
> > libyajl2,
> 
> Why are these wrong?  They all seem to be correct build deps to me.

A debian package normally build-depends on the development package
providing the development files (headers, pkg-config, (unversioned)
shared object file, etc.) rather then simply on a package with only
a particular versioned .so.X.

In other words, build-dependencies should normally end with -dev
(if it's a library and not a tool used during the build process).

The above list would be more correct as:
libaugeas-dev,
libcap-dev,
libhivex-dev,
libpcre3-dev,
libxml2-dev,
libyajl-dev,


All of these are probably pulled in indirectly via some other
build-dependency right now but should be explicitly specified if
they really are build-dependencies of libguestfs.
The above -dev packages also specifies a dependency on their
respective libfooX package as needed.

Doing this correctly is what makes it possible to do binNMUs
when there's a transition for a certain library (ie. it gets
a new so version). Doing this incorrectly makes that impossible.

Regards,
Andreas Henriksson


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to