You are not logged in.
This has happened to me twice now on this laptop. Straight after installing my system and the packages from my saved cache, I try to build a few of my AUR packages, only to be told that the compiler can't create executables. Somehow I fixed it the last time and I can't remember what I did. Purging gcc hasn't helped.
I don't have a fast (or even reliable) internet connection, so I can't do a system upgrade as I've got a limit of < 250 MB.
For the record, I'm trying to compile pacman-color, and this is what I get:
patching file src/pacman/callback.c
patching file src/pacman/package.c
patching file src/pacman/pacman.c
patching file src/pacman/query.c
patching file src/pacman/remove.c
patching file src/pacman/sync.c
patching file src/pacman/upgrade.c
patching file src/pacman/util.c
patching file src/pacman/util.h
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /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 gawk... (cached) gawk
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
Aborting...
And this is 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 pacman configure 3.5.4, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-doc
## --------- ##
## Platform. ##
## --------- ##
hostname = magrathea
uname -m = x86_64
uname -r = 3.0-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/robbie/bin
PATH: /usr/share/fslint/fslint
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin/vendor_perl
PATH: /usr/lib/perl5/vendor_perl/bin
PATH: /usr/bin/core_perl
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2468: checking build system type
configure:2482: result: x86_64-unknown-linux-gnu
configure:2502: checking host system type
configure:2515: result: x86_64-unknown-linux-gnu
configure:2551: checking for a BSD-compatible install
configure:2619: result: /bin/install -c
configure:2630: checking whether build environment is sane
configure:2680: result: yes
configure:2821: checking for a thread-safe mkdir -p
configure:2860: result: /bin/mkdir -p
configure:2873: checking for gawk
configure:2889: found /usr/bin/gawk
configure:2900: result: gawk
configure:2911: checking whether make sets $(MAKE)
configure:2933: result: yes
configure:3128: checking for gawk
configure:3155: result: gawk
configure:3178: checking for style of include used by make
configure:3206: result: GNU
configure:3276: checking for gcc
configure:3292: found /usr/bin/gcc
configure:3303: result: gcc
configure:3532: checking for C compiler version
configure:3541: gcc --version >&5
gcc (GCC) 4.6.1 20110819 (prerelease)
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:3552: $? = 0
configure:3541: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.6-20110819/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --disable-libstdcxx-pch --enable-checking=release
Thread model: posix
gcc version 4.6.1 20110819 (prerelease) (GCC)
configure:3552: $? = 0
configure:3541: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3552: $? = 1
configure:3541: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3552: $? = 1
configure:3572: checking whether the C compiler works
configure:3594: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c >&5
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/cc1: error while loading shared libraries: libcloog-isl.so.2: cannot open shared object file: No such file or directory
configure:3598: $? = 1
configure:3636: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pacman"
| #define PACKAGE_TARNAME "pacman"
| #define PACKAGE_VERSION "3.5.4"
| #define PACKAGE_STRING "pacman 3.5.4"
| #define PACKAGE_BUGREPORT "pacman-dev@archlinux.org"
| #define PACKAGE_URL ""
| #define PACKAGE "pacman"
| #define VERSION "3.5.4"
| #define LIB_VERSION "6.0.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3641: error: in `/home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4':
configure:3643: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
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,--sort-common,--as-needed,-z,relro,--hash-style=gnu
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run tar'
AR=''
ASCIIDOC=''
AUTOCONF='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run autoconf'
AUTOHEADER='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run autoheader'
AUTOMAKE='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run automake-1.11'
AWK='gawk'
BASH_SHELL=''
BUILDSCRIPT='PKGBUILD'
CARCH=''
CARCHFLAGS=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
CHOST='x86_64-unknown-linux-gnu'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
CYGWIN_FALSE=''
CYGWIN_TRUE=''
DARWIN_FALSE=''
DARWIN_TRUE=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DOXYGEN=''
DSYMUTIL=''
DUMPBIN=''
DUPATH=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GNU89_INLINE_CC_FALSE=''
ENABLE_GNU89_INLINE_CC_TRUE=''
ENABLE_VISIBILITY_CC_FALSE=''
ENABLE_VISIBILITY_CC_TRUE=''
EXEEXT=''
FGREP=''
GETTEXT_MACRO_VERSION=''
GIT=''
GMSGFMT=''
GMSGFMT_015=''
GREP=''
HAVE_LIBFETCH_FALSE=''
HAVE_LIBFETCH_TRUE=''
HAVE_LIBSSL_FALSE=''
HAVE_LIBSSL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LD=''
LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_VERSION='6.0.4'
LIB_VERSION_INFO='6:4:0'
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='pacman'
PACKAGE_BUGREPORT='pacman-dev@archlinux.org'
PACKAGE_NAME='pacman'
PACKAGE_STRING='pacman 3.5.4'
PACKAGE_TARNAME='pacman'
PACKAGE_URL=''
PACKAGE_VERSION='3.5.4'
PATH_SEPARATOR=':'
PKGEXT='.pkg.tar.gz'
POSUB=''
PYTHON=''
RANLIB=''
ROOTDIR='/'
SED=''
SEDINPLACE=''
SET_MAKE=''
SHELL='/bin/sh'
SIZECMD=''
SRCEXT='.src.tar.gz'
STRIP=''
STRIP_BINARIES=''
STRIP_SHARED=''
STRIP_STATIC=''
USE_DOXYGEN_FALSE=''
USE_DOXYGEN_TRUE=''
USE_GIT_VERSION_FALSE=''
USE_GIT_VERSION_TRUE=''
USE_NLS=''
VERSION='3.5.4'
WANT_DOC_FALSE=''
WANT_DOC_TRUE=''
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
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='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/robbie/build/aur-updated/pacman-color/src/pacman-3.5.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/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 "pacman"
#define PACKAGE_TARNAME "pacman"
#define PACKAGE_VERSION "3.5.4"
#define PACKAGE_STRING "pacman 3.5.4"
#define PACKAGE_BUGREPORT "pacman-dev@archlinux.org"
#define PACKAGE_URL ""
#define PACKAGE "pacman"
#define VERSION "3.5.4"
#define LIB_VERSION "6.0.4"
configure: exit 77
I'm at a loss as to how I can get this working again, or why it happens in the first place.
Last edited by zoqaeski (2011-10-03 16:29:49)
Offline
pacman -Syu base-devel, as the wiki clearly states?
btw: partial updates doesn't work with binary based rolling release distroes. Either update the system or use a fixed release distro.
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/cc1: error while loading shared libraries: libcloog-isl.so.2: cannot open shared object file: No such file or directory
This is one of the problems you will get when you have a partialy updated system. (or use pacman -S/R -dd)
Last edited by Mr.Elendig (2011-10-05 11:38:28)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline