Your message dated Tue, 24 Nov 2009 22:03:30 +0000
with message-id <e1nd3tu-0003qi...@ries.debian.org>
and subject line Bug#546847: fixed in epsilon 0.5.12-2
has caused the Debian Bug report #546847,
regarding epsilon FTBFS with python 2.6
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 ow...@bugs.debian.org
immediately.)
--
546847: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546847
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: epsilon
Severity: wishlist
Hi,
epsilon FTBFS with python 2.6, with the following error:
....
Automatically determined setup() args:
{ 'package_data': { 'epsilon': []},
'packages': [ 'epsilon',
'epsilon.test',
'epsilon.scripts',
'epsilon.hotfixes',
'build.lib.linux-i686-2.6.epsilon',
'build.lib.linux-i686-2.6.epsilon.test',
'build.lib.linux-i686-2.6.epsilon.scripts',
'build.lib.linux-i686-2.6.epsilon.hotfixes']}
running build
running build_py
error: package directory 'build/lib/linux-i686-2/6/epsilon' does not exist
make: *** [debian/python-module-stampdir/python-epsilon] Error 1
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit
status 2
This is because the epsilon/setuphelper.py script is detecting also the
temporary build directory.
Here is the patch to fix that:
# patch the search routine to avoid detecting temporary build directory
Index: epsilon-0.5.12/epsilon/setuphelper.py
===================================================================
--- epsilon-0.5.12.orig/epsilon/setuphelper.py 2009-09-16 04:39:38.000000000
+0000
+++ epsilon-0.5.12/epsilon/setuphelper.py 2009-09-16 04:39:44.000000000
+0000
@@ -43,7 +43,8 @@
pkgName = dirpath[2:].replace('/', '.')
if '__init__.py' in filenames:
# The current directory is a Python package
- packages.append(pkgName)
+ if 'build' not in dirpath:
+ packages.append(pkgName)
elif 'plugins' in dirnames:
# The current directory is for the Twisted plugin system
pluginPackages.append(pkgName)
After fixing this issue, there are still some parts to be fixed. Here are the
proposed fixes:
diff -u epsilon-0.5.12/debian/rules epsilon-0.5.12/debian/rules
--- epsilon-0.5.12/debian/rules
+++ epsilon-0.5.12/debian/rules
@@ -11,7 +11,9 @@
- rm $(PKGDIR)/usr/lib/python*/site-packages/epsilon/release.py
- rm $(PKGDIR)/usr/lib/python*/site-packages/epsilon/test/test_release.py
- rm -r $(PKGDIR)/usr/lib/python*/site-packages/build
+ rm $(PKGDIR)/usr/lib/python*/*-packages/epsilon/release.py
+ rm $(PKGDIR)/usr/lib/python*/*-packages/epsilon/test/test_release.py
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
$(call cdbs_python_binary,python$(cdbs_python_compile_version))
debian/runtrial.py $(PKGDIR) epsilon
endif
mv $(PKGDIR)/usr/bin/benchmark $(PKGDIR)/usr/bin/epsilon-benchmark
+
+clean::
+ rm -rf _trial_temp
diff -u epsilon-0.5.12/debian/runtrial.py epsilon-0.5.12/debian/runtrial.py
--- epsilon-0.5.12/debian/runtrial.py
+++ epsilon-0.5.12/debian/runtrial.py
@@ -9,6 +9,7 @@
_path = sys.path[:]
sys.path[:] = []
addsitedir(join(root, site_packages[1:]))
+addsitedir(join(root, 'usr/lib/python2.6/site-packages')) #for whatever reason
cdbs still installs python modules in site-packages
sys.path.extend(_path)
from twisted.scripts.trial import run
Thanks,
Fabrice
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Source: epsilon
Source-Version: 0.5.12-2
We believe that the bug you reported is fixed in the latest version of
epsilon, which is due to be installed in the Debian FTP archive:
epsilon_0.5.12-2.diff.gz
to main/e/epsilon/epsilon_0.5.12-2.diff.gz
epsilon_0.5.12-2.dsc
to main/e/epsilon/epsilon_0.5.12-2.dsc
python-epsilon_0.5.12-2_all.deb
to main/e/epsilon/python-epsilon_0.5.12-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 546...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
(supplier of updated epsilon 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 24 Nov 2009 22:40:47 +0100
Source: epsilon
Binary: python-epsilon
Architecture: source all
Version: 0.5.12-2
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team
<python-modules-team@lists.alioth.debian.org>
Changed-By: Debian Python Modules Team
<python-modules-team@lists.alioth.debian.org>
Description:
python-epsilon - utility Python modules commonly used by Divmod.org project
Closes: 546847
Changes:
epsilon (0.5.12-2) unstable; urgency=low
.
[ Jakub Wilk ]
* Apply patch from Fabrice Coutadeur to make package ready for Python 2.6
transition (closes: #546847).
* Bump standards version to 3.8.3
.
[ Sandro Tosi ]
* debian/README.source
- added to comply with Policy 3.8.*
Checksums-Sha1:
f6310301271e10b301f99a6dd2a639214d27a64e 1482 epsilon_0.5.12-2.dsc
5b72fa63648070172998640a39b38c2363d186a5 4354 epsilon_0.5.12-2.diff.gz
3227ea723bd3768a134a43e805cf9ec8e19e0867 92932 python-epsilon_0.5.12-2_all.deb
Checksums-Sha256:
5407983e5aa25d76eaf1fe206147ddc8e6b62e9f1fcf75e0a1b643e2b08a46fc 1482
epsilon_0.5.12-2.dsc
f5c91dc89fab4e7f27e6d121898b2509625f3e36bce285f730547aa4bfa4f6bb 4354
epsilon_0.5.12-2.diff.gz
9f0642753541c0d24861f36e58fa2592d0a5530191f2002a1c0b3fdbb47ba7b0 92932
python-epsilon_0.5.12-2_all.deb
Files:
9d952804e9292ed4a40ff52f4dcabbbe 1482 python optional epsilon_0.5.12-2.dsc
f942e96f7a2b9df5941737d18b8d7a0e 4354 python optional epsilon_0.5.12-2.diff.gz
15d791f76096ca816126494af913975d 92932 python optional
python-epsilon_0.5.12-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAksMVNMACgkQAukwV0RN2VA40wCfYyvtuSQNpGixlUZdiRxWALu8
BsYAmQFbkzuaEnNK+QwO1crk+jm7Q6bY
=xCXB
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team