Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Morris mikemorris

View GitHub Profile
View npm-debug.log
npm ERR! RangeError: length > kMaxLength
npm ERR! at new Buffer (buffer.js:194:21)
npm ERR! at fs.js:225:16
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "/Users/mikemorris/.nvm/v0.10.30/bin/node" "/Users/mikemorris/.nvm/v0.10.30/bin/npm" "publish"
View with headless_view.cpp
> mapbox-gl-native@0.0.1 test /Users/mikemorris/gyp/node-mapbox-gl-native
> tap ./test
dyld: lazy symbol binding failed: Symbol not found: _uv_loop_init
Referenced from: /Users/mikemorris/gyp/node-mapbox-gl-native/build/Release/mapbox-gl-native.node
Expected in: flat namespace
dyld: Symbol not found: _uv_loop_init
Referenced from: /Users/mikemorris/gyp/node-mapbox-gl-native/build/Release/mapbox-gl-native.node
Expected in: flat namespace
View gist:40d776f7783b09687754
In file included from ../../src/map/map.cpp:12:
../../include/mbgl/util/uv_detail.hpp:13:10: fatal error: 'boost/lockfree/queue.hpp' file not found
#include <boost/lockfree/queue.hpp>
^
1 error generated.
make[1]: *** [../Release/obj.target/mapboxgl/src/map/map.o] Error 1
make: *** [mbgl] Error 2
View Makefile
# We borrow heavily from the kernel build setup, though we are simpler since
# we don't have Kconfig tweaking settings on us.
# The implicit make rules have it looking for RCS files, among other things.
# We instead explicitly write all the rules we care about.
# It's even quicker (saves ~200ms) to pass -r on the command line.
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
View mapbox-gl-native
This file has been truncated, but you can view the full file.
find ./deps/gyp -name "*.pyc" -exec rm {} \;
rm -rf ./build/
rm -rf ./config.mk
rm -rf ./config.gypi
rm -rf ./config.mk
rm -rf ./config.gypi
rm -rf ./mapnik-packaging/osx/out/
./setup-libraries.sh
v0.10.31 is already installed.
View gist:96d3bce5624ba44ad224
In file included from ../src/tile_worker.cpp:4:
In file included from ../vendor/mapbox-gl-native/include/mbgl/map/map.hpp:5:
In file included from ../vendor/mapbox-gl-native/include/mbgl/renderer/painter.hpp:10:
../vendor/mapbox-gl-native/include/mbgl/style/types.hpp:184:5: error: expected
'}'
None,
^
/usr/include/X11/X.h:115:30: note: expanded from macro 'None'
#define None 0L /* universal null resource or null atom */
^
View gist:4cc11f9509db6e5a58de
**** building libuv ****
+ glibtoolize
glibtoolize: putting auxiliary files in `.'.
glibtoolize: linking file `./ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: linking file `m4/libtool.m4'
glibtoolize: linking file `m4/ltoptions.m4'
glibtoolize: linking file `m4/ltsugar.m4'
glibtoolize: linking file `m4/ltversion.m4'
View gist:921f034bcc45dfcad7f3
dyld: lazy symbol binding failed: Symbol not found: __ZN4mbgl8platform12request_httpERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS1_8functionIFvPNS0_8ResponseEEEENS1_10shared_ptrIN2uv4loopEEE
Referenced from: /Users/mikemorris/gyp/node-mapbox-gl-native/lib/mapbox-gl-native.node
Expected in: flat namespace
dyld: Symbol not found: __ZN4mbgl8platform12request_httpERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS1_8functionIFvPNS0_8ResponseEEEENS1_10shared_ptrIN2uv4loopEEE
Referenced from: /Users/mikemorris/gyp/node-mapbox-gl-native/lib/mapbox-gl-native.node
Expected in: flat namespace
Trace/BPT trap: 5
View gist:3b21970ac714d9382a77
In file included from /Users/travis/build/mapbox/mapbox-gl-native/mapnik-packaging/osx/out/build-cpp11-libcpp-universal/include/boost/atomic/atomic.hpp:19:
/Users/travis/build/mapbox/mapbox-gl-native/mapnik-packaging/osx/out/build-cpp11-libcpp-universal/include/boost/atomic/capabilities.hpp:22:10: fatal error:
'boost/atomic/detail/caps_gcc_atomic.hpp' file not found
#include BOOST_ATOMIC_DETAIL_HEADER(boost/atomic/detail/caps_)
^
View gist:5b0b784b0ca80b9e3730
Process 25507 stopped
* thread #7: tid = 0x3bf03d, 0x00007fff883b0c59 libGL.dylib`glBindFramebufferEXT + 17, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x00007fff883b0c59 libGL.dylib`glBindFramebufferEXT + 17
libGL.dylib`glBindFramebufferEXT + 17:
-> 0x7fff883b0c59: movq (%rax), %rdi
0x7fff883b0c5c: movq 0x1508(%rax), %rax
0x7fff883b0c63: movl %ecx, %esi
0x7fff883b0c65: popq %rbp
(lldb) bt
* thread #7: tid = 0x3bf03d, 0x00007fff883b0c59 libGL.dylib`glBindFramebufferEXT + 17, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)