[issue9674] make install DESTDIR=/home/blah fails when the prefix specified is /

Martin Olsen report at bugs.python.org
Fri May 29 13:05:14 CEST 2015


Martin Olsen added the comment:

I have python (2.7.9 & 3.4.3) installed with prefix=/ which causes problems when change_root() doesn't lstrip() the path separators.

I have applied Ivailo's patch from 2015-02-13 and handful of packages without issues.

Attached is a port of the patch to 3.4.3. Please note that the test failed (because it used the old distutils package, I suspect) and the win32 path handling is a bit messed up, but I don't have time to fix that ATM. It works as expected during runtime.

----------
nosy: +mro
Added file: http://bugs.python.org/file39545/Python-3.4.3-issue9674-3.patch

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


More information about the Python-bugs-list mailing list