Summary: | cross-i686-pc-linux-gnu/gcc-4.5.3-r1 failed (setup phase): * Your ebuild needs to set the ETYPE variable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juanlu Pérez <juanluperez> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
cross-i686-pc-linux-gnu-gcc-stage1.log
cross-i686-pc-linux-gnu-info.log |
Description
Juanlu Pérez
2011-11-19 23:45:35 UTC
Created attachment 293147 [details]
cross-i686-pc-linux-gnu-gcc-stage1.log
Created attachment 293149 [details]
cross-i686-pc-linux-gnu-info.log
I have the same problem, however it looks to be caused by:
>>> Compiling source in /home/tmp/portage/portage/cross-avr/gcc-4.5.3-r1/work/gcc-4.5.3 ...
* CFLAGS="-O2 -pipe"
* CXXFLAGS=""
* Configuring gcc ...
* We are migrating USE=nocxx to USE=cxx, but your USE settings do not make
* sense. Please make sure these two flags line up logically in your setup.
* ERROR: cross-avr/gcc-4.5.3-r1 failed (compile phase):
* USE='cxx nocxx' and USE='-cxx -nocxx' make no sense
crossdev rewrites the lines in /etc/portage/package.use to always include "nocxx", which causes the compile to die
e.g.,
cross-avr/gdb sys-devel gdb
cross-avr/insight dev-util insight
cross-avr/binutils -openmp -selinux -multilib
cross-avr/gcc -fortran -openmp -selinux -boundschecking -d -gtk -gcj -libffi -mudflap -objc -objc++ -objc-gc -fortran nocxx -openmp -multilib
If I manually remove/edit "nocxx", crossdev changes it back :(
(In reply to comment #3) > I have the same problem, however it looks to be caused by: > > >>> Compiling source in /home/tmp/portage/portage/cross-avr/gcc-4.5.3-r1/work/gcc-4.5.3 ... > * CFLAGS="-O2 -pipe" > * CXXFLAGS="" > * Configuring gcc ... > * We are migrating USE=nocxx to USE=cxx, but your USE settings do not make > * sense. Please make sure these two flags line up logically in your setup. > * ERROR: cross-avr/gcc-4.5.3-r1 failed (compile phase): > * USE='cxx nocxx' and USE='-cxx -nocxx' make no sense > > crossdev rewrites the lines in /etc/portage/package.use to always include > "nocxx", which causes the compile to die > > e.g., > cross-avr/gdb sys-devel gdb > cross-avr/insight dev-util insight > cross-avr/binutils -openmp -selinux -multilib > cross-avr/gcc -fortran -openmp -selinux -boundschecking -d -gtk -gcj -libffi > -mudflap -objc -objc++ -objc-gc -fortran nocxx -openmp -multilib > > If I manually remove/edit "nocxx", crossdev changes it back :( I look at cross-i686-pc-linux-gnu-gcc-stage1.log attachment you'll that I'm not having that error, in my case is this: * Messages for package cross-i686-pc-linux-gnu/gcc-4.5.3-r1: * ERROR: cross-i686-pc-linux-gnu/gcc-4.5.3-r1 failed (setup phase): * Your ebuild needs to set the ETYPE variable i don't know where your toolchain.eclass is coming from, but it's wrong. delete whatever local version you have. the one in the main tree doesn't have ETYPE anymore I did "rm /usr/local/portage/eclass/toolchain.eclass", and I solved this. Thanks for your help. I can't remember why I put this there... Maybe it's related to a non official gentoo package or something. Thank very much anyways!! (In reply to comment #3) > I have the same problem, however it looks to be caused by: > > >>> Compiling source in /home/tmp/portage/portage/cross-avr/gcc-4.5.3-r1/work/gcc-4.5.3 ... > * CFLAGS="-O2 -pipe" > * CXXFLAGS="" > * Configuring gcc ... > * We are migrating USE=nocxx to USE=cxx, but your USE settings do not make > * sense. Please make sure these two flags line up logically in your setup. > * ERROR: cross-avr/gcc-4.5.3-r1 failed (compile phase): > * USE='cxx nocxx' and USE='-cxx -nocxx' make no sense > > crossdev rewrites the lines in /etc/portage/package.use to always include > "nocxx", which causes the compile to die > > e.g., > cross-avr/gdb sys-devel gdb > cross-avr/insight dev-util insight > cross-avr/binutils -openmp -selinux -multilib > cross-avr/gcc -fortran -openmp -selinux -boundschecking -d -gtk -gcj -libffi > -mudflap -objc -objc++ -objc-gc -fortran nocxx -openmp -multilib > > If I manually remove/edit "nocxx", crossdev changes it back :( Hi, I solved my problem, but now I'm gettin the same error than you, you can follow in this link https://bugs.gentoo.org/show_bug.cgi?id=391453 |