Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

gcc not able to compile for emerge updates


dougbmorris

Question

This is the typical issue I am getting (requires C++14-capable C++ compiler):

>>> Verifying ebuild manifests
>>> Running pre-merge checks for net-ftp/filezilla-3.24.0
 * filezilla-3.24.0 requires C++14-capable C++ compiler. Your current compiler
 * does not seem to support -std=c++14 option. Please upgrade your compiler
 * to gcc-4.9 or an equivalent version supporting C++14.
 * ERROR: net-ftp/filezilla-3.24.0::gentoo failed (pretend phase):
 *   Currently active compiler does not support -std=c++14
 *
 * Call stack:
 *                 ebuild.sh, line 115:  Called pkg_pretend
 *   filezilla-3.24.0.ebuild, line  47:  Called die
 * The specific snippet of code:
 *               die "Currently active compiler does not support -std=c++14"

I got this distinctly new gcc complaint after removing filezilla:

loading initial cache file /var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build/gentoo_common_config.cmake
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:51 (message):
  The C compiler "/usr/bin/x86_64-pc-linux-gnu-gcc" is not able to compile a
  simple test program.

  It fails with the following output:

   Change Dir: /var/tmp/portage/dev-util/cmake-3.7.2/work/cmake-3.7.2_build/CMakeFiles/CMakeTmp

This is what gcc I have:

me@Host ~ $ equery l -po gcc
 * Searching for gcc ...
[-P-] [  ] sys-devel/gcc-4.8.5-r1:4.8.5
[-P-] [  ] sys-devel/gcc-4.9.3-r3:4.9.3
[IP-] [  ] sys-devel/gcc-5.3.0-r1:5.3.0
me@Host ~ $

I don't see that anyone else is having this problem. Is anyone else having this problem? I tried downgrading gcc yesterday but that did not help. The emerge --sync I did today, as you can see, did not resolve this, and I am starting to think my problem is only with my setup. Not sure what direction to go.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

From config.log in /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/objdir:

Locke objdir # cat 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 configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ ../gcc-5.3.0/configure --disable-libssp --enable-multilib --enable-version-specific-runtime-libs --enable-libmudflap --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5.3.0 --enable-libstdcxx-time --enable-__cxa_atexit --enable-clocale=gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-lto --without-cloog --with-bugurl=http://bugs.funtoo.org --with-pkgversion=Funtoo 5.3.0-r1 --with-mpfr-include=/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0/mpfr/src --with-mpfr-lib=/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/objdir/mpfr/src/.libs --enable-libgomp --build=x86_64-pc-linux-gnu --enable-libgomp --enable-languages=c,c++,fortran --disable-libgcj --disable-esp --disable-libsanitizer

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

hostname = Locke
uname -m = x86_64
uname -r = 4.8.5
uname -s = Linux
uname -v = #1 SMP Wed Nov 2 08:49:05 EDT 2016

/usr/bin/uname -p = Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
/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/python3.4/ebuild-helpers/xattr
PATH: /usr/lib/portage/python3.4/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/x86_64-pc-linux-gnu/gcc-bin/4.9.3


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

configure:2292: checking build system type
configure:2306: result: x86_64-pc-linux-gnu
configure:2353: checking host system type
configure:2366: result: x86_64-pc-linux-gnu
configure:2386: checking target system type
configure:2399: result: x86_64-pc-linux-gnu
configure:2453: checking for a BSD-compatible install
configure:2521: result: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
configure:2532: checking whether ln works
configure:2554: result: yes
configure:2558: checking whether ln -s works
configure:2562: result: yes
configure:2569: checking for a sed that does not truncate output
configure:2633: result: /bin/sed
configure:2642: checking for gawk
configure:2658: found /usr/bin/gawk
configure:2669: result: gawk
configure:3183: checking for libatomic support
configure:3193: result: yes
configure:3202: checking for libcilkrts support
configure:3212: result: yes
configure:3240: checking for libitm support
configure:3250: result: yes
configure:3278: checking for libvtv support
configure:3288: result: yes
configure:4034: checking for x86_64-pc-linux-gnu-gcc
configure:4050: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:4061: result: x86_64-pc-linux-gnu-gcc
configure:4330: checking for C compiler version
configure:4339: x86_64-pc-linux-gnu-gcc --version >&5
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:4350: $? = 1
configure:4339: x86_64-pc-linux-gnu-gcc -v >&5
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:4350: $? = 1
configure:4339: x86_64-pc-linux-gnu-gcc -V >&5
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:4350: $? = 1
configure:4339: x86_64-pc-linux-gnu-gcc -qversion >&5
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:4350: $? = 1
configure:4370: checking for C compiler default output file name
configure:4392: x86_64-pc-linux-gnu-gcc -march=sandybridge -O2 -pipe  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed conftest.c  >&5
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:4396: $? = 1
configure:4433: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4439: error: in `/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/objdir':
configure:4443: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=sandybridge -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=sandybridge -O2 -pipe'
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--sort-common -Wl,--as-needed'
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_target=x86_64-pc-linux-gnu
acx_cv_prog_LN=ln
gcc_cv_libc_provides_ssp=yes

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

AR=''
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET=''
AS=''
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET=''
AWK='gawk'
BISON=''
BUILD_CONFIG=''
CC='x86_64-pc-linux-gnu-gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET=''
CFLAGS='-march=sandybridge -O2 -pipe'
CFLAGS_FOR_BUILD=''
CFLAGS_FOR_TARGET=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX=''
CXXFLAGS='-march=sandybridge -O2 -pipe'
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT=''
EXTRA_CONFIGARGS_LIBJAVA='--disable-static'
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET=''
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET=''
GNATBIND=''
GNATMAKE=''
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS='-Wl,-O1 -Wl,--sort-common -Wl,--as-needed'
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET=''
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET=''
OBJCOPY=''
OBJCOPY_FOR_TARGET=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET=''
READELF=''
READELF_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SED='/bin/sed'
SHELL='/bin/sh'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../gcc-5.3.0/configure --disable-libssp --enable-multilib --enable-version-specific-runtime-libs --enable-libmudflap --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5.3.0 --enable-libstdcxx-time --enable-__cxa_atexit --enable-clocale=gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-lto --without-cloog --with-bugurl=http://bugs.funtoo.org --with-pkgversion='\''Funtoo 5.3.0-r1'\'' --with-mpfr-include=/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0/mpfr/src --with-mpfr-lib=/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/objdir/mpfr/src/.libs --enable-libgomp --build=x86_64-pc-linux-gnu --enable-libgomp --enable-languages=c,c++,fortran --disable-libgcj --disable-esp --disable-libsanitizer'
WINDMC=''
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET=''
WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC=''
ac_ct_CXX=''
bindir='/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_configargs=''
build_configdirs='build-libiberty build-libcpp build-texinfo build-flex build-bison build-m4 build-fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-pc-linux-gnu'
build_noncanonical='x86_64-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-pc-linux-gnu'
build_tooldir=''
build_vendor='pc'
compare_exclusions=''
configdirs='intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools'
datadir='/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0'
datarootdir='${prefix}/share'
do_compare=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
extra_host_libiberty_configure_flags=''
extra_isl_gmp_configure_flags=''
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
gmpinc=''
gmplibs=''
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_configargs=''
host_cpu='x86_64'
host_noncanonical='x86_64-pc-linux-gnu'
host_os='linux-gnu'
host_shared=''
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include'
infodir='/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/info'
islinc=''
isllibs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags=''
poststage1_libs=''
prefix='/usr'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_configargs=''
target_configdirs='target-libgcc target-libbacktrace target-libgloss target-newlib target-libgomp target-libcilkrts target-liboffloadmic target-libatomic target-libitm target-libstdc++-v3 target-libsanitizer target-libvtv target-libmpx target-libssp target-libquadmath target-libgfortran target-boehm-gc target-libffi target-zlib target-libjava target-libobjc target-libada target-libgo target-rda'
target_cpu='x86_64'
target_noncanonical='x86_64-pc-linux-gnu'
target_os='linux-gnu'
target_subdir='x86_64-pc-linux-gnu'
target_vendor='pc'
tooldir=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''

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

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 77
Locke objdir #

Thus I find:

Locke doug # gcc-config --list-profiles
 * gcc-config: Active gcc profile is invalid!

 [1] x86_64-pc-linux-gnu-5.3.0
Locke doug #

I found no manpage for gcc-config on my system. I got help from running 'gcc-config' with no arguments, but the advice did not help. I went online and found I could run 'gcc-config 1' to set the sole option I had at [1].

 

The single argument of '1' was suggested by one James in 2008 in the google gentoo group (https://groups.google.com/forum/#!topic/linux.gentoo.user/IkQUr65kYLg). Thanks, James!

 

emerge seems to be working now. Dang, that was terrifying. I almost know what I'm doing sorta.

Link to comment
Share on other sites

  • 0

I could not run epro, then I set eselect for python to python 3.4. It was on python 3.3, and maybe I did that, not sure. I have been studying the python language. So I got epro to work, if it matters, by changing the python 3.X to 3.4.

 

My gcc seems to be royally screwed, per the 'no gcc found' message in second code segment next. Panic setting in.

Locke doug # emerge -1a gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-devel/gcc-5.3.0-r1

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-devel/gcc-5.3.0-r1::gentoo
 * gcc-5.3.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                            [ ok ]
 * mpc-1.0.3.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                             [ ok ]
 * mpfr-3.1.4.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                            [ ok ]
 * gmp-6.1.0.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                             [ ok ]
 * gcc-5.3.0-patches-1.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-5.3.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking mpc-1.0.3.tar.gz to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking mpfr-3.1.4.tar.xz to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking gmp-6.1.0.tar.xz to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking gcc-5.3.0-patches-1.1.tar.bz2 to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Source unpacked in /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Preparing source in /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0 ...
patching file libgcc/Makefile.in
Hunk #1 succeeded at 1099 (offset 154 lines).
Hunk #2 succeeded at 1110 (offset 154 lines).
 * Applying Gentoo patches ...
 *   05_all_gcc-spec-env.patch ...                                                                                                                   [ ok ]
 *   09_all_default-ssp.patch ...                                                                                                                    [ ok ]
 *   10_all_default-fortify-source.patch ...                                                                                                         [ ok ]
 *   11_all_default-warn-format-security.patch ...                                                                                                   [ ok ]
 *   12_all_default-warn-trampolines.patch ...                                                                                                       [ ok ]
 *   20_all_msgfmt-libstdc++-link.patch ...                                                                                                          [ ok ]
 *   25_all_alpha-mieee-default.patch ...                                                                                                            [ ok ]
 *   26_all_alpha-asm-mcpu.patch ...                                                                                                                 [ ok ]
 *   29_all_arm_armv4t-default.patch ...                                                                                                             [ ok ]
 *   34_all_ia64_note.GNU-stack.patch ...                                                                                                            [ ok ]
 *   34_all_libjava-classpath-locale-sort.patch ...                                                                                                  [ ok ]
 *   36_all_gcc-ia64-pr60465.patch ...                                                                                                               [ ok ]
 *   38_all_sh_pr24836_all-archs.patch ...                                                                                                           [ ok ]
 *   42_all_superh_default-multilib.patch ...                                                                                                        [ ok ]
 *   50_all_libiberty-asprintf.patch ...                                                                                                             [ ok ]
 *   51_all_libiberty-pic.patch ...                                                                                                                  [ ok ]
 *   52_all_netbsd-Bsymbolic.patch ...                                                                                                               [ ok ]
 *   53_all_libitm-no-fortify-source.patch ...                                                                                                       [ ok ]
 *   67_all_gcc-poison-system-directories.patch ...                                                                                                  [ ok ]
 *   70_all_gcc-5-pr546752.patch ...                                                                                                                 [ ok ]
 *   74_all_gcc5_isl-dl.patch ...                                                                                                                    [ ok ]
 *   77_all_gcc-5-pr65958.patch ...                                                                                                                  [ ok ]
 *   85_all_gcc5-aarch64-pr65689.patch ...                                                                                                           [ ok ]
 *   90_all_pr55930-dependency-tracking.patch ...                                                                                                    [ ok ]
 *   91_all_pr69140-msabi-stack-alignment.patch ...                                                                                                  [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0 ...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libatomic support... yes
checking for libcilkrts support... yes
checking for libitm support... yes
checking for libvtv support... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/objdir':
configure: error: C compiler cannot create executables
See `config.log' for more details.
 * ERROR: sys-devel/gcc-5.3.0-r1::gentoo failed (configure phase):
 *   configure fail
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_configure
 *   environment, line 2331:  Called die
 * The specific snippet of code:
 *       cd ${WORKDIR}/objdir && ../gcc-${PV}/configure $(use_enable libssp) $(use_enable multilib) --enable-version-specific-runtime-libs --enable-libmudflap --prefix=${PREFIX} --bindir=${BINPATH} --includedir=${LIBPATH}/include --datadir=${DATAPATH} --mandir=${DATAPATH}/man --infodir=${DATAPATH}/info --with-gxx-include-dir=${STDCXX_INCDIR} --enable-libstdcxx-time --enable-__cxa_atexit --enable-clocale=gnu --host=$CHOST --build=$CHOST --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-lto $(use_with graphite cloog) --with-bugurl=http://bugs.funtoo.org --with-pkgversion="$branding" --with-mpfr-include=${S}/mpfr/src --with-mpfr-lib=${WORKDIR}/objdir/mpfr/src/.libs $confgcc || die "configure fail";
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-5.3.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-5.3.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/objdir'
 * S: '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0'

