Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mozilla-central Fails to Build on Mac With Latest Xcode (10.0)

123 views
Skip to first unread message

Haik Aftandilian

unread,
Sep 18, 2018, 2:31:03 PM9/18/18
to dev-platform
If you don't build on macOS, read no further.

With the latest XCode (10.0) just released, mozilla-central fails to build
due to bug 1492210 "nsCocoaUtils.mm compile error on macOS 10.13 with 10.14
SDK" [1]. I recommend avoiding installing the new XCode until we have this
fixed. If you've configured your builds to use an older SDK and not the
default XCode install, you will not be affected.

Haik

1. https://bugzilla.mozilla.org/show_bug.cgi?id=1492210

Haik Aftandilian

unread,
Sep 19, 2018, 2:06:39 PM9/19/18
to dev-platform
This has been resolved. The fix for bug 1492210 is now in mozilla-central,
thanks to Miko.

Haik

On Tue, Sep 18, 2018 at 11:30 AM Haik Aftandilian <haftan...@mozilla.com>
wrote:

Miko Mynttinen

unread,
Sep 25, 2018, 8:04:49 AM9/25/18
to dev-pl...@lists.mozilla.org
Some of those people (like me) who were eager to use Dark Mode might now have trouble building Firefox.

This is because Mojave update removes system headers from /usr/include. They can be restored by installing Xcode command line tools and the headers that come bundled with them.

Instructions for Xcode 10:

1) Install Xcode command line tools
$ xcode-select --install

2) Install the bundled system headers
$ open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg



Miko
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

J. Ryan Stinnett

unread,
Sep 25, 2018, 8:12:33 AM9/25/18
to mmynt...@mozilla.com, dev-platform
The Xcode 10 Release Notes[1] in the "Command Line Tools" heading suggests
that future versions will not provide a *.pkg to install headers to
/usr/include, so we may want to adjust whichever build steps depend on this
location.

[1]:
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes

- Ryan

On Tue, Sep 25, 2018 at 2:04 PM Miko Mynttinen <mmynt...@mozilla.com>
wrote:

Dave Townsend

unread,
Sep 25, 2018, 11:42:35 AM9/25/18
to dev-platform

Johann Hofmann

unread,
Sep 25, 2018, 12:09:33 PM9/25/18
to Dave Townsend, dev-platform
Also note that at least two of us were running into this issue after
successfully compiling Nightly on Mojave:
https://bugzilla.mozilla.org/show_bug.cgi?id=1494022

Until that is fixed you might need to downgrade to the 10.13 OSX SDK to
compile Firefox.
Message has been deleted
0 new messages