Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created October 16, 2014 18:56
Show Gist options
  • Save tmcw/25852a73a9c0c8395ed5 to your computer and use it in GitHub Desktop.
Save tmcw/25852a73a9c0c8395ed5 to your computer and use it in GitHub Desktop.
~/src/mapbox-gl-online〉npm install
npm WARN package.json mapbox-gl-online@0.0.1 No repository field.
/
> fsevents@0.2.1 install /Users/tmcw/src/mapbox-gl-online/node_modules/watchify/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
SOLINK_MODULE(target) Release/fse.node: Finished
> contextify@0.1.9 install /Users/tmcw/src/mapbox-gl-online/node_modules/d3/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild
CXX(target) Release/obj.target/contextify/src/contextify.o
SOLINK_MODULE(target) Release/contextify.node
SOLINK_MODULE(target) Release/contextify.node: Finished
npm WARN engine pngjs@0.4.0: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"2.1.3"})
-
> mapbox-glsl-optimizer@0.1.2 install /Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer
> node-pre-gyp install --fallback-to-build
[mapbox-glsl-optimizer] Command failed: dyld: lazy symbol binding failed: Symbol not found: _node_module_register
Referenced from: /Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/lib/glslOptimizer.node
Expected in: dynamic lookup
dyld: Symbol not found: _node_module_register
Referenced from: /Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/lib/glslOptimizer.node
Expected in: dynamic lookup
node-pre-gyp ERR! Testing local pre-built binary failed, attempting to re-download
CC(target) Release/obj.target/glsl_optimizer_lib/src/glsl/glcpp/glcpp-lex.o
CC(target) Release/obj.target/glsl_optimizer_lib/src/glsl/glcpp/glcpp-parse.o
CC(target) Release/obj.target/glsl_optimizer_lib/src/glsl/glcpp/pp.o
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/ast_array_index.o
../src/glsl/ast_array_index.cpp:86:30: warning: unused variable 'interface_type' [-Wunused-variable]
const glsl_type *interface_type =
^
1 warning generated.
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/ast_expr.o
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/ast_function.o
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/ast_to_hir.o
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/ast_type.o
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/builtin_functions.o
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/builtin_types.o
../src/glsl/builtin_types.cpp:56:68: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "near", false, glsl_precision_high, -1 },
^
../src/glsl/builtin_types.cpp:57:68: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "far", false, glsl_precision_high, -1 },
^
../src/glsl/builtin_types.cpp:58:68: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "diff", false, glsl_precision_high, -1 },
^
../src/glsl/builtin_types.cpp:62:73: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "size", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:63:76: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "sizeMin", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:64:76: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "sizeMax", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:65:86: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "fadeThresholdSize", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:66:96: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "distanceConstantAttenuation", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:67:94: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "distanceLinearAttenuation", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:68:97: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "distanceQuadraticAttenuation", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:72:76: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "emission", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:73:75: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "ambient", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:74:75: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "diffuse", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:75:76: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "specular", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:76:78: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "shininess", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:80:75: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "ambient", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:81:75: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "diffuse", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:82:76: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "specular", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:83:76: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "position", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:84:78: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "halfVector", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:85:81: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec3_type, "spotDirection", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:86:81: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "spotExponent", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:87:79: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "spotCutoff", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:88:82: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "spotCosCutoff", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:89:88: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "constantAttenuation", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:90:86: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "linearAttenuation", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:91:89: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "quadraticAttenuation", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:95:75: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "ambient", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:99:78: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "sceneColor", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:103:75: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "ambient", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:104:75: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "diffuse", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:105:76: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "specular", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:109:73: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::vec4_type, "color", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:110:76: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "density", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:111:74: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "start", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:112:72: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "end", false, glsl_precision_undefined, -1 },
^
../src/glsl/builtin_types.cpp:113:74: warning: missing field 'interpolation' initializer [-Wmissing-field-initializers]
{ glsl_type::float_type, "scale", false, glsl_precision_undefined, -1 },
^
37 warnings generated.
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/builtin_variables.o
CXX(target) Release/obj.target/glsl_optimizer_lib/src/glsl/glsl_lexer.o
src/glsl/glsl_lexer.cpp:3251:16: warning: function 'yyinput' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static int yyinput (yyscan_t yyscanner)
^
1 warning generated.
/bin/sh: pipe error: Too many open files in system
make: *** [Release/obj.target/glsl_optimizer_lib/src/glsl/glsl_lexer.o] Error 129
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--name=mapbox-glsl-optimizer" "--configuration=Release" "--module_name=glslOptimizer" "--version=0.1.2" "--minor=1" "--patch=2" "--runtime=node" "--node_abi=node-v11" "--platform=darwin" "--target_platform=darwin" "--arch=x64" "--target_arch=x64" "--module_main=./lib/glslOptimizer.node" "--host=https://mapbox-node-binary.s3.amazonaws.com/" "--module_path=/Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/lib" "--module=/Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/lib/glslOptimizer.node" "--remote_path=./mapbox-glsl-optimizer/v0.1.2/" "--package_name=node-v11-darwin-x64.tar.gz" "--staged_tarball=build/stage/mapbox-glsl-optimizer/v0.1.2/node-v11-darwin-x64.tar.gz" "--hosted_path=https://mapbox-node-binary.s3.amazonaws.com/mapbox-glsl-optimizer/v0.1.2/" "--hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/mapbox-glsl-optimizer/v0.1.2/node-v11-darwin-x64.tar.gz"
gyp ERR! cwd /Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp rebuild --name=mapbox-glsl-optimizer --configuration=Release --module_name=glslOptimizer --version=0.1.2 --minor=1 --patch=2 --runtime=node --node_abi=node-v11 --platform=darwin --target_platform=darwin --arch=x64 --target_arch=x64 --module_main=./lib/glslOptimizer.node --host=https://mapbox-node-binary.s3.amazonaws.com/ --module_path=/Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/lib --module=/Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/lib/glslOptimizer.node --remote_path=./mapbox-glsl-optimizer/v0.1.2/ --package_name=node-v11-darwin-x64.tar.gz --staged_tarball=build/stage/mapbox-glsl-optimizer/v0.1.2/node-v11-darwin-x64.tar.gz --hosted_path=https://mapbox-node-binary.s3.amazonaws.com/mapbox-glsl-optimizer/v0.1.2/ --hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/mapbox-glsl-optimizer/v0.1.2/node-v11-darwin-x64.tar.gz' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/node_modules/node-pre-gyp/lib/util/compile.js:76:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:756:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:823:5)
node-pre-gyp ERR! System Darwin 13.4.0
node-pre-gyp ERR! command "node" "/Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer
node-pre-gyp ERR! node -v v0.10.32
node-pre-gyp ERR! node-pre-gyp -v v0.5.27
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp rebuild --name=mapbox-glsl-optimizer --configuration=Release --module_name=glslOptimizer --version=0.1.2 --minor=1 --patch=2 --runtime=node --node_abi=node-v11 --platform=darwin --target_platform=darwin --arch=x64 --target_arch=x64 --module_main=./lib/glslOptimizer.node --host=https://mapbox-node-binary.s3.amazonaws.com/ --module_path=/Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/lib --module=/Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/glify/node_modules/mapbox-glsl-optimizer/lib/glslOptimizer.node --remote_path=./mapbox-glsl-optimizer/v0.1.2/ --package_name=node-v11-darwin-x64.tar.gz --staged_tarball=build/stage/mapbox-glsl-optimizer/v0.1.2/node-v11-darwin-x64.tar.gz --hosted_path=https://mapbox-node-binary.s3.amazonaws.com/mapbox-glsl-optimizer/v0.1.2/ --hosted_tarball=https://mapbox-node-binary.s3.amazonaws.com/mapbox-glsl-optimizer/v0.1.2/node-v11-darwin-x64.tar.gz' (1)
> gl@0.0.4 install /Users/tmcw/src/mapbox-gl-online/node_modules/mapbox-gl/node_modules/gl
> node-gyp rebuild
CXX(target) Release/obj.target/webgl/src/bindings.o
CXX(target) Release/obj.target/webgl/src/webgl.o
../src/webgl.cc:1092:63: warning: cast to 'const void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
glVertexAttribPointer(indx, size, type, normalized, stride, (const GLvoid *)offset);
^
1 warning generated.
SOLINK_MODULE(target) Release/webgl.node
ld: warning: directory not found for option '-L./deps/darwin'
SOLINK_MODULE(target) Release/webgl.node: Finished
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.32
npm ERR! npm v2.1.3
npm ERR! path /Users/tmcw/.npm/concat-stream/1.4.6/package/package.json.d67dada1589ef72ab8d3fe0d14d86b26
npm ERR! code UNKNOWN
npm ERR! errno -1
npm ERR! UNKNOWN, open '/Users/tmcw/.npm/concat-stream/1.4.6/package/package.json.d67dada1589ef72ab8d3fe0d14d86b26'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/tmcw/src/mapbox-gl-online/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment