On a fresh install emerge system fails when emerging sash-3.6: gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_chattr.o cmd_chattr.c cmd_chattr.c:15:28: ext2fs/ext2_fs.h: No such file or directory cmd_chattr.c: In function `do_chattr': cmd_chattr.c:66: error: `EXT2_IMMUTABLE_FL' undeclared (first use in this function) cmd_chattr.c:66: error: (Each undeclared identifier is reported only once cmd_chattr.c:66: error: for each function it appears in.) cmd_chattr.c:70: error: `EXT2_APPEND_FL' undeclared (first use in this function) cmd_chattr.c:131: error: `EXT2_IOC_GETFLAGS' undeclared (first use in this function) cmd_chattr.c:161: error: `EXT2_IOC_SETFLAGS' undeclared (first use in this function) cmd_chattr.c: In function `do_lsattr': cmd_chattr.c:216: error: `EXT2_IOC_GETFLAGS' undeclared (first use in this function) cmd_chattr.c:234: error: `EXT2_IMMUTABLE_FL' undeclared (first use in this function) cmd_chattr.c:235: error: `EXT2_APPEND_FL' undeclared (first use in this function) make: *** [cmd_chattr.o] Error 1 !!! ERROR: app-shells/sash-3.6 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) This is caused by sash-3.6 applying the sash-3.6-fix-includes.patch that changes '#include <linux/ext2_fs.h>' to '#include <ext2fs/ext2_fs.h>'. ext2fs/ext2_fs.h is provided by e2fsprogs which is installed *after* sash in the system profile.
I've taken sash-3.6 out of stable (it shouldn't have been committed to stable to begin with, but this was probably just an oversight on plasmaroo's part) and also added a DEPEND for e2fsprogs. We'll need to do some testing to make sure emerge system still won't barf, but I desperately need to go to bed...
Okay, I've fixed the includes patch and removed the e2fsprogs dep. Yes, this was a n oversight: I knew nothing of sash being a component in bootstrapping new systems , so I marked it stable when I commited it to CVS... Please test it out.
Resolving as fixed.