FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-08-2010, 12:33 PM
Pau Peris
 
Default Perl update = emerge cannot create executables

Hi, yesterday i was updating some trivial packages when i noticed
emerge got broken after updating perl (from perl-5.12.2-r1 to
perl-5.12.2-r2). 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
");
}

$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_920_@_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_ES@euro"
LC_ALL="es_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: kde@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: kde@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-bugs@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
 
Old 11-08-2010, 12:57 PM
Mick
 
Default Perl update = emerge cannot create executables

On Monday 08 November 2010 13:33:23 Pau Peris wrote:
> Hi, yesterday i was updating some trivial packages when i noticed
> emerge got broken after updating perl (from perl-5.12.2-r1 to
> perl-5.12.2-r2). 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.
[snip ...]

> I hope someone can help as a working emerge is critical on any Gentoo
> system, thanks in advanced

A few quick things to check:

Did you run 'perl-cleaner --all'?

Did you run 'lafilefixer --justfixit'?

Did you run 'revdep-rebuild -v -i -- --ask'?

Did you try to remerge what is failing with MAKEOPTS="-j1"?
--
Regards,
Mick
 
Old 11-08-2010, 01:00 PM
Bill Longman
 
Default Perl update = emerge cannot create executables

On 11/08/2010 05:33 AM, Pau Peris wrote:
> Hi, yesterday i was updating some trivial packages when i noticed
> emerge got broken after updating perl (from perl-5.12.2-r1 to
> perl-5.12.2-r2). 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:
>

<snipped>

> I hope someone can help as a working emerge is critical on any Gentoo
> system, thanks in advanced

I had to re-emerge two perl packages - extutils-depends and
extutils-pkgconfig, then I was fine.
 
Old 11-08-2010, 01:26 PM
Pau Peris
 
Default Perl update = emerge cannot create executables

Thanks for the answers

Yes, i've run al of the above commands except the oen with MAKEOPTS="-j1"

Also re-emerge extutils-depends and extutils-pkgconfig didn't helped,
but is strange that they emerged fine.

One thing which took my atention but seem not to be critical was:

Code:
 * Updating ph files.
 * Ignore all "No such file..." messages!
Can't open syslimits.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stdarg.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Also strange the path which is returned by running:

perl-cleaner --leftovers
Code:
 * Finding left over modules and header

 * The following files remain. These were either installed by hand
 * or edited. This script cannot deal with them.

/usr/lib32/perl5/5.8.8/i686-linux/auto/B/B.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/B/C/C.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/ByteLoader/ByteLoader.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Cwd/Cwd.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/DB_File/DB_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/DProf/DProf.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/PPPort/PPPort.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/Peek/Peek.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Byte/Byte.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/CN/CN.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/EBCDIC/EBCDIC.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/JP/JP.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/KR/KR.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Symbol/Symbol.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/TW/TW.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Unicode/Unicode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/File/Glob/Glob.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Filter/Util/Call/Call.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/GDBM_File/GDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/I18N/Langinfo/Langinfo.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/IO/IO.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/IPC/SysV/SysV.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/List/Util/Util.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/MIME/Base64/Base64.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/NDBM_File/NDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Opcode/Opcode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/encoding/encoding.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/scalar/scalar.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/via/via.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/SDBM_File/SDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Socket/Socket.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Storable/Storable.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Sys/Hostname/Hostname.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Sys/Syslog/Syslog.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Time/HiRes/HiRes.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Unicode/Normalize/Normalize.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/XS/APItest/APItest.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/XS/Typemap/Typemap.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/attrs/attrs.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/re/re.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/threads/shared/shared.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/threads/threads.so
/usr/lib64/perl5/vendor_perl/5.8.8/XML/SAX/ParserDetails.ini
/usr/lib64/perl5/5.8.8/x86_64-linux/Encode/ConfigLocal.pm
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode/ConfigLocal.pm
$ls /usr/lib32/perl5/
Code:
5.8.8
$ls /usr/lib64/perl5/
Code:
5.12.2  5.8.8  vendor_perl
Would it be safe to remove 5.8.8 directory? what's also strange is
that the system has been running fine for years...

That's the error i get when trying to emerge perl and chost is set to
CHOST="x86_64-pc-linux-gnu" at /etc/make.conf

emerge perl
Code:
emerge -va perl
 * Mounting 2048M of memory to /var/tmp/portage ...

     [ ok ]
 * emerging -va perl


 * 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/perl-5.12.2-r2  USE="ithreads -berkdb -build
