Mailing List Archive

[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems
Change by Ned Deily <nad@python.org>:


----------
title: Python extension modules fail to build on Mac 10.15.1 (Catalina) -> setup.py test for macOS SDK files may incorrectly classify files in other file systems

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue41129>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems [ In reply to ]
Ronald Oussoren <ronaldoussoren@mac.com> added the comment:

> As a reminder when implementing: ....

The whole configure machinery needs work :-(.

Disabling looking in /usr/local should IMHO be an explicit choice when building, not something inferred from the presence of "-isysroot" in the compiler flags because that flag can be left out from most builds as Xcode hasn't shipped with multiple SDKs for a long while.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue41129>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems [ In reply to ]
Ronald Oussoren <ronaldoussoren@mac.com> added the comment:

> For some background, our network location /mathworks is usually mounted at root, but due to the restrictions on macOS Catalina, it mounts at /System/Volumes/Data and we then add a symlink to the root directory so "/mathworks -> /System/Volumes/Data/mathworks" as to not break old code and scripts. So the real problem is that we cannot find extension module files under /System/Volumes/Data.

Could you tell more about this? Why is this share mounted under /System/Volumes/Data and not under /Volumes?

With the direction Apple is moving in I'm a bit surprised that this works at all, the direction seems to be toward a completely read-only tree in /System in /usr (except for /usr/local).

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue41129>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems [ In reply to ]
Ned Deily <nad@python.org> added the comment:

> Why is this share mounted under /System/Volumes/Data and not under /Volumes?

See man 5 synthetic_conf for more details.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue41129>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems [ In reply to ]
Ronald Oussoren <ronaldoussoren@mac.com> added the comment:

That doesn't answer my question, synthetic.conf should still make it possible to have the mountpoint in /, and that's even used as an example in the manpage.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue41129>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems [ In reply to ]
Andrew <andrewfg1992@gmail.com> added the comment:

Hi Ronald. The basic idea is that >= macOS 10.15.1 Apple has made most of the filesystem read only on a folder by folder basis. They separate user-writable onto a separate filesystem, treat it like a disk, and they mount it under /System/Volumes/ as "Data". Likewise, I think the idea is that other volumes get mounted under /System/Volumes, however, since "/System/Volumes/Data" is now "firmlinked" to root, I imagine you can find mounts to the writable filesystem under "/System/Volumes/Data/Volumes" which firmlinks to /Volumes.

About the read-only system volume in macOS Catalina:
https://support.apple.com/en-us/HT210650

More info on the container / firmlink scheme
https://bombich.com/kb/ccc5/working-apfs-volume-groups

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue41129>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com