It's both embarassing and annoying I need to bother you. After I installed oracle with a couple of problems I'm now encountering more and more problems. It started with ddd just hanging and I couldn't re-emerge it (although I succeeded in about the 4th try in a row ...). Now I tried to update but it fails on any package. I tried to # emerge gcc but it fails. So I tried to # emerge -e system but it fails on the very first package (zlib). I then tried to # emerge -e glibc but that fails too. I'm not really sure if it's oracle related but at least this was a major impact on the system - I'm open to any suggestion. I removed the ccache and set the CFLAGS from originally (with which I built the system): CFLAGS="-march=pentium4 -Os -pipe" to CFLAGS="-march=pentium4 -O2 -pipe" # emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17.6 i686) ================================================================= System uname: 2.6.17.6 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz Gentoo Base System version 1.12.6 Last Sync: Thu, 16 Nov 2006 01:48:01 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://www.gtlib.gatech.edu/pub/gentoo" LANG="POSIX" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa bash-completion berkdb bitmap-fonts cli cracklib crypt cscope cups dlloader dri elibc_glibc gdbm gif gpm gtk+ iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kde kernel_linux libg++ ncurses nls nptl nptlonly ntpl nv nvidia oracle pam pcre perforce perl pic ppds pppd python qt3 readline reflection samba session spl ssl syslog tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv video_cards_nvidia xinerama xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 102131 [details] gcc emerge log
Created attachment 102132 [details] zlib emerge log
Created attachment 102133 [details] glibc emerge log
Created attachment 102134 [details] libpcre emerge log
i really havent a clue why your system is so broken
I notice it's using 'g++' to compile .c files, which is bizarre... g++ -march=pentium4 -O2 -pipe -DHAS_attribute_visibility -fvisibility=hidden -c -o example.o example.c (zlib) g++ -c -DHAVE_CONFIG_H -march=pentium4 -pipe -O2 -I. -I/var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/libiberty/regex.c -o regex.o (gcc) g++ /var/tmp/portage/glibc-2.4-r4/work/build-default-i686-pc-linux-gnu-nptl/csu/crti.S -c -I../include -I/var/tmp/portage/glibc-2.4-r4/work/build-default-i686-pc-linux-gnu-nptl/csu -I/var/tmp/portage/glibc-2.4-r4/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../nptl -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER -I/var/tmp/portage/glibc-2.4-r4/work/build-default-i686-pc-linux-gnu-nptl/csu/. -DGAS_SYNTAX -Wa,--noexecstack -Wa,--noexecstack -g0 -o /var/tmp/portage/glibc-2.4-r4/work/build-default-i686-pc-linux-gnu-nptl/csu/crti.o (glibc) Dunno what might be causing that. One idea - check that 'CC' isn't set in the environment anywhere (/etc/make.conf, /etc/bashrc etc).
good catch ... if you use C++ to compile C code, things will fall apart quickly
Hi guys THANKS a lot for your prompt answers and your time. Its as you suggested an environment error (a script from the user I was su-ing was setting CC to g++), which could be solved by unsetting CC.