Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46986 - xmms-1.2.10-r2 fails to compile: too many arguments to function `snd_pcm_hw_params_get_period_size'
Summary: xmms-1.2.10-r2 fails to compile: too many arguments to function `snd_pcm_hw_p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-06 11:38 UTC by Frank Barton
Modified: 2004-04-07 07:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
script file of emerge session (xmms_emerge,111.27 KB, text/plain)
2004-04-06 11:39 UTC, Frank Barton
Details
New emerge session (xmms2_emerge,261.45 KB, text/plain)
2004-04-07 07:09 UTC, Frank Barton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Barton 2004-04-06 11:38:03 UTC
when I attempt to emerge xmms, I get the following error message:
audio.c:578: warning: const qualifier ignored on asm
audio.c: In function `alsa_setup':
audio.c:926: warning: passing arg 3 of `snd_pcm_hw_params_set_channels_near' makes integer from pointer without a cast
audio.c:939: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes integer from pointer without a cast
audio.c:958: warning: passing arg 3 of `snd_pcm_hw_params_set_buffer_time_near' makes integer from pointer without a cast
audio.c:967: warning: passing arg 3 of `snd_pcm_hw_params_set_period_time_near' makes integer from pointer without a cast
audio.c:982: error: too many arguments to function `snd_pcm_hw_params_get_buffer_size'
audio.c:990: warning: passing arg 2 of `snd_pcm_hw_params_get_period_size' from incompatible pointer type
audio.c:990: error: too many arguments to function `snd_pcm_hw_params_get_period_size'
make[3]: *** [audio.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xmms-1.2.10-r2/work/xmms-1.2.10/Output/alsa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xmms-1.2.10-r2/work/xmms-1.2.10/Output'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmms-1.2.10-r2/work/xmms-1.2.10'
make: *** [all] Error 2

!!! ERROR: media-sound/xmms-1.2.10-r2 failed.
!!! Function src_compile, Line 154, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
1.emerge xmms
2.
3.

Actual Results:  
xmms failed to compile, see above

Expected Results:  
it should have compiled properly

emerge info
Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3,
glibc-2.3.1-r2,2.3.3_pre20040207-r0, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.54,sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.6.3,sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib apm arts atlas avi berkdb cdr crypt cups dga directfb dvd encode
esd evo fbcon foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile
imlib innodb ipv6 java jpeg kde lcms libg++ libwww mad mikmod mmx motif mozctl
mozilaa mozilla mozirc mozxmlterm mpeg nas ncurses nls odbc oggvorbis opengl oss
pam pcmcia pdflib perl pic plotutils png pnp postgresql python qt qtmt quicktime
readline ruby samba sdl slang slp snmp socks5 spell sse2 ssl svga tcltk tcpd
tetex tiff truetype x86 xml xml2 xmms xv zeo zlib"
Comment 1 Frank Barton 2004-04-06 11:39:40 UTC
Created attachment 28795 [details]
script file of emerge session

this is the 'script' output of the entire compile process for xmms
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-06 14:36:45 UTC
what version of alsa-lib do you have installed?  did 1.2.10-r1 emerge fine for you?
Comment 3 Frank Barton 2004-04-06 16:16:36 UTC
I don't have alsa-lib installed, and xmms-1.2.10-r1 failed with the same messages

should I have alsa-lib installed where I am a) not using alsa, and b) have -alsa set in my USE variable?
Comment 4 Frank Barton 2004-04-06 18:10:02 UTC
After emerging media-libs/alsa-lib-1.0.4 xmms-1.2.10-r2 compiles properly... looks like a dependancy issue needs to be fixed
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-06 18:57:42 UTC
can you please provide me with the entire energe output in an attachment?
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-06 19:02:07 UTC
and unmerge alsa-lib first.

It should detect that it's not installed and not compile the plugin.
Comment 7 Frank Barton 2004-04-07 07:09:45 UTC
Created attachment 28834 [details]
New emerge session

This is after emerging, then unmergeing alsa-lib
Comment 8 Frank Barton 2004-04-07 07:10:42 UTC
That appears to have been the problem... after unmerging alsa-lib it compiled properly