Setting USE="-doc" fixes it. The driver part builds fine, but the documentation fails: make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo' utils/link-modules /var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130 ALSA modules were successfully compiled. * Building Documentation ... /usr/portage/media-sound/alsa-driver/alsa-driver-1.0.14_pre20061130.ebuild: line 125: cd: /var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130/scripts: No such file or directory make dep make[1]: Entering directory `/var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130' make[2]: Entering directory `/var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130/acore' make[3]: Entering directory `/var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130/acore/ioctl32' .... make[3]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130/usb/usx2y' make[2]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130/usb' make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130' make -C /usr/src/linux M=/var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130 O=/usr/src/linux CPP="i686-pc-linux-gnu-gcc -E" CC="i686-pc-linux-gnu-gcc" modules make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo' /usr/src/linux-2.6.19-gentoo/Makefile:492: /usr/src/linux-2.6.19-gentoo/arch/x86/Makefile: No such file or directory make[2]: *** No rule to make target `/usr/src/linux-2.6.19-gentoo/arch/x86/Makefile'. Stop. make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo' make: *** [compile] Error 2 !!! ERROR: media-sound/alsa-driver-1.0.14_pre20061130 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile alsa-driver-1.0.14_pre20061130.ebuild, line 126: Called die !!! Failed making docs in /var/tmp/portage/media-sound/alsa-driver-1.0.14_pre20061130/work/alsa-driver-1.0.14_pre20061130/scripts !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1.2_rc2-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo i686) ================================================================= System uname: 2.6.19-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.12.6 Last Sync: Thu, 30 Nov 2006 22:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -mtune=prescott -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=prescott -mtune=prescott -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.ludost.net/gentoo/" LANG="en_US.UTF8" LC_ALL="en_US.UTF8" LINGUAS="en de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/obelix" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl alsa apache2 avi bash-completion bzip2 cairo cdr crypt cups dbus djvu doc dri dts dvd dvdr dvdread elibc_glibc encode esd exif fam ffmpeg firefox flac gd gif glitz glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 hal howl imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lcms linguas_de linguas_en logrotate mad mikmod mmap mmx mng mp3 mpeg ncurses nls nptl nsplugin nvidia ogg opengl pam pdf pic png qt qt3 quicktime readline samba sdl session snmp spell sqlite sse sse2 ssl svg threads tidy tiff truetype unicode usb userland_GNU vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga vorbis win32codecs wmf x86 xine xml xml2 xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'll just remove the doc useflag, I admit I'm not sure which kind of documentation is being built, but if you think it's important to have it in Portage, I'd rather have it in a different package altogether. I'll commit this tomorrow when I have an ack/nack for the ALSA_CARDS expansion.
> I admit I'm not sure which kind of > documentation is being built I don't know either. I could not figure it out with a quick look around and I am sure you have more important helsa issues to take care of so I am not pushing for it.
*** Bug 156931 has been marked as a duplicate of this bug. ***
Now fixed in CVS.
*** Bug 157338 has been marked as a duplicate of this bug. ***