build error (x64 linux and 1.8.7) #37
Description
I've got johnson on multiple machines, but my home machine is giving me trouble. Error is below, with -V output.
(ok, not big enough to hold it all it seems)
$ gem install johnson --version=2.0.0.pre3 -V
.....
/home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/gems/johnson-2.0.0.pre3/vendor/tracemonkey/xpconnect/tools/src/nsXPCToolsCompiler.cpp
/home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/gems/johnson-2.0.0.pre3/vendor/tracemonkey/xpconnect/tools/src/nsXPCToolsModule.cpp
/home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/gems/johnson-2.0.0.pre3/vendor/tracemonkey/xpconnect/tools/src/nsXPCToolsProfiler.cpp
/home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/gems/johnson-2.0.0.pre3/vendor/tracemonkey/xpconnect/tools/src/xpctools_private.h
/home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/bin/johnson
Building native extensions. This could take a while...
ERROR: Error installing johnson:
ERROR: Failed to build gem native extension.
/home/jadams/.rvm/rubies/ruby-1.8.7-p302/bin/ruby extconf.rb
checking for jsautocfg.h in /home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/gems/johnson-2.0.0.pre3/vendor/tracemonkey... yes
checking for jsapi.h in /home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/gems/johnson-2.0.0.pre3/vendor/tracemonkey... yes
creating Makefile
make
g++ -I. -I/home/jadams/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/x86_64-linux -I/home/jadams/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -fPIC -g -Wall -Wextra -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DXP_UNIX -c runtime.cc
runtime.cc:277: warning: extra tokens at end of #endif directive
runtime.cc: In function ‘VALUE global(VALUE)’:
runtime.cc:22: warning: unused variable ‘context’
runtime.cc: In function ‘VALUE initialize_native(VALUE, VALUE, VALUE)’:
runtime.cc:392: warning: conversion to ‘uint32’ from ‘size_t’ may alter its value
g++ -I. -I/home/jadams/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/x86_64-linux -I/home/jadams/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -fPIC -g -Wall -Wextra -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DXP_UNIX -c idhash.cc
g++ -I. -I/home/jadams/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/x86_64-linux -I/home/jadams/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -fPIC -g -Wall -Wextra -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DXP_UNIX -c js.cc
js.cc: In function ‘JSBool split_delProperty(JSContext_, JSObject_, jsval, jsval_)’:
js.cc:183: error: ‘struct JSObject’ has no member named ‘deleteProperty’
js.cc: At global scope:
js.cc:171: warning: unused parameter ‘id’
js.cc: In function ‘JSBool split_resolve(JSContext_, JSObject_, jsval, uintN, JSObject__)’:
js.cc:252: error: ‘struct JSObject’ has no member named ‘lookupProperty’
js.cc:255: error: ‘struct JSObject’ has no member named ‘dropProperty’
js.cc: In function ‘void split_finalize(JSContext_, JSObject_)’:
js.cc:281: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘JSObject_’
js.cc: In function ‘uint32 split_mark(JSContext_, JSObject_, void_)’:
js.cc:292: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘JSObject_’
js.cc: At global scope:
js.cc:330: warning: unused parameter ‘cx’
js.cc:330: warning: unused parameter ‘clasp’
js.cc: In function ‘JSObject* split_create_outer(JSContext_)’:
js.cc:423: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘JSObject_’
js.cc: In function ‘JSObject* split_create_inner(JSContext_, JSObject_)’:
js.cc:456: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘JSObject_’
js.cc:456: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 4 has type ‘JSObject_’
make: *** [js.o] Error 1
Gem files will remain installed in /home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/gems/johnson-2.0.0.pre3 for inspection.
Results logged to /home/jadams/.rvm/gems/ruby-1.8.7-p302@insight_phase2/gems/johnson-2.0.0.pre3/ext/tracemonkey/gem_make.out
Activity