Hi, yesterday i was updating some trivial packages when i noticed emerge got broken after updating perl (from [b]perl-5.12.2-r1[/b] to [b]perl-5.12.2-r2[/b]). I've also took a look at /etc/make.conf but i think i did not modify it and after checking it it seems to have no errors. Right not every emerge fails, i think the problem is perl is failing to find need headers or whatever.
GCC and system libraries seems ok: $gcc-config -l [1] x86_64-pc-linux-gnu-4.4.4 * $gcc-config -c x86_64-pc-linux-gnu-4.4.4 $binutils-config -l [1] x86_64-pc-linux-gnu-2.20.1 * $binutils-config -c x86_64-pc-linux-gnu-2.20.1 GCC is working fine: $cat /tmp/test.c #include <stdio.h> void main(){ printf("Hello world\n"); } $gcc test.c -o test && ./test Hello world $cat /etc/make.conf CHOST="x86_64-pc-linux-gnu" LDFLAGS="${LDFLAGS} -Wl,-O1,--hash-style=gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2" ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="Nero-EULA-US dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1" MAKEOPTS="-j6" USE="-acl alsa -berkdb custom-cxxflags -ipv6 -esd exceptions -gdbm -gnome -gstreamer gtkstyle -handbook icu -ldap -kdeprefix -mysql mmx mmxext opengl -pam -perl pic -python qt-copy -semantic-desktop samba sse sse2 sse3 ssse3 -ssl -tcpd v4l v4l2 webkit xinerama xcomposite" PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage DISTDIR=${PORTDIR}/distfiles PKGDIR=${PORTDIR}/packages PORT_LOGDIR=/var/log/portage PORTDIR_OVERLAY="" PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage" PORTAGE_BUILDDIR=/var/tmp/portage PORTAGE_TMPFS="/dev/shm" PORTAGE_ECLASS_WARNING_ENABLE="0" CFLAGS_KERNEL="-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2" LINGUAS="es es_ES" 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 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 filter" NETBEANS_MODULES="php ide apisupport harness java nb websvccommon" INPUT_DEVICES="keyboard mouse joystick penmount evdev" VIDEO_CARDS="nvidia v4l" source /usr/local/portage/layman/make.conf FEATURES="metadata-transfer parallel-fetch ccache" WANT_MP="true" $emerge --info [code] Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.32-reiser4-r7 x86_64) ================================================================= System uname: linux-2.6.32-reiser4-r7-x86_64-intel-r-_core-tm-_i7_cpu_9...@_2.67ghz-with-gentoo-1.12.14 Timestamp of tree: Mon, 08 Nov 2010 13:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -...@eula Nero-EULA-US dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="es...@euro" LC_ALL="es...@euro" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu" LINGUAS="es es_ES" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/qting-edge /usr/local/portage/layman/linuxdna /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups custom-cxxflags cxx dbus dri dts dvd dvdr emboss encode exceptions exif fam firefox flac fortran gif gpm gtk gtkstyle hal iconv icu jpeg lcms libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pango pcre pdf pic png ppds pppd qt-copy qt3support qt4 readline samba sdl session spell sse sse2 sse3 ssse3 startup-notification svg sysfs tiff truetype unicode usb v4l v4l2 vorbis webkit x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 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 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 filter" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse joystick penmount evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" NETBEANS_MODULES="php ide apisupport harness java nb websvccommon" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Here's the output of while trying to emerge some packages: $emerge -va cmake * Mounting 2048M of memory to /var/tmp/portage ... [ ok ] * emerging -va cmake * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-util/cmake-2.8.1-r2 USE="ncurses qt4 -emacs -vim-syntax" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-util/cmake-2.8.1-r2 * cmake-2.8.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: dev-util/cmake-2.8.1-r2 * Repository: gentoo * Maintainer: k...@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib ncurses qt4 userland_GNU >>> Unpacking source... >>> Unpacking cmake-2.8.1.tar.gz to >>> /var/tmp/portage/dev-util/cmake-2.8.1-r2/work >>> Source unpacked in /var/tmp/portage/dev-util/cmake-2.8.1-r2/work >>> Preparing source in >>> /var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1 ... * Applying cmake-FindPythonLibs.patch ... [ ok ] * Applying cmake-FindPythonInterp.patch ... [ ok ] * Applying cmake-2.6.0-interix.patch ... [ ok ] * Applying cmake-2.6.3-darwin-bundle.patch ... [ ok ] * Applying cmake-2.6.3-no-duplicates-in-rpath.patch ... [ ok ] * Applying cmake-2.6.3-fix_broken_lfs_on_aix.patch ... [ ok ] * Applying cmake-2.8.0-darwin-default-install_name.patch ... [ ok ] * Applying cmake-2.8.0-darwin-no-app-with-qt.patch ... [ ok ] * Applying cmake-2.8.1-more-no_host_paths.patch ... [ ok ] * Applying cmake-2.8.1-FindBoost.patch ... [ ok ] * Applying cmake-2.8.1-libform.patch ... [ ok ] * Applying cmake-2.8.1-mpi.patch ... [ ok ] >>> Source prepared. >>> Configuring source in >>> /var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1 ... >>> Working in BUILD_DIR: >>> "/var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1" cmake -C /var/tmp/portage/dev-util/cmake-2.8.1-r2/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DOC_DIR=/share/doc/cmake-2.8.1-r2 -DCMAKE_MAN_DIR=/share/man -DCMAKE_DATA_DIR=/share/cmake -DBUILD_CursesDialog=ON -DBUILD_QtDialog=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-util/cmake-2.8.1-r2/temp/gentoo_rules.cmake /var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1 loading initial cache file /var/tmp/portage/dev-util/cmake-2.8.1-r2/temp/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for C++ include iostream -- Looking for C++ include iostream - found -- Check for STD namespace -- Check for STD namespace - found -- Check for ANSI scope -- Check for ANSI scope - found -- Check for sstream -- Check for sstream - found -- Looking for unsetenv -- Looking for unsetenv - not found. -- Looking for environ -- Looking for environ - not found. -- Checking whether header cstdio is available -- Checking whether header cstdio is available - yes -- Checking for Large File Support -- Checking for Large File Support - yes -- Checking whether STL classes are in std namespace -- Checking whether STL classes are in std namespace - yes -- Checking whether ANSI stream headers are available -- Checking whether ANSI stream headers are available - yes -- Checking whether ANSI streams are in std namespace -- Checking whether ANSI streams are in std namespace - yes -- Checking whether ANSI string stream is available -- Checking whether ANSI string stream is available - yes -- Checking whether header cstddef is available -- Checking whether header cstddef is available - yes -- Checking whether stl string has operator!= for char* -- Checking whether stl string has operator!= for char* - yes -- Checking whether stl has iterator_traits -- Checking whether stl has iterator_traits - yes -- Checking whether stl has standard template allocator -- Checking whether stl has standard template allocator - yes -- Checking for rebind member of stl allocator -- Checking for rebind member of stl allocator - yes -- Checking for non-standard argument to stl allocator<>::max_size -- Checking for non-standard argument to stl allocator<>::max_size - no -- Checking whether stl containers support allocator objects. -- Checking whether stl containers support allocator objects. - yes -- Checking whether ios has binary openmode -- Checking whether ios has binary openmode - yes -- Checking whether "<>" is needed for template friends -- Checking whether "<>" is needed for template friends - yes -- Checking for member template support -- Checking for member template support - yes -- Checking for standard template specialization syntax -- Checking for standard template specialization syntax - yes -- Checking whether argument dependent lookup is supported -- Checking whether argument dependent lookup is supported - yes -- Checking whether struct stat has st_mtim member -- Checking whether struct stat has st_mtim member - yes -- Checking for C type size macros -- Checking for C type size macros - failed -- Looking for sys/types.h -- Looking for sys/types.h - not found -- Looking for stdint.h -- Looking for stdint.h - not found -- Looking for stddef.h -- Looking for stddef.h - not found -- Check size of char -- Check size of char - failed -- Check size of short -- Check size of short - failed -- Check size of int -- Check size of int - failed -- Check size of long -- Check size of long - failed -- Check size of long long -- Check size of long long - failed -- Check size of __int64 -- Check size of __int64 - failed -- Checking whether char is signed -- Checking whether char is signed - yes -- Checking whether C++ compiler has 'long long' -- Checking whether C++ compiler has 'long long' - yes -- Checking if istream supports long long -- Checking if istream supports long long - yes -- Checking if ostream supports long long -- Checking if ostream supports long long - yes -- Checking whether C compiler has ptrdiff_t in stddef.h -- Checking whether C compiler has ptrdiff_t in stddef.h - no -- Checking whether C compiler has ssize_t in unistd.h -- Checking whether C compiler has ssize_t in unistd.h - no -- Using system-installed CURL -- Using system-installed EXPAT -- Using system-installed ZLIB -- Found ZLIB: /usr/lib64/libz.so -- Found CURL: /usr/lib64/libcurl.so -- Found EXPAT: /usr/lib64/libexpat.so -- Looking for wsyncup in /usr/lib64/libcurses.so -- Looking for wsyncup in /usr/lib64/libcurses.so - not found -- Looking for wsyncup in /usr/lib64/libncurses.so -- Looking for wsyncup in /usr/lib64/libncurses.so - not found -- Looking for elf.h -- Looking for elf.h - not found -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.6.3 (using /usr/bin/qmake) -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - not found. -- Looking for a Fortran compiler -- Looking for a Fortran compiler - /usr/bin/gfortran -- Java version 1.6.0.22 configured successfully! -- Found Java: /opt/sun-jdk-1.6.0.22/bin/java -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe -fomit-frame-pointer -msse4 C++ -march=native -O3 -pipe -fomit-frame-pointer -msse4 Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu Module -Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu Shared -Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -Wl,-O1,--hash-style=gnu -- Looking for include files STDC_HEADERS -- Looking for include files STDC_HEADERS - not found. -- Looking for include files HAVE_CTYPE_H -- Looking for include files HAVE_CTYPE_H - not found. -- Looking for include files HAVE_FNMATCH_H -- Looking for include files HAVE_FNMATCH_H - not found. -- Looking for include files HAVE_INTTYPES_H -- Looking for include files HAVE_INTTYPES_H - not found. -- Looking for include files HAVE_IO_H -- Looking for include files HAVE_IO_H - not found. -- Looking for include files HAVE_LIBGEN_H -- Looking for include files HAVE_LIBGEN_H - not found. -- Looking for include files HAVE_MEMORY_H -- Looking for include files HAVE_MEMORY_H - not found. -- Looking for include files HAVE_SYS_MKDEV_H -- Looking for include files HAVE_SYS_MKDEV_H - not found. -- Looking for include files HAVE_STDLIB_H -- Looking for include files HAVE_STDLIB_H - not found. -- Looking for include files HAVE_STDIO_H -- Looking for include files HAVE_STDIO_H - not found. -- Looking for include files HAVE_STRING_H -- Looking for include files HAVE_STRING_H - not found. -- Looking for include files HAVE_STRINGS_H -- Looking for include files HAVE_STRINGS_H - not found. -- Looking for include files HAVE_SYS_PARAM_H -- Looking for include files HAVE_SYS_PARAM_H - not found. -- Looking for include files HAVE_SYS_STAT_H -- Looking for include files HAVE_SYS_STAT_H - not found. -- Looking for include files HAVE_UNISTD_H -- Looking for include files HAVE_UNISTD_H - not found. -- Looking for include files HAVE_GLOB_H -- Looking for include files HAVE_GLOB_H - not found. -- Looking for include files HAVE_DIRENT_H -- Looking for include files HAVE_DIRENT_H - not found. -- Looking for include files HAVE_SYS_SYSMACROS_H -- Looking for include files HAVE_SYS_SYSMACROS_H - not found. -- Looking for basename -- Looking for basename - not found. -- Looking for dirname -- Looking for dirname - not found. -- Looking for fnmatch -- Looking for fnmatch - not found. -- Looking for lchown -- Looking for lchown - not found. -- Looking for snprintf -- Looking for snprintf - not found. -- Looking for strlcpy -- Looking for strlcpy - not found. -- Looking for strmode -- Looking for strmode - not found. -- Looking for strsep -- Looking for strsep - not found. -- Looking for strdup -- Looking for strdup - not found. -- Looking for strftime -- Looking for strftime - not found. -- Looking for vsnprintf -- Looking for vsnprintf - not found. -- Looking for glob -- Looking for glob - not found. -- Looking for major -- Looking for major - not found. -- Looking for minor -- Looking for minor - not found. -- Looking for makedev -- Looking for makedev - not found. -- Check size of dev_t -- Check size of dev_t - failed -- Check size of major_t -- Check size of major_t - failed -- Check size of minor_t -- Check size of minor_t - failed -- Check size of nlink_t -- Check size of nlink_t - failed -- Check size of uint64_t -- Check size of uint64_t - failed -- Check size of gid_t -- Check size of gid_t - failed -- Check size of mode_t -- Check size of mode_t - failed -- Check size of off_t -- Check size of off_t - failed -- Check size of size_t -- Check size of size_t - failed -- Check size of ssize_t -- Check size of ssize_t - failed -- Check size of long -- Check size of long - failed -- Check size of __int64 -- Check size of __int64 - failed -- Check size of uid_t -- Check size of uid_t - failed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1 >>> Source configured. >>> Compiling source in >>> /var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1 ... >>> Working in BUILD_DIR: >>> "/var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1" make -j6 Scanning dependencies of target cmsys_c Scanning dependencies of target cmsys Scanning dependencies of target cmcompress Scanning dependencies of target cmtar [ 1%] [ 2%] Building C object Utilities/cmcompress/CMakeFiles/cmcompress.dir/cmcompress.o [ 2%] [ 2%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/ProcessUNIX.o /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error make[2]: *** [Utilities/cmcompress/CMakeFiles/cmcompress.dir/cmcompress.o] Error 1 make[1]: *** [Utilities/cmcompress/CMakeFiles/cmcompress.dir/all] Error 2 make[1]: *** Se espera a que terminen otras tareas.... [ 3%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/Base64.o Building C object Utilities/cmtar/CMakeFiles/cmtar.dir/append.o [ 3%] Building C object Utilities/cmtar/CMakeFiles/cmtar.dir/block.o [ 3%] /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error make[2]: *** [Source/kwsys/CMakeFiles/cmsys_c.dir/ProcessUNIX.o] Error 1 make[2]: *** Se espera a que terminen otras tareas.... /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error make[2]: *** [Source/kwsys/CMakeFiles/cmsys_c.dir/Base64.o] Error 1 make[1]: *** [Source/kwsys/CMakeFiles/cmsys_c.dir/all] Error 2 Building C object Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.o /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error make[2]: *** [Utilities/cmtar/CMakeFiles/cmtar.dir/append.o] Error 1 make[2]: *** Se espera a que terminen otras tareas.... Building C object Source/kwsys/CMakeFiles/cmsys.dir/Base64.o /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error make[2]: *** [Utilities/cmtar/CMakeFiles/cmtar.dir/block.o] Error 1 [ 3%] /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.o] Error 1 make[2]: *** Se espera a que terminen otras tareas.... Building C object Utilities/cmtar/CMakeFiles/cmtar.dir/decode.o /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/Base64.o] Error 1 make[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2 /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error make[2]: *** [Utilities/cmtar/CMakeFiles/cmtar.dir/decode.o] Error 1 make[1]: *** [Utilities/cmtar/CMakeFiles/cmtar.dir/all] Error 2 make: *** [all] Error 2 emake failed * ERROR: dev-util/cmake-2.8.1-r2 failed: $emerge -va dolphin * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] kde-base/dolphin-4.4.5 USE="thumbnail (-aqua) -debug -handbook (-kdeenablefinal) (-kdeprefix) -semantic-desktop -subversion" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) kde-base/dolphin-4.4.5 * kdebase-4.4.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: kde-base/dolphin-4.4.5 * Repository: gentoo * Maintainer: k...@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib thumbnail userland_GNU >>> Unpacking source... * Unpacking parts of kdebase-4.4.5.tar.bz2 to /var/tmp/portage/kde-base/dolphin-4.4.5/work ... [ ok ] >>> Source unpacked in /var/tmp/portage/kde-base/dolphin-4.4.5/work >>> Preparing source in >>> /var/tmp/portage/kde-base/dolphin-4.4.5/work/dolphin-4.4.5 ... * Injecting library dependencies from 'libkonq' ... [ ok ] >>> Source prepared. >>> Configuring source in >>> /var/tmp/portage/kde-base/dolphin-4.4.5/work/dolphin-4.4.5 ... >>> Working in BUILD_DIR: >>> "/var/tmp/portage/kde-base/dolphin-4.4.5/work/dolphin-4.4.5_build" cmake -C /var/tmp/portage/kde-base/dolphin-4.4.5/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DWITH_Nepomuk=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/dolphin-4.4.5/temp/gentoo_rules.cmake /var/tmp/portage/kde-base/dolphin-4.4.5/work/dolphin-4.4.5 loading initial cache file /var/tmp/portage/kde-base/dolphin-4.4.5/temp/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.6.3 (using /usr/bin/qmake) -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - not found. -- Could NOT find Threads (missing: Threads_FOUND) -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - not found. -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl -- Phonon Version: 4.4.2 -- Found Phonon: /usr/lib64/libphonon.so -- Found Phonon Includes: /usr/include/KDE;/usr/include -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success CMake Error at /usr/share/apps/cmake/modules/MacroEnsureVersion.cmake:76 (MATH): math cannot parse the expression: "/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error*10000 + /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error*100 + 0": syntax error, unexpected exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (1) Call Stack (most recent call first): /usr/share/apps/cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION) /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1137 (macro_ensure_version) /usr/share/cmake/Modules/FindKDE4.cmake:95 (FIND_PACKAGE) CMakeLists.txt:9 (find_package) CMake Error at /usr/share/apps/cmake/modules/MacroEnsureVersion.cmake:76 (MATH): math cannot parse the expression: "/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error*10000 + /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error*100 + 0": syntax error, unexpected exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (1) Call Stack (most recent call first): /usr/share/apps/cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION) /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1138 (macro_ensure_version) /usr/share/cmake/Modules/FindKDE4.cmake:95 (FIND_PACKAGE) CMakeLists.txt:9 (find_package) CMake Error at /usr/share/apps/cmake/modules/MacroEnsureVersion.cmake:76 (MATH): math cannot parse the expression: "/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error*10000 + /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error*100 + 0": syntax error, unexpected exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (1) Call Stack (most recent call first): /usr/share/apps/cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION) /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1139 (macro_ensure_version) /usr/share/cmake/Modules/FindKDE4.cmake:95 (FIND_PACKAGE) CMakeLists.txt:9 (find_package) -- Found KDE 4.4 include dir: /usr/include -- Found KDE 4.4 library dir: /usr/lib64 -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Strigi API needs 'signed char' -- Found Strigi: /usr/lib64/libstreams.so -- Found ZLIB: /usr/lib64/libz.so -- Looking for getpeereid -- Looking for getpeereid - not found -- Looking for statvfs -- Looking for statvfs - not found -- found qimageblitz, version 4.0.0 -- Found QImageBlitz: /usr/include/qimageblitz ----------------------------------------------------------------------------- -- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. ----------------------------------------------------------------------------- * Nepomuk <http://www.kde.org> Nepomuk For adding desktop-wide tagging support to dolphin ----------------------------------------------------------------------------- -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common C++ -march=native -O3 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -fvisibility-inlines-hidden -fvisibility=hidden -fPIC -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual Linker flags: Executable -Wl,--enable-new-dtags -Wl,-O1 -Wl,-z,combreloc -Wl,--relax -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu Module -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,-z,combreloc -Wl,--relax -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu Shared -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,-z,combreloc -Wl,--relax -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu -- Configuring incomplete, errors occurred! * ERROR: kde-base/dolphin-4.4.5 failed: * cmake failed $emerge -va php * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/php-5.3.3-r1 USE="apache2 bzip2 cli crypt ctype curl* exif fileinfo filter gd hash iconv json mysql nls pdo phar posix readline session simplexml spell ssl threads tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xsl zlib (-adabas) -bcmath -berkdb (-birdstep) -calendar -cdb -cgi -cjk -concurrentmodphp -curlwrappers -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) (-firebird) -flatfile -fpm (-frontbase) -ftp -gd-external -gdbm -gmp -imap -inifile -interbase -intl -iodbc -ipv6 -kerberos -kolab -ldap -ldap-sasl -libedit -mssql -mysqli -mysqlnd -oci8 -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp -soap -sockets (-solid) -sqlite -sqlite3 -suhosin (-sybase-ct) -sysvipc -tidy -wddx -xpm -zip" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-lang/php-5.3.3-r1 * php-5.3.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * php-patchset-5.3.3-r2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: dev-lang/php-5.3.3-r1 * Repository: gentoo * Maintainer: php-b...@gentoo.org * USE: amd64 apache2 bzip2 cli crypt ctype curl elibc_glibc exif fileinfo filter gd hash iconv json kernel_linux multilib mysql nls pdo phar posix readline session simplexml spell ssl threads tokenizer truetype unicode userland_GNU xml xmlreader xmlrpc xmlwriter xsl zlib >>> Unpacking source... >>> Unpacking php-5.3.3.tar.bz2 to /var/tmp/portage/dev-lang/php-5.3.3-r1/work >>> Unpacking php-patchset-5.3.3-r2.tar.bz2 to >>> /var/tmp/portage/dev-lang/php-5.3.3-r1/work >>> Source unpacked in /var/tmp/portage/dev-lang/php-5.3.3-r1/work >>> Preparing source in /var/tmp/portage/dev-lang/php-5.3.3-r1/work/php-5.3.3 >>> ... * Applying generic patches and fixes from upstream... * 001_all_multilib.patch ... [ ok ] * 002_all_iodbc-gentoo.patch ... [ ok ] * 003_all_c-client-symlink.patch ... [ ok ] * 004_all_strict_aliasing.patch ... [ ok ] * 005_all_mpm-peruser-itk-test.patch ... [ ok ] * 006_all_mysql-charsetphpini-gentoo.patch ... [ ok ] * 007_all_mysqli-charsetphpini-gentoo.patch ... [ ok ] * 008_all_pdo_mysql-charsetphpini-gentoo.patch ... [ ok ] * 009_all_mysql_defaultport_gentoo.patch ... [ ok ] * 010_all_mysqlnd_defaultport_gentoo.patch ... [ ok ] * 011_all_gmp_bits_per_mp_limb.patch ... [ ok ] * 012_all_oracle_instantclient_define.patch ... [ ok ] * 014_all_ldap--as-needed.patch ... [ ok ] * 015_all_mysql_socket_location-gentoo.patch ... [ ok ] * Done with patching * Running eautoreconf in '/var/tmp/portage/dev-lang/php-5.3.3-r1/work/php-5.3.3' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --install ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: php-5.3.3/ * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/php-5.3.3-r1/work/php-5.3.3 >>> ... * Disabling bcmath * Enabling bz2 * Disabling calendar * Enabling ctype * Enabling curl * Disabling curlwrappers * Enabling dom * Disabling enchant * Enabling exif * Enabling fileinfo * Enabling filter * Disabling ftp * Enabling gettext * Disabling gmp * Enabling hash * Enabling iconv * Disabling intl * Disabling ipv6 * Enabling json * Disabling kerberos * Enabling libxml * Enabling mbstring * Enabling mcrypt * Disabling mssql * Enabling onig * Enabling openssl * Enabling openssl-dir * Disabling pcntl * Enabling phar * Enabling pdo * Disabling pgsql * Enabling posix * Enabling pspell * Disabling recode * Enabling simplexml * Disabling shmop * Disabling snmp * Disabling soap * Disabling sockets * Disabling sqlite3 * Disabling sybase-ct * Disabling sysvmsg * Disabling sysvsem * Disabling sysvshm * Disabling tidy * Enabling tokenizer * Disabling wddx * Enabling xml * Enabling xmlreader * Enabling xmlwriter * Enabling xmlrpc * Enabling xsl * Disabling zip * Enabling zlib * Disabling debug * Disabling cdb * Disabling db4 * Disabling flatfile * Disabling gdbm * Disabling inifile * Disabling qdbm * Enabling freetype-dir * Enabling t1lib * Disabling gd-jis-conv * Enabling jpeg-dir * Enabling png-dir * Disabling xpm-dir * Enabling gd * Disabling interbase * Disabling interbase * Enabling mysql * Enabling mysql-sock * Disabling mysqli * Disabling oci8 * Disabling pdo-dblib * Enabling pdo-mysql * Disabling pdo-pgsql * Disabling pdo-sqlite * Disabling pdo-odbc * Enabling readline * Disabling libedit * Disabling mm * Disabling sqlite * econf: updating sapis-build/cli/config.guess with /usr/share/gnuconfig/config.guess * econf: updating sapis-build/cli/config.sub with /usr/share/gnuconfig/config.sub * econf: updating php-5.3.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating php-5.3.3/config.sub with /usr/share/gnuconfig/config.sub ./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 --prefix=/usr/lib64/php5 --mandir=/usr/lib64/php5/man --infodir=/usr/lib64/php5/info --libdir=/usr/lib64/php5/lib --with-libdir=lib64 --without-pear --enable-maintainer-zts --disable-bcmath --with-bz2 --disable-calendar --with-curl --without-curlwrappers --without-enchant --enable-exif --disable-ftp --with-gettext --without-gmp --disable-intl --disable-ipv6 --without-kerberos --enable-mbstring --with-mcrypt --without-mssql --with-onig=/usr --with-openssl --with-openssl-dir=/usr --disable-pcntl --without-pgsql --with-pspell --without-recode --disable-shmop --without-snmp --disable-soap --disable-sockets --without-sqlite3 --without-sybase-ct --disable-sysvmsg --disable-sysvsem --disable-sysvshm --without-tidy --disable-wddx --with-xmlrpc --with-xsl --disable-zip --with-zlib --disable-debug --without-cdb --without-db4 --disable-flatfile --without-gdbm --disable-inifile --without-qdbm --with-freetype-dir=/usr --with-t1lib=/usr --disable-gd-jis-conv --with-jpeg-dir=/usr --with-png-dir=/usr --without-xpm-dir --with-gd --without-interbase --without-interbase --with-mysql=/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock --without-mysqli --without-oci8 --without-pdo-dblib --with-pdo-mysql=/usr --without-pdo-pgsql --without-pdo-sqlite --without-pdo-odbc --with-readline --without-libedit --without-mm --without-sqlite --with-pcre-regex=/usr --with-pcre-dir=/usr --with-config-file-path=/etc/php/cli-php5 --with-config-file-scan-dir=/etc/php/cli-php5/ext-active --enable-cli --disable-cgi --disable-fpm --disable-embed --without-apxs2 checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed 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 Updated main/php_version.h checking for x86_64-pc-linux-gnu-cc... no 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/dev-lang/php-5.3.3-r1/work/sapis-build/cli': configure: error: C compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/config.log * ERROR: dev-lang/php-5.3.3-r1 failed: * econf failed * I hope someone can help as a working emerge is critical on any Gentoo system, thanks in advanced :)