Cook: ruby-dbm 1.0.0 ================================================================================ 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): gdbm-dev-1.18.1-any Installing (pkg/local): db-6.2.32-i486 Installing (pkg/local): libdb-cxx-6.2.32-i486 Installing (pkg/local): db-dev-6.2.32-i486 Extracting source archive "dbm-1.0.0.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-dbm/install Bin dir: /home/slitaz/wok/ruby-dbm/install/usr/bin Gem home: /home/slitaz/wok/ruby-dbm/install/usr/lib/ruby/gems/2.5.0 Building native extensions. This could take a while... ERROR: Error installing /home/slitaz/wok/ruby-dbm/source/ruby-dbm-1.0.0/dbm-1.0.0.gem: ERROR: Failed to build gem native extension. current directory: /home/slitaz/wok/ruby-dbm/install/usr/lib/ruby/gems/2.5.0/gems/dbm-1.0.0/ext/dbm /usr/bin/ruby -r ./siteconf20200913-5451-12hrgi7.rb extconf.rb checking for DBM in ndbm.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}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/$(RUBY_BASE_NAME) --with-dbm-dir --without-dbm-dir --with-dbm-include --without-dbm-include=${dbm-dir}/include --with-dbm-lib --without-dbm-lib=${dbm-dir}/lib --with-dbm-type --without-dbm-type /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:523:in `with_werror' from /usr/lib/ruby/2.5.0/mkmf.rb:574:in `try_compile' from /usr/lib/ruby/2.5.0/mkmf.rb:1204:in `try_type' from /usr/lib/ruby/2.5.0/mkmf.rb:1232:in `block in have_type' from /usr/lib/ruby/2.5.0/mkmf.rb:947:in `block in checking_for' from /usr/lib/ruby/2.5.0/mkmf.rb:350:in `block (2 levels) in postpone' from /usr/lib/ruby/2.5.0/mkmf.rb:320:in `open' from /usr/lib/ruby/2.5.0/mkmf.rb:350:in `block in postpone' from /usr/lib/ruby/2.5.0/mkmf.rb:320:in `open' from /usr/lib/ruby/2.5.0/mkmf.rb:346:in `postpone' from /usr/lib/ruby/2.5.0/mkmf.rb:946:in `checking_for' from /usr/lib/ruby/2.5.0/mkmf.rb:1231:in `have_type' from extconf.rb:140:in `db_check2' from extconf.rb:52:in `db_check' from extconf.rb:265:in `block (2 levels) in
' from extconf.rb:265:in `any?' from extconf.rb:265:in `block in
' from extconf.rb:265:in `any?' from extconf.rb:265:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/slitaz/wok/ruby-dbm/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/dbm-1.0.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/slitaz/wok/ruby-dbm/install/usr/lib/ruby/gems/2.5.0/gems/dbm-1.0.0 for inspection. Results logged to /home/slitaz/wok/ruby-dbm/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/dbm-1.0.0/gem_make.out Build dependencies to remove: 10 Removing: db db-dev gdbm-dev libdb libdb-cxx libgdbm libruby ruby ruby-dev ruby-stdlib Debug information ret1. ================================================================================ Cook date: 2020-09-13 03:25 Wasted time : 8s 29:ERROR: Error installing /home/slitaz/wok/ruby-dbm/source/ruby-dbm-1.0.0/dbm-1.0.0.gem: 30: ERROR: Failed to build gem native extension. ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================