^^^ summery. and when you start it again, when it cleans up it doesn't check for mounts. Reproducible: Always Steps to Reproduce: 1.start a stage2 with the wrong CFLAGS exported. 2.watch gcc crash after it finish compiling portage and start compiling something else (or if you have NPTL watch it crash with linux-headers blockers) 3.rerun catalist and watch your /usr/portage/{distfiles,packages} disappear Actual Results: No more /usr/portage/{distfiles,packages} :'( Expected Results: umount ./tmp/default/*/usr/portage/{distfiles,packages} and clean the tmp files. emerge info: Portage 2.0.51_pre20 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-love1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz) ================================================================= System uname: 2.6.9-rc1-love1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="no" CFLAGS="-march=pentium4 -mtune=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /etc/X11/ /etc/make.conf /etc/modules.autoload.d/ /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mtune=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache psyco sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo http://mirror.gentoo.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-portage /var/www/localhost/htdocs/fluidportage/trunk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 arts atm audiofile avi berkdb bidi bzlib cdr chroot crypt cups curl curlwrapper dba encode extensions fbcon final flac flash fmod foomaticdb freetype ftp gcj gd gdbm gif gimpprint gpm gtk gtk2 imagemagick imlib imlib2 innodb javascript jpeg justify kde libcaca libwww mad maildir mailwrapper matroska ming mmap mmx mmx2 mng mono motif moznoirc moznomail mozp3p mozsvg mpeg mpeg4 mysql ncurses network nptl ntpl nvidia offensive oggvorbis openal opengl oss pam pcap pcre perl php pic png posix ppds pthreads pwdb python qt quicktime readline rtc sdl spell sse sse2 ssl svg theora threads tiff tokenizer truetype usb xml xml2 xmms xv xvid zlib" /root/env.sh : export RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes export GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo http://mirror.gentoo.no/" export CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math" export CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden" export myconf="--enable-final --enable-pch" export ACCEPT_KEYWORDS="~x86" export USE="-* readline ncurses ssl threads pcre pam pic nptl python berkdb" export CHOST="i686-pc-linux-gnu" stage2.spec : subarch: x86 version_stamp: 20040906 target: stage2 rel_type: default profile: default-linux/x86/2004.2/gcc34/2.6 snapshot: 20040906 source_subpath: default/stage1-x86-2004.2.x portdir_overlay: /usr/local/portage note: i had modified package.mask to unmask portage-2.0.51* and i modified the stage1 seed to install portage-2.0.51_pre20 and remove linux-headers from ./var/db/pkg/sys-kernel.
catalyst does umount after a failure .... what version of catalyst are you using? I have never seen it remove anything from /usr/portage/{distfiles,packages}, and I cannot duplicate the bug.
[~] -> catalyst -v | head -n1 Gentoo Catalyst, version 1.0.9 try my stage2 file on 2004.2 stage1 as seed, it should fail after emerging portage because of linux-headers conflicting with linux26-headers (remember my env.sh as well). after it fails, just press up and repeat the command and the files are gone (very easily reproduceable here).
Check /var/tmp/catalyst/packages/default/stage2-x86-20040906 for your packages and /usr/portage/distfiles to see if your distfiles are still there.
634M /usr/portage/distfiles/ before catelyst it was around 4.5gb... it simply doesnt check mounts before cleaning up.. peace
the patch from bug #59681 might have fixed this issue, please test and let me know
no additional info in over a month, closing