[Build-common-hackers] Bug#376732: cdbs: pyversions call in python-distutils seems wrong

Martin Pitt martin.pitt at ubuntu.com
Tue Jul 4 14:45:17 UTC 2006

Package: cdbs
Version: 0.4.43
Severity: important


python-distutils.mk currently calls 'pyversions -vr' in several
places, but this fails:

----- snip -----
$ pyversions -vr
usage: [-v] [-h] [-d|--default] [-s|--supported] [-i|--installed] [-r|--requested <version string>|<control file>]

pyversions: error: -r option requires an argument
----- snip -----

This is with the latest python-support and python-central package.
According to Matthias Klose, it should be called like
'pyversions -vr debian/control'.

I did this modification (see attached patch, which also fixes a
bashism), but still pyxdg fails to build:

cd . && pythonXS-Python-Version setup.py build --build-base="/home/martin/ubuntu/merges/pyxdg-0.15/./build"
/bin/sh: pythonXS-Python-Version: not found
make: *** [python-build-stamp-XS-Python-Version] Fehler 127

Now I'm lost. What is the issue here?

Thank you in advance for any hint!


Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20060704/dc4e4b73/attachment.pgp

More information about the Build-common-hackers mailing list