I also got compilation errors today after upgrading MacOS to Mojave (10.14). Finally built successfully after going through all the related bugs and comments... 1. Download 10.13 sdk [1], and add `ac_add_options --with-macos-sdk=path/to/MacOSX10.13.sdk` to mozconfig. (from Bug 1494022) 2. Run `xcode-select --install` and open `/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14` (from Bug 1487552) 3. `./mach bootstrap` // To make sure I didn't miss anything, and this forced me to upgrade brew 4. `./mach clobber` // For a clean build 5. Clear the ccache and restart sccache 6. `./mach build` // Didn't use icecc [1] https://www.avenard.org/files/MacOSX10.13.sdk.tbz Hope everything is OK tomorrow.
Bug 1487552 Comment 17 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I also got compilation errors today after upgrading MacOS to Mojave (10.14). Finally built successfully after going through all the related bugs and comments... 1. Download 10.13 sdk [1], and add `ac_add_options --with-macos-sdk=path/to/MacOSX10.13.sdk` to mozconfig. (from Bug 1494022) 2. Run `xcode-select --install` and open `/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14` (from this bug) 3. `./mach bootstrap` // To make sure I didn't miss anything, and this forced me to upgrade brew 4. `./mach clobber` // For a clean build 5. Clear the ccache and restart sccache 6. `./mach build` // Didn't use icecc [1] https://www.avenard.org/files/MacOSX10.13.sdk.tbz Hope everything is OK tomorrow.
I also got compilation errors today after upgrading MacOS to Mojave (10.14). Finally built successfully after going through all the related bugs and comments... 1. Download 10.13 sdk [1], and add `ac_add_options --with-macos-sdk=path/to/MacOSX10.13.sdk` to mozconfig. (from Bug 1494022) 2. Run `xcode-select --install` and open `/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg` (from this bug) 3. `./mach bootstrap` // To make sure I didn't miss anything, and this forced me to upgrade brew 4. `./mach clobber` // For a clean build 5. Clear the ccache and restart sccache 6. `./mach build` // Didn't use icecc [1] https://www.avenard.org/files/MacOSX10.13.sdk.tbz Hope everything is OK tomorrow.
I also got compilation errors today after upgrading MacOS to Mojave (10.14). Finally built successfully after going through all the related bugs and comments... 1. Download 10.13 sdk [1], and add `ac_add_options --with-macos-sdk=path/to/MacOSX10.13.sdk` to mozconfig. (from Bug 1494022) 2. Run `xcode-select --install` and `open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg` (from this bug) 3. `./mach bootstrap` // To make sure I didn't miss anything, and this forced me to upgrade brew 4. `./mach clobber` // For a clean build 5. Clear the ccache and restart sccache 6. `./mach build` // Didn't use icecc [1] https://www.avenard.org/files/MacOSX10.13.sdk.tbz Hope everything is OK tomorrow.
I also got compilation errors today after upgrading MacOS to Mojave (10.14). Finally built successfully after going through all the related bugs and comments... 1. Download 10.13 sdk [1], and add `ac_add_options --with-macos-sdk=path/to/MacOSX10.13.sdk` to mozconfig. (from Bug 1494022) 2. Run `xcode-select --install` and `open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg` (from this bug, comment 9) 3. `./mach bootstrap` // To make sure I didn't miss anything, and this forced me to upgrade brew 4. `./mach clobber` // For a clean build 5. Clear the ccache and restart sccache 6. `./mach build` // Didn't use icecc [1] https://www.avenard.org/files/MacOSX10.13.sdk.tbz Hope everything is OK tomorrow.
I also got compilation errors today after upgrading MacOS to Mojave (10.14). Finally built successfully after going through all the related bugs and comments... 1. Download 10.13 sdk [1], and add `ac_add_options --with-macos-sdk=path/to/MacOSX10.13.sdk` to mozconfig. (from Bug 1494022) 2. Run `xcode-select --install` and `open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg` (from this bug, comment 9) // To make sure we can get the llvm headers 3. `./mach bootstrap` // To make sure I didn't miss anything, and this forced me to upgrade brew 4. `./mach clobber` // For a clean build 5. Clear the ccache and restart sccache 6. `./mach build` // Didn't use icecc [1] https://www.avenard.org/files/MacOSX10.13.sdk.tbz Hope everything is OK tomorrow.