Attempting to build alsaplayer it fails. There's a message about a deprciated header also. I don't know if that's part of the problem. Reproducible: Always Steps to Reproduce: 1. emerge -U alsaplayer Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include -D_REENTRANT -I../.. -I../../alsaplayer -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall -mcpu=athlon-xp -O3 -pipe -mcpu=athlon-xp -O3 -pipe -MT alsa.lo -MD -MP -MF .deps/alsa.Tpo -c alsa.c -fPIC -DPIC -o alsa.lo In file included from alsa.c:21: /usr/include/sys/asoundlib.h:1:2: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead. alsa.c:30: error: syntax error before "pinfo" alsa.c:30: warning: type defaults to `int' in declaration of `pinfo' alsa.c:30: warning: data definition has no type or storage class alsa.c:31: error: `SND_PCM_OPEN_PLAYBACK' undeclared here (not in a function) alsa.c:32: error: `SND_PCM_MODE_BLOCK' undeclared here (not in a function) alsa.c:33: error: `SND_PCM_CHANNEL_PLAYBACK' undeclared here (not in a function) alsa.c: In function `alsa_open': alsa.c:60: warning: passing arg 2 of `snd_pcm_open' makes pointer from integer without a cast alsa.c:65: warning: implicit declaration of function `snd_pcm_channel_info' alsa.c: In function `alsa_write': alsa.c:81: error: `snd_pcm_channel_status_t' undeclared (first use in this function) alsa.c:81: error: (Each undeclared identifier is reported only once alsa.c:81: error: for each function it appears in.) alsa.c:81: error: syntax error before "status" alsa.c:83: warning: implicit declaration of function `snd_pcm_write' alsa.c:84: error: `status' undeclared (first use in this function) alsa.c:85: warning: implicit declaration of function `snd_pcm_channel_status' alsa.c:91: warning: implicit declaration of function `snd_pcm_channel_flush' alsa.c:92: warning: implicit declaration of function `snd_pcm_playback_prepare' alsa.c: In function `alsa_set_buffer': alsa.c:109: error: `snd_pcm_channel_params_t' undeclared (first use in this function) alsa.c:109: error: syntax error before "params" alsa.c:110: error: `snd_pcm_channel_setup_t' undeclared (first use in this function) alsa.c:113: error: `params' undeclared (first use in this function) alsa.c:117: error: `SND_PCM_START_FULL' undeclared (first use in this function) alsa.c:118: error: `SND_PCM_STOP_STOP' undeclared (first use in this function) alsa.c:124: error: request for member `format' in something not a structure or union alsa.c:124: error: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function) alsa.c:125: error: request for member `rate' in something not a structure or union alsa.c:126: error: request for member `voices' in something not a structure or union alsa.c:127: error: request for member `interleave' in something not a structure or union alsa.c:132: warning: implicit declaration of function `snd_pcm_channel_params' alsa.c:137: warning: implicit declaration of function `snd_pcm_channel_prepare' alsa.c:142: error: `setup' undeclared (first use in this function) alsa.c:145: warning: implicit declaration of function `snd_pcm_channel_setup' alsa.c: In function `alsa_set_sample_rate': alsa.c:159: error: `snd_pcm_channel_params_t' undeclared (first use in this function) alsa.c:159: error: syntax error before "params" alsa.c:162: error: `params' undeclared (first use in this function) alsa.c:166: error: `SND_PCM_START_FULL' undeclared (first use in this function) alsa.c:167: error: `SND_PCM_STOP_STOP' undeclared (first use in this function) alsa.c:169: error: request for member `format' in something not a structure or union alsa.c:169: error: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function) alsa.c:170: error: request for member `rate' in something not a structure or union alsa.c:171: error: request for member `voices' in something not a structure or union alsa.c:172: error: request for member `interleave' in something not a structure or union alsa.c: In function `output_plugin_info': alsa.c:207: warning: assignment from incompatible pointer type make[3]: *** [alsa.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/alsaplayer-0.99.75-r1/work/alsaplayer-0.99.75/output/alsa-0.5.x' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/alsaplayer-0.99.75-r1/work/alsaplayer-0.99.75/output' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsaplayer-0.99.75-r1/work/alsaplayer-0.99.75' make: *** [all] Error 2 !!! ERROR: media-sound/alsaplayer-0.99.75-r1 failed. !!! Function src_compile, Line 73, Exitcode 2 !!! (no error message) Wizard root # Expected Results: Should just build Wizard root # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.20-gentoo-r9) ================================================================= System uname: 2.4.20-gentoo-r9 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -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/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif gtk2 jpeg gnome libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts aalib bonobo svga tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr jack-caps jack-tmpfs" Wizard root #
BTW - I'm on Alsa-1.0.0-rc2 Thanks!
Mark, can you try 0.99.76 please
Seemant - help me with emerge. I don't want to emerge 20 things ~x86 just to try this, but I cannot find a command that let's me do what you want. Thanks! Wizard root # emerge -Up alsaplayer >>> --upgradeonly implies --update... adding --update to options. These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-sound/alsaplayer-0.99.75-r1 [0.99.75] Wizard root # emerge -Up =alsaplayer-0.99.76 >>> --upgradeonly implies --update... adding --update to options. These are the packages that I would merge, in order: Calculating dependencies !!! all ebuilds that could satisfy "=alsaplayer-0.99.76" have been masked. !!! Error calculating dependencies. Please correct. Wizard root # ACCEPT_KEYWORDS="~x86" emerge -Up =alsaplayer-0.99.76 >>> --upgradeonly implies --update... adding --update to options. These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] sys-devel/gettext-0.12.1 [0.11.5-r1] [ebuild U ] sys-devel/libtool-1.4.3-r3 [1.4.3-r2] [ebuild U ] sys-libs/zlib-1.2.1 [1.1.4-r3] [ebuild U ] dev-python/python-fchksum-1.7.1 [1.6.1-r1] [ebuild U ] app-shells/bash-2.05b-r8 [2.05b-r7] [ebuild U ] sys-libs/readline-4.3-r5 [4.3-r4] [ebuild U ] dev-lang/tcl-8.4.5 [8.4.4] [ebuild U ] sys-libs/db-4.1.25_p1-r3 [4.1.25_p1-r2] [ebuild U ] sys-devel/libperl-5.8.2 [5.8.1] [ebuild U ] dev-lang/perl-5.8.2-r1 [5.8.1-r2] [ebuild U ] dev-libs/openssl-0.9.7c-r1 [0.9.6k] [ebuild U ] dev-lang/tk-8.4.5 [8.3.4-r1] [ebuild U ] dev-libs/expat-1.95.7 [1.95.6-r1] [ebuild N ] dev-lang/python-2.3.2-r2 [ebuild U ] sys-apps/portage-2.0.49-r18 [2.0.49-r15] *** Portage will stop merging at this point and reload itself, recalculate dependencies, and complete the merge. [ebuild U ] sys-devel/gcc-config-1.3.4 [1.3.3-r1] [ebuild U ] sys-devel/binutils-2.14.90.0.7-r3 [2.14.90.0.7] [ebuild U ] sys-devel/gcc-3.3.2-r4 [3.3.2-r2] [ebuild U ] sys-kernel/linux-headers-2.4.21-r1 [2.4.21] [ebuild N ] app-crypt/hashalot-0.1.0 [ebuild U ] sys-apps/util-linux-2.12-r3 [2.11z-r8] [ebuild U ] sys-apps/baselayout-1.8.6.12-r2 [1.8.6.10-r1] [ebuild U ] sys-libs/glibc-2.3.3_pre20031212 [2.3.2-r8] [ebuild U ] media-libs/libogg-1.1 [1.0] [ebuild U ] media-libs/libvorbis-1.0.1 [1.0-r4] [ebuild U ] media-sound/alsaplayer-0.99.76 [0.99.75] Wizard root #
emerge /path/to/foo/bar.ebuild
This worked, but I do not understand why emerge /usr/portage/media-sound/alsaplayer/alsaplayer-0.99.76.ebuild wors, but: emerge =alsaplayer-0.99.76 did not. Anyway. 99.76 builds fine for me. Thanks.
closing with 0.99.76 thx