-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bundle update doesn't work in centos image with 2.2.7 #314
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Comments
Does not work in current directory: /opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/racc-1.7.1/ext/racc/cparse
/opt/terraspace/embedded/bin/ruby -I /opt/terraspace/embedded/lib/ruby/3.0.0 -r ./siteconf20230719-17-512m6r.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
--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=/opt/terraspace/embedded/bin/$(RUBY_BASE_NAME)
/opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:482:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:575:in `try_link0'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:593:in `try_link'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:805:in `try_func'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:1094:in `block in have_func'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:982:in `block in checking_for'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:361:in `block (2 levels) in postpone'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:331:in `open'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:361:in `block in postpone'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:331:in `open'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:357:in `postpone'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:981:in `checking_for'
from /opt/terraspace/embedded/lib/ruby/3.0.0/mkmf.rb:1093: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:
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/racc-1.7.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/racc-1.7.1 for inspection.
Results logged to /opt/terraspace/embedded/lib/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/racc-1.7.1/gem_make.out
/opt/terraspace/embedded/lib/ruby/3.0.0/rubygems/ext/builder.rb:93:in `run'
/opt/terraspace/embedded/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
/opt/terraspace/embedded/lib/ruby/3.0.0/tempfile.rb:317:in `open'
/opt/terraspace/embedded/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:26:in `build'
/opt/terraspace/embedded/lib/ruby/3.0.0/rubygems/ext/builder.rb:159:in `build_extension'
/opt/terraspace/embedded/lib/ruby/3.0.0/rubygems/ext/builder.rb:193:in `block in build_extensions'
/opt/terraspace/embedded/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in `each'
/opt/terraspace/embedded/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in `build_extensions'
/opt/terraspace/embedded/lib/ruby/3.0.0/rubygems/installer.rb:845:in `build_extensions'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/rubygems_gem_installer.rb:72:in `build_extensions'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/source/rubygems.rb:200:in `install'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/installer/gem_installer.rb:54:in `install'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/installer/parallel_installer.rb:155:in `do_install'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/installer/parallel_installer.rb:146:in `block in worker_pool'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/worker.rb:62:in `apply_func'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/worker.rb:57:in `block in process_queue'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/worker.rb:54:in `loop'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/worker.rb:54:in `process_queue'
/opt/terraspace/embedded/lib/ruby/gems/3.0.0/gems/bundler-2.4.6/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads'
An error occurred while installing racc (1.7.1), and Bundler cannot continue.
In Gemfile:
terraspace was resolved to 2.2.8, which depends on
terraspace-bundler was resolved to 0.5.0, which depends on
nokogiri was resolved to 1.15.3, which depends on
racc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Checklist
My Environment
Expected Behaviour
Running
bundle update
inside centos docker image in order to install the aws plugin works without errorsCurrent Behavior
bundle update
inside centos docker image fails:it was working fine prior to 2.2.7.
Also alpine works fine.
Step-by-step reproduction instructions
Code Sample
Solution Suggestion
The text was updated successfully, but these errors were encountered: