During "emerge -u world" I encountered the following problem: perl-5.8.2-r1 compiles fine. When emerge starts to actually install the packes, I have two errors which are very likely related: (a) During "./perl installman --destdir=/var/tmp/portage/perl-5.8.2-r1/image/" I get: [...] /usr/share/man/man3/Hash::Util.3 Can't open /var/tmp/portage/perl-5.8.2-r1/image//usr/share/man/man3/Hash::Util.tmp for writing: File exists at installman line 188 * Removing /var/tmp/portage/perl-5.8.2-r1/image/ from /var/tmp/portage/perl-5.8.2-r1/image/usr/lib/perl5/5.8.2/i686-linux/Encode/Config.pm... * Removing /var/tmp/portage/perl-5.8.2-r1/image/ from /var/tmp/portage/perl-5.8.2-r1/image/usr/lib/perl5/5.8.2/i686-linux/Config.pm... * Removing /var/tmp/portage/perl-5.8.2-r1/image/ from /var/tmp/portage/perl-5.8.2-r1/image/usr/lib/perl5/5.8.2/Net/Config.pm... * Removing /var/tmp/portage/perl-5.8.2-r1/image/ from /var/tmp/portage/perl-5.8.2-r1/image/usr/lib/perl5/5.8.2/i686-linux/.packlist... [...] (b) During ">>> Merging dev-lang/perl-5.8.2-r1 to /" I get: [...] >>> /usr/share/man/man3/Encode::Config.3.gz !!! ERROR: There appears to be FILE SYSTEM CORRUPTION. A file that is listed !!! as existing is not capable of being stat'd. If you are using an !!! experimental kernel, please boot into a stable one, force an fsck, !!! and ensure your filesystem is in a sane state. 'shutdown -Fr now' !!! File: /var/tmp/portage/perl-5.8.2-r1/image/usr/share/man/man3/Hash::Util.tmp !!! Error: [Errno 2] No such file or directory: '/var/tmp/portage/perl-5.8.2-r1/image/usr/share/man/man3/Hash::Util.tmp' [...] My first guess was a corrupted filesystem but I can reproduce the same error on two completely independent systems that were both in prestene condition with no filesystem errors. To ensure consistency of the fs, I ran "shutdown -Fr now" on the machines. fsck is fine but the error re-occurs. Both systems run ext3. Christian Reproducible: Always Steps to Reproduce: 1. emerge -u perl 2. 3. Actual Results: File installation breaks, new perl version is not completely installed. emerge --info on one of the systems: Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -mmmx -msse -msse2 -fexpensive-optimizations" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -mmmx -msse -msse2 -fexpensive-optimizations" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/mirrors/gentoo.org/gentoo/ http://www.fhh.opensource-mirror.de/gentoo.org/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb cdr crypt cups encode esd evo foomaticdb gdbm gif gnome gpm gtk gtk2 guile imap imlib ipv6 java jpeg ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl opie oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Same over here (5 boxes, each ext3). [$ emerge info] Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(TM) XP 1600+ Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache notitles sandbox strict userpriv usersandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib alsa arts avi berkdb cdr crypt cups dga dvd encode esd foomaticdb gdbm gif gphoto2 gtk gtk2 guile imlib java jpeg kde libg++ libwww mad maildir mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline scanner slang spell sse ssl svga tcc tcltk tcpd tetex threads truetype vim-with-x x86 xml2 xmms xv zlib"
I tried a third machine (also ext3) which didn't have this problem. So I have 2 machines where I can reproduce the error and one machine which doesn't make any trouble. Christian
same problem here. i haven't checked the fs but it's ext3 too and have run flawlessly for months and never been uncleanly shut down. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Pentium III (Katmai) Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif moznoirc moznomail mpeg mysql ncurses oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Changing to /var/tmp/portage/perl-5.8.2-r1/image/usr/share/man/man3 and doing > echo Hash::Util.* yields Hash::Util.3pm.gz Hash::Util.tmp but > ls Hash::Util.* yields ls: Hash::Util.tmp: No such file or directory Hash::Util.3pm.gz The filesystem is ext3. I'm puzzled. Hans-Georg
hmm that's interresting, the machine i expect least to be able to do this(it's been played a bit too much with and i've been meaning to reinstall for over 6 months, it also have trouble emerging stuff, had some unfortunate power failures too, i seriously doubt it'd be able to boot if it was rebooted, it's that bad), my primary desktop machine, actually does it right. anyway here's some info. Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apache apache2 apm arts avi berkdb bonobo crypt cups doc encode esd evo foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg kde kerberos libg++ libwww mad mikmod mmx motif mozilla moznoirc moznomail mpeg mpi mysql ncurses nls oggvorbis opengl oss pam pdflib perl png prelude python qt quicktime readline sdl slang socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype usb x86 xml xml2 xmms xv zlib"
oh yeah the machine mentioned in #5 is ext3 too and not cheched for errors.
*** This bug has been marked as a duplicate of 24991 ***