Ned Deily <n...@python.org> added the comment:
My apologies: I'm not sure where I got the idea you were building on macOS! In any case, this problem has come up a few times in the past, no doubt for a similar reason, most recently in open issue Issue31114. I'm closing this issue as a duplicate of that. But be aware that Distutils is now deprecated in general and in the upcoming 3.11 feature release, there are major changes to getpath and also to begin the process of eliminating the use of Distutils when building Python itself, so it is unlikely that any bug fixes for this minor wart will be forthcoming for current releases. But a very simple workaround should be to use --prefix=/usr/local or some other path within your chroot environment rather than trying to install in / of the chroot. ---------- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46894> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com