Actions
Bug #11397
closed[Ruby 2.3.3] Make json gem dependency > 1.7.7
Story points:
-
Description
gem json 1.7.7 doesn't compile in distros nowadays . If this is not a hard dependency for arvados, will be good to have 1.8.x or even better 2.x version:
# rvm 2.3.3 do gem install json -v 1.7.7 Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension. current directory: /usr/local/rvm/gems/ruby-2.3.3/gems/json-1.7.7/ext/json/ext/generator /usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -r ./siteconf20170329-31235-1rng2qn.rb extconf.rb creating Makefile current directory: /usr/local/rvm/gems/ruby-2.3.3/gems/json-1.7.7/ext/json/ext/generator make "DESTDIR=" clean current directory: /usr/local/rvm/gems/ruby-2.3.3/gems/json-1.7.7/ext/json/ext/generator make "DESTDIR=" compiling generator.c In file included from generator.c:1:0: ../fbuffer/fbuffer.h: In function 'fbuffer_to_s': ../fbuffer/fbuffer.h:175:47: error: macro "rb_str_new" requires 2 arguments, but only 1 given VALUE result = rb_str_new(FBUFFER_PAIR(fb)); ^ ../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast VALUE result = rb_str_new(FBUFFER_PAIR(fb)); ^ Makefile:238: recipe for target 'generator.o' failed make: *** [generator.o] Error 1 make failed, exit code 2 Gem files will remain installed in /usr/local/rvm/gems/ruby-2.3.3/gems/json-1.7.7 for inspection. Results logged to /usr/local/rvm/gems/ruby-2.3.3/extensions/x86_64-linux/2.3.0/json-1.7.7/gem_make.out
Actions