Cook: ruby-ncursesw 1.4.10 ================================================================================ 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 "ncursesw-1.4.10.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-ncursesw/install Bin dir: /home/slitaz/wok/ruby-ncursesw/install/usr/bin Gem home: /home/slitaz/wok/ruby-ncursesw/install/usr/lib/ruby/gems/2.5.0 Building native extensions. This could take a while... ERROR: Error installing /home/slitaz/wok/ruby-ncursesw/source/ruby-ncursesw-1.4.10/ncursesw-1.4.10.gem: ERROR: Failed to build gem native extension. current directory: /home/slitaz/wok/ruby-ncursesw/install/usr/lib/ruby/gems/2.5.0/gems/ncursesw-1.4.10 /usr/bin/ruby -r ./siteconf20200913-21327-casha3.rb extconf.rb checking for pkg-config... yes checking for unistd.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-ncurses-dir --without-ncurses-dir --with-ncurses-include --without-ncurses-include=${ncurses-dir}/include --with-ncurses-lib --without-ncurses-lib=${ncurses-dir}/lib /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:590:in `try_cpp' from /usr/lib/ruby/2.5.0/mkmf.rb:1097:in `block in have_header' 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:1096:in `have_header' from extconf.rb:35:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/slitaz/wok/ruby-ncursesw/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/ncursesw-1.4.10/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/slitaz/wok/ruby-ncursesw/install/usr/lib/ruby/gems/2.5.0/gems/ncursesw-1.4.10 for inspection. Results logged to /home/slitaz/wok/ruby-ncursesw/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/ncursesw-1.4.10/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:29 Wasted time : 7s 25:ERROR: Error installing /home/slitaz/wok/ruby-ncursesw/source/ruby-ncursesw-1.4.10/ncursesw-1.4.10.gem: 26: ERROR: Failed to build gem native extension. ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================