Summary: | gcc-config: Active gcc profile is invalid! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hiroshi Takenaka <ihsorihakanekat> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
There will be file called config.log which will give the details why particular autotools based ./configure script failed It's in /var/tmp/portage/category_name/package_name/work/<use tab completion here>/config.log Attach the config.log here Here is the config.log
> There will be file called config.log which will give the details why
> particular autotools based ./configure script failed
>
> It's in /var/tmp/portage/category_name/package_name/work/<use tab completion
> here>/config.log
>
> Attach the config.log here
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by python-exec configure 0.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/python-exec-0.2 --with-eprefix= --with-python-impls= jython2.5 jython2.7 pypy-c1.9 pypy-c2.0 python3.1 python3.2 python3.3 python2.5 python2.6 python2.7
## --------- ##
## Platform. ##
## --------- ##
hostname = Gentoo-PC
uname -m = i686
uname -r = 3.5.7-gentoo
uname -s = Linux
uname -v = #4 Tue Feb 12 18:51:10 JST 2013
/usr/bin/uname -p = Intel(R) Celeron(R) CPU 450 @ 2.20GHz
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/lib/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.5.4
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2127: checking for a BSD-compatible install
configure:2195: result: /usr/bin/install -c
configure:2206: checking whether build environment is sane
configure:2261: result: yes
configure:2412: checking for a thread-safe mkdir -p
configure:2451: result: /bin/mkdir -p
configure:2458: checking for gawk
configure:2474: found /usr/bin/gawk
configure:2485: result: gawk
configure:2496: checking whether make sets $(MAKE)
configure:2518: result: yes
configure:2616: checking whether make supports nested variables
configure:2633: result: yes
configure:2653: checking for i686-pc-linux-gnu-gcc
configure:2669: found /usr/bin/i686-pc-linux-gnu-gcc
configure:2680: result: i686-pc-linux-gnu-gcc
configure:2949: checking for C compiler version
configure:2958: i686-pc-linux-gnu-gcc --version >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
configure:2969: $? = 1
configure:2958: i686-pc-linux-gnu-gcc -v >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
configure:2969: $? = 1
configure:2958: i686-pc-linux-gnu-gcc -V >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
configure:2969: $? = 1
configure:2958: i686-pc-linux-gnu-gcc -qversion >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
configure:2969: $? = 1
configure:2989: checking whether the C compiler works
configure:3011: i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
configure:3015: $? = 1
configure:3053: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "python-exec"
| #define PACKAGE_TARNAME "python-exec"
| #define PACKAGE_VERSION "0.2"
| #define PACKAGE_STRING "python-exec 0.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PYTHON_IMPLS "python2.7", "python2.6", "python2.5", "python3.3", "python3.2", "python3.1", "pypy-c2.0", "pypy-c1.9", "jython2.7", "jython2.5", 0
| #define EPREFIX ""
| #define PACKAGE "python-exec"
| #define VERSION "0.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3058: error: in `/var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2_build':
configure:3060: error: C compiler cannot create executables
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='-O2 -march=i686 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i686-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2/build-aux/missing --run aclocal-1.12'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2/build-aux/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2/build-aux/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2/build-aux/missing --run automake-1.12'
AWK='gawk'
CC='i686-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=i686 -pipe'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2/build-aux/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT=''
PACKAGE='python-exec'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='python-exec'
PACKAGE_STRING='python-exec 0.2'
PACKAGE_TARNAME='python-exec'
PACKAGE_URL=''
PACKAGE_VERSION='0.2'
PATH_SEPARATOR=':'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.2'
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build_alias='i686-pc-linux-gnu'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/python-exec-0.2'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='i686-pc-linux-gnu'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "python-exec"
#define PACKAGE_TARNAME "python-exec"
#define PACKAGE_VERSION "0.2"
#define PACKAGE_STRING "python-exec 0.2"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PYTHON_IMPLS "python2.7", "python2.6", "python2.5", "python3.3", "python3.2", "python3.1", "pypy-c2.0", "pypy-c1.9", "jython2.7", "jython2.5", 0
#define EPREFIX ""
#define PACKAGE "python-exec"
#define VERSION "0.2"
configure: exit 77
'* gcc-config: Active gcc profile is invalid!' means you need to check 'gcc-config -l' and set it to a valid value. |
Created attachment 342616 [details] emerge --info I eselected the profile of default/linux/x86/13.0 and have been trying to emerge --update --deep --newuse with-bdeps=y world. However, the ebuild fails at the configuration of python-exec. The build log is as follows: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/var/tmp/portage/dev-python/python-exec-0.2/work/python-exec-0.2_build': configure: error: C compiler cannot create executables There seems no C compiler available but which gcc gives me /usr/bin/gcc. Regards,