Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Error when using ./script/build.py command #233

Open
starmate opened this issue Jul 6, 2016 · 1 comment
Open

Error when using ./script/build.py command #233

starmate opened this issue Jul 6, 2016 · 1 comment
Labels

Comments

@starmate
Copy link

starmate commented Jul 6, 2016

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

@dbatsche
Copy link

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

@stale stale bot added the wontfix label Mar 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants