[Pkg-bazaar-maint] Bug#559378: bzr-hg: Incorrect versioned dependency on ‘mercurial’

Ben Finney ben+debian at benfinney.id.au
Fri Dec 4 00:14:57 UTC 2009


Package: bzr-hg
Version: 0.1-2
Severity: grave
Tags: patch
Justification: renders package unusable

The ‘bzr-hg’ plug-in has a strict constraint on the versions of
Mercurial it will support. In fact, it supports exactly one version:

=====
$ grep hg_compatible_versions ./info.py 
hg_compatible_versions = ["1.3.1"]
=====

The Debian packaging has the wrong dependency for the ‘mercurial’
package; it allows a different version (in this case, version ‘1.4-1’
which is the current version in Squeeze) to be installed, which then
causes the ‘bzr-hg’ plug-in to always fail:

=====
$ bzr info /
bzr: ERROR: Unable to import library "mercurial": bzr-hg: Mercurial version 1.4 not supported.
=====


The Debian packaging needs to reflect the same dependency constraints.
The following patch addresses this:

=== modified file 'debian/control'
--- debian/control      2009-10-13 13:45:50 +0000
+++ debian/control      2009-12-04 00:05:16 +0000
@@ -12,7 +12,7 @@

 Package: bzr-hg
 Architecture: all
-Depends: bzr (>= 1.13), bzr (<< 2.1~), mercurial (>= 1.3.1), ${python:Depends}, ${misc:Depends}
+Depends: bzr (>= 1.13), bzr (<< 2.1~), mercurial (== 1.3.1), ${python:Depends}, ${misc:Depends}
 Suggests: bzr-gtk
 XB-Python-Version: ${python:Versions}
 Description: Bazaar plugin providing Mercurial integration



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.30-2-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-hg depends on:
ii  bzr                           2.0.2-1    easy to use distributed version co
ii  mercurial                     1.4-1      scalable distributed version contr
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-central                0.6.13     register and build utility for Pyt

bzr-hg recommends no packages.

Versions of packages bzr-hg suggests:
ii  bzr-gtk                       0.97.0-1   provides graphical interfaces to B

-- no debconf information

-- 
 \        “The World is not dangerous because of those who do harm but |
  `\          because of those who look at it without doing anything.” |
_o__)                                                 —Albert Einstein |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20091204/0f23e9c1/attachment-0001.pgp>


More information about the Pkg-bazaar-maint mailing list