Your message dated Tue, 07 Jun 2011 18:02:09 +0000
with message-id <[email protected]>
and subject line Bug#629148: fixed in ensymble 0.28-2
has caused the Debian Bug report #629148,
regarding ensymble: broken Depends after rebuild against Python 2.7
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.)


-- 
629148: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629148
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ensymble
Version: 0.28-1.1
Severity: important
User: [email protected]
Usertags: python2.7
Tags: patch

I rebuilt ensymble against python-defaults 2.7.2-1 (currently in experimental). The resulting binary package was subtly broken. Its dependencies looked like this:

Depends: python (>= 2.6), openssl

However, the package didn't work with python 2.6.6-14 from unstable (even though it satisfies the dependency):

$ ensymble --help
Traceback (most recent call last):
  File "/usr/bin/ensymble", line 5, in <module>
    if imp.get_magic()!='\x03\xf3\r\n':raise RuntimeError,s
RuntimeError: requires python 2.7.2rc1 or bytecode compatible


The attached patch is an attempt to make the packaging a bit more, *cough*, conventional.

--
Jakub Wilk
--- ensymble-0.28/debian/rules
+++ ensymble-0.28/debian/rules
@@ -9,6 +9,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+python_modules = $(shell while read line; do echo $$line; done < install.sh | sed -n -e 's/.*-b cmdmain//p')
+
 ensymble.1: debian/ensymble.sgml
 	docbook-to-man $< > $@
 
@@ -43,10 +45,7 @@
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
-	
-	mkdir -p $(CURDIR)/debian/ensymble/usr/bin
-	./install.sh $(CURDIR)/debian/ensymble/usr/bin
-	mv $(CURDIR)/debian/ensymble/usr/bin/ensymble.py $(CURDIR)/debian/ensymble/usr/bin/ensymble
+	dh_install $(python_modules) /usr/share/ensymble/
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -55,7 +54,6 @@
 	dh_installchangelogs 
 	dh_installdocs
 #	dh_installexamples
-#	dh_install
 #	dh_installmenu
 #	dh_installdebconf	
 #	dh_installlogrotate
diff -u ensymble-0.28/debian/control ensymble-0.28/debian/control
--- ensymble-0.28/debian/control
+++ ensymble-0.28/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Dominic Hargreaves <[email protected]>
 Build-Depends: debhelper (>= 5), docbook-to-man, python-central
 Standards-Version: 3.8.0
-XS-Python-Version: 2.6
+XS-Python-Version: all
 Homepage: http://code.google.com/p/ensymble/
 Vcs-Browser: http://code.google.com/p/ensymble/source/browse/
 Vcs-Svn: http://ensymble.googlecode.com/svn/trunk/
only in patch2:
unchanged:
--- ensymble-0.28.orig/debian/ensymble.links
+++ ensymble-0.28/debian/ensymble.links
@@ -0,0 +1 @@
+/usr/share/ensymble/cmdmain.py /usr/bin/ensymble

--- End Message ---
--- Begin Message ---
Source: ensymble
Source-Version: 0.28-2

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

ensymble_0.28-2.diff.gz
  to main/e/ensymble/ensymble_0.28-2.diff.gz
ensymble_0.28-2.dsc
  to main/e/ensymble/ensymble_0.28-2.dsc
ensymble_0.28-2_all.deb
  to main/e/ensymble/ensymble_0.28-2_all.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.
Dominic Hargreaves <[email protected]> (supplier of updated ensymble 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: Tue, 07 Jun 2011 18:57:45 +0100
Source: ensymble
Binary: ensymble
Architecture: source all
Version: 0.28-2
Distribution: unstable
Urgency: low
Maintainer: Dominic Hargreaves <[email protected]>
Changed-By: Dominic Hargreaves <[email protected]>
Description: 
 ensymble   - developer utilities for Symbian OS
Closes: 629148
Changes: 
 ensymble (0.28-2) unstable; urgency=low
 .
   * Acknowledge NMU
   * Include changes from Jakub Wilk to fix builds against Python 2.7
     (Closes: #629148)
   * Update Vcs-* to reflect new Git repository
   * Add missing ${misc:Depends} (thanks, Lintian)
   * Improve clean target to remove ensymble.1
   * Update Standards-Version (no changes)
Checksums-Sha1: 
 85ec0137db5756aa906489045e314961f6904723 1161 ensymble_0.28-2.dsc
 eb793ec5e5a0cac31d77f14db87037f826271b2a 5079 ensymble_0.28-2.diff.gz
 504751c7d75fa7067863f9e93a28703216ab7706 83410 ensymble_0.28-2_all.deb
Checksums-Sha256: 
 a89db02b6542ae9ab0ac9cbcdacf36b67258ae26d8ad0ae2848b0a2b22d35abc 1161 
ensymble_0.28-2.dsc
 1b66c482d1e05be77b5e0dfc8bcb0dc2f3caa73daec227cededd8c34a958b9ea 5079 
ensymble_0.28-2.diff.gz
 3fa42495a1781c90a2669a2372aded9db646062bc56b8fc1d1f03246a6f0af69 83410 
ensymble_0.28-2_all.deb
Files: 
 7a5b26269c7ada41ffd95b6b14ecac46 1161 devel extra ensymble_0.28-2.dsc
 caff1819831c378e9ec1bae9c3eac59b 5079 devel extra ensymble_0.28-2.diff.gz
 16da7043c8e136bbd865a86a732c9a90 83410 devel extra ensymble_0.28-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFN7mbAYzuFKFF44qURAoLEAJ0aXdGo3sMQXMvxoYZbzRb7jP7lVgCdHisf
NpSF6Kv4FVdRKW9aIgxoFoY=
=WUmT
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to