IT seems like some ebuild don't like the noman,nodoc,noinfo FEATURES and fail with the following error: >>> Merging sys-process/psmisc-21.6 to / --- /usr/ !!! 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/psmisc-21.6/image/usr/share !!! Error: [Errno 2] No such file or directory: '/var/tmp/portage/psmisc-21.6/image/usr/share' (this happens not only with psmisc... if i remove noman, it works as expected
btw you neglected to post any helpful info like `emerge info`
thanatos ~ # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12-vs2.0 i686) ================================================================= System uname: 2.6.12-vs2.0 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" 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/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks nodoc noinfo noman sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 mysql ncurses readline zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
(In reply to comment #0) > !!! File: /var/tmp/portage/psmisc-21.6/image/usr/share > !!! Error: [Errno 2] No such file or directory: That directory is removed in ebuild.sh dyn_preinst(). Similar to bug 9849, dblink.mergeme() still needs better error handling. Could possibly add some coordination here with no* features.
I'm unable to reproduce this problem. The ${IMAGE}/usr/share directory should have been removed before the merge phase started. The error message indicates that it was removed *during* the merge phase which seems impossible. Can anyone else reproduce this? Maybe an strace log would be helpful.
well, i can't reproduce it myself at the moment, though it happened several times already... i'll reopen with an strace log, if it happens again..
Closing due to old age