-debug -doc -gdbm" 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/perl-5.12.2-r2
 * perl-5.12.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

    [ ok ]
 * perl-5.12.2-5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

    [ ok ]
 * Package:    dev-lang/perl-5.12.2-r2
 * Repository: gentoo
 * Maintainer: perl@gentoo.org
 * USE:  amd64 elibc_glibc ithreads kernel_linux multilib userland_GNU

 * THREADS WARNING:
 * PLEASE NOTE: You are compiling perl-5.12.2 with
 * interpreter-level threading enabled.
 * Threading is not supported by all applications
 * that compile against perl. You use threading at
 * your own discretion.
>>> Unpacking source...
>>> Unpacking perl-5.12.2.tar.bz2 to /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Unpacking perl-5.12.2-5.tar.bz2 to /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Source unpacked in /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Preparing source in /var/tmp/portage/dev-lang/perl-5.12.2-r2/work/perl-5.12.2 ...
 * Applying various patches (bugfixes/updates) ...
 *   0001-gentoo_MakeMaker-RUNPATH.diff ...

    [ ok ]
 *   0002-gentoo_config__over.diff ...

    [ ok ]
 *   0003-gentoo_cpan__definstalldirs.diff ...

    [ ok ]
 *   0004-gentoo_cpanplus__definstalldirs.diff ...

    [ ok ]
 *   0005-gentoo_create-libperl-soname.diff ...

    [ ok ]
 *   0006-gentoo_MakeMaker-delete__packlist.diff ...

    [ ok ]
 *   0007-fixes_8d66b3f9__h2hp__fix.diff ...

    [ ok ]
 *   0008-fixes_f178b03b__h2ph__using__deprecated__goto.diff ...

    [ ok ]
 *   0009-gentoo_mod-paths.diff ...

    [ ok ]
 *   0010-gentoo_enc2xs.diff ...

    [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/perl-5.12.2-r2/work/perl-5.12.2 ...
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
 * ERROR: dev-lang/perl-5.12.2-r2 failed:
After changing chost at /etc/make.conf to CHOST="x86_64-pc-linux-gnu-gcc"
emerge perl runs fine:
Code:
emerge -va perl
 * Mounting 2048M of memory to /var/tmp/portage ...

     [ ok ]
 * emerging -va perl

 * 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/perl-5.12.2-r2  USE="ithreads -berkdb -build
-debug -doc -gdbm" 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/perl-5.12.2-r2
 * perl-5.12.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

    [ ok ]
 * perl-5.12.2-5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

    [ ok ]
 * Package:    dev-lang/perl-5.12.2-r2
 * Repository: gentoo
 * Maintainer: perl@gentoo.org
 * USE:  amd64 elibc_glibc ithreads kernel_linux multilib userland_GNU

 * THREADS WARNING:
 * PLEASE NOTE: You are compiling perl-5.12.2 with
 * interpreter-level threading enabled.
 * Threading is not supported by all applications
 * that compile against perl. You use threading at
 * your own discretion.
>>> Unpacking source...
>>> Unpacking perl-5.12.2.tar.bz2 to /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Unpacking perl-5.12.2-5.tar.bz2 to /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Source unpacked in /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Preparing source in /var/tmp/portage/dev-lang/perl-5.12.2-r2/work/perl-5.12.2 ...
 * Applying various patches (bugfixes/updates) ...
 *   0001-gentoo_MakeMaker-RUNPATH.diff ...

    [ ok ]
 *   0002-gentoo_config__over.diff ...

    [ ok ]
 *   0003-gentoo_cpan__definstalldirs.diff ...

    [ ok ]
 *   0004-gentoo_cpanplus__definstalldirs.diff ...

    [ ok ]
 *   0005-gentoo_create-libperl-soname.diff ...

    [ ok ]
 *   0006-gentoo_MakeMaker-delete__packlist.diff ...

    [ ok ]
 *   0007-fixes_8d66b3f9__h2hp__fix.diff ...

    [ ok ]
 *   0008-fixes_f178b03b__h2ph__using__deprecated__goto.diff ...

    [ ok ]
 *   0009-gentoo_mod-paths.diff ...

    [ ok ]
 *   0010-gentoo_enc2xs.diff ...

    [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/perl-5.12.2-r2/work/perl-5.12.2 ...
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1           dos_djgpp       irix_6          openbsd       sunos_4_1
aix           dragonfly       irix_6_0        opus          super-ux
aix_3         dynix           irix_6_1        os2           svr4
aix_4         dynixptx        isc             os390         svr5
altos486      epix            isc_2           os400         ti1500
amigaos       esix4           linux           posix-bc      titanos
apollo        fps             lynxos          powerux       ultrix_4
atheos        freebsd         midnightbsd     qnx           umips
aux_3         genix           mips            rhapsody      unicos
beos          gnu             mirbsd          riscos        unicosmk
bsdos         gnukfreebsd     mpc             sco           unisysdynix
catamount     gnuknetbsd      mpeix           sco_2_3_0     utekv
convexos      greenhills      ncr_tower       sco_2_3_1     uts
cxux          haiku           netbsd          sco_2_3_2     uwin
cygwin        hpux            newsos4         sco_2_3_3     vmesa
darwin        i386            next_3          sco_2_3_4     vos
dcosx         interix         next_3_0        solaris_2
dec_osf       irix_4          next_4          stellar
dgux          irix_5          nonstopux       sunos_4_0
Which of these apply, if any? [linux]

You appear to have ELF support.  I'll try to use it for dynamic loading.
If dynamic loading doesn't work, read hints/linux.sh for further information.
nm: /usr/lib/libdb.so: no symbols
nm: /usr/lib64/libdb.so: no symbols
Operating system name? [linux]
Operating system version? [2.6.32-reiser4-r7]
Installation prefix to use? (~name ok) [/usr]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Getting the current patchlevel...
Build a threading Perl? [y]
Use which C compiler? [gcc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches?
[/usr/local/lib64 /lib64 /usr/lib64]
What is the file extension used for shared libraries? [so]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc]
What optimizer/debugger flag should be used?
[-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2]
Any additional cc flags?
[-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[-Wl,-O1 -Wl,--as-needed -fstack-protector]
Checking your choice of C compiler and flags for coherency...
Computing filename position in cpp output for #include directives...
<stdlib.h> found.
Checking to see how big your integers are...
Checking to see if you have long long...
Checking to see how big your long longs are...
<inttypes.h> found.
Checking to see if you have int64_t...
Checking which 64-bit integer type we could use...
We could use 'long' for 64-bit integers.
Try to use maximal 64-bit support, if available? [y]
Checking to see how big your double precision numbers are...
Checking to see if you have long double...
Checking to see how big your long doubles are...
What is your architecture name [x86_64-linux-thread]
Threads selected.
...and architecture name already has -thread.
Multiplicity selected.
...setting architecture name to x86_64-linux-thread-multi.
This architecture is naturally 64-bit, not changing architecture name.
Perlio selected.
Pathname where the public executables will reside? (~name ok) [/usr/bin]
Use relocatable @INC? [n]
Pathname where the private library files will reside? (~name ok)
[/usr/lib64/perl5/5.12.2]
Where do you want to put the public architecture-dependent libraries? (~name ok)
[/usr/lib64/perl5/5.12.2/x86_64-linux-thread-multi]
Other username to test security of setuid scripts with? [none]
Well, the recommended value is *not* secure.
Does your kernel have *secure* setuid scripts? [n]
Installation prefix to use for add-on modules and utilities? (~name ok)
[/usr]
Pathname for the site-specific library files? (~name ok)
[/usr/lib64/perl5/site_perl/5.12.2]
List of earlier versions to include in @INC?
[5.12.1/x86_64-linux-thread-multi 5.12.1
5.12.0/x86_64-linux-thread-multi 5.12.0 ]
<malloc/malloc.h> NOT found.
<malloc.h> found.
Checking to see how well your C compiler groks the void type...
Good.  It appears to support void to the level perl5 wants.
Checking to see how big your pointers are...
Do you wish to wrap malloc calls to protect against potential overflows? [y]
Do you wish to attempt to use the malloc that comes with perl5? [n]
Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.
Pathname for the site-specific architecture-dependent library files? (~name ok)
[/usr/lib64/perl5/site_perl/5.12.2/x86_64-linux-thread-multi]
Do you want to configure vendor-specific add-on directories? [y]
Installation prefix to use for vendor-supplied add-ons? (~name ok) [/usr]
Pathname for the vendor-supplied library files? (~name ok)
[/usr/lib64/perl5/vendor_perl/5.12.2]
Pathname for vendor-supplied architecture-dependent files? (~name ok)
[/usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi]
Colon-separated list of additional directories for perl to search? [none]
Checking out function prototypes...
Support DTrace if available? [n]
Install any extra modules (y or n)? [n]
Directory for the main Perl5 html pages? (~name ok) [none]
Directory for the Perl5 module html pages? (~name ok) [none]
Checking for GNU C Library...
Shall I use /usr/bin/nm to extract C symbols from the libraries? [n]
<dld.h> NOT found.
Checking for C++...
dlopen() found.
<unistd.h> found.
Do you wish to use dynamic loading? [y]
Source file to use for dynamic loading [ext/DynaLoader/dl_dlopen.xs]
Any special flags to pass to gcc -c to compile shared library modules?
[-fPIC]
What command should be used to create dynamic libraries? [gcc]
Any special flags to pass to gcc to create a dynamically loaded library?
[-shared -march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1
-msse4.2 -fstack-protector]
Any special flags to pass to gcc to use dynamic linking? [-Wl,-E]
Build a shared libperl.so (y/n) [y]
What name do you want to give to the shared libperl? [libperl.so.5.12.2]

Adding -Wl,-rpath,/usr/lib64/perl5/5.12.2/x86_64-linux-thread-multi/CORE
to the flags
passed to gcc so that the perl executable will find the
installed shared libperl.so.5.12.2.

System manual is in /usr/share/man/man1.
Where do the main Perl5 manual pages (source) go? (~name ok)
[/usr/share/man/man1]
What suffix should be used for the main Perl5 man pages? [1]
You can have filenames longer than 14 characters.
Where do the perl5 library man pages (source) go? (~name ok)
[/usr/share/man/man3]
What suffix should be used for the perl5 library man pages? [3pm]
Figuring out host name...
Your host name appears to be "localhost". Right? [y]
What is your domain name? [.(none)]
What is your e-mail address? [Gentoo@localhost.(none)]
Perl administrator e-mail address [root@localhost]
Do you want to install only the version-specific parts of perl? [n]
What shall I put after the #! to start up perl ("none" to not use #!)?
[/usr/bin/perl]
Where do you keep publicly executable scripts? (~name ok) [/usr/bin]
Pathname where the add-on public executables should be installed? (~name ok)
[/usr/bin]
Pathname where the site-specific html pages should be installed? (~name ok)
[none]
Pathname where the site-specific library html pages should be
installed? (~name ok)
[none]
Pathname where the site-specific manual pages should be installed? (~name ok)
[/usr/share/man/man1]
Pathname where the site-specific library manual pages should be
installed? (~name ok)
[/usr/share/man/man3]
Pathname where add-on public executable scripts should be installed? (~name ok)
[/usr/bin]
Use the "fast stdio" if available? [n]
off_t found.
Checking to see how big your file offsets are...
fpos_t found.
Checking the size of fpos_t...
Try to understand large files, if available? [y]
Rechecking to see how big your file offsets are...
Rechecking the size of fpos_t... 16 bytes.
Pathname for the vendor-supplied executables directory? (~name ok)
[/usr/bin]
Pathname for the vendor-supplied html pages? (~name ok) [none]
Pathname for the vendor-supplied html pages? (~name ok) [none]
Pathname for the vendor-supplied manual section 1 pages? (~name ok)
[/usr/share/man/man1]
Pathname for the vendor-supplied manual section 3 pages? (~name ok)
[/usr/share/man/man3]
Pathname for the vendor-supplied scripts directory? (~name ok) [/usr/bin]
Using <string.h> instead of <strings.h>.
qgcvt() found.
Checking how to print long doubles...
gconvert NOT found.
gcvt() found.
I'll use gcvt to convert floats into a string.
fwalk() NOT found.
access() found.
<sys/file.h> defines the *_OK access constants.
accessx() NOT found.
aintl() NOT found.
alarm() found.
ctime64() NOT found.
localtime64() NOT found.
gmtime64() NOT found.
mktime64() NOT found.
difftime64() NOT found.
asctime64() NOT found.
<pthread.h> found.
<sys/types.h> found.
<sys/select.h> found.
Testing to see if we should include <time.h>, <sys/time.h> or both.
We'll include <time.h>.
We'll include <sys/time.h>.
Checking to see if your struct tm has tm_zone field...
Checking to see if your struct tm has tm_gmtoff field...
asctime_r() found.
atolf() NOT found.
atoll() found.
Checking whether your compiler can handle __attribute__((format)) ...
Checking whether your compiler allows __printf__ format to be null ...
Checking whether your compiler can handle __attribute__((malloc)) ...
Checking whether your compiler can handle __attribute__((nonnull(1))) ...
Checking whether your compiler can handle __attribute__((noreturn)) ...
Checking whether your compiler can handle __attribute__((pure)) ...
Checking whether your compiler can handle __attribute__((unused)) ...
Checking whether your compiler can handle __attribute__((deprecated)) ...
Checking whether your compiler can handle
__attribute__((warn_unused_result)) ...
bcmp() found.
bcopy() found.
getpgrp() found.
You have to use getpgrp() instead of getpgrp(pid).
setpgrp() found.
You have to use setpgrp() instead of setpgrp(pid,pgrp).
Checking whether your compiler can handle __builtin_choose_expr ...
Checking whether your compiler can handle __builtin_expect ...
bzero() found.
<stdarg.h> found.
<varargs.h> found.
We'll include <stdarg.h> to get va_dcl definition.
You have <stdarg.h> and <stdlib.h>, so checking for C99 variadic macros.
You have C99 variadic macros.
You have void (*signal())().
Checking whether your C compiler can cast large floats to int32.
Checking whether your C compiler can cast negative float to unsigned.
vprintf() found.
Your vsprintf() returns (int).
chown() found.
chroot() found.
chsize() NOT found.
class() NOT found.
clearenv() found.
Hmm... Looks like you have Berkeley networking support.
socketpair() found.
Checking the availability of certain socket constants...
<sys/uio.h> found.
Checking to see if your system supports struct cmsghdr...
Checking to see if your C compiler knows about "const"...
copysignl() found.
crypt() found.
<crypt.h> found.
crypt_r() found.
ctermid() found.
ctermid_r() NOT found.
ctime_r() found.
cuserid() found.
<limits.h> found.
<float.h> found.
DBL_DIG found.
dbmclose() NOT found.
difftime() found.
<dirent.h> found.
Your directory entries are struct dirent.
Your directory entry does not know about the d_namlen field.
Checking to see if DIR has a dd_fd member variable
<sys/dir.h> found.
<sys/ndir.h> NOT found.
dirfd() found.
dlerror() found.
<dlfcn.h> found.
What is the extension of dynamically loaded modules [so]
Checking whether your dlsym() needs a leading underscore ...
dlsym doesn't need a leading underscore.
drand48_r() found.
dup2() found.
eaccess() found.
endgrent() found.
<grp.h> found.
endgrent_r() NOT found.
endhostent() found.
<netdb.h> found.
endhostent_r() NOT found.
endnetent() found.
endnetent_r() NOT found.
endprotoent() found.
endprotoent_r() NOT found.
endpwent() found.
<pwd.h> found.
endpwent_r() NOT found.
endservent() found.
endservent_r() NOT found.
<sys/file.h> defines the O_* constants...
and you have the 3 argument form of open().
<sys/file.h> found.
We'll be including <sys/file.h>.
<fcntl.h> found.
We don't need to include <fcntl.h> if we include <sys/file.h>.
fork() found.
pipe() found.
Figuring out the flag used by open() for non-blocking I/O...
Let's see what value errno gets from read() on a O_NONBLOCK file...
try.c: In function 'main':
try.c:36: warning: ignoring return value of 'pipe', declared with
attribute warn_unused_result
try.c:37: warning: ignoring return value of 'pipe', declared with
attribute warn_unused_result
try.c:53: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
try.c:66: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
try.c:72: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
try.c:78: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
Checking how std your stdio is...
Checking to see what happens if we set the stdio ptr...
Increasing ptr in your stdio decreases cnt by the same amount.  Good.
You seem to have 'fast stdio' to directly manipulate the stdio buffers.
fchdir() found.
fchmod() found.
fchown() found.
fcntl() found.
Well, your system knows about the normal fd_set typedef...
and you have the normal fd_set macros (just as I'd expect).
fgetpos() found.
finite() found.
finitel() found.
flock() found.
fp_class() NOT found
 
Old 11-08-2010, 01:30 PM
Pau Peris
 
Default Perl update = emerge cannot create executables

I've also noticed /usr/bin/x86_64-pc-linux-gnu-gcc: Exec format
error
on some emerge error logs. i don't know any clue about the
error.
 
Old 11-08-2010, 02:13 PM
Pau Peris
 
Default Perl update = emerge cannot create executables

I'm starting to think the erroris not related to perl package, so i'm
totally lost as i think /etc/make.conf is ok.
 
Old 11-08-2010, 02:20 PM
Alan McKinnon
 
Default Perl update = emerge cannot create executables

Apparently, though unproven, at 17:13 on Monday 08 November 2010, Pau Peris
did opine thusly:

> I'm starting to think the erroris not related to perl package, so i'm
> totally lost as i think /etc/make.conf is ok.


Correct. Your configure scripts cannot find header directories - nothing to do
with perl at all.

I assume the directories and their contents do still exist?

If not, do you have buildpkg's of packages in @system? I'd start by unpacking
the entire toolchain, something is missing or corrupt.


--
alan dot mckinnon at gmail dot com
 

Thread Tools




All times are GMT. The time now is 08:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org