Ned Deily added the comment:
Thanks for the detailed analysis. That does seem like a reasonable explanation:
the code in setup.py was not expecting to find anything other than system files
under /System. For Apple to put other fs mount points in the /System hierarchy
seems ... odd but
Andrew added the comment:
So I believe I've found the problem as to why we can't get the extension
modules to build in our network area.
It seems to be a problem with setup.py's find_file() and is_macosx_sdk_path()
functions when the extension modules are building. You can find these
Andrew added the comment:
The build steps were, unpack source, ./configure, make, using default settings
on a company machine.
The configure_and_make_output.txt I attached should show the whole ./configure
output. The only difference is that I was using xcode 11.0 for that output- the
Ned Deily added the comment:
PS. Or try doing an out-of-tree build. Perhaps the problem is just due to
trying to do the build under that unconventional location under /.
cd ~/build
./path/to/sourcetree/configure ...
make ...
--
___
Python
Ned Deily added the comment:
> Do you know of any easy ways to disable mac OS sandboxes from being used in
> the python build from the command line?
Please show the exact steps you used to build this, in particular, the full
./configure statement and any relevant env variable settings. I
Andrew added the comment:
Thanks for your reply Ned.
I think you are right about mac OS sandboxes messing something up. Python
builds most of the extension modules fine if I do a straightforward build in
the /tmp directory like you said.
Do you know of any easy ways to disable mac OS
Ned Deily added the comment:
To be honest, I've never seen a failure quite like that before so thanks for
that! A couple of observations: you appear to be using an old version of Xcode
(11.0.0) that may not be fully supported on 10.15.x. So I would try upgrading
to the latest released Xcode
New submission from Andrew :
Quick repoduction steps:
1) Log into a mac with macOS version 10.15.1 (10.15.x may work)
2) For build tools, use Xcode11. A minimal xcode command-tools installation
also reproduced for me.
3) Download and decompress the latest python 3.8.2 source
4) run