Cook: ruby-gdbm 2.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 Extracting source archive "gdbm-2.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-gdbm/install Bin dir: /home/slitaz/wok/ruby-gdbm/install/usr/bin Gem home: /home/slitaz/wok/ruby-gdbm/install/usr/lib/ruby/gems/2.5.0 Building native extensions. This could take a while... ERROR: Error installing /home/slitaz/wok/ruby-gdbm/source/ruby-gdbm-2.0.0/gdbm-2.0.0.gem: ERROR: Failed to build gem native extension. current directory: /home/slitaz/wok/ruby-gdbm/install/usr/lib/ruby/gems/2.5.0/gems/gdbm-2.0.0/ext/gdbm /usr/bin/ruby -r ./siteconf20200913-26983-nrhfpn.rb extconf.rb checking for gdbm_open() in -lgdbm... *** 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-gdbm-dir --without-gdbm-dir --with-gdbm-include --without-gdbm-include=${gdbm-dir}/include --with-gdbm-lib --without-gdbm-lib=${gdbm-dir}/lib --with-gdbmlib --without-gdbmlib /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:541:in `try_link0' from /usr/lib/ruby/2.5.0/mkmf.rb:559:in `try_link' from /usr/lib/ruby/2.5.0/mkmf.rb:770:in `try_func' from /usr/lib/ruby/2.5.0/mkmf.rb:1004:in `block in have_library' 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:999:in `have_library' from extconf.rb:5:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/slitaz/wok/ruby-gdbm/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/gdbm-2.0.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/slitaz/wok/ruby-gdbm/install/usr/lib/ruby/gems/2.5.0/gems/gdbm-2.0.0 for inspection. Results logged to /home/slitaz/wok/ruby-gdbm/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/gdbm-2.0.0/gem_make.out Build dependencies to remove: 7 Removing: gdbm-dev libdb libgdbm libruby ruby ruby-dev ruby-stdlib Debug information ret1. ================================================================================ Cook date: 2020-09-13 03:26 Wasted time : 7s 26:ERROR: Error installing /home/slitaz/wok/ruby-gdbm/source/ruby-gdbm-2.0.0/gdbm-2.0.0.gem: 27: ERROR: Failed to build gem native extension. ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================