Created attachment 392058 [details] emerge --info I have trouble updating sys-libs/db-4.8.30-r2. Note tha the problem is still present even with default C/LDFLAGS via package.env [ebuild U ] sys-libs/db-4.8.30-r2:4.8 [4.8.30-r1:4.8] USE="cxx -doc -examples -java -tcl {-test}" ABI_X86="(64) (-32) (-x32)" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB checking for a BSD-compatible install... /usr/lib/portage/python3.3/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-cc... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/var/tmp/portage/sys-libs/db-4.8.30-r2/work/db-4.8.30/build_unix-abi_x86_64.amd64': configure: error: C compiler cannot create executables See `config.log' for more details !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-libs/db-4.8.30-r2/work/db-4.8.30/build_unix-abi_x86_64.amd64/config.log * ERROR: sys-libs/db-4.8.30-r2::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 5346: Called multilib-minimal_src_configure * environment, line 4462: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 4669: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4393: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4391: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 651: Called multilib-minimal_abi_src_configure * environment, line 4456: Called multilib_src_configure * environment, line 4898: Called econf '--enable-compat185' '--enable-o_direct' '--without-uniquename' '--with-mutex=x86/gcc-assembly' '--disable-cxx' '--disable-stl' '--disable-java' '--disable-tcl' '--disable-test' * phase-helpers.sh, line 584: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=sys-libs/db-4.8.30-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/db-4.8.30-r2::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER=""
Created attachment 392060 [details] build.log
configure: error: in `/var/tmp/portage/sys-libs/db-4.8.30-r2/work/db-4.8.30/build_unix-abi_x86_64.amd64': configure: error: C compiler cannot create executables See `config.log' for more details !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-libs/db-4.8.30-r2/work/db-4.8.30/build_unix-abi_x86_64.amd64/config.log Please do.
So, about that config.log... Seriously though, your C{X}FLAGS/LDFLAGS are just looking for trouble (and that's besides things like that explicit '-m64').
(In reply to Rafał Mużyło from comment #3) > So, about that config.log... > > Seriously though, your C{X}FLAGS/LDFLAGS are just looking for trouble (and > that's besides things like that explicit '-m64'). I would like to read someone's opinion about my C/LDFLAGS. But as I wrote earlier the problem is present even with safe and default C/LDFLAGS. So..what's wrong (or not) about them?
Created attachment 392086 [details] config.log
*** This bug has been marked as a duplicate of bug 470634 ***