Hi all,
Working off these instructions:
https://osc.github.io/ood-documentation/latest/installation/resource-manager/test.html
[perrymil@openondemanddev dashboard]$ sudo su perrymil -c 'source --trace /opt/ood/ondemand/enable; bin/rake test:jobs:exadev RAILS_ENV=production'
bash: line 0: source: --: invalid option
source: usage: source filename [arguments]
Could not find rails-6.1.7.3, jbuilder-2.11.5, byebug-11.1.3, capybara-3.39.0, dotenv-rails-2.8.1, redcarpet-3.6.0, bootstrap_form-4.5.0, local_time-1.0.3, jsbundling-rails-1.1.1, cssbundling-rails-1.1.2, ood_appkit-2.1.1, ood_core-0.23.5, pbs-2.2.1, rest-client-2.1.0, sinatra-contrib-3.0.6, actioncable-6.1.7.3, actionmailbox-6.1.7.3, actionmailer-6.1.7.3, actionpack-6.1.7.3, actiontext-6.1.7.3, actionview-6.1.7.3, activejob-6.1.7.3, activerecord-6.1.7.3, activestorage-6.1.7.3, railties-6.1.7.3, sprockets-rails-3.4.2, nokogiri-1.14.3, xpath-3.2.0, coffee-rails-5.0.0, lograge-0.12.0, ffi-1.15.5, http-cookie-1.0.5, nio4r-2.5.9, websocket-driver-0.7.5, mail-2.8.1, rails-dom-testing-2.0.3, rails-html-sanitizer-1.5.0, racc-1.6.2, domain_name-0.5.20190701, net-imap-0.3.4, loofah-2.20.0, unf-0.1.4, date-3.3.3, unf_ext-0.0.8.2 in any of the sources
Run `bundle install` to install missing gems.
I then tried the suggested bundle install:
$ sudo bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/........
Using rake 13.0.6
Using zeitwerk 2.6.7
Using erubi 1.12.0
Using mini_portile2 2.8.1
Fetching racc 1.6.2
Using concurrent-ruby 1.2.2
Using crass 1.0.6
Using rack 2.2.6.4
Fetching nio4r 2.5.9
Using minitest 5.18.0
Using websocket-extensions 0.1.5
Using marcel 1.0.2
Using mini_mime 1.1.2
Fetching date 3.3.3
Using builder 3.2.4
Using timeout 0.3.2
Using public_suffix 5.0.1
Using execjs 2.8.1
Using browser 2.7.1
Using bundler 2.2.33
Fetching byebug 11.1.3
Installing racc 1.6.2 with native extensions
Installing date 3.3.3 with native extensions
Installing byebug 11.1.3 with native extensions
Installing nio4r 2.5.9 with native extensions
Using matrix 0.4.2
Using regexp_parser 2.7.0
Using childprocess 4.1.0
Using climate_control 0.2.0
Using coffee-script-source 1.12.2
Using method_source 1.0.0
Using thor 1.2.1
Using dalli 3.2.4
Fetching unf_ext 0.0.8.2
Installing unf_ext 0.0.8.2 with native extensions
Using dotenv 2.8.1
Fetching ffi 1.15.5
Using http-accept 1.7.0
Using mime-types-data 3.2023.0218.1
Using mocha 1.16.1
Using multi_json 1.15.0
Using ruby2_keywords 0.0.5
Using netrc 0.11.0
Using ood_support 0.0.5
Using rexml 3.2.5
Fetching redcarpet 3.6.0
Using rubyzip 2.3.2
Using websocket 1.2.9
Using tilt 2.1.0
Using timecop 0.9.6
Using webrick 1.8.1
Using zip_tricks 5.6.0
Using i18n 1.12.0
Using tzinfo 2.0.6
Using rack-test 2.1.0
Fetching websocket-driver 0.7.5
Installing websocket-driver 0.7.5 with native extensions
Installing redcarpet 3.6.0 with native extensions
Installing ffi 1.15.5 with native extensions
Using request_store 1.5.1
Using sprockets 4.2.0
Using rack-protection 3.0.6
Using net-protocol 0.2.1
Using addressable 2.8.4
Using coffee-script 2.4.1
Using autoprefixer-rails 10.2.5.1
Using mustermann 3.0.0
Using rss 0.2.9
Using selenium-webdriver 4.5.0
Using mime-types 3.4.1
Using net-pop 0.1.2
Using net-smtp 0.3.3
Using sinatra 3.0.6
Using activesupport 6.1.7.3
Fetching sinatra-contrib 3.0.6
Using globalid 1.1.0
Using activemodel 6.1.7.3
Using dotiw 5.3.3
Installing sinatra-contrib 3.0.6
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/share/gems/gems/racc-1.6.2/ext/racc/cparse
/usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230606-36067-2cmepb.rb extconf.rb
checking for rb_block_call()... *** 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}/lib64
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
/usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/share/ruby/mkmf.rb:564:in `try_link0'
from /usr/share/ruby/mkmf.rb:582:in `try_link'
from /usr/share/ruby/mkmf.rb:794:in `try_func'
from /usr/share/ruby/mkmf.rb:1083:in `block in have_func'
from /usr/share/ruby/mkmf.rb:971:in `block in checking_for'
from /usr/share/ruby/mkmf.rb:361:in `block (2 levels) in postpone'
from /usr/share/ruby/mkmf.rb:331:in `open'
from /usr/share/ruby/mkmf.rb:361:in `block in postpone'
from /usr/share/ruby/mkmf.rb:331:in `open'
from /usr/share/ruby/mkmf.rb:357:in `postpone'
from /usr/share/ruby/mkmf.rb:970:in `checking_for'
from /usr/share/ruby/mkmf.rb:1082:in `have_func'
from extconf.rb:6:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/usr/lib64/gems/ruby/racc-1.6.2/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /usr/share/gems/gems/racc-1.6.2 for inspection.
Results logged to /usr/lib64/gems/ruby/racc-1.6.2/gem_make.out
/usr/share/rubygems/rubygems/ext/builder.rb:93:in `run'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
/usr/share/ruby/tempfile.rb:317:in `open'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:26:in `build'
/usr/share/rubygems/rubygems/ext/builder.rb:159:in `build_extension'
/usr/share/rubygems/rubygems/ext/builder.rb:193:in `block in build_extensions'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `each'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `build_extensions'
/usr/share/rubygems/rubygems/installer.rb:837:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/source/rubygems.rb:204:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:54:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:62:in `apply_func'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:57:in `block in process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `loop'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing racc (1.6.2), and Bundler cannot continue.
In Gemfile:
ood_appkit was resolved to 2.1.1, which depends on
rails was resolved to 6.1.7.3, which depends on
actioncable was resolved to 6.1.7.3, which depends on
actionpack was resolved to 6.1.7.3, which depends on
actionview was resolved to 6.1.7.3, which depends on
rails-dom-testing was resolved to 2.0.3, which depends on
nokogiri was resolved to 1.14.3, which depends on
racc
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/share/gems/gems/nio4r-2.5.9/ext/nio4r
/usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230606-36067-o0a8yc.rb extconf.rb
checking for unistd.h... *** 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}/lib64
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-unistd-dir
--without-unistd-dir
--with-unistd-include
--without-unistd-include=${unistd-dir}/include
--with-unistd-lib
--without-unistd-lib=${unistd-dir}/lib64
/usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/share/ruby/mkmf.rb:613:in `try_cpp'
from /usr/share/ruby/mkmf.rb:1124:in `block in have_header'
from /usr/share/ruby/mkmf.rb:971:in `block in checking_for'
from /usr/share/ruby/mkmf.rb:361:in `block (2 levels) in postpone'
from /usr/share/ruby/mkmf.rb:331:in `open'
from /usr/share/ruby/mkmf.rb:361:in `block in postpone'
from /usr/share/ruby/mkmf.rb:331:in `open'
from /usr/share/ruby/mkmf.rb:357:in `postpone'
from /usr/share/ruby/mkmf.rb:970:in `checking_for'
from /usr/share/ruby/mkmf.rb:1123:in `have_header'
from extconf.rb:18:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/usr/lib64/gems/ruby/nio4r-2.5.9/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /usr/share/gems/gems/nio4r-2.5.9 for inspection.
Results logged to /usr/lib64/gems/ruby/nio4r-2.5.9/gem_make.out
/usr/share/rubygems/rubygems/ext/builder.rb:93:in `run'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
/usr/share/ruby/tempfile.rb:317:in `open'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:26:in `build'
/usr/share/rubygems/rubygems/ext/builder.rb:159:in `build_extension'
/usr/share/rubygems/rubygems/ext/builder.rb:193:in `block in build_extensions'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `each'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `build_extensions'
/usr/share/rubygems/rubygems/installer.rb:837:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/source/rubygems.rb:204:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:54:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:62:in `apply_func'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:57:in `block in process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `loop'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing nio4r (2.5.9), and Bundler cannot continue.
In Gemfile:
ood_appkit was resolved to 2.1.1, which depends on
rails was resolved to 6.1.7.3, which depends on
actioncable was resolved to 6.1.7.3, which depends on
nio4r
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/share/gems/gems/websocket-driver-0.7.5/ext/websocket-driver
/usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230606-36067-4p7jjx.rb extconf.rb
creating Makefile
current directory: /usr/share/gems/gems/websocket-driver-0.7.5/ext/websocket-driver
make DESTDIR\= clean
rm -f
rm -f websocket_mask.so *.o *.bak mkmf.log .*.time
current directory: /usr/share/gems/gems/websocket-driver-0.7.5/ext/websocket-driver
make DESTDIR\=
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -m64 -o
websocket_mask.o -c websocket_mask.c
make: gcc: Command not found
make: *** [Makefile:245: websocket_mask.o] Error 127
make failed, exit code 2
Gem files will remain installed in /usr/share/gems/gems/websocket-driver-0.7.5 for inspection.
Results logged to /usr/lib64/gems/ruby/websocket-driver-0.7.5/gem_make.out
/usr/share/rubygems/rubygems/ext/builder.rb:93:in `run'
/usr/share/rubygems/rubygems/ext/builder.rb:44:in `block in make'
/usr/share/rubygems/rubygems/ext/builder.rb:36:in `each'
/usr/share/rubygems/rubygems/ext/builder.rb:36:in `make'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:63:in `block in build'
/usr/share/ruby/tempfile.rb:317:in `open'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:26:in `build'
/usr/share/rubygems/rubygems/ext/builder.rb:159:in `build_extension'
/usr/share/rubygems/rubygems/ext/builder.rb:193:in `block in build_extensions'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `each'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `build_extensions'
/usr/share/rubygems/rubygems/installer.rb:837:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/source/rubygems.rb:204:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:54:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:62:in `apply_func'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:57:in `block in process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `loop'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing websocket-driver (0.7.5), and Bundler cannot continue.
In Gemfile:
ood_appkit was resolved to 2.1.1, which depends on
rails was resolved to 6.1.7.3, which depends on
actioncable was resolved to 6.1.7.3, which depends on
websocket-driver
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/share/gems/gems/date-3.3.3/ext/date
/usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230606-36067-dfteq4.rb extconf.rb
checking for rb_category_warn()... *** 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}/lib64
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
/usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/share/ruby/mkmf.rb:564:in `try_link0'
from /usr/share/ruby/mkmf.rb:582:in `try_link'
from /usr/share/ruby/mkmf.rb:794:in `try_func'
from /usr/share/ruby/mkmf.rb:1083:in `block in have_func'
from /usr/share/ruby/mkmf.rb:971:in `block in checking_for'
from /usr/share/ruby/mkmf.rb:361:in `block (2 levels) in postpone'
from /usr/share/ruby/mkmf.rb:331:in `open'
from /usr/share/ruby/mkmf.rb:361:in `block in postpone'
from /usr/share/ruby/mkmf.rb:331:in `open'
from /usr/share/ruby/mkmf.rb:357:in `postpone'
from /usr/share/ruby/mkmf.rb:970:in `checking_for'
from /usr/share/ruby/mkmf.rb:1082:in `have_func'
from extconf.rb:6:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/usr/lib64/gems/ruby/date-3.3.3/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /usr/share/gems/gems/date-3.3.3 for inspection.
Results logged to /usr/lib64/gems/ruby/date-3.3.3/gem_make.out
/usr/share/rubygems/rubygems/ext/builder.rb:93:in `run'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
/usr/share/ruby/tempfile.rb:317:in `open'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:26:in `build'
/usr/share/rubygems/rubygems/ext/builder.rb:159:in `build_extension'
/usr/share/rubygems/rubygems/ext/builder.rb:193:in `block in build_extensions'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `each'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `build_extensions'
/usr/share/rubygems/rubygems/installer.rb:837:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/source/rubygems.rb:204:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:54:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:62:in `apply_func'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:57:in `block in process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `loop'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing date (3.3.3), and Bundler cannot continue.
In Gemfile:
ood_appkit was resolved to 2.1.1, which depends on
rails was resolved to 6.1.7.3, which depends on
actionmailbox was resolved to 6.1.7.3, which depends on
mail was resolved to 2.8.1, which depends on
net-imap was resolved to 0.3.4, which depends on
date
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/share/gems/gems/byebug-11.1.3/ext/byebug
/usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230606-36067-8e9868.rb extconf.rb
creating Makefile
current directory: /usr/share/gems/gems/byebug-11.1.3/ext/byebug
make DESTDIR\= clean
rm -f
rm -f byebug.so *.o *.bak mkmf.log .*.time
current directory: /usr/share/gems/gems/byebug-11.1.3/ext/byebug
make DESTDIR\=
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -m64 -o
breakpoint.o -c breakpoint.c
make: gcc: Command not found
make: *** [Makefile:245: breakpoint.o] Error 127
make failed, exit code 2
Gem files will remain installed in /usr/share/gems/gems/byebug-11.1.3 for inspection.
Results logged to /usr/lib64/gems/ruby/byebug-11.1.3/gem_make.out
/usr/share/rubygems/rubygems/ext/builder.rb:93:in `run'
/usr/share/rubygems/rubygems/ext/builder.rb:44:in `block in make'
/usr/share/rubygems/rubygems/ext/builder.rb:36:in `each'
/usr/share/rubygems/rubygems/ext/builder.rb:36:in `make'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:63:in `block in build'
/usr/share/ruby/tempfile.rb:317:in `open'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:26:in `build'
/usr/share/rubygems/rubygems/ext/builder.rb:159:in `build_extension'
/usr/share/rubygems/rubygems/ext/builder.rb:193:in `block in build_extensions'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `each'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `build_extensions'
/usr/share/rubygems/rubygems/installer.rb:837:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/source/rubygems.rb:204:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:54:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:62:in `apply_func'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:57:in `block in process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `loop'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing byebug (11.1.3), and Bundler cannot continue.
In Gemfile:
byebug
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/share/gems/gems/unf_ext-0.0.8.2/ext/unf_ext
/usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230606-36067-cfwpkd.rb extconf.rb
checking for -lstdc++... *** 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}/lib64
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-static-libstdc++
--without-static-libstdc++
--with-stdc++-dir
--without-stdc++-dir
--with-stdc++-include
--without-stdc++-include=${stdc++-dir}/include
--with-stdc++-lib
--without-stdc++-lib=${stdc++-dir}/lib64
--with-stdc++lib
--without-stdc++lib
/usr/share/ruby/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/share/ruby/mkmf.rb:564:in `try_link0'
from /usr/share/ruby/mkmf.rb:582:in `try_link'
from /usr/share/ruby/mkmf.rb:801:in `try_func'
from /usr/share/ruby/mkmf.rb:1029:in `block in have_library'
from /usr/share/ruby/mkmf.rb:971:in `block in checking_for'
from /usr/share/ruby/mkmf.rb:361:in `block (2 levels) in postpone'
from /usr/share/ruby/mkmf.rb:331:in `open'
from /usr/share/ruby/mkmf.rb:361:in `block in postpone'
from /usr/share/ruby/mkmf.rb:331:in `open'
from /usr/share/ruby/mkmf.rb:357:in `postpone'
from /usr/share/ruby/mkmf.rb:970:in `checking_for'
from /usr/share/ruby/mkmf.rb:1024:in `have_library'
from extconf.rb:6:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/usr/lib64/gems/ruby/unf_ext-0.0.8.2/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /usr/share/gems/gems/unf_ext-0.0.8.2 for inspection.
Results logged to /usr/lib64/gems/ruby/unf_ext-0.0.8.2/gem_make.out
/usr/share/rubygems/rubygems/ext/builder.rb:93:in `run'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
/usr/share/ruby/tempfile.rb:317:in `open'
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb:26:in `build'
/usr/share/rubygems/rubygems/ext/builder.rb:159:in `build_extension'
/usr/share/rubygems/rubygems/ext/builder.rb:193:in `block in build_extensions'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `each'
/usr/share/rubygems/rubygems/ext/builder.rb:190:in `build_extensions'
/usr/share/rubygems/rubygems/installer.rb:837:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/source/rubygems.rb:204:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:54:in `install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:62:in `apply_func'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:57:in `block in process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `loop'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:54:in `process_queue'
/usr/share/gems/gems/bundler-2.2.33/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing unf_ext (0.0.8.2), and Bundler cannot continue.
In Gemfile:
rest-client was resolved to 2.1.0, which depends on
http-cookie was resolved to 1.0.5, 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