Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"mach bootstrap" fails with “could not compile crossbeam-epoch (etc.) and “ld: library 'System' not found“ #32106

Open
sideshowbarker opened this issue Apr 18, 2024 · 3 comments
Labels
C-untriaged New issues that haven't been triaged yet

Comments

@sideshowbarker
Copy link

Describe the bug:
When running ./mach bootstrap in my macOS Sonoma 14.5 Beta (23F5049f) environment, it fails with “could not compile crossbeam-epoch (etc.) and “ld: library 'System' not found“ errors.

To Reproduce:
Run ./mach bootstrap.

Platform:
macOS Sonoma 14.5 Beta (23F5049f). The only thing I can think of that’s unusual in my environment compared to “normal” people is that my environment is set up for building WebKit — with some additional stuff in my path for that.

@sideshowbarker sideshowbarker added the C-untriaged New issues that haven't been triaged yet label Apr 18, 2024
@nicoburns
Copy link
Contributor

Having upstream clang in my path broke servo bootstrap for me (specifically the python library "pillow" failed to compile). I had to use Apple Clang (by removing the path override) to make it work.

@sideshowbarker
Copy link
Author

I “fixed” this in my environment by doing this:

SDKROOT=$(xcrun --sdk macosx --show-sdk-path) ./mach bootstrap

…which I discovered at https://discourse.cmake.org/t/new-macos-and-xcode-update-incompatible-with-cmake/9876/9

So, this issue isn’t actually blocking me, and I’d be fine with it being closed — I just figured I should take the time to report it, on the off chance that somebody other than me might run into the same problem later (and find this answer/fix).

@sideshowbarker
Copy link
Author

sideshowbarker commented Apr 18, 2024

Having upstream clang in my path broke servo bootstrap for me (specifically the python library "pillow" failed to compile). I had to use Apple Clang (by removing the path override) to make it work.

Thanks, I see — I’ll try messing around with that later

Update: Actually what I see right now is:

$ which clang
/Library/Developer/CommandLineTools/usr/bin/clang

@sideshowbarker sideshowbarker changed the title "mach bootstrap" fails with “could not compile crossbeam-epoch (etc.) and “ld: library 'System' not found“ "mach bootstrap" fails with “could not compile crossbeam-epoch (etc.) and “ld: library 'System' not found“ Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-untriaged New issues that haven't been triaged yet
Projects
None yet
Development

No branches or pull requests

2 participants