>>> Failed to emerge sys-devel/gcc-5.3.0-r1, Log file:

>>>  '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/temp/build.log'

 * Messages for package sys-devel/gcc-5.3.0-r1:

 * ERROR: sys-devel/gcc-5.3.0-r1::gentoo failed (configure phase):
 *   configure fail
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_configure
 *   environment, line 2331:  Called die
 * The specific snippet of code:
 *       cd ${WORKDIR}/objdir && ../gcc-${PV}/configure $(use_enable libssp) $(use_enable multilib) --enable-version-specific-runtime-libs --enable-libmudflap --prefix=${PREFIX} --bindir=${BINPATH} --includedir=${LIBPATH}/include --datadir=${DATAPATH} --mandir=${DATAPATH}/man --infodir=${DATAPATH}/info --with-gxx-include-dir=${STDCXX_INCDIR} --enable-libstdcxx-time --enable-__cxa_atexit --enable-clocale=gnu --host=$CHOST --build=$CHOST --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-lto $(use_with graphite cloog) --with-bugurl=http://bugs.funtoo.org --with-pkgversion="$branding" --with-mpfr-include=${S}/mpfr/src --with-mpfr-lib=${WORKDIR}/objdir/mpfr/src/.libs $confgcc || die "configure fail";
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-5.3.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-5.3.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/objdir'
 * S: '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0'
