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.


On Tue, Sep 25, 2018 at 5:42 PM Dave Townsend <dtowns...@mozilla.com> wrote:

> This seems to be tracked in
> https://bugzilla.mozilla.org/show_bug.cgi?id=1487552
>
> On Tue, Sep 25, 2018 at 5:12 AM J. Ryan Stinnett <jry...@gmail.com> wrote:
>
> > 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 <mmyntti...@mozilla.com>
> > wrote:
> >
> > > 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
> > >
> > >
> > > > On Sep 19, 2018, at 8:06 PM, Haik Aftandilian <
> > haftandil...@mozilla.com>
> > > wrote:
> > > >
> > > > 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 <
> > > haftandil...@mozilla.com>
> > > > wrote:
> > > >
> > > >> 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
> > > >>
> > > >>
> > > > _______________________________________________
> > > > dev-platform mailing list
> > > > dev-platform@lists.mozilla.org
> > > > https://lists.mozilla.org/listinfo/dev-platform
> > >
> > > _______________________________________________
> > > dev-platform mailing list
> > > dev-platform@lists.mozilla.org
> > > https://lists.mozilla.org/listinfo/dev-platform
> > >
> > _______________________________________________
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to