electron-archive/brightray

Error when using ./script/build.py command

starmate opened this issue · 1 comments

Hi,

I am trying to compile on OSX 10.11.5 but I have the following issue:

ninja: Entering directory `out/R'
[3/296] COPY /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/...10.11.sdk/usr/include/mach/exc.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/exc.def
FAILED: ln -f /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/exc.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/exc.defs 2>/dev/null || (rm -rf obj/vendor/crashpad/util/crashpad_util.gen/util/mach/exc.defs && cp -af /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/exc.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/exc.defs)
cp: fchflags: obj/vendor/crashpad/util/crashpad_util.gen/util/mach/exc.defs: Invalid argument
[3/296] COPY /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/...usr/include/mach/mach_exc.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/mach_exc.def
FAILED: ln -f /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/mach_exc.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/mach_exc.defs 2>/dev/null || (rm -rf obj/vendor/crashpad/util/crashpad_util.gen/util/mach/mach_exc.defs && cp -af /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/mach_exc.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/mach_exc.defs)
cp: fchflags: obj/vendor/crashpad/util/crashpad_util.gen/util/mach/mach_exc.defs: Invalid argument
[3/296] COPY /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/...sdk/usr/include/mach/notify.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/notify.def
FAILED: ln -f /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/notify.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/notify.defs 2>/dev/null || (rm -rf obj/vendor/crashpad/util/crashpad_util.gen/util/mach/notify.defs && cp -af /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/notify.defs obj/vendor/crashpad/util/crashpad_util.gen/util/mach/notify.defs)
cp: fchflags: obj/vendor/crashpad/util/crashpad_util.gen/util/mach/notify.defs: Invalid argument
ninja: build stopped: subcommand failed.

Anyone aware of this?

I am using:
Xcode 7.3.1
Python 2.7.12
Node.js 6.2.2

Thanks,

Jon

I also had this issue. But in my case it happened, because I checked out the repository on a place, where fchflags does not seem to be supported. In my case it was an SD card.
After checking out the same repository on the local hard drive, it worked.

Maybe this helps.

Regards,
Daniel