Skip to content

Instantly share code, notes, and snippets.

@Rob117
Created February 19, 2018 05:43
Show Gist options
  • Save Rob117/1f31426b86b3a8b61a0c3a07ca073cf5 to your computer and use it in GitHub Desktop.
Save Rob117/1f31426b86b3a8b61a0c3a07ca073cf5 to your computer and use it in GitHub Desktop.
Error log for Detox setup & contribution guide
> detox-test@0.0.1 build:ios /Users/r-sherling/detox/detox/test
> detox build --configuration ios.sim.release
set -o pipefail && export CODE_SIGNING_REQUIRED=NO && export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -scheme example_ci -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcpretty
▸ Building React/yoga [Release]
▸ Check Dependencies
▸ Building React/double-conversion [Release]
▸ Check Dependencies
▸ Running script 'Install Third Party'
▸ Compiling bignum.cc
▸ Compiling cached-powers.cc
▸ Compiling bignum-dtoa.cc
▸ Compiling diy-fp.cc
▸ Compiling double-conversion.cc
⚠️ /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/double-conversion.cc:825:10: declaration shadows a local variable [-Wshadow]
char sign = '+';
^
▸ Compiling fast-dtoa.cc
▸ Compiling fixed-dtoa.cc
▸ Compiling bignum-dtoa.cc
▸ Compiling strtod.cc
⚠️ /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/strtod.cc:209:7: code will never be executed [-Wunreachable-code]
if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) {
^
▸ Compiling bignum.cc
▸ Compiling cached-powers.cc
▸ Compiling diy-fp.cc
▸ Compiling double-conversion.cc
⚠️ /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/double-conversion.cc:825:10: declaration shadows a local variable [-Wshadow]
char sign = '+';
^~~~~~~
▸ Compiling fast-dtoa.cc
▸ Compiling fixed-dtoa.cc
▸ Compiling strtod.cc
▸ Building library libdouble-conversion.a
▸ Building library libdouble-conversion.a
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/bignum-dtoa.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/bignum.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/cached-powers.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/diy-fp.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/double-conversion.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/fast-dtoa.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/fixed-dtoa.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/ieee.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/strtod.h
▸ Copying /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/double-conversion-1.1.5/src/utils.h
▸ Building React/third-party [Release]
▸ Check Dependencies
▸ Compiling Conv.cpp
▸ Compiling StringBase.cpp
▸ Compiling raw_logging.cc
❌ /Users/r-sherling/detox/detox/test/node_modules/react-native/React/../third-party/glog-0.3.4/src/base/mutex.h:105:10: 'config.h' file not found
#include "config.h" // to figure out pthreads support
^
▸ Compiling signalhandler.cc
❌ /Users/r-sherling/detox/detox/test/node_modules/react-native/React/../third-party/glog-0.3.4/src/base/mutex.h:105:10: 'config.h' file not found
#include "config.h" // to figure out pthreads support
^~~~~~~~~~
** BUILD FAILED **
The following build commands failed:
CompileC /Users/r-sherling/detox/detox/test/ios/build/Build/Intermediates.noindex/React.build/Release-iphonesimulator/third-party.build/Objects-normal/i386/signalhandler.o /Users/r-sherling/detox/detox/test/node_modules/react-native/third-party/glog-0.3.4/src/signalhandler.cc normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
child_process.js:614
throw err;
^
Error: Command failed: set -o pipefail && export CODE_SIGNING_REQUIRED=NO && export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -scheme example_ci -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcpretty
at checkExecSyncError (child_process.js:574:11)
at Object.execSync (child_process.js:611:13)
at Object.<anonymous> (/Users/r-sherling/detox/detox/local-cli/detox-build.js:26:6)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Function.Module.runMain (module.js:701:10)
at startup (bootstrap_node.js:193:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! detox-test@0.0.1 build:ios: `detox build --configuration ios.sim.release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the detox-test@0.0.1 build:ios script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/r-sherling/.npm/_logs/2018-02-19T05_38_01_646Z-debug.log
@ericboucher
Copy link

Hi @Rob117, where you able to fix this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment