Cook: ruby-sqlite3 1.3.13 ================================================================================ 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): sqlite3-3.24.0-i486 Installing (pkg/local): tcl-8.6.9-i486 Installing (pkg/local): libsqlite3-tcl-3.24.0-i486 Installing (pkg/local): lemon-3.24.0-i486 Installing (pkg/local): sqlite3-analyzer-3.24.0-i486 Installing (pkg/local): sqlite3-dev-3.24.0-any Extracting source archive "sqlite3-1.3.13.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-sqlite3/install Bin dir: /home/slitaz/wok/ruby-sqlite3/install/usr/bin Gem home: /home/slitaz/wok/ruby-sqlite3/install/usr/lib/ruby/gems/2.5.0 Building native extensions. This could take a while... ERROR: Error installing /home/slitaz/wok/ruby-sqlite3/source/ruby-sqlite3-1.3.13/sqlite3-1.3.13.gem: ERROR: Failed to build gem native extension. current directory: /home/slitaz/wok/ruby-sqlite3/install/usr/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13/ext/sqlite3 /usr/bin/ruby -r ./siteconf20200913-10351-r09gbg.rb extconf.rb *** 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-sqlite3-config --without-sqlite3-config --with-pkg-config --without-pkg-config /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:660:in `try_ldflags' from /usr/lib/ruby/2.5.0/mkmf.rb:1820:in `pkg_config' from extconf.rb:27:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/slitaz/wok/ruby-sqlite3/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/sqlite3-1.3.13/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/slitaz/wok/ruby-sqlite3/install/usr/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13 for inspection. Results logged to /home/slitaz/wok/ruby-sqlite3/install/usr/lib/ruby/gems/2.5.0/extensions/x86-linux/2.5.0/sqlite3-1.3.13/gem_make.out Build dependencies to remove: 12 Removing: lemon libdb libgdbm libruby libsqlite3-tcl ruby ruby-dev ruby-stdlib sqlite3 sqlite3-analyzer sqlite3-dev tcl Debug information ret1. ================================================================================ Cook date: 2020-09-13 03:36 Wasted time : 9s 31:ERROR: Error installing /home/slitaz/wok/ruby-sqlite3/source/ruby-sqlite3-1.3.13/sqlite3-1.3.13.gem: 32: ERROR: Failed to build gem native extension. ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================