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

2017-11-01 Thread Xavier de Gaye

Xavier de Gaye  added the comment:

The problem is that the build system , Py_GetPath() and the distutils module do 
not handle correctly the case where the configure prefix is '/'.

Closing as a duplicate of issue 31114.

--
resolution:  -> duplicate
stage: test needed -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2017-08-05 Thread Xavier de Gaye

Xavier de Gaye added the comment:

Issue 31114 is the same issue and proposes a workaround and another fix.

--
nosy: +xdegaye

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2015-05-29 Thread Martin Olsen

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 rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2015-02-13 Thread Ivailo Monev

Ivailo Monev added the comment:

Can you please apply fix-root-prefix.patch? Or the updated version fof 
issue9674.patch that I've attached?

sysconfig tests will still fail and it will return bogus paths with double 
slash (e.g. //lib/python2.7) but at least Python will be installable with 
prefix=/ and will not mess up with files on root (/) when DESTDIR is set. That 
may not be complete solution but it's a step forward to that.

--
nosy: +Ivailo.Monev
Added file: http://bugs.python.org/file38129/issue9674-2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-12-02 Thread Ron Hubbard

Ron Hubbard added the comment:

George.Peristerakis' patch works

please apply

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-12-02 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-11-03 Thread George Peristerakis

George Peristerakis added the comment:

Correction a typo error in the test.

--
Added file: http://bugs.python.org/file27870/issue9674.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-10-28 Thread George Peristerakis

George Peristerakis added the comment:

Here's a patch to the problem. I refactored the code to work the same way on 
posix, nt, os2 environments. Plus a unit test for the posix environment that 
the bug was initially for.

--
nosy: +George.Peristerakis
Added file: http://bugs.python.org/file27772/issue9674.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-09-30 Thread Éric Araujo

Éric Araujo added the comment:

A unit test is needed.

--
versions: +Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-09-29 Thread Ron Hubbard

Ron Hubbard added the comment:

this is a very ugly bug and should be fixed ASAP

it's not only breaking python itself, but any package that uses this python 
installer, for example

http://seclists.org/nmap-dev/2012/q3/1025

what is preventing a merge of the existing patch ?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-09-28 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +arschficker

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-06-15 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Thanks.  Have you run the test suite to make sure this doesn’t add bugs?

--
assignee: tarek - eric.araujo
components:  -Build, Installation, Library (Lib)
stage:  - test needed
type: compile error - behavior
versions: +Python 3.3 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-06-13 Thread Matt Joiner

Matt Joiner anacro...@gmail.com added the comment:

Just ran into this bug myself with 3.2. Apparently this patch works: 
http://groups.google.com/group/comp.lang.python/msg/bd8818ab9d4af8d7

--
nosy: +anacrolix

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-06-13 Thread Matt Joiner

Matt Joiner anacro...@gmail.com added the comment:

Attached a patch that fixes it, only the line numbers have changed from Martin 
v. Loewis's patch. Used on 3.2.

--
Added file: http://bugs.python.org/file22360/fix-root-prefix.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-06-13 Thread Matt Joiner

Changes by Matt Joiner anacro...@gmail.com:


--
components: +Build, Library (Lib)
nosy: +alexis
type: behavior - compile error

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-09-29 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Re-adding distutils since we’re not sure the bug does not apply there.

aj, have you add time to test it?

--
assignee:  - tarek
components: +Distutils
versions: +3rd party

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-08-25 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

See also issue1676135.  Seems that the posters were wrong in concluding that 
the double slashes wouldn't bother anyone using prefix=/ :)

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-08-25 Thread Roumen Petrov

Changes by Roumen Petrov bugtr...@roumenpetrov.info:


--
nosy: +rpetrov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-08-24 Thread aj

Changes by aj mailtome200420032...@gmail.com:


--
title: make install DESTDIR=/ fails - make install DESTDIR=/home/blah fails 
when the prefix specified is /

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-08-24 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Thanks for the clarification. Can you test the bug with the versions that are 
still open for bug fixes, that is 2.7, 3.1 and 3.2?

I’ll add tests and apply the original patch in distutils2. (distutils is frozen 
except for bug fixes, which this minor cosmetic change is not.)

I’m not a configure or make expert, so I’ll request help from other developers 
when we have more information.

--
assignee: tarek - 
components:  -Distutils

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-08-24 Thread aj

aj mailtome200420032...@gmail.com added the comment:

Thanks for the reply Eric. It is not a cosmetic thing. It's a bug for sure in 
python-2.6 disutils. I will try out python-2.7, 3.1, 3.2 and update the bug.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-08-24 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I have no certitude, but a strong intuition that distutils is not guilty at all 
here, but the makefile is. When I talk about the cosmetic bug, I refer to the 
double slash thing.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com