Skip to content

Instantly share code, notes, and snippets.

@qknight
Created June 9, 2018 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qknight/deeeb5de495e8811d06a7d16884cd875 to your computer and use it in GitHub Desktop.
Save qknight/deeeb5de495e8811d06a7d16884cd875 to your computer and use it in GitHub Desktop.
# Gemfile.lock update of oj
git diff
diff --git a/Gemfile.lock b/Gemfile.lock
index 1b69af2..22b8fad 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -7,7 +7,7 @@ PATH
em-http-request (~> 0.3.0)
em-websocket (~> 0.5.1)
eventmachine (~> 1.0.0)
- oj (~> 2.12.9)
+ oj (3.6.2)
rack (~> 1.4.5)
rack-fiber_pool (~> 0.9.2)
signature (~> 0.1.6)
@@ -19,7 +19,7 @@ GEM
specs:
activesupport (4.2.5)
i18n (~> 0.7)
- json (~> 1.7, >= 1.7.7)
+ json (1.8.5)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
@@ -51,14 +51,14 @@ GEM
http_parser.rb (0.6.0)
httpclient (2.6.0.1)
i18n (0.7.0)
- json (1.8.3)
+ json (1.8.5)
metaclass (0.0.4)
method_source (0.8.2)
minitest (5.8.4)
mocha (0.13.3)
metaclass (~> 0.0.1)
multi_json (1.11.0)
- oj (2.12.12)
+ oj (3.6.2)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
# bundle update
bundle update
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 10.4.2
Using concurrent-ruby 1.0.5
Using i18n 0.9.5 (was 0.7.0)
Using minitest 5.11.3 (was 5.8.4)
Using thread_safe 0.3.6 (was 0.3.5)
Using tzinfo 1.2.5 (was 1.2.2)
Using activesupport 4.2.10 (was 4.2.5)
Using public_suffix 3.0.2
Using addressable 2.5.2 (was 2.3.8)
Using bundler 1.16.2
Using columnize 0.9.0
Using debugger-linecache 1.2.0
Using slop 3.6.0
Using byebug 3.5.1
Using coderay 1.1.2 (was 1.1.0)
Using safe_yaml 1.0.4
Using crack 0.4.3 (was 0.4.2)
Using daemons 1.2.6 (was 1.2.3)
Using diff-lcs 1.1.3
Using hiredis 0.4.5
Using em-hiredis 0.2.1
Using escape_utils 1.2.1 (was 1.1.0)
Using eventmachine 1.0.9.1 (was 1.0.8)
Using em-http-request 0.3.0
Using http_parser.rb 0.6.0
Using em-websocket 0.5.1
Using haml 3.1.8
Using httpclient 2.8.3 (was 2.6.0.1)
Using metaclass 0.0.4
Using method_source 0.8.2
Using mocha 0.13.3
Using multi_json 1.13.1 (was 1.11.0)
Fetching oj 2.12.14 (was 3.6.2)
Installing oj 2.12.14 (was 3.6.2) with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.5.0/gems/oj-2.12.14/ext/oj
/usr/bin/ruby2.5 -r ./siteconf20180609-5092-1jmdytt.rb extconf.rb
>>>>> Creating Makefile for ruby version 2.5.1 on x86_64-linux-gnu <<<<<
creating Makefile
current directory: /var/lib/gems/2.5.0/gems/oj-2.12.14/ext/oj
make "DESTDIR=" clean
current directory: /var/lib/gems/2.5.0/gems/oj-2.12.14/ext/oj
make "DESTDIR="
compiling cache8.c
compiling circarray.c
compiling compat.c
compiling dump.c
dump.c: In function ‘dump_struct_obj’:
dump.c:1776:2: warning: ‘rb_struct_ptr’ is deprecated [-Wdeprecated-declarations]
for (i = (int)RSTRUCT_LEN(obj), vp = RSTRUCT_PTR(obj); 0 < i; i--, vp++) {
^~~
In file included from /usr/include/ruby-2.5.0/ruby/ruby.h:24:0,
from /usr/include/ruby-2.5.0/ruby.h:33,
from oj.h:43,
from dump.c:43:
/usr/include/ruby-2.5.0/ruby/backward.h:47:37: note: declared here
DECLARE_DEPRECATED_INTERNAL_FEATURE(rb_struct_ptr);
^
/usr/include/x86_64-linux-gnu/ruby-2.5.0/ruby/config.h:129:52: note: in definition of macro ‘NORETURN’
#define NORETURN(x) __attribute__ ((__noreturn__)) x
^
/usr/include/ruby-2.5.0/ruby/backward.h:39:14: note: in expansion of macro ‘ERRORFUNC’
NORETURN(ERRORFUNC(("deprecated internal function"), DEPRECATED(void func(void))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment