ooyala / barkeep

The friendly code review system.
getbarkeep.org
1.42k stars 145 forks source link

Barkeep refuses to build on modern-ish systems #504

Open thatguyatgithub opened 9 years ago

thatguyatgithub commented 9 years ago

Hi there! I've been trying to install Barkeep using several environments, several times, but everything gets to the point of ruby not building with tons of errors when bundling (needless to say that having gem install therubyracer -v '0.10.1' did not change a thing)

/root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4-x86-linux/lib/libv8/build/v8/libv8.a(log-utils.o): In function v8::internal::Log::Initialize()': log-utils.cc:(.text._ZN2v88internal3Log10InitializeEv+0x36): undefined reference tooperator new[](unsigned int)' /root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4-x86-linux/lib/libv8/build/v8/libv8.a(log-utils.o): In function v8::internal::LogDynamicBuffer::LogDynamicBuffer(int, int, char const*, int)': log-utils.cc:(.text._ZN2v88internal16LogDynamicBufferC2EiiPKci+0x47): undefined reference tooperator new[](unsigned int)' log-utils.cc:(.text._ZN2v88internal16LogDynamicBufferC2EiiPKci+0x76): undefined reference to operator new[](unsigned int)' /root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4-x86-linux/lib/libv8/build/v8/libv8.a(log-utils.o):log-utils.cc:(.text._ZN2v88internal16LogDynamicBufferC1EiiPKci+0x47): more undefined references tooperator new[](unsigned int)' follow collect2: error: ld returned 1 exit status Makefile:207: recipe for target 'v8.so' failed make: *\ [v8.so] Error 1

Gem files will remain installed in /root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.1 for inspection. Results logged to /root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.1/ext/v8/gem_make.out An error occurred while installing therubyracer (0.10.1), and Bundler cannot continue. Make sure that gem install therubyracer -v '0.10.1' succeeds before bundling. /root/barkeep/script/setup_ruby.rb:34:in stream_output': The command "bundle install" failed. (RuntimeError) from /root/barkeep/script/setup_ruby.rb:62:in<top (required)>' from /root/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /root/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from script/vagrant_quick_start.rb:11:in `

'

I've been trying to build it on Debian and UbuntuTrusty as well, but same error arises.

Any ideas?

jpodeszwik commented 9 years ago

try: gem install therubyracer -v '0.12.1' sed -i 's/0.10.1/0.12.1/g' Gemfile.lock bundle install