- Used Zammad 5.0 (with mysql)
- Operating system: Ubuntu Server 20.04 x64
- Browser + version: Chrome/Firefox
Hi,
I can’t install update on our Zammad neither with deb package nor the sources which get me errors.
The first one was
“mysql2 not found !”
So, I tried many thing including change version of ruby, updating gem, ruby, … but I have every time a new error !
Sometimes the ruby version is 2.6.5 and Gemfile 2.7.0, after I tried to install 2.7.4 (and modify Gemfile with 2.7.4)…I even tried to install last ruby 3.1.2… but in all cases bundle gives me errors. The latest one is (with official documentation) the following :
zammad@server-1:/opt/zammad$ bundle install --without test development postgres
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'test development postgres'`, and stop using this flag
Fetching gem metadata from https://rubygems.org/
Fetching gem metadata from https://rubygems.org/........
Using rake 13.0.6
Using simple_po_parser 1.1.6
Using concurrent-ruby 1.1.10
Using minitest 5.15.0
Using erubi 1.10.0
Using mini_portile2 2.8.0
Using builder 3.2.4
Using crass 1.0.6
Using rack 2.2.3
Fetching racc 1.6.0
Fetching nio4r 2.5.8
Using thread_safe 0.3.6
Using websocket-extensions 0.1.5
Using zeitwerk 2.5.4
Using mini_mime 1.1.2
Using multi_json 1.15.0
Using method_source 1.0.0
Using thor 1.2.1
Using public_suffix 4.0.6
Fetching ffi 1.15.5
Using marcel 1.0.2
Using httpclient 2.8.3
Using little-plugger 1.1.4
Using nori 2.6.0
Using execjs 2.8.1
Using clavius 1.0.4
Fetching msgpack 1.4.5
Installing racc 1.6.0 with native extensions
Installing nio4r 2.5.8 with native extensions
Installing msgpack 1.4.5 with native extensions
Installing ffi 1.15.5 with native extensions
Using browser 5.3.1
Using buftok 0.2.0
Using bundler 2.2.20
Using nestful 1.1.4
Using coffee-script-source 1.12.2
Using csv 3.2.2
Using daemons 1.4.1
Using dalli 3.2.1
Using diffy 3.4.0
Fetching unf_ext 0.0.8
Installing unf_ext 0.0.8 with native extensions
Using eco-source 1.1.0.rc.1
Fetching eventmachine 1.2.7
Installing eventmachine 1.2.7 with native extensions
Fetching http_parser.rb 0.6.0
Installing http_parser.rb 0.6.0 with native extensions
Using equalizer 0.0.11
Using faraday-em_http 1.0.0
Using faraday-em_synchrony 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using multipart-post 2.1.1
Using faraday-net_http 1.0.1
Using faraday-net_http_persistent 1.2.0
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using faraday-retry 1.0.3
Using ruby2_keywords 0.0.5
Using oauth 0.5.8
Using hashie 5.0.0
Fetching hiredis 0.6.3
Installing hiredis 0.6.3 with native extensions
Using htmlentities 4.3.4
Using http-form_data 2.3.0
Using http-accept 1.7.0
Using ice_cube 0.16.4
Using inflection 1.0.0
Fetching json 2.6.1
Installing json 2.6.1 with native extensions
Using jwt 2.3.0
Fetching kgio 2.11.4
Installing kgio 2.11.4 with native extensions
Using rexml 3.2.5
Using messagebird-rest 3.0.0
Using mime-types-data 3.2022.0105
Using multi_xml 0.6.0
Fetching mysql2 0.5.3
Installing mysql2 0.5.3 with native extensions
Using naught 1.1.0
Using net-ldap 0.17.0
Using netrc 0.11.0
Fetching openssl 3.0.0
Installing openssl 3.0.0 with native extensions
Fetching raindrops 0.20.0
Installing raindrops 0.20.0 with native extensions
Using rchardet 1.8.0
Using redis 4.6.0
Fetching rszr 0.5.2
Installing rszr 0.5.2 with native extensions
Using rubyntlm 0.6.3
Using tilt 2.0.10
Using simple_oauth 0.3.1
Using slack-notifier 2.4.0
Using telephone_number 1.4.14
Using writeexcel 1.0.5
Using PoParser 3.2.6
Using aasm 5.2.0
Using i18n 1.10.0
Using rack-test 1.1.0
Using rack-attack 6.6.0
Using sprockets 3.7.2
Using tzinfo 1.2.9
Fetching websocket-driver 0.7.5
Installing websocket-driver 0.7.5 with native extensions
Using memoizable 0.4.2
Using mail 2.7.2.edge from https://github.com/zammad-deps/mail (at 2-7-stable@9265cf7)
Using addressable 2.8.0
Using logging 2.3.0
Using autoprefixer-rails 10.4.2.0
Using uglifier 4.2.0
Using clearbit 0.3.3
Using coffee-script 2.4.1
Using faraday-multipart 1.0.3
Using gmail_xoauth 0.4.2
Using omniauth 1.9.1
Using icalendar 2.7.1
Using mime-types 3.4.1
Using activesupport 6.0.4.8
Using biz 1.8.2
Using eco 1.0.0
Using faraday 1.10.0
Using icalendar-recurrence 1.1.3
Using omniauth-oauth 1.2.0
Using globalid 1.0.0
Using activemodel 6.0.4.8
Using delayed_job 4.1.10
Using oauth2 1.4.9
Using omniauth-twitter 1.4.0
Using pundit 2.2.0
Using zendesk_api 1.35.0
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/racc-1.6.0/ext/racc/cparse
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-xhbe1h.rb extconf.rb
checking for rb_block_call()... yes
checking for rb_ary_subseq()... yes
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/racc-1.6.0/ext/racc/cparse
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/racc-1.6.0/ext/racc/cparse
make DESTDIR=
compiling cparse.c
linking shared-object racc/cparse.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/racc-1.6.0/ext/racc/cparse
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.-.racc.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/racc-1.6.0 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/racc-1.6.0/gem_make.out
An error occurred while installing racc (1.6.0), and Bundler
cannot continue.
Make sure that `gem install racc -v '1.6.0' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
rails was resolved to 6.0.4.8, which depends on
actioncable was resolved to 6.0.4.8, which depends on
actionpack was resolved to 6.0.4.8, which depends on
actionview was resolved to 6.0.4.8, which depends on
rails-dom-testing was resolved to 2.0.3, which depends on
nokogiri was resolved to 1.13.4, which depends on
racc
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/nio4r-2.5.8/ext/nio4r
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-161epdf.rb extconf.rb
checking for unistd.h... yes
checking for linux/aio_abi.h... yes
checking for linux/io_uring.h... yes
checking for sys/select.h... yes
checking for port_event_t in poll.h... no
checking for sys/epoll.h... yes
checking for sys/event.h... no
checking for port_event_t in port.h... no
checking for sys/resource.h... yes
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/nio4r-2.5.8/ext/nio4r
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/nio4r-2.5.8/ext/nio4r
make DESTDIR=
compiling bytebuffer.c
compiling monitor.c
compiling nio4r_ext.c
In file included from nio4r_ext.c:6:
../libev/ev.c:2136:31: warning: ‘ev_default_loop_ptr’ initialized and
declared ‘extern’
2136 | EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /*
needs to be initialised to make it a definition despite extern <em>/
| ^~~~~~~~~~~~~~~~~~~
../libev/ev.c: In function ‘evpipe_write’:
../libev/ev.c:2798:11: warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result [-Wunused-result]
2798 | write (evpipe [1], &counter, sizeof (uint64_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libev/ev.c:2810:11: warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result [-Wunused-result]
2810 | write (evpipe [1], &(evpipe [1]), 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libev/ev.c: In function ‘pipecb’:
../libev/ev.c:2831:11: warning: ignoring return value of ‘read’,
declared with attribute warn_unused_result [-Wunused-result]
2831 | read (evpipe [1], &counter, sizeof (uint64_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libev/ev.c:2845:11: warning: ignoring return value of ‘read’,
declared with attribute warn_unused_result [-Wunused-result]
2845 | read (evpipe [0], &dummy, sizeof (dummy));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compiling selector.c
selector.c: In function ‘NIO_Selector_synchronize’:
selector.c:301:26: warning: passing argument 1 of ‘rb_ensure’ from
incompatible pointer type [-Wincompatible-pointer-types]
301 | return rb_ensure(func, (VALUE)args,
NIO_Selector_unlock, self);
| ^~~~
| |
| VALUE (</em>)(VALUE <em>) {aka long
unsigned int (</em>)(long unsigned int <em>)}
In file included from
/usr/share/rvm/rubies/ruby-2.7.4/include/ruby-2.7.0/ruby.h:33,
from nio4r.h:10,
from selector.c:6:
/usr/share/rvm/rubies/ruby-2.7.4/include/ruby-2.7.0/ruby/ruby.h:1990:17:
note: expected ‘VALUE (</em>)(VALUE)’ {aka ‘long unsigned int (<em>)(long
unsigned int)’} but argument is of type ‘VALUE (</em>)(VALUE <em>)’ {aka
‘long unsigned int (</em>)(long unsigned int <em>)’}
1990 | VALUE rb_ensure(VALUE(</em>)(VALUE),VALUE,VALUE(*)(VALUE),VALUE);
| ^~~~~~~~~~~~~~~
selector.c: In function ‘NIO_Selector_wakeup’:
selector.c:499:5: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
499 | write(selector->wakeup_writer, "\0", 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linking shared-object nio4r_ext.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/nio4r-2.5.8/ext/nio4r
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/nio4r-2.5.8 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/nio4r-2.5.8/gem_make.out
An error occurred while installing nio4r (2.5.8), and
Bundler cannot continue.
Make sure that `gem install nio4r -v '2.5.8' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
rails was resolved to 6.0.4.8, which depends on
actioncable was resolved to 6.0.4.8, which depends on
nio4r
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/websocket-driver-0.7.5/ext/websocket-driver
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-195bxu3.rb extconf.rb
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/websocket-driver-0.7.5/ext/websocket-driver
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/websocket-driver-0.7.5/ext/websocket-driver
make DESTDIR=
compiling websocket_mask.c
linking shared-object websocket_mask.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/websocket-driver-0.7.5/ext/websocket-driver
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/websocket-driver-0.7.5 for
inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/websocket-driver-0.7.5/gem_make.out
An error occurred while installing websocket-driver (0.7.5),
and Bundler cannot continue.
Make sure that `gem install websocket-driver -v '0.7.5' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
rails was resolved to 6.0.4.8, which depends on
actioncable was resolved to 6.0.4.8, which depends on
websocket-driver
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/ffi-1.15.5/ext/ffi_c
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-poujkv.rb extconf.rb
checking for ffi_prep_closure_loc() in -lffi... yes
checking for ffi_prep_cif_var()... yes
checking for ffi_raw_call()... yes
checking for ffi_prep_raw_closure()... yes
checking for whether -pthread is accepted as LDFLAGS... yes
creating extconf.h
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/ffi-1.15.5/ext/ffi_c
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/ffi-1.15.5/ext/ffi_c
make DESTDIR=
compiling AbstractMemory.c
compiling ArrayType.c
compiling Buffer.c
compiling Call.c
compiling ClosurePool.c
compiling DynamicLibrary.c
compiling Function.c
compiling FunctionInfo.c
compiling LastError.c
compiling LongDouble.c
compiling MappedType.c
compiling MemoryPointer.c
compiling MethodHandle.c
compiling Platform.c
compiling Pointer.c
compiling Struct.c
compiling StructByValue.c
compiling StructLayout.c
compiling Thread.c
compiling Type.c
compiling Types.c
compiling Variadic.c
compiling ffi.c
linking shared-object ffi_c.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/ffi-1.15.5/ext/ffi_c
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/ffi-1.15.5 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/ffi-1.15.5/gem_make.out
An error occurred while installing ffi (1.15.5), and Bundler
cannot continue.
Make sure that `gem install ffi -v '1.15.5' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
argon2 was resolved to 2.1.1, which depends on
ffi-compiler was resolved to 1.0.1, which depends on
ffi
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/msgpack-1.4.5/ext/msgpack
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-1jh52n2.rb extconf.rb
checking for ruby/st.h... yes
checking for st.h... yes
checking for rb_enc_interned_str() in ruby.h... no
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/msgpack-1.4.5/ext/msgpack
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/msgpack-1.4.5/ext/msgpack
make DESTDIR=
compiling buffer.c
compiling buffer_class.c
compiling extension_value_class.c
compiling factory_class.c
compiling packer.c
compiling packer_class.c
compiling packer_ext_registry.c
compiling rbinit.c
compiling rmem.c
compiling unpacker.c
compiling unpacker_class.c
compiling unpacker_ext_registry.c
linking shared-object msgpack/msgpack.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/msgpack-1.4.5/ext/msgpack
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.-.msgpack.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/msgpack-1.4.5 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/msgpack-1.4.5/gem_make.out
An error occurred while installing msgpack (1.4.5), and
Bundler cannot continue.
Make sure that `gem install msgpack -v '1.4.5' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
bootsnap was resolved to 1.11.1, which depends on
msgpack
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/unf_ext-0.0.8/ext/unf_ext
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-dyzcrn.rb extconf.rb
checking for -lstdc++... yes
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/unf_ext-0.0.8/ext/unf_ext
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/unf_ext-0.0.8/ext/unf_ext
make DESTDIR=
compiling unf.cc
linking shared-object unf_ext.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/unf_ext-0.0.8/ext/unf_ext
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/unf_ext-0.0.8 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/unf_ext-0.0.8/gem_make.out
An error occurred while installing unf_ext (0.0.8), and
Bundler cannot continue.
Make sure that `gem install unf_ext -v '0.0.8' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
twitter was resolved to 7.0.0, which depends on
http was resolved to 4.4.1, which depends on
http-cookie was resolved to 1.0.4, which depends on
domain_name was resolved to 0.5.20190701, which depends on
unf was resolved to 0.1.4, which depends on
unf_ext
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-etg7at.rb extconf.rb
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make DESTDIR=
compiling ruby_http_parser.c
compiling ryah_http_parser.c
linking shared-object ruby_http_parser.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/http_parser.rb-0.6.0 for
inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/http_parser.rb-0.6.0/gem_make.out
An error occurred while installing http_parser.rb (0.6.0),
and Bundler cannot continue.
Make sure that `gem install http_parser.rb -v '0.6.0' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
em-websocket was resolved to 0.5.3, which depends on
http_parser.rb
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/hiredis-0.6.3/ext/hiredis_ext
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-18ys76w.rb extconf.rb
checking for sys/socket.h... yes
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes
-Wwrite-strings -g -ggdb net.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes
-Wwrite-strings -g -ggdb hiredis.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes
-Wwrite-strings -g -ggdb sds.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes
-Wwrite-strings -g -ggdb async.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes
-Wwrite-strings -g -ggdb read.c
ar rcs libhiredis.a net.o hiredis.o sds.o async.o read.o
checking for rb_thread_fd_select()... yes
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/hiredis-0.6.3/ext/hiredis_ext
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/hiredis-0.6.3/ext/hiredis_ext
make DESTDIR=
compiling connection.c
connection.c: In function ‘connection_read’:
connection.c:458:24: warning: passing argument 2 of ‘__get_reply’
discards ‘volatile’ qualifier from pointer target type
[-Wdiscarded-qualifiers]
458 | if (__get_reply(pc,&reply) == -1)
| ^~~~~~
connection.c:375:55: note: expected ‘VALUE *’ {aka ‘long unsigned int
*’} but argument is of type ‘volatile VALUE *’ {aka ‘volatile long
unsigned int *’}
375 | static int __get_reply(redisParentContext *pc, VALUE *reply)
{
| ~~~~~~~^~~~~
compiling hiredis_ext.c
compiling reader.c
linking shared-object hiredis/ext/hiredis_ext.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/hiredis-0.6.3/ext/hiredis_ext
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.-.hiredis.-.ext.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/hiredis-0.6.3 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/hiredis-0.6.3/gem_make.out
An error occurred while installing hiredis (0.6.3), and
Bundler cannot continue.
Make sure that `gem install hiredis -v '0.6.3' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
hiredis
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/json-2.6.1/ext/json/ext/generator
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-10hgl48.rb extconf.rb
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/json-2.6.1/ext/json/ext/generator
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/json-2.6.1/ext/json/ext/generator
make DESTDIR=
compiling generator.c
linking shared-object json/ext/generator.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/json-2.6.1/ext/json/ext/generator
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.-.json.-.ext.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/json-2.6.1 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/json-2.6.1/gem_make.out
An error occurred while installing json (2.6.1), and Bundler
cannot continue.
Make sure that `gem install json -v '2.6.1' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
koala was resolved to 3.1.0, which depends on
json
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/kgio-2.11.4/ext/kgio
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-1oigc6s.rb extconf.rb
checking for CLOCK_MONOTONIC in time.h... yes
checking for clockid_t in time.h... yes
checking for clock_gettime() in -lrt... yes
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for poll() in poll.h... yes
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... yes
checking for getnameinfo() in sys/types.h,sys/socket.h,netdb.h... yes
checking for struct sockaddr_storage in sys/types.h,sys/socket.h...
yes
checking for accept4() in sys/socket.h... yes
checking for sys/select.h... yes
checking for writev() in sys/uio.h... yes
checking for ruby/io.h... yes
checking for rb_io_t.fd in ruby.h,ruby/io.h... yes
checking for rb_io_t.mode in ruby.h,ruby/io.h... yes
checking for rb_io_t.pathv in ruby.h,ruby/io.h... yes
checking for struct RFile in ruby.h,ruby/io.h... yes
checking size of struct RFile in ruby.h,ruby/io.h... 24
checking for struct RObject... yes
checking size of struct RObject... 40
checking size of int... 4
checking for rb_io_ascii8bit_binmode()... yes
checking for rb_update_max_fd()... yes
checking for rb_fd_fix_cloexec()... yes
checking for rb_cloexec_open()... yes
checking for ruby/thread.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_io_blocking_region()... yes
checking for rb_str_set_len()... yes
checking for rb_hash_clear() in ruby.h... yes
checking for rb_time_interval()... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_str_subseq()... yes
checking for rb_ary_subseq()... yes
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/kgio-2.11.4/ext/kgio
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/kgio-2.11.4/ext/kgio
make DESTDIR=
compiling accept.c
compiling autopush.c
compiling connect.c
compiling kgio_ext.c
compiling poll.c
compiling read.c
compiling tryopen.c
compiling wait.c
compiling write.c
compiling writev.c
linking shared-object kgio_ext.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/kgio-2.11.4/ext/kgio
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/kgio-2.11.4 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/kgio-2.11.4/gem_make.out
An error occurred while installing kgio (2.11.4), and
Bundler cannot continue.
Make sure that `gem install kgio -v '2.11.4' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
unicorn was resolved to 6.1.0, which depends on
kgio
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/mysql2-0.5.3/ext/mysql2
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-1tmhdw1.rb extconf.rb
checking for rb_absint_size()... yes
checking for rb_absint_singlebit_p()... yes
checking for rb_wait_for_single_fd()... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary
libraries and/or headers. Check the mkmf.log file for more details.
You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/share/rvm/rubies/ruby-2.7.4/bin/$(RUBY_BASE_NAME)
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysql-config
--without-mysql-config
--with-mysqlclient-dir
--without-mysqlclient-dir
--with-mysqlclient-include
--without-mysqlclient-include=${mysqlclient-dir}/include
--with-mysqlclient-lib
--without-mysqlclient-lib=${mysqlclient-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/mkmf.rb:1050:in
`block in find_library': undefined method `split' for nil:NilClass
(NoMethodError)
from /usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/mkmf.rb:1050:in
`collect' from /usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/mkmf.rb:1050:in `find_library'
from extconf.rb:87:in `
'
To see why this extension failed to compile, please check the
mkmf.log which can be found here:
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/mysql2-0.5.3/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/mysql2-0.5.3 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/mysql2-0.5.3/gem_make.out
An error occurred while installing mysql2 (0.5.3), and
Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.5.3' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
mysql2
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/rszr-0.5.2/ext/rszr
/usr/share/rvm/rubies/ruby-2.7.4/bin/ruby -I
/usr/share/rvm/rubies/ruby-2.7.4/lib/ruby/site_ruby/2.7.0 -r
./siteconf20220509-282390-15m4wei.rb extconf.rb
checking for Imlib2.h... yes
checking for imlib_set_cache_size() in -lImlib2... yes
creating Makefile
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/rszr-0.5.2/ext/rszr
make DESTDIR= clean
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/rszr-0.5.2/ext/rszr
make DESTDIR=
compiling errors.c
compiling image.c
compiling rszr.c
linking shared-object rszr/rszr.so
current directory:
/usr/share/rvm/gems/ruby-2.7.4/gems/rszr-0.5.2/ext/rszr
make DESTDIR= install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.-.rszr.time] Error 127
make install failed, exit code 2
Gem files will remain installed in
/usr/share/rvm/gems/ruby-2.7.4/gems/rszr-0.5.2 for inspection.
Results logged to
/usr/share/rvm/gems/ruby-2.7.4/extensions/x86_64-linux/2.7.0/rszr-0.5.2/gem_make.out
An error occurred while installing rszr (0.5.2), and Bundler
cannot continue.
Make sure that `gem install rszr -v '0.5.2' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
rszr
I need to upgrade without loose my database of course!
Can someone help me ?
I despair.