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

Bug 84814

Summary: alsa-driver 1.0.8 does not accept ALSA_CARDS="cs46xx,cs46xx-new-dsp" anymore
Product: Gentoo Linux Reporter: Markus Reschka <markus>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Reschka 2005-03-10 20:04:06 UTC
When emerging the alsa driver I used to set ALSA_CARDS="cs46xx,cs46xx-new-dsp" as stated in the ebuild's ChangeLog. This worked for me up to version 1.0.8-r2. But it seems alsa has changed the configure script, so since 1.0.8 it is seems to be necessary to specify the new-dsp - option with a new configure argument "--with-cards=cs46xx --with-card-options=cs46xx-new-dsp" instead of "--with-cards=cs46xx,cs46xx-new-dsp" as it was before. The ebuild should reflect this change.

Reproducible: Always
Steps to Reproduce:
1. set ALSA_CARDS="cs46xx,cs46xx-new-dsp" in make.conf/environment
2. emerge =alsa-driver-1.0.8

Actual Results:  
emerge configures alsa driver with old (wrong) option:

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --with-oss --with-kernel=/usr/src/linux
--with-build=/usr/src/linux --with-isapnp=yes --with-sequencer=yes
--with-cards=cs46xx,cs46xx-new-dsp

with the result:

[...]
checking for which soundcards to compile driver for... configure: error: Unknown
soundcard cs46xx-new-dsp



Expected Results:  
Configure the driver with 

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --with-oss --with-kernel=/usr/src/linux
--with-build=/usr/src/linux --with-isapnp=yes --with-sequencer=yes
--with-cards=cs46xx --with-card-options=cs46xx-new-dsp

and the compile normally

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20050125-r0,
2.6.11-gentoo-r2 i686)
=================================================================
System uname: 2.6.11-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  8 2005, 23:42:29)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-de"
SYNC="rsync://localhost/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac aalib acpi acpi4linux alsa apm arts avi
bash-completion berkdb bitmap-fonts bluetooth cdda cddb crypt css cups curl
divx4linux dts dvb dvd emboss encode exif f77 faad fam ffmpeg flac font-server
foomaticdb fortran freetype ftp gdbm gif gnome gpm gtk gtk2 hbci imagemagick
imap imlib ipv6 irmc java jbig jce jpeg kde libg++ libwww lirc logitech-mouse
lzw-tiff mad maildir matrox mikmod mjpeg mmx motif mp3 mpeg mpeg2 msn ncurses
network nls ogg oggvorbis opengl oss pam pdf pdflib perl php png python qt
quicktime readline real samba sdl spell ssl stream svga tcltk tcpd tetex tiff
truetype truetype-fonts type1-fonts usb v4l v4l2 vcd vdr vorbis wxwindows xine
xml2 xmms xv xvid yv12 zlib linguas_de linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Eric Shattow 2005-03-12 03:01:59 UTC
version 1.0.8 should be marked stable now. use spaces instead of commas to separate entries in that ALSA_CARDS env variable.

the ChangeLog entry you refer to was for alsa-driver-1.0.7-r2; please upgrade.

marking invalid