ошибка gcc при выполнении: emerge --update --deep --neuse world

В очередной раз обновляя систему вывалилаcь ошибка при компиляции пакета sys-apps/portage-2.0.54-r2:
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Поиском пользовался, но представленные решения не помогли, подскажите как решить проблему плиз.

Попробуй это:

Попробывал, но похоже все намного х

Попробывал, но похоже все намного хуже, при выполнении emerge --oneshot -av libtool выпадает:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-devel/libtool-1.5.22 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 1) sys-devel/libtool-1.5.22 to /
>>> md5 files ;-) libtool-1.3.5.ebuild
>>> md5 files ;-) libtool-1.5.22.ebuild
>>> md5 files ;-) files/digest-libtool-1.5.22
>>> md5 files ;-) files/ltconfig-uclibc.patch
>>> md5 files ;-) files/digest-libtool-1.3.5
>>> md5 files ;-) files/libltdl-uclibc.patch
>>> md5 files ;-) files/1.4.3/libtool-1.4.2-expsym-linux.patch
>>> md5 files ;-) files/1.4.3/libtool-1.4.2-archive-shared.patch
>>> md5 files ;-) files/1.5.6/libtool-1.5-filter-host-tags.patch
>>> md5 files ;-) files/1.5.6/libtool-1.5.6-ltmain-SED.patch
>>> md5 files ;-) files/1.5.10/libtool-1.5.10-locking.patch
>>> md5 files ;-) files/1.5.10/libtool-1.5.10-portage.patch
>>> md5 files ;-) files/1.5.14/libtool-1.5.14-egrep.patch
>>> md5 files ;-)
>>> files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch
>>> md5 files ;-) files/1.5.20/libtool-1.5.20-ltmain_sh-max_cmd_len.patch
>>> md5 files ;-) files/1.5.20/libtool-1.5.20-version-checking.patch
>>> md5 files ;-) files/1.5.20/libtool-1.5.20-override-LD_LIBRARY_PATH.patch
>>> md5 src_uri ;-) libtool-1.5.22.tar.gz
>>> Unpacking source...
>>> Unpacking libtool-1.5.22.tar.gz to /var/tmp/portage/libtool-1.5.22/work
* Applying libtool-1.4.2-archive-shared.patch ... [ ok ]
* Applying libtool-1.5.6-ltmain-SED.patch ... [ ok ]
* Applying libtool-1.4.2-expsym-linux.patch ... [ ok ]
* Applying libtool-1.5.20-use-linux-version-in-fbsd.patch ...[ ok ]
* Applying libtool-1.5.10-portage.patch ... [ ok ]
* Applying libtool-1.5.20-version-checking.patch ... [ ok ]
* Applying libtool-1.5.20-ltmain_sh-max_cmd_len.patch ... [ ok ]
* Applying libtool-1.5-filter-host-tags.patch ... [ ok ]
* Applying libtool-1.5.10-locking.patch ... [ ok ]
* Applying libtool-1.5.14-egrep.patch ... [ ok ]
* Applying libtool-1.5.20-override-LD_LIBRARY_PATH.patch ... [ ok ]
* Generating ltmain.sh ... [ ok ]
* Running autotools in '.' ...
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO run info '(automake)Extending aclocal' or see
http://sources.redhat.com/automake/automake.html#Extending-aclo[ ok ] * Running autotools in 'libltdl' ...
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
run info '(automake)Extending aclocal' or see
http://sources.redhat.com/automake/automake.html#Extending-aclo [ ok ]
* Removing useless C++ checks ... [ ok ]
>>> Source unpacked.
* econf: updating libtool-1.5.22/libltdl/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating libtool-1.5.22/libltdl/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating libtool-1.5.22/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating libtool-1.5.22/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... b.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/config.log

!!! ERROR: sys-devel/libtool-1.5.22 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Помогите плиз...

config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libtool configure 1.5.22, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = terminal
uname -m = i686
uname -r = 2.6.15-gentoo-r1
uname -s = Linux
uname -v = #17 SMP PREEMPT Thu May 4 21:21:33 MSD 2006