Locke doug #
Locke doug # env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
Locke doug # emerge --info '=sys-devel/gcc-5.3.0-r1'
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.3.2 (python 3.4.5-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, [unavailable], glibc-2.22, 4.8.5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.5-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2.1
KiB Mem:     3966328 total,   2125780 free
KiB Swap:    2097148 total,   2097148 free
sh bash 4.3_p48
ld GNU ld (Funtoo 2.25) 2.25.0
app-shells/bash:          4.3_p48::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.3.5-r8::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.1::gentoo
sys-apps/baselayout:      2.2.1::gentoo
sys-apps/openrc:          0.18.3-r2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25-r2::gentoo
sys-devel/gcc:            5.3.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/funtoo/ports-2012.git
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=sandybridge -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread encode exif faac faad ffmpeg flac gcj gdbm gif gpm gtk ico iconv icu ieee1394 ios ipod ipv6 java jpeg jpeg2k lame libass libguess libmpeg2 libnotify lock mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png policykit postproc pppd python quicktime readline resolvconf sasl session sndfile sse sse2 ssl startup-notification svg taglib tcpd theora thunar tiff truetype twolame udev unac unicode v4l vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xattr xml xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

sys-devel/gcc-5.3.0-r1::gentoo was built with the following:
USE="cxx fortran (multilib) nls openmp -ada (-altivec) -doc -go -graphite (-hardened) (-libssp) -objc -objc++ (-sanitize) -vanilla"

Locke doug #
Link to comment
Share on other sites

  • 0

@cardinal, yup. That is exactly the right answer, in the news. I Did the gcc-config 1' (did I unmerge the older gcc?, I know I thought about it with trepidation). I also did the revdep-rebuild, but with no arg, since I saw it somewhere and know it fixes things. Nothing like the hard way of an amateur.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...