Cook: ruby-nokogiri 1.8.4 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libruby-2.5.1-i486 Installing (pkg/local): ruby-2.5.1-i486 Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): ruby-stdlib-2.5.1-i486 Installing (pkg/local): ruby-dev-2.5.1-i486 Installing (pkg/local): ruby-mini_portile2-2.3.0-any Installing (pkg/local): ruby-pkg-config-1.3.1-any Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): xz-tools-5.2.4-i486 Installing (pkg/local): xz-dev-5.2.4-any Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): libxml2-tools-2.9.9-i486 Installing (pkg/local): libxml2-dev-2.9.9-any Installing (pkg/local): libgpg-error-1.34-i486 Installing (pkg/local): libgcrypt-1.8.4-i486 Installing (pkg/local): libxslt-1.1.33-i486 Installing (pkg/local): libgpg-error-dev-1.34-i486 Installing (pkg/local): libgcrypt-dev-1.8.4-i486 Installing (pkg/local): libxslt-dev-1.1.33-any Extracting source archive "nokogiri-1.8.4.gem" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed WARNING: You build with buildroot. Build root: /home/slitaz/wok/ruby-nokogiri/install Bin dir: /home/slitaz/wok/ruby-nokogiri/install/usr/bin Gem home: /home/slitaz/wok/ruby-nokogiri/install/usr/lib/ruby/gems/2.5.0 Building native extensions with: '--use-system-libraries' This could take a while... ERROR: Error installing /home/slitaz/wok/ruby-nokogiri/source/ruby-nokogiri-1.8.4/nokogiri-1.8.4.gem: ERROR: Failed to build gem native extension. current directory: /home/slitaz/wok/ruby-nokogiri/install/usr/lib/ruby/gems/2.5.0/gems/nokogiri-1.8.4/ext/nokogiri /usr/bin/ruby -r ./siteconf20200913-30907-1oyp1tc.rb extconf.rb --use-system-libraries checking if the C compiler accepts -march=i486 -Os -pipe -mindirect-branch=thunk... *** 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/bin/$(RUBY_BASE_NAME) --help --clean /usr/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /usr/lib/ruby/2.5.0/mkmf.rb:574:in `block in try_compile' from /usr/lib/ruby/2.5.0/mkmf.rb:521:in `with_werror' from /usr/lib/ruby/2.5.0/mkmf.rb:574:in `try_compile' from extconf.rb:138:in `nokogiri_try_compile' from extconf.rb:162:in `block in add_cflags' from /usr/lib/ruby/2.5.0/mkmf.rb:632:in `with_cflags' from extconf.rb:161:in `add_cflags' from extconf.rb:410:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/slitaz/wok/ruby-nokogiri/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/nokogiri-1.8.4/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/slitaz/wok/ruby-nokogiri/install/usr/lib/ruby/gems/2.5.0/gems/nokogiri-1.8.4 for inspection. Results logged to /home/slitaz/wok/ruby-nokogiri/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/nokogiri-1.8.4/gem_make.out Build dependencies to remove: 20 Removing: libdb libgcrypt libgcrypt-dev libgdbm libgpg-error libgpg-error-dev libruby libxml2 libxml2-dev libxml2-tools libxslt libxslt-dev ruby ruby-dev ruby-mini_portile2 ruby-pkg-config ruby-stdlib xz-dev xz-tools zlib-dev Debug information ret1. ================================================================================ Cook date: 2020-09-13 03:30 Wasted time : 17s 40:ERROR: Error installing /home/slitaz/wok/ruby-nokogiri/source/ruby-nokogiri-1.8.4/nokogiri-1.8.4.gem: 41: ERROR: Failed to build gem native extension. ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================