Your message dated Thu, 24 Apr 2008 09:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#452612: fixed in clearsilver 0.10.4-1.2
has caused the Debian Bug report #452612,
regarding python-clearsilver: [PATCH] python2.4 module reused as python2.5 
module
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
452612: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452612
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-clearsilver
Version: 0.10.4-1
Severity: normal

While trying to get the trac development tree to work, I run into a bug
in the python-clearsilver package. Namely, the module is built against 
python2.4 but also installed as a python2.5 package: 

[EMAIL PROTECTED]:~$ python2.5 -c 'import neo_cgi'
-c:1: RuntimeWarning: Python C API version mismatch for module neo_util:
This Python has API version 1013, module neo_util has version 1012.
-c:1: RuntimeWarning: Python C API version mismatch for module neo_cs:
This Python has API version 1013, module neo_cs has version 1012.
-c:1: RuntimeWarning: Python C API version mismatch for module neo_cgi:
This Python has API version 1013, module neo_cgi has version 1012.


The reason is that the package just installs the python module that was 
generated by the upstream build, without adapting it for the different
python version. The attached patch fixes that (while I would agree that
the solution is not perfect):

transit:/home/torsten# dpkg -i python-clearsilver_0.10.4-1.1_i386.deb 
(Reading database ... 381032 files and directories currently installed.)
Preparing to replace python-clearsilver 0.10.4-1 (using
python-clearsilver_0.10.4-1.1_i386.deb) ...
Unpacking replacement python-clearsilver ...
Setting up python-clearsilver (0.10.4-1.1) ...

[EMAIL PROTECTED]:~$ python2.5 -c 'import neo_cgi'
[EMAIL PROTECTED]:~$ 

Thanks for considering, 

  Torsten Landschoff


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-rc3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-clearsilver depends on:
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  zlib1g                  1:1.2.3.3.dfsg-7 compression library - runtime

python-clearsilver recommends no packages.

-- no debconf information
diff -u clearsilver-0.10.4/debian/rules clearsilver-0.10.4/debian/rules
--- clearsilver-0.10.4/debian/rules
+++ clearsilver-0.10.4/debian/rules
@@ -44,6 +44,9 @@
 
 build-python-%:
 	install -d debian/tmp/usr/lib/python$*/site-packages
+	make -C $(DEB_BUILDDIR)/python distclean
+	make -C $(DEB_BUILDDIR)/python \
+		PYTHON=/usr/bin/python$* PYTHON_INC=/usr/include/python$*
 	install -m644 $(DEB_BUILDDIR)/python/neo_cgi.so \
     	    debian/tmp/usr/lib/python$*/site-packages/neo_cgi.so
 
diff -u clearsilver-0.10.4/debian/changelog clearsilver-0.10.4/debian/changelog
--- clearsilver-0.10.4/debian/changelog
+++ clearsilver-0.10.4/debian/changelog
@@ -1,3 +1,10 @@
+clearsilver (0.10.4-1.1) unstable; urgency=low
+
+  * debian/rules: Build python bindings for each python version (instead
+    of using the same binary for all python versions).
+
+ -- Torsten Landschoff <[EMAIL PROTECTED]>  Sat, 24 Nov 2007 01:31:31 +0100
+
 clearsilver (0.10.4-1) unstable; urgency=low
 
   * New upstream release

--- End Message ---
--- Begin Message ---
Source: clearsilver
Source-Version: 0.10.4-1.2

We believe that the bug you reported is fixed in the latest version of
clearsilver, which is due to be installed in the Debian FTP archive:

clearsilver-dev_0.10.4-1.2_amd64.deb
  to pool/main/c/clearsilver/clearsilver-dev_0.10.4-1.2_amd64.deb
clearsilver_0.10.4-1.2.diff.gz
  to pool/main/c/clearsilver/clearsilver_0.10.4-1.2.diff.gz
clearsilver_0.10.4-1.2.dsc
  to pool/main/c/clearsilver/clearsilver_0.10.4-1.2.dsc
