[issue31114] 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue31114] 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

2017-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: Actually, sys.prefix is '/usr' because '/usr/bin' is in PATH while '/bin' is not in PATH. After adding '/bin' to the start of PATH, then sys.prefix becomes '/.' when Python is run as 'python3'. The confusion comes from the '/bin' symlink (archlinux is not a p

[issue31114] 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

2017-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: Clarification about the test results: On archlinux /bin is a symlink to /usr/bin, so on archlinux the value of sys.prefix is '/usr' instead of the expected '/'. This is because in Modules/getpath.c, 'argv0_path' is the directory of the link target when the ex

[issue31114] 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

2017-10-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: To test PR 4172 on linux one needs a chroot. The following test is run on archlinux using systemd-nspawn (a chroot on steroids, see https://wiki.archlinux.org/index.php/Systemd-nspawn). 1) Setup systemd-nspawn by installing arch-install-scripts and by using

[issue31114] 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

2017-10-30 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +4141 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyt

[issue31114] 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

2017-10-30 Thread Xavier de Gaye
Change by Xavier de Gaye : -- components: +Cross-Build -Build nosy: +Alex.Willmer stage: -> needs patch title: 'make install' fails when exec_prefix is '/' and DESTDIR not empty -> 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used versions: -Python 3.5 _