/usr/bin/uname -p = Intel(R) Celeron(R) CPU 2.40GHz
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.4.5
PATH: /opt/ati/bin
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.4/sbin
PATH: /usr/kde/3.4/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1583: checking for a BSD-compatible install
configure:1638: result: /bin/install -c
configure:1649: checking whether build environment is sane
configure:1692: result: yes
configure:1757: checking for gawk
configure:1773: found /bin/gawk
configure:1783: result: gawk
configure:1793: checking whether make sets $(MAKE)
configure:1813: result: yes
configure:2035: checking for i686-pc-linux-gnu-gcc
configure:2051: found /usr/bin/i686-pc-linux-gnu-gcc
configure:2061: result: i686-pc-linux-gnu-gcc
configure:2343: checking for C compiler version
configure:2346: i686-pc-linux-gnu-gcc --version </dev/null >&5
i686-pc-linux-gnu-gcc (GCC) 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2349: $? = 0
configure:2351: i686-pc-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
Configured with: /var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.5 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)
configure:2354: $? = 0
configure:2356: i686-pc-linux-gnu-gcc -V </dev/null >&5
i686-pc-linux-gnu-gcc: `-V' option must have argument
configure:2359: $? = 1
configure:2382: checking for C compiler default output file name
configure:2385: i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe   conftest.c  >&5
configure:2388: $? = 0
configure:2434: result: b.out
configure:2439: checking whether the C compiler works
configure:2445: ./b.out
./configure: line 2446: ./b.out: No such file or directory
configure:2448: $? = 127
configure:2457: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=pentium4 -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=pentium4 -O2 -pipe'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i686-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACINCLUDE_M4_LIST='./acinclude.m4 ./cdemo/acinclude.m4 ./pdemo/acinclude.m4 ./demo/acinclude.m4 ./depdemo/acinclude.m4 ./mdemo/acinclude.m4 ./mdemo2/acinclude.m4 ./tagdemo/acinclude.m4 ./f77demo/acinclude.m4'
ACLOCAL='${SHELL} /var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/missing --run automake-1.9'
AWK='gawk'
CC='i686-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=pentium4 -O2 -pipe'
CONF_SUBDIRS='cdemo pdemo demo depdemo mdemo mdemo2 tagdemo f77demo'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-march=pentium4 -O2 -pipe'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DIST_MAKEFILE_LIST='cdemo/Makefile pdemo/Makefile demo/Makefile depdemo/Makefile mdemo/Makefile mdemo2/Makefile tagdemo/Makefile f77demo/Makefile '
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GCJ=''
GCJFLAGS=''
HAVE_CXX_FALSE=''
HAVE_CXX_TRUE=''
HAVE_F77_FALSE=''
HAVE_F77_TRUE=''
HAVE_GCJ_FALSE=''
HAVE_GCJ_TRUE=''
HAVE_RC_FALSE=''
HAVE_RC_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/missing --run makeinfo'
NM=''
OBJDUMP=''
OBJEXT=''
PACKAGE='libtool'
PACKAGE_BUGREPORT='bug-libtool@gnu.org'
PACKAGE_NAME='libtool'
PACKAGE_STRING='libtool 1.5.22'
PACKAGE_TARNAME='libtool'
PACKAGE_VERSION='1.5.22'
PATH_SEPARATOR=':'
RANLIB=''
RC=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TIMESTAMP=''
VERSION='1.5.22'
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_GCJ=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_RC=''
ac_ct_STRIP=''
aclocaldir='${datadir}/aclocal'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pkgdatadir='${datadir}/libtool'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' libltdl'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "libtool"
#define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
#define PACKAGE_NAME "libtool"
#define PACKAGE_STRING "libtool 1.5.22"
#define PACKAGE_TARNAME "libtool"
#define PACKAGE_VERSION "1.5.22"
#define VERSION "1.5.22"

configure: exit 1

Во-о! А это че за

Во-о! А это че за хня?
>configure:2354: $? = 0
>configure:2356: i686-pc-linux-gnu-gcc -V &5
>i686-pc-linux-gnu-gcc: `-V' option must have argument

У тебя там точно gcc?
Ну, а потом он не может скомпилять тест и вываливается с твоей ошибкой:

>configure:2385: i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe >conftest.c >&5
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>configure:2388: $? = 0
>configure:2434: result: b.out
>configure:2439: checking whether the C compiler works
>configure:2445: ./b.out
>./configure: line 2446: ./b.out: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>configure:2448: $? = 127
>configure:2457: error: cannot run C compiled programs.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

POMAH007 пишет:Во-о!

POMAH007 написал(а):
Во-о! А это че за хня?
>configure:2354: $? = 0
>configure:2356: i686-pc-linux-gnu-gcc -V &5
>i686-pc-linux-gnu-gcc: `-V' option must have argument

У себя посмотрел - есть такая проверка. То есть, этот пункт в подозрениях отменяется.
Вот тока результат этой проверки фатальный. И почему по дефолту у твоего gcc b.out, а не a.out?

А как у тебя в /etc/env.d/gcc, все нормально?
А старый gcc 3.3.x удалял?

i386 or i686?

а че она у тебя i386-pc-linux-gnu-gcc ищет? система у тебя вроде i686-pc-linux-gnu-gcc. менял CHOST в make.conf после установки системы?
делай линки i386->i686 и пересобери всю систему с --emptytree

Меняй 3 на 6 в

Меняй 3 на 6 в /etc/make.conf
***************
i386-pc* на i686-pc*

Честно не

Честно не помню, возможно менял...
При выполнении emrge --emptytree system получаем:

Calculating world dependencies ...done!
>>> emerge (1 of 96) sys-devel/patch-2.5.9 to /
>>> md5 files   ;-) patch-2.5.9.ebuild
>>> md5 files   ;-) patch-2.5.9-r1.ebuild
>>> md5 files   ;-) files/digest-patch-2.5.9
>>> md5 files   ;-) files/patch-2.5.9-cr-stripping.patch
>>> md5 files   ;-) files/digest-patch-2.5.9-r1
>>> md5 src_uri ;-) patch-2.5.9.tar.gz
>>> Unpacking source...
>>> Unpacking patch-2.5.9.tar.gz to /var/tmp/portage/patch-2.5.9/work
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... b.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/patch-2.5.9/work/patch-2.5.9/config.log

!!! ERROR: sys-devel/patch-2.5.9 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status
message.

Quote: Честно не

Цитата:
Честно не помню, возможно менял...
При выполнении emrge --emptytree system получаем:

Какой проц?
И давай сюда свой /etc/make.conf а заодно покажи вывод ls -l /etc/make.profile (именно без слеша на конце)

Напоролся на

Напоролся на такие грапппли устанавливаясь с 2005.0 от линукцентра. Ругалсся матом, курил маны, пинал гугль ну и все такое.

Последовательностьустановки:
....
Ну типа бутстрап
emerge -e system
...
И вилы на том же пакете. Самый простой способ который народ советует - убрать -e из команды. После пересборки системы emerge -e system прошел без проблем.
В вашем случае я бы попробовал уменшить глубину пересборки мира.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".