* Package: dev-lang/ruby-3.1.2-r1:3.1 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ruby-3.1.2.tar.xz to /var/tmp/portage/dev-lang/ruby-3.1.2-r1/work >>> Source unpacked in /var/tmp/portage/dev-lang/ruby-3.1.2-r1/work >>> Preparing source in /var/tmp/portage/dev-lang/ruby-3.1.2-r1/work/ruby-3.1.2 ... * Applying 010-default-gem-location.patch ... patching file tool/rbinstall.rb Hunk #1 succeeded at 956 with fuzz 1 (offset 59 lines). [ ok ] * Unbundling gems... * Removing bundled libraries... * Running eautoreconf in '/var/tmp/portage/dev-lang/ruby-3.1.2-r1/work/ruby-3.1.2' ... * Running 'autoconf --force' ... [ ok ] * Running elibtoolize in: ruby-3.1.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/ruby-3.1.2-r1/work/ruby-3.1.2 ... * econf: updating ruby-3.1.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ruby-3.1.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ruby-3.1.2/tool/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ruby-3.1.2/tool/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/ruby-3.1.2-r1 --htmldir=/usr/share/doc/ruby-3.1.2-r1/html --libdir=/usr/lib64 --program-suffix=31 --with-soname=ruby31 --with-readline-dir=/usr --enable-shared --enable-pthread --disable-rpath --with-out-ext=win32,win32ole,dbm,gdbm,tk --without-jemalloc --disable-jit-support --disable-socks --disable-dtrace --disable-install-doc --enable-ipv6 --disable-static --disable-install-static-library --without-static-linked-ext --disable-debug --enable-option-checking=no checking for ruby... false checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... clang checking for x86_64-pc-linux-gnu-llvm-ar... no checking for llvm-ar... llvm-ar checking for x86_64-pc-linux-gnu-clang++... clang++ checking for x86_64-pc-linux-gnu-llvm-nm... no checking for llvm-nm... llvm-nm checking for x86_64-pc-linux-gnu-llvm-objcopy... no checking for llvm-objcopy... llvm-objcopy checking for x86_64-pc-linux-gnu-llvm-objdump... no checking for llvm-objdump... llvm-objdump checking for x86_64-pc-linux-gnu-llvm-ranlib... no checking for llvm-ranlib... llvm-ranlib checking for x86_64-pc-linux-gnu-llvm-strip... no checking for llvm-strip... llvm-strip checking for x86_64-pc-linux-gnu-gcc... (cached) clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking how to run the C preprocessor... clang -E checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking for x86_64-pc-linux-gnu-gar... llvm-ar checking for x86_64-pc-linux-gnu-gas... no checking for x86_64-pc-linux-gnu-as... x86_64-pc-linux-gnu-as checking for x86_64-pc-linux-gnu-gld... clang checking for x86_64-pc-linux-gnu-gnm... llvm-nm checking for x86_64-pc-linux-gnu-gobjcopy... llvm-objcopy checking for x86_64-pc-linux-gnu-gobjdump... llvm-objdump checking for x86_64-pc-linux-gnu-gstrip... llvm-strip checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no configure: error: too old GCC !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/ruby-3.1.2-r1/work/ruby-3.1.2/config.log * ERROR: dev-lang/ruby-3.1.2-r1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 122: Called src_configure * environment, line 2355: Called econf '--program-suffix=31' '--with-soname=ruby31' '--with-readline-dir=/usr' '--enable-shared' '--enable-pthread' '--disable-rpath' '--with-out-ext=win32,win32ole,dbm,gdbm,tk' '--without-jemalloc' '--disable-jit-support' '--disable-socks' '--disable-dtrace' '--disable-install-doc' '--enable-ipv6' '--disable-static' '--disable-install-static-library' '--without-static-linked-ext' '--disable-debug' '--enable-option-checking=no' * phase-helpers.sh, line 730: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=dev-lang/ruby-3.1.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-3.1.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:ruby-3.1.2-r1:20220917-145124.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/ruby-3.1.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-3.1.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/ruby-3.1.2-r1/work/ruby-3.1.2' * S: '/var/tmp/portage/dev-lang/ruby-3.1.2-r1/work/ruby-3.1.2'