* [gentoo-user-de] C compiler cannot create executables
@ 2014-12-14 17:25 Clemens Schüller
2014-12-14 17:36 ` Marco Ziebell
2014-12-14 17:37 ` [gentoo-user-de] Re: C compiler cannot create executables Hartmut Figge
0 siblings, 2 replies; 5+ messages in thread
From: Clemens Schüller @ 2014-12-14 17:25 UTC (permalink / raw
To: gentoo-user-de
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user-de] C compiler cannot create executables
2014-12-14 17:25 [gentoo-user-de] C compiler cannot create executables Clemens Schüller
@ 2014-12-14 17:36 ` Marco Ziebell
2014-12-14 18:14 ` SOLVED (was: [gentoo-user-de] C compiler cannot create executables) Clemens Schüller
2014-12-14 17:37 ` [gentoo-user-de] Re: C compiler cannot create executables Hartmut Figge
1 sibling, 1 reply; 5+ messages in thread
From: Marco Ziebell @ 2014-12-14 17:36 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 2881 bytes --]
Guck dir mal die Datei "config.log" im Working-Directory an:
/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2/config.log
Dort steht drinnen wieso das nicht funktioniert hat.
Such einfach nach "cannot create executables" und guck dir die Zeilen
darüber an.
mfg
Am Sun, 14 Dec 2014 18:25:55 +0100
schrieb Clemens Schüller <cs.mlists+gentoo-user-de@mailbox.org>:
> 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.
>
>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user-de] Re: C compiler cannot create executables
2014-12-14 17:25 [gentoo-user-de] C compiler cannot create executables Clemens Schüller
2014-12-14 17:36 ` Marco Ziebell
@ 2014-12-14 17:37 ` Hartmut Figge
2014-12-14 18:16 ` SOLVED (was: [gentoo-user-de] Re: C compiler cannot create executables) Clemens Schüller
1 sibling, 1 reply; 5+ messages in thread
From: Hartmut Figge @ 2014-12-14 17:37 UTC (permalink / raw
To: gentoo-user-de
Clemens Schüller:
>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
Was sagt gcc-config -l? Bei mir:
hafi@i5_64 ~ $ gcc-config -l
[1] x86_64-pc-linux-gnu-4.7.3
[2] x86_64-pc-linux-gnu-4.8.3 *
Hartmut
^ permalink raw reply [flat|nested] 5+ messages in thread
* SOLVED (was: [gentoo-user-de] C compiler cannot create executables)
2014-12-14 17:36 ` Marco Ziebell
@ 2014-12-14 18:14 ` Clemens Schüller
0 siblings, 0 replies; 5+ messages in thread
From: Clemens Schüller @ 2014-12-14 18:14 UTC (permalink / raw
To: Marco Ziebell; +Cc: gentoo-user-de
Hallo!
Am 14. Dez. 2014 um 18:36 schrieb Marco Ziebell:
> Guck dir mal die Datei "config.log" im Working-Directory an:
>
> /var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2/config.log
>
> Dort steht drinnen wieso das nicht funktioniert hat.
> Such einfach nach "cannot create executables" und guck dir die Zeilen
> darüber an.
Es war ein Rechteproblem beim ccache - diesen neu installiert, das
ccache Verzeichnis mal umbenannt und schon geht es wieder.
Danke Dir
--
Beste Grüße, Clemens Schüller
^ permalink raw reply [flat|nested] 5+ messages in thread
* SOLVED (was: [gentoo-user-de] Re: C compiler cannot create executables)
2014-12-14 17:37 ` [gentoo-user-de] Re: C compiler cannot create executables Hartmut Figge
@ 2014-12-14 18:16 ` Clemens Schüller
0 siblings, 0 replies; 5+ messages in thread
From: Clemens Schüller @ 2014-12-14 18:16 UTC (permalink / raw
To: Hartmut Figge; +Cc: gentoo-user-de
Hallo!
Am 14. Dez. 2014 um 18:37 schrieb Hartmut Figge:
> Was sagt gcc-config -l? Bei mir:
>
> hafi@i5_64 ~ $ gcc-config -l
> [1] x86_64-pc-linux-gnu-4.7.3
> [2] x86_64-pc-linux-gnu-4.8.3 *
Da ich clang verwende, erübrigt sich das mit dem gcc - aber Danke.
Es war übrigens ein Rechteproblem beim ccache.
--
Beste Grüße, Clemens Schüller
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-14 18:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-14 17:25 [gentoo-user-de] C compiler cannot create executables Clemens Schüller
2014-12-14 17:36 ` Marco Ziebell
2014-12-14 18:14 ` SOLVED (was: [gentoo-user-de] C compiler cannot create executables) Clemens Schüller
2014-12-14 17:37 ` [gentoo-user-de] Re: C compiler cannot create executables Hartmut Figge
2014-12-14 18:16 ` SOLVED (was: [gentoo-user-de] Re: C compiler cannot create executables) Clemens Schüller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox