On 2012-05-04 Mathieu Malaterre <[email protected]> wrote:
> Package: swig2.0
> Version: 2.0.5-1
> Severity: serious

> Ok, I have to report this one. I cant let swig2.0 transition to
> testing. debian package 2.0.5 is actually a package of swig 2.0.4,
> which is *really* confusing [1].

> $ apt-cache policy swig
> swig:
>   Installed: 2.0.5-1
>   Candidate: 2.0.5-1
>   Version table:
>  *** 2.0.5-1 0
>         500 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages
>         100 /var/lib/dpkg/status

> $ swig2.0 -version

> SWIG Version 2.0.4
[...]

Hello,

I think you have either installed an up to date empty meta package
"swig" together with an outdated Version of swig2.0 or have got an old
non-Debian binary in /usr/local. Please doublecheck with "which
swig2.0". Up to date sid behaves like this:
-----------------
(SID)ametzler@argenau:~$  dpkg -s swig2.0 | grep ^Version
Version: 2.0.5-1
(SID)ametzler@argenau:~$ which swig2.0
/usr/bin/swig2.0
(SID)ametzler@argenau:~$ swig2.0 -version

SWIG Version 2.0.5
[...]
-----------------

Also to be sure I have downloaded the official tarball from sourceforge
and the orig.tar.gz from debian. They are identical.

ametzler@argenau:/tmp$ md5sum swig-2.0.5.tar.gz swig2.0_2.0.5.orig.tar.gz
762760512887873b68325fcbd391c145  swig-2.0.5.tar.gz
762760512887873b68325fcbd391c145  swig2.0_2.0.5.orig.tar.gz

I think that this dependency
      (SID)ametzler@argenau:~$ apt-cache show swig |\
                grep -E 'Package|Depends'
      Package: swig
      Depends: swig2.0 (>= 2.0.0-1)
is not optimal, however this is a minor bug, not a serious one. Find a
trivial patch below.

-----------------------------------
--- swig2.0-2.0.5.orig/debian/control   2011-09-20 22:28:49.000000000 +0200
+++ swig2.0-2.0.5/debian/control        2012-05-04 19:20:37.000000000 +0200
@@ -24,7 +24,7 @@ Build-Depends: bison,

 Package: swig
 Architecture: any
-Depends: swig2.0 (>= 2.0.0-1), ${misc:Depends}
+Depends: swig2.0 (= ${source:Version}), ${misc:Depends}
 Suggests: swig-doc, swig-examples
 Conflicts: swig1.3
 Replaces: swig1.3
-----------------------------------
cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to