Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 74308

Summary: alsa-lib depends on alsa-driver even with a 2.6 kernel
Product: Gentoo Linux Reporter: Guilherme Barile <gui>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guilherme Barile 2004-12-13 11:13:45 UTC
I'm updating my system ... alsa-lib depends on alsa-driver which depends on a 2.4 kernel, so it wants to install a 2.4-series kernel.
I use a 2.6-series one.
Aren't the linux-headers26 sufficient ?

Reproducible: Always
Steps to Reproduce:
1. mask sys-kernel/gentoo-sources (/etc/portage/package.mask)
2. emerge alsa-lib with a 2.6 kernel installed (no 2.4 kernel)
Actual Results:  
Calculating world dependencies |
!!! All ebuilds that could satisfy "sys-kernel/gentoo-sources" have been
masked.!!! One of the following masked packages is required to complete your
request:
- sys-kernel/gentoo-sources-2.4.22-r20 (masked by: package.mask)
- sys-kernel/gentoo-sources-2.4.20-r29 (masked by: package.mask)
- sys-kernel/gentoo-sources-2.4.25-r13 (masked by: package.mask)
- sys-kernel/gentoo-sources-2.4.26-r13 (masked by: package.mask)
- sys-kernel/gentoo-sources-2.4.28-r2 (masked by: package.mask, ~x86 keyword)
- sys-kernel/gentoo-sources-2.4.27-r5 (masked by: package.mask, ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "media-sound/alsa-driver-1.0.6a" [ebuild])


Expected Results:  
I think it should compile with the 2.6 headers, so I won't have to have 2 kernel
sources installed (they're huge)

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Mobile Intel(R) Celeron(R) CPU 1.80GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
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/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=pentium4 -msse2 -mfpmath=sse -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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=pentium4 -msse2 -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.easynet.nl/mirror/gentoo/
http://mirror.clarkson.edu/pub/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="X aalib alsa apm avi berkdb bitmap-fonts bootsplash cdr crypt cups
divx4linux dvd encode esd f77 faad fam flac foomaticdb fortran gcj gdbm gif
gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6
ix86 jack java jce jpeg libg++ libwww mad matroska mikmod mmx mng motif mozilla
moznocompose moznoirc moznomail mozsvg mpeg ncurses nls nptl objc oggvorbis
opengl oss pam pda pdflib perl png ppds python quicktime readline samba sdl
slang spell sse ssl svg svga tcpd theora tiff truetype wmf x86 xml xml2 xmms xv
xvid zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-13 11:27:50 UTC
alsa-lib needs virtual/alsa which is PROVIDEd by all the 2.6 kernels and alsa-driver.  Change your /etc/portage/virtuals for virtual/linux-sources virtual/alsa to the sources youu want.

And for building the driver, you need the same sources as the kernel you are building for.