While I was upgrading my system to install asterisk I get the follow problem building db: !! ERROR: sys-libs/db-4.5.20_p2 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile db-4.5.20_p2.ebuild, line 92: Called econf '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib' '--enable-compat185' '--without-uniquename' '--enable-rpc' '--host=i686-pc-linux-gnu' '--enable-cxx' '--enable-tcl' '--with-tcl=/usr/lib' '--disable-java' '--build=i686-pc-linux-gnu' '--disable-test' '' ebuild.sh, line 578: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-libs/db-4.5.20_p2/temp/build.log'. !!! 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="" and of course, the output of emerge --info
Created attachment 120284 [details] emerge --info
Created attachment 120286 [details] build log
<snip> checking for C compiler default output file name... configure: error: C compiler cannot create executables </snip> rm -f /usr/lib/distcc/bin/i686-pc-linux-gnu-cc *** This bug has been marked as a duplicate of bug 145167 ***
Hi dear, I hadn't /usr/lib/distcc/bin/i686-pc-linux-gnu-cc but instead /usr/lib/ccache/bin/i686-pc-linux-gnu-cc when removed all was fine