Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clintharris/c3e45b13949888f73f9fd721362917fc to your computer and use it in GitHub Desktop.
Save clintharris/c3e45b13949888f73f9fd721362917fc to your computer and use it in GitHub Desktop.
Error on attempt to build Electron 1.7.4 (macOS 10.12)
$ python --version
Python 2.7.10
$ ./script/bootstrap.py -v
Running in verbose mode
git submodule sync --recursive
Synchronizing submodule url for 'vendor/boto'
Synchronizing submodule url for 'vendor/breakpad'
Synchronizing submodule url for 'vendor/breakpad/src'
Synchronizing submodule url for 'vendor/crashpad'
Synchronizing submodule url for 'vendor/depot_tools'
Synchronizing submodule url for 'vendor/gyp'
Synchronizing submodule url for 'vendor/libchromiumcontent'
Synchronizing submodule url for 'vendor/libchromiumcontent/vendor/boto'
Synchronizing submodule url for 'vendor/libchromiumcontent/vendor/depot_tools'
Synchronizing submodule url for 'vendor/native_mate'
Synchronizing submodule url for 'vendor/node'
Synchronizing submodule url for 'vendor/pdf_viewer'
Synchronizing submodule url for 'vendor/pdf_viewer/vendor/grit'
Synchronizing submodule url for 'vendor/requests'
git submodule update --init --recursive
/Users/clint/projects/electron/script/update-clang.sh
Clang already at 284979-1
/usr/bin/python setup.py build
running build
running build_py
running egg_info
writing requirements to requests.egg-info/requires.txt
writing requests.egg-info/PKG-INFO
writing top-level names to requests.egg-info/top_level.txt
writing dependency_links to requests.egg-info/dependency_links.txt
reading manifest file 'requests.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'requests.egg-info/SOURCES.txt'
/usr/bin/python setup.py build
running build
running build_py
running egg_info
writing boto.egg-info/PKG-INFO
writing top-level names to boto.egg-info/top_level.txt
writing dependency_links to boto.egg-info/dependency_links.txt
reading manifest file 'boto.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'boto/mturk/test/*.doctest'
warning: no files found matching 'boto/mturk/test/.gitignore'
writing manifest file 'boto.egg-info/SOURCES.txt'
running build_scripts
npm install --verbose
npm info it worked if it ends with ok
npm verb cli [ '/Users/clint/.nvm/versions/node/v6.10.1/bin/node',
npm verb cli '/Users/clint/.nvm/versions/node/v6.10.1/bin/npm',
npm verb cli 'install',
npm verb cli '--verbose' ]
npm info using npm@3.10.10
npm info using node@v6.10.1
npm info lifecycle electron@1.7.4~preinstall: electron@1.7.4
> electron@1.7.4 preinstall /Users/clint/projects/electron
> node -e 'process.exit(0)'
npm verb lifecycle electron@1.7.4~preinstall: unsafe-perm in lifecycle true
npm verb lifecycle electron@1.7.4~preinstall: PATH: /Users/clint/.nvm/versions/node/v6.10.1/lib/node_modules/npm/bin/node-gyp-bin:/Users/clint/projects/electron/node_modules/.bin:/Users/clint/.nvm/versions/node/v6.10.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
npm verb lifecycle electron@1.7.4~preinstall: CWD: /Users/clint/projects/electron
npm verb correctMkdir /Users/clint/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /Users/clint/.npm/_locks/staging-f6d6784621626b37.lock for /Users/clint/projects/electron/node_modules/.staging
npm verb unlock done using /Users/clint/.npm/_locks/staging-f6d6784621626b37.lock for /Users/clint/projects/electron/node_modules/.staging
npm info linkStuff electron@1.7.4
npm verb linkBins electron@1.7.4
npm verb linkMans electron@1.7.4
npm info lifecycle electron@1.7.4~install: electron@1.7.4
npm info lifecycle electron@1.7.4~postinstall: electron@1.7.4
npm info lifecycle electron@1.7.4~prepublish: electron@1.7.4
npm verb exit [ 0, true ]
npm info ok
git submodule status vendor/libchromiumcontent
8c6594630d5ea493ceac21dbdd11376377d2e09c vendor/libchromiumcontent (v51.0.2704.61-368-g8c65946)
/usr/bin/python /Users/clint/projects/electron/script/update.py
09:52:52 [supplemental_code_comments L|✔]
$ ./script/build.py
ninja: Entering directory `out/R'
[10/206] OBJCXX obj/atom/browser/electron_lib.auto_updater_mac.o
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/atom/browser/electron_lib.auto_updater_mac.o.d '-DATOM_PRODUCT_NAME="Electron"' '-DATOM_PROJECT_NAME="electron"' -DENABLE_OSR -DNODE_WANT_INTERNALS=1 -DNODE_SHARED_MODE -DHAVE_INSPECTOR=1 -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DGLIB_DISABLE_DEPRECATION_WARNINGS -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_SHARED -DUSING_V8_SHARED -DUSING_V8_PLATFORM_SHARED -DUSING_V8_BASE_SHARED -DNDEBUG -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DDISABLE_NACL -DUSE_OPENSSL -DWEBRTC_MAC -I../.. -I../../chromium_src -I../../vendor/native_mate -Igen -I../../vendor/node/src -I../../vendor/node/deps/http_parser -I../../vendor/node/deps/uv/include -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/v8/include -I../../vendor/node/deps/cares/include -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/WebKit/Source -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/libyuv/include -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/components/cdm -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/widevine -I../../vendor -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/gpu -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/skia/config -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/boringssl/src/include -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/skia/include/core -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/skia/include/config -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/icu/source/common -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/mojo/src -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/khronos -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/src/third_party/WebKit -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/static_library/gen -I/Users/clint/projects/electron/vendor/download/libchromiumcontent/static_library/gen/third_party/WebKit -I../../vendor/crashpad -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fasm-blocks -mpascal-strings -O2 -gdwarf-2 -Werror -mmacosx-version-min=10.9 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-undefined-var-template -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -F/Users/clint/projects/electron/external_binaries -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fcolor-diagnostics -fno-inline -fno-omit-frame-pointer -fno-builtin -fno-optimize-sibling-calls -fobjc-weak -c ../../atom/browser/auto_updater_mac.mm -o obj/atom/browser/electron_lib.auto_updater_mac.o
../../atom/browser/auto_updater_mac.mm:7:9: fatal error: 'ReactiveCocoa/RACCommand.h' file not found
#import <ReactiveCocoa/RACCommand.h>
^
1 error generated.
[10/206] CXX obj/atom/browser/electron_lib.common_web_contents_delegate.o
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment