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

Richard W.M. Jones rjones at redhat.com
Tue Oct 7 21:56:37 UTC 2014


On Tue, Oct 07, 2014 at 11:44:00PM +0200, Andreas Henriksson wrote:
> 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.

But in the case of libguestfs, on Debian we depend on specific SONAMEs
(not for any real reason, just because Debian's packaging system
forces us to do that).  So if an SONAME changes it requires an
upstream patch or a downstream patch that eventually has to go
upstream.  So I still think that Hilko's build dependencies are
correct.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW



More information about the Pkg-libvirt-maintainers mailing list