The package alsa-driver-1.0.7-r4 is broken and should be masked out. It fails the compilation with this notice: patching file pdaudiocf.c Hunk #2 succeeded at 29 with fuzz 1. Hunk #3 FAILED at 62. Hunk #4 succeeded at 80 (offset -4 lines). Hunk #5 succeeded at 192 (offset -4 lines). Hunk #6 succeeded at 279 (offset -7 lines). Hunk #7 succeeded at 377 (offset -7 lines). Hunk #8 succeeded at 448 (offset -7 lines). 1 out of 8 hunks FAILED -- saving rejects to file pdaudiocf.c.rej It fails even when all the patches placed into portage tree are commented out of the ebuild. It seems that the package is seriously broken, because there are more `patch' commands reporting hunks succeeding at other place than specified in the patch (or with a fuzz).
The same applies to alsa-driver-1.0.7-r3
please report this problem upstream and mention what version of the kernel you are using.
I have the same problem. Kernel version here is: sys-kernel/gentoo-sources-2.4.26-r13 emerge info: Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r13 i686) ================================================================= System uname: 2.4.26-gentoo-r13 i686 Mobile Intel(R) Pentium(R) III CPU - M 1200MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/dlportage" SYNC="rsync://dlswlx04/gentoo-portage" USE="X acl afs alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib java jpeg kde kerberos krb4 ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl openldap oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl tcltk tcpd tiff truetype usb x86 xml xml2 xmms xv xvid zlib"
As per bugs #75791 and #76226, try adding the line: ALSA_CARDS="emu10k1" to your /etc/make.conf file, replacing emu10k1 with whatever is appropriate to your system.