-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
As the title says, o get an error when trying to run the docker image after cloning solidus.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
2025-11-03 14:52:21
2025-11-03 14:52:21 current directory: /home/solidus_user/gems/gems/psych-5.2.6/ext/psych
2025-11-03 14:52:21 /usr/local/bin/ruby -I /usr/local/lib/ruby/3.1.0 extconf.rb
2025-11-03 14:52:21 checking for yaml.h... no
2025-11-03 14:52:21 yaml.h not found
2025-11-03 14:52:21 *** extconf.rb failed ***
2025-11-03 14:52:21 Could not create Makefile due to some reason, probably lack of necessary
2025-11-03 14:52:21 libraries and/or headers. Check the mkmf.log file for more details. You may
2025-11-03 14:52:21 need configuration options.
2025-11-03 14:52:21
2025-11-03 14:52:21 Provided configuration options:
2025-11-03 14:52:21 --with-opt-dir
2025-11-03 14:52:21 --without-opt-dir
2025-11-03 14:52:21 --with-opt-include
2025-11-03 14:52:21 --without-opt-include=${opt-dir}/include
2025-11-03 14:52:21 --with-opt-lib
2025-11-03 14:52:21 --without-opt-lib=${opt-dir}/lib
2025-11-03 14:52:21 --with-make-prog
2025-11-03 14:52:21 --without-make-prog
2025-11-03 14:52:21 --srcdir=.
2025-11-03 14:52:21 --curdir
2025-11-03 14:52:21 --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
2025-11-03 14:52:21 --with-libyaml-source-dir
2025-11-03 14:52:21 --without-libyaml-source-dir
2025-11-03 14:52:21 --with-yaml-0.1-dir
2025-11-03 14:52:21 --without-yaml-0.1-dir
2025-11-03 14:52:21 --with-yaml-0.1-include
2025-11-03 14:52:21 --without-yaml-0.1-include=${yaml-0.1-dir}/include
2025-11-03 14:52:21 --with-yaml-0.1-lib
2025-11-03 14:52:21 --without-yaml-0.1-lib=${yaml-0.1-dir}/lib
2025-11-03 14:52:21 --with-yaml-0.1-config
2025-11-03 14:52:21 --without-yaml-0.1-config
2025-11-03 14:52:21 --with-pkg-config
2025-11-03 14:52:21 --without-pkg-config
2025-11-03 14:52:21 --with-libyaml-dir
2025-11-03 14:52:21 --without-libyaml-dir
2025-11-03 14:52:21 --with-libyaml-include
2025-11-03 14:52:21 --without-libyaml-include=${libyaml-dir}/include
2025-11-03 14:52:21 --with-libyaml-lib
2025-11-03 14:52:21 --without-libyaml-lib=${libyaml-dir}/lib
2025-11-03 14:52:21
2025-11-03 14:52:21 To see why this extension failed to compile, please check the mkmf.log which can
2025-11-03 14:52:21 be found here:
2025-11-03 14:52:21
2025-11-03 14:52:21 /home/solidus_user/gems/extensions/x86_64-linux/3.1.0/psych-5.2.6/mkmf.log
2025-11-03 14:52:21
2025-11-03 14:52:21 extconf failed, exit code 1
2025-11-03 14:52:21
2025-11-03 14:52:21 Gem files will remain installed in /home/solidus_user/gems/gems/psych-5.2.6 for
2025-11-03 14:52:21 inspection.
2025-11-03 14:52:21 Results logged to
2025-11-03 14:52:21 /home/solidus_user/gems/extensions/x86_64-linux/3.1.0/psych-5.2.6/gem_make.out
2025-11-03 14:52:21
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:102:in run' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:28:in build'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:171:in build_extension' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:205:in block in
2025-11-03 14:52:21 build_extensions'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:202:in each' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/rubygems/ext/builder.rb:202:in build_extensions'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/rubygems/installer.rb:843:in build_extensions' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/rubygems_gem_installer.rb:72:in 2025-11-03 14:52:21 build_extensions'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/rubygems_gem_installer.rb:28:in install' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/source/rubygems.rb:207:in install'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/installer/gem_installer.rb:54:in install' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/installer/gem_installer.rb:16:in 2025-11-03 14:52:21 install_from_spec'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/installer/parallel_installer.rb:186:in
2025-11-03 14:52:21 do_install' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/installer/parallel_installer.rb:177:in 2025-11-03 14:52:21 block in worker_pool'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/worker.rb:62:in apply_func' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/worker.rb:57:in block in process_queue'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/worker.rb:54:in loop' 2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/worker.rb:54:in process_queue'
2025-11-03 14:52:21 /usr/local/lib/ruby/3.1.0/bundler/worker.rb:91:in `block (2 levels) in
2025-11-03 14:52:21 create_threads'
2025-11-03 14:52:21
2025-11-03 14:52:21 An error occurred while installing psych (5.2.6), and Bundler cannot
2025-11-03 14:52:21 continue.
2025-11-03 14:52:21
2025-11-03 14:52:21 In Gemfile:
2025-11-03 14:52:21 debug was resolved to 1.11.0, which depends on
2025-11-03 14:52:21 irb was resolved to 1.15.3, which depends on
2025-11-03 14:52:21 rdoc was resolved to 6.15.1, which depends on
2025-11-03 14:52:21 psych