Closed robhogan closed 1 year ago
@kmancini has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Superseded by https://github.com/facebook/watchman/commit/1b35d38e8258cc749838a2527d355ff4cd46c2db - thanks @kmancini
M1 macbooks appear to have a default system Python3 version of 3.8.x, with a "universal" executable that incorrectly reports the platform (
platform.machine()
) asx86_64
. This causes Watchman's./autogen.sh
to try to build forx86_64
, which eventually causes linker errors with pre-installed dependencies egbuilding for macOS-x86_64 but attempting to link with file built for macOS-arm64
. See also https://github.com/pyinstaller/pyinstaller/issues/5315Updating python fixes this issue, as noted in linked issue above:
We may want more robust auto-detection here, but I'm filing this partly as an RFC and because a note in the docs is better than nothing.