severity 535144 important user debian-pyt...@lists.debian.org usertags 535144 + python2.6 ftbfs thanks
* Fabrice Coutadeur <fabric...@ubuntu.com>, 2009-06-30, 07:35:
As you propably already know, python2.6 is the default python interpreter in Ubuntu, and we've applied the following patch to fix the FTBFS. This changes can already been apply with python2.5. *** /tmp/tmpxk7__y In Ubuntu, we've applied the attached patch to achieve the following: * Build for python 2.6 (LP: #380866): - debian/skytools.install: substitute references to site-package with *-package and reference to python2.5 with python* - debian/rules: add include of simple-patchsys.mk - debian/patches/01_python2.6.diff: patch Makefile file to add --install-layout=deb parameter when calling python.py install
There are more bad things with this package: - pgq.status fails to bytecompile with Python 2.6.- The package doesn't use any helper, neither python-support (which is preferred) nor python-central. Most likely, the 01_python2.6.diff would be superfluous if it did.
Here are relevant parts of my build log: [...]
creating /tmp/buildd/skytools-2.1.8/debian/tmp/usr/lib/python2.6/site-packages/londiste
[...]
byte-compiling /tmp/buildd/skytools-2.1.8/debian/tmp//usr/lib/python2.6/site-packages/pgq/status.py to status.pyc SyntaxError: ('invalid syntax', ('usr/lib/python2.6/site-packages/pgq/status.py', 7, 17, 'def ival(data, as = None):\n'))
[...]
dh_install -pskytools dh_install: skytools missing files (debian/tmp/usr/lib/python2.5/site-packages/londiste/*.py), abortingmake: *** [binary-install/skytools] Error 2
-- Jakub Wilk
signature.asc
Description: Digital signature