Skip to content

Instantly share code, notes, and snippets.

@dmalikov
Created April 20, 2013 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmalikov/04a3db2c6c91793cce15 to your computer and use it in GitHub Desktop.
Save dmalikov/04a3db2c6c91793cce15 to your computer and use it in GitHub Desktop.
emerge media-sound/mpc failed
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/mpc-0.23
* mpc-0.23.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking mpc-0.23.tar.bz2 to /var/tmp/portage/media-sound/mpc-0.23/work
>>> Source unpacked in /var/tmp/portage/media-sound/mpc-0.23/work
>>> Preparing source in /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --enable-iconv --docdir=/usr/share/doc/mpc-0.23
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 for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23':
configure: error: C compiler cannot create executables
See `config.log' for more details
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/config.log
* ERROR: media-sound/mpc-0.23 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 174: Called econf '--enable-iconv' '--docdir=/usr/share/doc/mpc-0.23'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=media-sound/mpc-0.23'`,
* the complete build log and the output of `emerge -pqv '=media-sound/mpc-0.23'`.
* The complete build log is located at '/var/log/portage/media-sound:mpc-0.23:20130420-211714.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/mpc-0.23/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/mpc-0.23/temp/environment'.
* Working directory: '/var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23'
* S: '/var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23'
>>> Failed to emerge media-sound/mpc-0.23, Log file:
>>> '/var/log/portage/media-sound:mpc-0.23:20130420-211714.log'
* Messages for package media-sound/mpc-0.23:
* ERROR: media-sound/mpc-0.23 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 174: Called econf '--enable-iconv' '--docdir=/usr/share/doc/mpc-0.23'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=media-sound/mpc-0.23'`,
* the complete build log and the output of `emerge -pqv '=media-sound/mpc-0.23'`.
* The complete build log is located at '/var/log/portage/media-sound:mpc-0.23:20130420-211714.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/mpc-0.23/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/mpc-0.23/temp/environment'.
* Working directory: '/var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23'
* S: '/var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23'
>> cat /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/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 mpc configure 0.23, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --enable-iconv --docdir=/usr/share/doc/mpc-0.23
## --------- ##
## Platform. ##
## --------- ##
hostname = x220
uname -m = x86_64
uname -r = 3.7.10-gentoo
uname -s = Linux
uname -v = #7 SMP Fri Apr 19 23:32:41 MSK 2013
/usr/bin/uname -p = Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz
/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/lib64/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/x86_64-pc-linux-gnu/gcc-bin/4.6.3
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2210: checking for a BSD-compatible install
configure:2278: result: /usr/bin/install -c
configure:2289: checking whether build environment is sane
configure:2326: result: yes
configure:2453: checking for a thread-safe mkdir -p
configure:2492: result: /bin/mkdir -p
configure:2505: checking for gawk
configure:2521: found /usr/bin/gawk
configure:2532: result: gawk
configure:2543: checking whether make sets $(MAKE)
configure:2565: result: yes
configure:2662: checking for style of include used by make
configure:2690: result: GNU
configure:2720: checking for x86_64-pc-linux-gnu-gcc
configure:2736: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2747: result: x86_64-pc-linux-gnu-gcc
configure:3016: checking for C compiler version
configure:3025: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 4.6.3 p1.11, pie-0.5.2) 4.6.3
Copyright (C) 2011 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:3036: $? = 0
configure:3025: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.11, pie-0.5.2'
Thread model: posix
gcc version 4.6.3 (Gentoo 4.6.3 p1.11, pie-0.5.2)
configure:3036: $? = 0
configure:3025: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3036: $? = 1
configure:3025: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized option '-qversion'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3036: $? = 1
configure:3056: checking whether the C compiler works
configure:3078: x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
configure:3082: $? = 1
configure:3120: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "mpc"
| #define PACKAGE_TARNAME "mpc"
| #define PACKAGE_VERSION "0.23"
| #define PACKAGE_STRING "mpc 0.23"
| #define PACKAGE_BUGREPORT "musicpd-dev-team@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "mpc"
| #define VERSION "0.23"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3125: error: in `/var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23':
configure:3127: 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='-march=native -O3 -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_LIBMPDCLIENT_CFLAGS_set=
ac_cv_env_LIBMPDCLIENT_CFLAGS_value=
ac_cv_env_LIBMPDCLIENT_LIBS_set=
ac_cv_env_LIBMPDCLIENT_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib64/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-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=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='${SHELL} /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/missing --run tar'
AM_CFLAGS=''
AM_CPPFLAGS=''
AUTOCONF='${SHELL} /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/missing --run automake-1.10'
AWK='gawk'
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=native -O3 -pipe'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HAVE_ICONV_FALSE=''
HAVE_ICONV_TRUE=''
ICONV_CPPFLAGS=''
ICONV_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBMPDCLIENT_CFLAGS=''
LIBMPDCLIENT_LIBS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
MPC_LIBS=''
OBJEXT=''
PACKAGE='mpc'
PACKAGE_BUGREPORT='musicpd-dev-team@lists.sourceforge.net'
PACKAGE_NAME='mpc'
PACKAGE_STRING='mpc 0.23'
PACKAGE_TARNAME='mpc'
PACKAGE_URL=''
PACKAGE_VERSION='0.23'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/lib64/pkgconfig'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.23'
ac_ct_CC=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias='x86_64-pc-linux-gnu'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/mpc-0.23'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='x86_64-pc-linux-gnu'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='$(SHELL) /var/tmp/portage/media-sound/mpc-0.23/work/mpc-0.23/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/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 "mpc"
#define PACKAGE_TARNAME "mpc"
#define PACKAGE_VERSION "0.23"
#define PACKAGE_STRING "mpc 0.23"
#define PACKAGE_BUGREPORT "musicpd-dev-team@lists.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "mpc"
#define VERSION "0.23"
configure: exit 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment