[issue17752] many distutils tests fail when run from the installed location

Matthias Klose report at bugs.python.org
Wed May 7 00:01:28 CEST 2014


Matthias Klose added the comment:

so the issue here is that -L -o <file> is passed to the compiler, and -o is interpreted as the library dir, and <file> as an input file.

To robustify, change distutils/tests/support.py to not include empty directory names.

To fix, change configure.ac (RUNPATH) not to unconditionally end the environment variables with an empty directory.

adding Ronald, Darwin is the only platform having quotes around this. Is this really needed/wanted?

----------
keywords: +patch
nosy: +hynek, ned.deily, ronaldoussoren
Added file: http://bugs.python.org/file35164/issue17752.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17752>
_______________________________________


More information about the Python-bugs-list mailing list