>>> Jobs: 4 of 281 complete, 1 failed Load avg: 2.91, 3.83, 2.61 * Package: dev-ruby/patron-0.10.0 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux ruby_targets_ruby22 ruby_targets_ruby23 test userland_GNU x86 * FEATURES: preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... * Running unpack phase for all ... * Unpacking .gem file... ... [ ok ] * Uncompressing metadata ... [ ok ] * Unpacking data.tar.gz ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-ruby/patron-0.10.0/work >>> Preparing source in /var/tmp/portage/dev-ruby/patron-0.10.0/work ... * Running prepare phase for all ... * Running prepare phase for all ... * Running source copy phase for ruby22 ... * Running source copy phase for ruby23 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/patron-0.10.0/work ... * Running configure phase for ruby22 ... checking for curl-config... yes checking for ruby/thread.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. [47/4970] 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)22 --with-curl-dir --without-curl-dir --with-curl-include --without-curl-include=${curl-dir}/include --with-curl-lib --without-curl-lib=${curl-dir}/lib --with-curl-config --without-curl-config /usr/lib/ruby/2.2.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.2.0/mkmf.rb:587:in `try_cpp' from /usr/lib/ruby/2.2.0/mkmf.rb:1060:in `block in have_header' from /usr/lib/ruby/2.2.0/mkmf.rb:911:in `block in checking_for' from /usr/lib/ruby/2.2.0/mkmf.rb:351:in `block (2 levels) in postpone' from /usr/lib/ruby/2.2.0/mkmf.rb:321:in `open' from /usr/lib/ruby/2.2.0/mkmf.rb:351:in `block in postpone' from /usr/lib/ruby/2.2.0/mkmf.rb:321:in `open' from /usr/lib/ruby/2.2.0/mkmf.rb:347:in `postpone' from /usr/lib/ruby/2.2.0/mkmf.rb:910:in `checking_for' from /usr/lib/ruby/2.2.0/mkmf.rb:1059:in `have_header' from extconf.rb:23:in `<main>' * ERROR: dev-ruby/patron-0.10.0::gentoo failed (configure phase): * (no error message) *
I can't reproduce this. Can you include mkmf.log and check that your compiler works?
Oops, I had a @preserved-rebuild pending for net-misc/curl. mkmf.log showed > /usr/lib/gcc/i686-pc-linux-gnu/6.4.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgssapi After re-emerging net-misc curl, patron build was successful.