Prob #1: mtx emerge failed. /usr/portage/sys-apps/mtx contained mtx-1.2.17-ebuild and mtx-1.2.18-ebuild. mtx-1.2.17 was being emerged as part of amanda. I didn't keep the error message... but the problem was that the last 1.5 lines of the file (mtx-1.2.17-ebuild) was missing. It ended with ...di reading the mtx-1.2.18-ebuild, I finished the file with the die "Install failed" and the closing "}" on the last line. Now compilation started... and promptly died. Prob #2: Again, I am scum and didn't record the error message. BUT... line 203 and following of /usr/src/linux/include/scsi/scsi.h was failing. It appeared to me that the "u8" hadn't been typedef'ed properly. I can't explain why. Everything looked normal. anyway... I added into the scsi.h file a typedef for u8 taken from /usr/src/linux/include/asm/types.h ... and the compile worked just fine. OTHER INFO: used genkernel practicing the fine art of foot shooting, I am using lvm2 and evms. That was interesting to figure out... not sure I have yet... but the volumes are mounted and the system is running... so happiness is somewhere close by. :) Reproducible: Didn't try Steps to Reproduce: Since I "fixed" everything... reproduction isn't possible. With Prob #1, a truncated file is obvious and easily fixed. With Prob #2, I suspicion something about the #ifdef's failed to include the u8 from asm/types.h. While I can read C to some extent... calling me a C programmer would be a major stretch. In this particular case, I executed a work-around. If memory isn't too full of holes, there was probably a way to do an "emerge clear" or something like that. It might have cleaned things up enough for this to run properly... But copying the typedef worked for me this time... gorathnew scsi # emerge info Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 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/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 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="3dnow X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
User note: Just compiled fine on kernel 2.6.5-rc2, but didn't compile on 2.6.3 for me too.
i've stabilized 1.2.18 on x86 in the tree, it contains a proper fix for this.