Emerging timezone-data-2006g into a "new" gentoo system without previous timezone-data installed fails like this: >>> Emerging (1 of 1) sys-libs/timezone-data-2006g to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking tzdata2006g.tar.gz ;-) >>> checking tzcode2006g.tar.gz ;-) >>> Unpacking source... >>> Unpacking tzdata2006g.tar.gz to /var/tmp/portage/timezone-data-2006g/work >>> Unpacking tzcode2006g.tar.gz to /var/tmp/portage/timezone-data-2006g/work * Applying timezone-data-2005n-makefile.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/timezone-data-2006g/work ... sed \ -e 's|AWK=[^}]*|AWK=awk|g' \ -e 's|TZDIR=[^}]*|TZDIR=/usr/share/zoneinfo|' \ <tzselect.ksh >tzselect i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 -c -o zic.o zic.c i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 -c -o localtime.o localtime.c chmod +x tzselect i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 -c -o asctime.o asctime.c zic.c: In function `dolink': zic.c:674: warning: implicit declaration of function `symlink' localtime.c: In function `differ_by_repeat': localtime.c:331: warning: comparison is always false due to limited range of data type i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 -c -o scheck.o scheck.c i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 -c -o ialloc.o ialloc.c cp yearistype.sh yearistype chmod +x yearistype i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 -c -o zdump.o zdump.c i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 -c -o difftime.o difftime.c i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 zdump.o localtime.o ialloc.o -o zdump i686-pc-linux-gnu-gcc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -std=c99 zic.o localtime.o asctime.o scheck.o ialloc.o -o zic >>> Source compiled. >>> Test phase [not enabled]: sys-libs/timezone-data-2006g >>> Install timezone-data-2006g into /var/tmp/portage/timezone-data-2006g/image/ category sys-libs ./zic -y ./yearistype -d /var/tmp/portage/timezone-data-2006g/image//usr/share/zoneinfo -L /dev/null africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89 "/dev/null", line 1: line too long make: *** [posix_only] Error 1 !!! ERROR: sys-libs/timezone-data-2006g failed. Call stack: ebuild.sh, line 1527: Called dyn_install ebuild.sh, line 1005: Called src_install timezone-data-2006g.ebuild, line 32: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1_rc1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1-p0 i686) ================================================================= System uname: 2.6.15-gentoo-r1-p0 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.5, 1.8.5-r3 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/" LINGUAS="de en us" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 7zip aalib acl acpi alsa apache2 apm arts avi bash-completion bcmath berkdb bidi bitmap-fonts bzip2 caps cdb cdr cli crypt cscope ctype cups dba dbx dri dvdr eds emboss encode esd expat flatfile foomaticdb fortran ftp gd gdbm geoip gif gmp gpm gstreamer gtk gtk2 hal howl idn imlib inifile innodb ipv6 isdnlog jpeg kerberos krb4 ldap libg++ libwww mad maildir memlimit mikmod mime mmap mmx motif mp3 mpeg mysql ncurses nls nocd nptl nptlonly ogg opengl oss pam pcre pdflib perl php png posix pppd profile python qt quicktime readline reflection sasl sdl session sharedext sharedmem simplexml slang snmp soap sockets spell spl sse sse2 ssl sysvipc szip tcpd threads tokenizer truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xml2 xmlrpc xmms xorg xv zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_en linguas_us userland_GNU video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
sounds like your /dev/null file is corrupted run `ls -l /dev/null` and if the output doesnt look like this: crwxrwxrwx 1 root root 1, 3 2006-05-17 00:00 /dev/null then i'm right ;) to fix: rm -f /dev/null mknod /dev/null c 1 3 chmod 666 /dev/null