[issue9674] make install DESTDIR=/home/blah fails when the prefix specified is /
Ron Hubbard added the comment: George.Peristerakis' patch works please apply -- ___ Python tracker <http://bugs.python.org/issue9674> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13028] python wastes linux users time by checking for dylib on each dynamic library load
Ron Hubbard added the comment: i'll try to reproduce this later. looking at the below strace output, python's behaviour seems pretty stupid tho, for example if /lib is the only existing path out of /lib, /lib64, /usr/lib/, /usr/local/lib, etc etc, it should check for all these directories once, and then not try to open .so in unexisting directories over and over again, inflicting multiple syscalls for each dso. -- nosy: +arschficker ___ Python tracker <http://bugs.python.org/issue13028> ___ ___ 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 /
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 <http://bugs.python.org/issue9674> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13028] python wastes linux users time by checking for dylib on each dynamic library load
Changes by Ron Hubbard : -- type: -> resource usage ___ Python tracker <http://bugs.python.org/issue13028> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16065] Python/distutils setup.py: passing --prefix / makes --root ignored
Ron Hubbard added the comment: python 2.7.2 installation: CFLAGS="-D_GNU_SOURCE -D_BSD_SOURCE" ./configure -C --prefix="/" || exit 1 make -j9 || exit 1 make DESTDIR="//opt/python" install || exit 1 what python generates out of --install-scripts=//bin \ --install-platlib=//lib/python2.7/lib-dynload \ is both wrong (i.e. the platlib stuff also ignores DESTDIR passed to make) -- ___ Python tracker <http://bugs.python.org/issue16065> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16065] Python/distutils setup.py: passing --prefix / makes --root ignored
Changes by Ron Hubbard : -- type: -> security ___ Python tracker <http://bugs.python.org/issue16065> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16065] Python/distutils setup.py: passing --prefix / makes --root ignored
New submission from Ron Hubbard: setup.py loses the DESTDIR aka --root iff "/" is passed as prefix http://seclists.org/nmap-dev/2012/q3/1025 I can reproduce this now, but only with a prefix of "/". For example, this works: $ python setup.py install --prefix "/a" --root "/home/david/destdir" copying build/scripts-2.7/ndiff -> /home/david/destdir/a/bin But this doesn't: $ python setup.py install --prefix "/" --root "/home/david/destdir" copying build/scripts-2.7/ndiff -> /bin This looks like a Python/distutils bug. the same seems to happen on python install: when installing python 2.7.2, "2to3", "idle", "pydoc" and "smptd.py" are installed into /bin rather than into the chosen destdir ./python -E ./setup.py install \ --prefix=/ \ --install-scripts=//bin \ --install-platlib=//lib/python2.7/lib-dynload \ --root=//opt/python/ [...] running install running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers running install_scripts copying build/scripts-2.7/smtpd.py -> /bin copying build/scripts-2.7/idle -> /bin copying build/scripts-2.7/pydoc -> /bin copying build/scripts-2.7/2to3 -> /bin changing mode of /bin/smtpd.py to 755 changing mode of /bin/idle to 755 changing mode of /bin/pydoc to 755 changing mode of /bin/2to3 to 755 running install_egg_info Writing /lib/python2.7/lib-dynload/Python-2.7.2-py2.7.egg-info if test -f //opt/python//bin/python -o -h //opt/python//bin/python; \ then rm -f //opt/python//bin/python; \ else true; \ fi (cd //opt/python//bin; ln python2.7 python) rm -f //opt/python//bin/python-config (cd //opt/python//bin; ln -s python2.7-config python-config) test -d //opt/python//lib/pkgconfig || /bin/install -c -d -m 755 //opt/python//lib/pkgconfig rm -f //opt/python//lib/pkgconfig/python.pc [snip] -- components: Build messages: 171389 nosy: arschficker priority: normal severity: normal status: open title: Python/distutils setup.py: passing --prefix / makes --root ignored versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue16065> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com