I'm running the latest development-sources (2.6.0-test1) with alsa compiled directly into the kernel, as shall become the new standard. Trying to emerge kdelibs with USE="alsa" it tells me that it wants to emerge media-sound/alsa-driver-0.9.2 kde-base/kdelibs is the only package that directly depends on alsa-driver. I do not believe that an application or other package should depend directly upon the drivers for some form of device, but should instead depend on the library for the drivers, in this case, alsa-lib. Am I incorrect in thinking so? This bug is related to Bug 20495 ( alsa-driver-0.9.3a fails to emerge under development sources 2.5.69 ), Bug 19487 ( Compile alsa-driver fails with development-kernel - irq_vectors.h not found, Makefile.conf.in must be modified ), and most importantly, Bug 11996 ( kdelibs should depend on alsa-driver if USE includes alsa ) Specifically, the two files looked for as referenced in bug 11996 are found in development-sources. /usr/src/linux-2.6.0-test1/include/sound/asound.h and /usr/src/linux-2.6.0-test1/include/sound/asequencer.h both exist. I'm not sure how the best way to get around this problem is. I suppose I will 'inject' the requested version of alsa-driver for now, as a temporary fix, but I belive that a better solution should exist. This may work as a temporary fix for now, but as 2.6.0 reaches the full release, this may be more of a problem. Reproducible: Always Steps to Reproduce: Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.6.0-test1 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde gnome libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex aalib bonobo svga java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" elessar docs # emerge -up --deep world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] dev-libs/libpcre-4.2-r1 [3.9-r1] [ebuild U ] net-mail/mailbase-0.00-r5 [0.00-r4] [ebuild U ] app-text/noweb-2.9-r3 [2.9-r2] [ebuild U ] app-text/xpdf-2.02.1 [2.02] [ebuild U ] app-editors/vim-core-6.2-r1 [6.2] [ebuild U ] x11-misc/commonbox-utils-0.4 [0.3] [ebuild N ] media-sound/alsa-driver-0.9.2 [ebuild U ] net-nds/portmap-5b-r7 [5b-r6] [ebuild U ] app-admin/fam-oss-2.6.9-r3 [2.6.9-r1] [ebuild U ] media-libs/libart_lgpl-2.3.12 [2.3.11] [ebuild U ] dev-lang/nasm-0.98.36 [0.98.34] [ebuild U ] media-libs/divx4linux-20020418-r2 [20020418-r1] [ebuild U ] media-libs/xine-lib-1_beta12 [1_beta10] [ebuild U ] dev-libs/libIDL-0.8.2 [0.8.1] [ebuild U ] net-libs/linc-1.0.2 [1.0.1] [ebuild U ] gnome-base/bonobo-activation-2.2.2 [2.2.1.1] [ebuild U ] dev-python/PyXML-0.8.2 [0.8.1] [ebuild U ] gnome-base/libgnome-2.2.2 [2.2.1] [ebuild U ] gnome-base/libgnomeui-2.2.1 [2.2.0.1] [ebuild U ] x11-themes/gnome-icon-theme-1.0.5 [1.0.4] [ebuild U ] gnome-extra/libgsf-1.8.1 [1.7.2]
Created attachment 17947 [details] Modified ebuild This is actually related to bug #27746, it should point to virtual/alsa NOT alsa-driver. The attachment is a modified 3.1.4 ebuild
Created attachment 17948 [details] Modified ebuild
Change the dependency in portage. Thanks!