collective/buildout.python

python installer fails under debian testing amd64

Closed this issue · 2 comments

I'm trying to compile the environment with default settings, it fails with this error:

running install_scripts
copying build/scripts-2.4/pydoc -> /home/alex/libexec/python/parts/opt/bin
copying build/scripts-2.4/smtpd.py -> /home/alex/libexec/python/parts/opt/bin
copying build/scripts-2.4/idle -> /home/alex/libexec/python/parts/opt/bin
changing mode of /home/alex/libexec/python/parts/opt/bin/pydoc to 755
changing mode of /home/alex/libexec/python/parts/opt/bin/smtpd.py to 755
changing mode of /home/alex/libexec/python/parts/opt/bin/idle to 755
if test -f /home/alex/libexec/python/parts/opt/bin/python -o -h /home/alex/libexec/python/parts/opt/bin/python;
then rm -f /home/alex/libexec/python/parts/opt/bin/python;
else true;
fi
(cd /home/alex/libexec/python/parts/opt/bin; ln python2.4 python)
/usr/bin/install -c -m 644 ./Misc/python.man
/home/alex/libexec/python/parts/opt/man/man1/python.1
Unused options for python-2.4-build: 'dependencies'.
Installing virtualenv172.
Downloading http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.2.tar.gz
virtualenv172: Extracting package to /home/alex/libexec/python/parts/virtualenv172
Installing python-2.4-virtualenv.
Installing python-2.4.
python-2.4: Running '
/home/alex/libexec/python/bin/virtualenv-2.4 /home/alex/libexec/python/python-2.4
/home/alex/libexec/python/python-2.4/bin/easy_install -U collective.dist'
/bin/sh: 2: /home/alex/libexec/python/bin/virtualenv-2.4: not found
/bin/sh: 3: /home/alex/libexec/python/python-2.4/bin/easy_install: not found
python-2.4: Non zero exit code (127) while running command.
While:
Installing python-2.4.
Error: Non zero exit code (127) while running command.

When I'm trying to run the failing command manually, this error occurs:

alex@debian-squeeze64:~/libexec/python$ /bin/sh /home/alex/libexec/python/bin/virtualenv-2.4
New python executable in ^M/bin/python2.4
Also creating executable in ^M/bin/python
ERROR: The executable ^M/bin/python2.4 is not functioning
ERROR: It thinks sys.prefix is u'/home/alex/libexec/python' (should be u'/home/alex/libexec/python/\r')
ERROR: virtualenv is not compatible with this system or executable

joka commented

try buildout version 1.4 : python bootstrap.py -v 1.4.3, that worked for me.

I tried both buildout and buildout-1.4, anyway recently the problem has gone away. Please close this ticket.