libclearsilver-perl_0.10.4-1.2_amd64.deb
  to pool/main/c/clearsilver/libclearsilver-perl_0.10.4-1.2_amd64.deb
python-clearsilver_0.10.4-1.2_amd64.deb
  to pool/main/c/clearsilver/python-clearsilver_0.10.4-1.2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ana Beatriz Guerrero Lopez <[EMAIL PROTECTED]> (supplier of updated clearsilver 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 24 Apr 2008 11:11:37 +0200
Source: clearsilver
Binary: clearsilver-dev python-clearsilver libclearsilver-perl
Architecture: source amd64
Version: 0.10.4-1.2
Distribution: unstable
Urgency: low
Maintainer: Jesus Climent <[EMAIL PROTECTED]>
Changed-By: Ana Beatriz Guerrero Lopez <[EMAIL PROTECTED]>
Description: 
 clearsilver-dev - headers and static library for clearsilver
 libclearsilver-perl - perl bindings for clearsilver
 python-clearsilver - python bindings for clearsilver
Closes: 452612
Changes: 
 clearsilver (0.10.4-1.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * debian/rules: Build python bindings for each python version (instead
     of using the same binary for all python versions).
     Patch by Chris Lamb. (Closes: #452612)
Checksums-Sha1: 
 7dbcd34aaa2c2bd6e6972266b8a129c6437d6516 1253 clearsilver_0.10.4-1.2.dsc
 1e7733521974a80c44b48e6c80140ae2e846f8d9 24675 clearsilver_0.10.4-1.2.diff.gz
 873cf4945ac8b659fcba81382393df00215de822 279098 
clearsilver-dev_0.10.4-1.2_amd64.deb
 91e88557fca6999fc78da39303e4a61634da4fd3 190574 
python-clearsilver_0.10.4-1.2_amd64.deb
 58ecaa36b5763c9ebbd398dfa44645ba506b263d 97528 
libclearsilver-perl_0.10.4-1.2_amd64.deb
Checksums-Sha256: 
 5764009ffa8a3e207489c115c10cd321bc7d2cc710aa7f8c4b3e75373df878c4 1253 
clearsilver_0.10.4-1.2.dsc
 b5371e1fee235e8b3807cc8db042cacefc59d8e01b52e4e9d536e886b587adc7 24675 
clearsilver_0.10.4-1.2.diff.gz
 5288d9b639a7e9138494b3c006ffd5bed22899e96d5016d3507bd1498b82ba12 279098 
clearsilver-dev_0.10.4-1.2_amd64.deb
 7d131c1c85ba04efcbbdcf8305061e76fdb2787349c2aaf563f7d3fafca5406a 190574 
python-clearsilver_0.10.4-1.2_amd64.deb
 5314799aea83547edeaecf053d09ffb05a34bbcd8f1b9358456ca99ba414e9b7 97528 
libclearsilver-perl_0.10.4-1.2_amd64.deb
Files: 
 7e00a28d5220481ba59a38cf9d5648ec 1253 devel optional clearsilver_0.10.4-1.2.dsc
 d680511ede964c78ddf0aaf8d5f1c3e6 24675 devel optional 
clearsilver_0.10.4-1.2.diff.gz
 9249e2ab8bf4c1e58d28e71d8b9c0602 279098 python optional 
clearsilver-dev_0.10.4-1.2_amd64.deb
 8a5b04cbceebcd1a0f5250c4c181a60b 190574 python optional 
python-clearsilver_0.10.4-1.2_amd64.deb
 795a916871aefbb2ab8f1cc985eb5009 97528 perl optional 
libclearsilver-perl_0.10.4-1.2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Signed by Ana Guerrero

iD8DBQFIEFXUn3j4POjENGERAuadAJ9INCPDQHa4/TYwqauMdms92GF4pgCcD+8K
Gbcx/voJHi3czou02Wnm6iU=
=lKmJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to