Bug#690966: lvm2: Please allow lvm2 to be built with libreadline-dev

Johannes Schauer j.schauer at email.de
Fri Oct 19 16:50:28 UTC 2012

Package: lvm2
Version: 2.02.95-4
Severity: wishlist
Tags: patch
User: j.schauer at email.de
Usertags: bootstrap-conflicts

Inter-package conflicts currently limit the ability of a CUDF solver to
optimize the dependency graph created during bootstrapping of Debian for
new architectures. Luckily there are only nine conflicts in the core set
of Debian packages in Debian Sid as of now. One of those conflicts is
between libreadline-gplv2-dev and libreadline-dev. From the core
packages, only src:lvm2 and src:ruby1.8 build-depend on
libreadline-gplv2-dev. But both are gpl2, so using the newer gpl3
libreadline-dev should not be a problem license-wise. When building lvm2
with libreadline-dev instead of libreadline-gplv2-dev I observed no
errors. It seems no modifications other than of the Build-Depends have
to be done.

The attached patch replaces lvm2's current dependency on
libreadline-gplv2-dev with a dependency on libreadline-dev.
Alternatively, a disjunction between those two would probably also work
because it appears to build fine with either of them.

Can you please confirm my observation and then apply the attached patch
so that libreadline-gplv2-dev is not strictly needed anymore to build

The dependency on libreadline-gplv2-dev was introduced as the solution
of bug #553807.

This change not only benefits a solver when analyzing the bootstrapping
situation but also allows to compile lvm2 side by side with many other
packages that build-depend on libreadline-dev.

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-libreadline-dev.patch
Type: text/x-diff
Size: 924 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20121019/93ad8f43/attachment.patch>

More information about the pkg-lvm-maintainers mailing list