[Python-modules-team] Bug#561608: python-multiprocessing: FTBFS if only python 2.6 is installed
Fabrice Coutadeur
fabricesp at ubuntu.com
Fri Dec 18 17:52:20 UTC 2009
Package: python-multiprocessing
Version: 2.6.2.1-2
Severity: important
Tags: patchaftbfs python2.6
Justification: fails to build from source
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch
Hi,
When building this package with python2.6 only, it FTBFS with the following error:
make[1]: Entering directory `/build/buildd/python-multiprocessing-2.6.2.1'
mkdir -p Doc/static Doc/templates
python2.5 setup.py build_sphinx --builder="html" \
--source-dir=Doc/
/bin/sh: python2.5: not found
make[1]: *** [doc] Error 127
make[1]: Leaving directory `/build/buildd/python-multiprocessing-2.6.2.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
This can be solved changing python2.5 to python in Makefile, as done with the
following patch.
Thanks,
Fabrice
*** /tmp/tmpflakV9
In Ubuntu, we've applied the attached patch to achieve the following:
* Makefile: changed python2.5 to python to make the package build with
python2.6
We thought you might be interested in doing the same.
-- 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.31-16-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
--- python-multiprocessing-2.6.2.1.orig/Makefile
+++ python-multiprocessing-2.6.2.1/Makefile
@@ -1,4 +1,4 @@
-PYTHON?=python2.5
+PYTHON?=python
PYTHONPATH="Lib/"
RUNPYTHON=PYTHONPATH=$(PYTHONPATH) $(PYTHON)
BUILDER="html"
More information about the Python-modules-team
mailing list