Cook: ruby-date 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 Extracting source archive "date-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-date/install Bin dir: /home/slitaz/wok/ruby-date/install/usr/bin Gem home: /home/slitaz/wok/ruby-date/install/usr/lib/ruby/gems/2.5.0 Building native extensions. This could take a while... ERROR: Error installing /home/slitaz/wok/ruby-date/source/ruby-date-1.0.0/date-1.0.0.gem: ERROR: Failed to build gem native extension. current directory: /home/slitaz/wok/ruby-date/install/usr/lib/ruby/gems/2.5.0/gems/date-1.0.0/ext/date /usr/bin/ruby -r ./siteconf20200913-2868-b7b2aq.rb extconf.rb checking for timezone in time.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) /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:790:in `try_var' from /usr/lib/ruby/2.5.0/mkmf.rb:1079:in `block in have_var' 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:1078:in `have_var' from extconf.rb:6:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/slitaz/wok/ruby-date/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/date-1.0.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/slitaz/wok/ruby-date/install/usr/lib/ruby/gems/2.5.0/gems/date-1.0.0 for inspection. Results logged to /home/slitaz/wok/ruby-date/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/date-1.0.0/gem_make.out Build dependencies to remove: 6 Removing: libdb libgdbm libruby ruby ruby-dev ruby-stdlib Debug information ret1. ================================================================================ Cook date: 2020-09-13 03:25 Wasted time : 8s 25:ERROR: Error installing /home/slitaz/wok/ruby-date/source/ruby-date-1.0.0/date-1.0.0.gem: 26: ERROR: Failed to build gem native extension. ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================