C compiler cannot create executables

Clemens Schüller <[email protected]>
Newsgroups gmane.linux.gentoo.user.german
Message-ID <[email protected]>
Hallo!

Seit einiger Zeit kann ich keine Pakete mehr emergen:

Hier slrn als Beispiel:

--8<---------------cut here---------------start------------->8---
checking for x86_64-pc-linux-gnu-gcc... clang
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2/config.log
 * ERROR: net-nntp/slrn-1.0.2::gentoo failed (configure phase):
 *   econf failed
 *=20
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2844:  Called autotools-utils_src_configure
 *        environment, line  600:  Called econf '--docdir=3D/usr/share/doc/=
slrn-1.0.2' '--with-docdir=3D/usr/share/doc/slrn-1.0.2' '--with-slrnpull' '=
--without-canlock' '--without-uu' '--enable-nls' '--with-ssl'
 *   phase-helpers.sh, line  584:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *=20
 * If you need support, post the output of `emerge --info '=3Dnet-nntp/slrn=
-1.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=3Dnet-nntp/slrn-=
1.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-nntp/slrn-1.0=
.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-nntp/slr=
n-1.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2'
 * S: '/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2'
--8<---------------cut here---------------end--------------->8---


Und hier der relevante Auszug aus meiner make.conf:

--8<---------------cut here---------------start------------->8---
CC=3Dclang
CXX=3Dclang++
CFLAGS=3D"-O2 -march=3Dcore2 -pipe -fcolor-diagnostics"
CHOST=3D"x86_64-pc-linux-gnu"
CXXFLAGS=3D"${CFLAGS}"
LDFLAGS=3D"-Wl -O1 --as-needed"
ACCEPT_KEYWORDS=3D"~amd64"
MAKEOPTS=3D"-j8"
FEATURES=3D"parallel-fetch protect-owned splitdebug userfetch userpriv ccache"
--8<---------------cut here---------------end--------------->8---

Das Problem tritt _nur_ beim emergen von verschiedenen Paketen auf. Ein
manuelles make funktioniert ohne Probleme.



-- 
Beste Grüße, Clemens Schüller
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.