It appears that asound.h is provided by the new package, alsa-headers I didn't pick up alsa-headers possibly because I'm using ~ARCH alsa packages in order to have a functioning alsa with my hardware and kernel. Could be for some other reason though. The upshot is that the emerge failed until I emerged alsa-headers. alsa-headers should probably be a dependancy. Also, unrelated but worth noting. >>> Unmerging media-sound/sox-12.17.4-r1... No package files given... Grabbing a set. /usr/sbin/ebuild.sh: /var/db/pkg/media-sound/sox-12.17.4-r1/sox-12.17.4-r1.ebuild: line 27: unexpected EOF while looking for matching `"' /usr/sbin/ebuild.sh: /var/db/pkg/media-sound/sox-12.17.4-r1/sox-12.17.4-r1.ebuild: line 45: syntax error: unexpected end of file This was solved by deleting the offending file. Reproducible: Always Steps to Reproduce: 1. emerge sox 2. compilation fails due to missing /usr/include/sound/asound.h Actual Results: broken compile Expected Results: emerged Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r9) ================================================================= System uname: 2.6.7-gentoo-r9 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.5.1 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa apm autofs avi berkdb crypt cups dga encode esd ffmpeg foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 icq imagemagick imap imlib jabber java jpeg libg++ libwww mad maildir mikmod mmx motif mozcalendar mozilla mozsvg mpeg mpeg4 msn ncurses nls nvidia offensive ofx oggvorbis opengl oscar oss pam pdflib perl png python quicktime readline sdl spell ssl svg svga tcltk tcpd theora tiff truetype unicode usb v4l v4l2 x86 xfs xml2 xmms xv xvid yahoo zlib"
This bug has nothing to do with any .h. It is just a trivial mistake in the ebuild. I fixed it by editing the ebuild with vi and changing a ^A in the code with a ". You can read more information here because i submitted a new bug before reading this one. http://bugs.gentoo.org/show_bug.cgi?id=59532 I am sorry but no other sox bug talked about the ebuild.
alsa-headers is a dependency of alsa-lib which is a dependency of sox... as for the other bug, it's a dupe. *** This bug has been marked as a duplicate of 46096 ***
Right, I noted the alsa lib dependency. That's why I suggested the ~ARCH thing. Figured it could cause trouble for other users in the same situation since there's no upgrade to the later alsa lib. Sorry about 2 bugs in 1. The second thing seemed so trivial I just thought I'd mention it in passing. Doesn't seem like a dupe, really, since the second part was the least interesting bit of it. Ah well.