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

Loïc Minier lool at dooz.org
Tue Jul 4 15:15:55 UTC 2006

On Tue, Jul 04, 2006, Martin Pitt wrote:
> 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

 bee% cd svn/debian/pkg-gnome/desktop/unstable/gnome-python-desktop 
 bee% pyversions -vr
 2.3 2.4

 It works here, but I do have XS-Python-Version.  This is with
 pyversions from python 2.3.5-11.

> 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

 (The patch you mention is missing, perhaps it was stripped or you
 forgot it.)

 This looks like the result of `pyversion ...` which would output
 "XS-Python-Version not found" on stderr, but this is only a guess.

Loïc Minier <lool at dooz.org>

More information about the Build-common-hackers mailing list