[Debian-ha-maintainers] Bug#608275: Bug#608275: libcrmcommon2-dev: missing dependency on cluster-glue-dev

Andres Rodriguez andreserl at ubuntu.com
Sun Jan 16 21:47:22 UTC 2011


Simon,

The patch you have applied actually breaks the installation of
libcrmcommon2. The reason is because adding the dependency to
cluster-glue-dev ( >= ${binary:Version}), will try to install a
cluster-glue-dev versioned with the same version of pacemaker
(${binary:Version}). To fix this, is either drop the versioning for such
dependency or apply the following (Just to note, in Ubuntu I have dropped
such change):

Regards


diff -Nru pacemaker-1.0.10/debian/control pacemaker-1.0.10/debian/control
--- pacemaker-1.0.10/debian/control     2011-01-03 22:55:35.000000000 -0500
+++ pacemaker-1.0.10/debian/control     2011-01-16 16:43:32.000000000 -0500
@@ -93,7 +94,7 @@
 Section: libdevel
 Depends:
  ${misc:Depends}, libcrmcommon2 (= ${binary:Version}),
- cluster-glue-dev (>= ${binary:Version})
+ cluster-glue-dev (>= 1.0.7-1)
 Replaces: pacemaker-dev (<= 1.0.9.1+hg15626-2)
 Conflicts: pacemaker-dev (<= 1.0.9.1+hg15626-2)
 Description: Development file for pacemaker's common library

On Mon, Jan 3, 2011 at 11:00 PM, Simon Horman <horms at verge.net.au> wrote:

> On Wed, Dec 29, 2010 at 04:38:33PM +0100, Jeremy Laine wrote:
> > Package: libcrmcommon2-dev
> > Version: 1.0.10-1
> > Severity: normal
> >
> > The following file, which is shipped in libcrmcommon2-dev:
> >
> >   /usr/include/pacemaker/crm/common/xml.h
> >
> > .. includes the following, which is shipped in cluster-glue-dev:
> >
> >   /usr/include/heartbeat/ha_msg.h
> >
> > So libcrmcommon2-dev should depend on cluster-glue-dev.
>
> Hi,
>
> thanks for reporting this problem.
> I have applied the following patch which should
> be included in the next upload.
>
> # HG changeset patch
> # User Simon Horman <horms at verge.net.au>
> # Date 1294113375 -32400
> # Branch sid
> # Node ID f6cf9f4597f30b60db31748fa1ab23649b0c544f
> # Parent  5b152f75d6670f67634f2bbec8dc4c43a321ff58
> Add dependency on cluster-glue-dev to libcrmcommon2-dev
>
> diff -r 5b152f75d667 -r f6cf9f4597f3 debian/changelog
> --- a/debian/changelog  Mon Dec 20 15:32:20 2010 +0900
> +++ b/debian/changelog  Tue Jan 04 12:56:15 2011 +0900
> @@ -1,3 +1,10 @@
> +pacemaker (1.0.10-4) unstable; urgency=low
> +
> +  * Add dependency on cluster-glue-dev to libcrmcommon2-dev
> +    Closes: #608275
> +
> + -- Simon Horman <horms at debian.org>  Tue, 04 Jan 2011 12:53:31 +0900
> +
>  pacemaker (1.0.10-3) unstable; urgency=low
>
>   * Use correct names for libpe-rules2-dev and libpe-status2-dev
> diff -r 5b152f75d667 -r f6cf9f4597f3 debian/control
> --- a/debian/control    Mon Dec 20 15:32:20 2010 +0900
> +++ b/debian/control    Tue Jan 04 12:56:15 2011 +0900
> @@ -91,7 +91,9 @@
>  Package: libcrmcommon2-dev
>  Architecture: any
>  Section: libdevel
> -Depends: ${misc:Depends}, libcrmcommon2 (= ${binary:Version})
> +Depends:
> + ${misc:Depends}, libcrmcommon2 (= ${binary:Version}),
> + cluster-glue-dev (>= ${binary:Version})
>  Replaces: pacemaker-dev (<= 1.0.9.1+hg15626-2)
>  Conflicts: pacemaker-dev (<= 1.0.9.1+hg15626-2)
>  Description: Development file for pacemaker's common library
>
>
>
> _______________________________________________
> Debian-ha-maintainers mailing list
> Debian-ha-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-ha-maintainers
>



-- 
Andres Rodriguez (RoAkSoAx)
Ubuntu MOTU Developer
Systems Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20110116/cd4b3c04/attachment.htm>


More information about the Debian-ha-maintainers mailing list