[Pkg-libvirt-maintainers] Bug#763741: libguestfs: Incorrect build-dependencies (libsystemd-id128-0, libsystemd-journal0), fails binNMU

Andreas Henriksson andreas at fatal.se
Tue Oct 7 21:44:00 UTC 2014


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



More information about the Pkg-libvirt-maintainers mailing list