Package: lvm2 Version: 2.02.95-4 Severity: wishlist Tags: patch User: j.scha...@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 lvm2? 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
Index: lvm2-2.02.95/debian/control =================================================================== --- lvm2-2.02.95.orig/debian/control 2012-05-27 17:05:01.000000000 +0000 +++ lvm2-2.02.95/debian/control 2012-10-19 16:48:28.990015873 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian LVM Team <pkg-lvm-maintain...@lists.alioth.debian.org> Uploaders: Bastian Blank <wa...@debian.org> -Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 8.1.3~), automake, libcman-dev (>> 2), libcorosync-dev, libdlm-dev (>> 2), libreadline-gplv2-dev, libselinux1-dev, libudev-dev, openais-dev, pkg-config +Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 8.1.3~), automake, libcman-dev (>> 2), libcorosync-dev, libdlm-dev (>> 2), libreadline-dev, libselinux1-dev, libudev-dev, openais-dev, pkg-config Standards-Version: 3.9.1 Homepage: http://sources.redhat.com/lvm2/ Vcs-Svn: svn://svn.debian.org/pkg-lvm/lvm2/trunk/