There's a new ebuild for alsa-tools-0.9.8 out since a few days. When I try to emerge it, in hdspmixer/src it complains about missing files and syntax errors. Reproducible: Always Steps to Reproduce: emerge -u world Actual Results: Calculating world dependencies ...done! >>> emerge (1 of 5) media-sound/alsa-tools-0.9.8 to / >>> md5 src_uri ;-) alsa-tools-0.9.8.tar.bz2 >>> Unpacking source... >>> Unpacking alsa-tools-0.9.8.tar.bz2 to /var/tmp/portage/alsa-tools-0.9.8/ work >>> Source unpacked. [...] configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for i686-pc-linux-gnu-g++... g++ checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking whether make sets ${MAKE}... (cached) yes checking for i686-pc-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 0.9.0... found. checking for snd_ctl_open in -lasound... yes checking for kernel header files... "directory /lib/modules/2.4.20-gentoo-r8/ build/include/sound not found" checking for directory with ALSA kernel headers... -I/usr/include checking for fltk-config... /usr/bin/fltk-config configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating pixmaps/Makefile Making all in src make[1]: Entering directory `/var/tmp/portage/alsa-tools-0.9.8/work/ alsa-tools-0.9.8/hdspmixer/src' source='hdspmixer.cxx' object='hdspmixer.o' libtool=no \ depfile='.deps/hdspmixer.Po' tmpdepfile='.deps/hdspmixer.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -I/usr/X11R6/include -fno-exceptions -I/usr/include -c -o hdspmixer.o `test -f hdspmixer.cxx || echo './'`hdspmixer.cxx source='HDSPMixerWindow.cxx' object='HDSPMixerWindow.o' libtool=no \ depfile='.deps/HDSPMixerWindow.Po' tmpdepfile='.deps/HDSPMixerWindow.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -I/usr/X11R6/include -fno-exceptions -I/usr/include -c -o HDSPMixerWindow.o `test -f HDSPMixerWindow.cxx || echo './'`HDSPMixerWindow.cxx hdspmixer.cxx:27:24: sound/hdsp.h: No such file or directory In file included from hdspmixer.cxx:31: HDSPMixerCard.h:28:24: sound/hdsp.h: No such file or directory In file included from HDSPMixerCard.h:31, from hdspmixer.cxx:31: HDSPMixerWindow.h:39:24: sound/hdsp.h: No such file or directory In file included from HDSPMixerIOMixer.h:30, from HDSPMixerInputs.h:26, from HDSPMixerWindow.h:41, from HDSPMixerCard.h:31, from hdspmixer.cxx:31: HDSPMixerSelector.h:30:24: sound/hdsp.h: No such file or directory In file included from HDSPMixerFader.h:31, from HDSPMixerIOMixer.h:32, from HDSPMixerInputs.h:26, from HDSPMixerWindow.h:41, from HDSPMixerCard.h:31, from hdspmixer.cxx:31: HDSPMixerOutput.h:28:24: sound/hdsp.h: No such file or directory In file included from hdspmixer.cxx:31: HDSPMixerCard.h:43: syntax error before `cardtype' HDSPMixerCard.h:45: 'HDSP_IO_Type' is used as a type, but is not defined as a type. hdspmixer.cxx: In function `int main(int, char**)': hdspmixer.cxx:57: `Multiface' undeclared (first use this function) hdspmixer.cxx:57: (Each undeclared identifier is reported only once for each function it appears in.) hdspmixer.cxx:57: initializer list being treated as compound expression hdspmixer.cxx:61: `Digiface' undeclared (first use this function) hdspmixer.cxx:61: initializer list being treated as compound expression hdspmixer.cxx:65: `H9652' undeclared (first use this function) hdspmixer.cxx:65: initializer list being treated as compound expression make[1]: *** [hdspmixer.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from HDSPMixerWindow.cxx:22: HDSPMixerWindow.h:39:24: sound/hdsp.h: No such file or directory In file included from HDSPMixerWindow.h:40, from HDSPMixerWindow.cxx:22: HDSPMixerCard.h:28:24: sound/hdsp.h: No such file or directory In file included from HDSPMixerWindow.h:40, from HDSPMixerWindow.cxx:22: HDSPMixerCard.h:43: syntax error before `cardtype' HDSPMixerCard.h:45: 'HDSP_IO_Type' is used as a type, but is not defined as a type. In file included from HDSPMixerIOMixer.h:30, from HDSPMixerInputs.h:26, from HDSPMixerWindow.h:41, from HDSPMixerWindow.cxx:22: HDSPMixerSelector.h:30:24: sound/hdsp.h: No such file or directory In file included from HDSPMixerFader.h:31, from HDSPMixerIOMixer.h:32, from HDSPMixerInputs.h:26, from HDSPMixerWindow.h:41, from HDSPMixerWindow.cxx:22: HDSPMixerOutput.h:28:24: sound/hdsp.h: No such file or directory HDSPMixerWindow.cxx: In function `void readregisters_cb(void*)': HDSPMixerWindow.cxx:36: `hdsp_peak_rms_t' undeclared (first use this function) HDSPMixerWindow.cxx:36: (Each undeclared identifier is reported only once for each function it appears in.) HDSPMixerWindow.cxx:36: syntax error before `;' token HDSPMixerWindow.cxx:50: `SNDRV_HDSP_IOCTL_GET_PEAK_RMS' undeclared (first use this function) HDSPMixerWindow.cxx:50: `peak_rms' undeclared (first use this function) HDSPMixerWindow.cxx: In member function `void HDSPMixerWindow::restoreDefaults(int)': HDSPMixerWindow.cxx:496: `class HDSPMixerCard' has no member named `type' HDSPMixerWindow.cxx:497: `Multiface' undeclared (first use this function) HDSPMixerWindow.cxx:504: `Digiface' undeclared (first use this function) HDSPMixerWindow.cxx:511: `H9652' undeclared (first use this function) make[1]: *** [HDSPMixerWindow.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-tools-0.9.8/work/ alsa-tools-0.9.8/hdspmixer/src' make: *** [all-recursive] Error 1 !!! ERROR: media-sound/alsa-tools-0.9.8 failed. !!! Function src_compile, Line 46, Exitcode 2 !!! make failed Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/ texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/ config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-tbird -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex svga tcltk java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner 3dnow aavm acl acpi acpi4linux apache2 curl dvd dvdr ethereal faad fbcon gd geoip hbci imap ipv6 maildir mmx samba sse tiff usagi usb vim-with-x wmf xinerama xml -gnome video_cards_radeon"
This is a dup of bug 34640, but that one's FIXED without a real solution (I don't wnat to install the 2.6.0 kernel)
does 1.0.0_rc1 work for you ? this stable on alsa-project.org
do you have alsa-driver-0.9.8 installed ? qpkg -l alsa-driver | grep hdsp.h /usr/include/sound/hdsp.h emerge -p alsa-driver These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-sound/alsa-driver-0.9.8
Hm. For some reason does emerge want to install alsa-drivers *after* the other alsa-* stuff on 'emerge -u world'. A missing dependency? I'll have a try to update alsa-drivers first and the other stuff afterwards... (If that doesn't work I'll try 1.0.0-rc1 but it's always such a hassle keeping portage from downgrading the packages again if you don't have ~x86 set.)
Ok, updating alsa-driver first helped. An additional dependency to handle this automatically would be great.
on a clean (new) installation with 2.0.47-r15 (afaik) it emerges correction. first libs, then drivers, then tools
marking this as a dupe of bug 1991 (portage bug) *** This bug has been marked as a duplicate of 1991 ***
*** Bug 34590 has been marked as a duplicate of this bug. ***