Closed Bug 1385515 Opened 7 years ago Closed 7 years ago

Unable to build local debug build on macOS/OSX after bug 1384258

Categories

(Firefox Build System :: General, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1366564

People

(Reporter: spohl, Unassigned)

References

Details

Attachments

(1 file)

I'm running into the attached build failure when building from cset 274db82383c0. This is after running ./mach bootstrap, as was suggested in firefox-dev.
Flags: needinfo?(giles)
> fatal error: 'stdlib.h' file not found

Hmmm... It seems you are using llvm from homebrew? IIRC it is recommended to use the llvm installed by mach bootstrap?

I'm not sure whether there are other settings you need to put into .mozconfig, though...
The reason not using LLVM from homebrew isn't because of stdlib.h, though...
./mach bootstrap defaults to using homebrew if homebrew is installed, so I'm not quite sure what I should be doing here instead.
Yes, and you have the correct llvm+libclang version. This might be bug 1366564. Can you try running `xcode-select --install` and seeing if that fixes the build?
Flags: needinfo?(giles)
That did the trick, thanks! Is there a way to incorporate this into ./mach bootstrap?
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: