Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35482 - wine doesn't obey USE="-alsa"
Summary: wine doesn't obey USE="-alsa"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 25904
Blocks:
  Show dependency tree
 
Reported: 2003-12-09 14:38 UTC by Spider (RETIRED)
Modified: 2004-10-27 05:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Spider (RETIRED) gentoo-dev 2003-12-09 14:38:01 UTC
Darkmere pkg # USE="-alsa" emerge -v wine


make[2]: Leaving directory `/var/tmp/portage/wine-20031118-r1/work/wine-20031118/dlls/uxtheme'
rm -f uxtheme.dll.so && ln -s uxtheme/uxtheme.dll.so uxtheme.dll.so
rm -f version.dll.so && ln -s version/version.dll.so version.dll.so
rm -f w32skrnl.dll.so && ln -s win32s/w32skrnl.dll.so w32skrnl.dll.so
make[2]: Entering directory `/var/tmp/portage/wine-20031118-r1/work/wine-20031118/dlls/winmm/winealsa'
gcc -c -I. -I. -I../../../include -I../../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o audio.o audio.c
audio.c: In function `ALSA_TraceParameters':
audio.c:316: error: too few arguments to function `snd_pcm_hw_params_get_format'
audio.c:317: error: too few arguments to function `snd_pcm_hw_params_get_access'
audio.c:372: error: too few arguments to function `snd_pcm_hw_params_get_channels'
audio.c:373: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
audio.c:385: error: too few arguments to function `snd_pcm_hw_params_get_rate'



!!! ERROR: app-emulation/wine-20031118-r1 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! (no error message)



This shouldn't happen, the build should've disabled alsa support at this point.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-09 15:06:57 UTC
there are two patches to fix this
http://www.winehq.com/hypermail/wine-devel/2003/12/0194.html
Comment 2 Spider (RETIRED) gentoo-dev 2003-12-09 15:33:02 UTC
No. Wrong issue:

That solves the "alsa doesn't build"  , but the issue I'm reporting about is that if I have USE="-alsa" it still -tries- to build Alsa.  

Why isn't alsa a hard dep if you can't turn it off other than by removing the libraries / headers? 
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-12-09 22:43:48 UTC
there's no offical flag in configure to do that
Comment 4 Spider (RETIRED) gentoo-dev 2003-12-10 02:37:18 UTC
might I suggest a config.h or configure.in hack?
Comment 5 SpanKY gentoo-dev 2004-10-27 05:47:09 UTC
20041019 now respects USE flags