Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2324 - kdemultimedia emerge error with alsa9 installed
Summary: kdemultimedia emerge error with alsa9 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Normal blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-01 22:30 UTC by Weijia Yang
Modified: 2003-02-04 19:42 UTC (History)
11 users (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 Weijia Yang 2002-05-01 22:30:27 UTC
I emerged alsa9 and tried to emerge kdemultimedia. However, kdemultimedia bombs
out while trying to make TIMIDITY. Emerging kdemultimedia with "-alsa" works,
but the kmix application does not work (displays empty frame) and other mult.
apps act are unstable.
Comment 1 Avi Schwartz 2002-05-02 21:09:13 UTC
Here are the errors I am seeing.  My guess is that the relevant line is:

/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use
<alsa/asoundlib.h> instead.


Making all in TIMIDITY
make[3]: Entering directory
`/var/tmp/portage/kdemultimedia-3.0-r1/work/kdemultimedia-3.0/kmidi/TIMIDITY'
source='alsa_a.c' object='alsa_a.o' libtool=no \
depfile='.deps/alsa_a.Po' tmpdepfile='.deps/alsa_a.TPo' \
depmode=gcc /bin/sh ../../admin/depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include
`/usr/kde/3/bin/artsc-config --cflags`  -DQT_THREAD_SUPPORT  -D_REENTRANT
-DDEFAULT_PATH=\"//usr/kde/3/share/apps/kmidi/config\" -DAU_OSS -DAU_ALSA
-DIA_NCURSES -DIA_SLANG  -DIA_MOTIF  -DTCLTK -DIA_XAW -DIA_GTK
-DQT_THREAD_SUPPORT  -D_REENTRANT  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -fasm -DNDEBUG -O2  -march=i686
-O3 -pipe -c `test -f alsa_a.c || echo './'`alsa_a.c
In file included from alsa_a.c:55:
/usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use
<alsa/asoundlib.h> instead.
alsa_a.c: In function `check_sound_cards':
alsa_a.c:153: storage size of `ctl_hw_info' isn't known
alsa_a.c:154: storage size of `pcm_info' isn't known
alsa_a.c:189: warning: passing arg 2 of `snd_ctl_open' makes pointer from
integer without a cast
alsa_a.c:189: too few arguments to function `snd_ctl_open'
alsa_a.c:223: warning: passing arg 2 of `snd_ctl_pcm_info' makes pointer from
integer without a cast
alsa_a.c:223: too many arguments to function `snd_ctl_pcm_info'
alsa_a.c:231: `SND_PCM_INFO_PLAYBACK' undeclared (first use in this function)
alsa_a.c:231: (Each undeclared identifier is reported only once
alsa_a.c:231: for each function it appears in.)
alsa_a.c: In function `set_playback_info':
alsa_a.c:265: `snd_pcm_channel_info_t' undeclared (first use in this function)
alsa_a.c:265: parse error before `playback_info'
alsa_a.c:271: storage size of `playback_params' isn't known
alsa_a.c:272: storage size of `playback_status' isn't known
alsa_a.c:273: storage size of `setup' isn't known
alsa_a.c:278: request for member `interleave' in something not a structure or union
alsa_a.c:281: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
alsa_a.c:282: `SND_PCM_MODE_BLOCK' undeclared (first use in this function)
alsa_a.c:284: `playback_info' undeclared (first use in this function)
alsa_a.c:308: request for member `rate' in something not a structure or union
alsa_a.c:317: request for member `voices' in something not a structure or union
alsa_a.c:319: request for member `voices' in something not a structure or union
alsa_a.c:325: `SND_PCM_FMT_S16_LE' undeclared (first use in this function)
alsa_a.c:327: request for member `format' in something not a structure or union
alsa_a.c:327: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function)
alsa_a.c:330: `SND_PCM_FMT_U16_LE' undeclared (first use in this function)
alsa_a.c:332: request for member `format' in something not a structure or union
alsa_a.c:332: `SND_PCM_SFMT_U16_LE' undeclared (first use in this function)
alsa_a.c:335: `SND_PCM_FMT_S16_BE' undeclared (first use in this function)
alsa_a.c:337: request for member `format' in something not a structure or union
alsa_a.c:337: `SND_PCM_SFMT_S16_BE' undeclared (first use in this function)
alsa_a.c:340: `SND_PCM_FMT_U16_BE' undeclared (first use in this function)
alsa_a.c:342: request for member `format' in something not a structure or union
alsa_a.c:355: `SND_PCM_FMT_U8' undeclared (first use in this function)
alsa_a.c:357: request for member `format' in something not a structure or union
alsa_a.c:357: `SND_PCM_SFMT_U8' undeclared (first use in this function)
alsa_a.c:360: `SND_PCM_FMT_S8' undeclared (first use in this function)
alsa_a.c:362: request for member `format' in something not a structure or union
alsa_a.c:392: request for member `voices' in something not a structure or union
alsa_a.c:431: `SND_PCM_START_FULL' undeclared (first use in this function)
alsa_a.c:432: `SND_PCM_STOP_STOP' undeclared (first use in this function)
alsa_a.c: In function `open_output':
alsa_a.c:499: `SND_PCM_OPEN_PLAYBACK' undeclared (first use in this function)
alsa_a.c:499: `SND_PCM_OPEN_NONBLOCK' undeclared (first use in this function)
alsa_a.c:499: warning: passing arg 2 of `snd_pcm_open' makes pointer from
integer without a cast
alsa_a.c:520: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
alsa_a.c: In function `playback_write_error':
alsa_a.c:567: `snd_pcm_channel_status_t' undeclared (first use in this function)
alsa_a.c:567: parse error before `status'
alsa_a.c:569: `status' undeclared (first use in this function)
alsa_a.c:570: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
alsa_a.c:575: `SND_PCM_STATUS_UNDERRUN' undeclared (first use in this function)
alsa_a.c:583: `SND_PCM_STATUS_READY' undeclared (first use in this function)
alsa_a.c:590: `SND_PCM_STATUS_RUNNING' undeclared (first use in this function)
alsa_a.c: In function `output_count':
alsa_a.c:614: storage size of `playback_status' isn't known
alsa_a.c: In function `flush_output':
alsa_a.c:662: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
alsa_a.c: In function `purge_output':
alsa_a.c:670: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
make[3]: *** [alsa_a.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdemultimedia-3.0-r1/work/kdemultimedia-3.0/kmidi/TIMIDITY'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdemultimedia-3.0-r1/work/kdemultimedia-3.0/kmidi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdemultimedia-3.0-r1/work/kdemultimedia-3.0'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -3598, Exitcode 2
!!! died running emake, kde_src_compile:make

!!! emerge aborting on 
/usr/portage/kde-base/kdemultimedia/kdemultimedia-3.0-r1.ebuild .
Comment 2 Allen Smith 2002-05-04 00:02:45 UTC
 alsa.9 changes have been merged into kde3 cvs. My guess is that 
they haven't made it out yet. 
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-06-03 15:04:23 UTC
An update. (Not news really but I'm putting it here too for formality and accessability). kdemultimedia/kmix,kmidi officially do not support alsa 0.9. It's a matter of a rewrite rather than a small fix so I'm not going to try it myself :-) I don't know when the kde devs are going to do this. It's not in cvs head atm (not as of a week ago anyway) and 3.1 beta1 is due in ~4 weeks I think. 
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2002-06-07 11:59:47 UTC
Still having this problem even with the latest kde-3.0.1-20020604 ebuilds... 
possibly the kdemultimedia ebuild should check for +alsa in USE and then add 
-alsa to the ./configure? 
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-06-07 12:34:13 UTC
The current kdemultimedia ebuild already has a harcoded line that says: myconf="$myconf --without-alsa --disable-alsa" Is that not enough? Is the kdemm configure still picking up alsa automatically? It isn't here. Can I have some output? 
Comment 6 Nick Hadaway 2002-07-06 11:09:02 UTC
I submitted a new timidity++ ebuild and it works with alsa9.  Maybe
kdemultimedia will emerge now. :)
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-23 08:40:06 UTC
is this fixed with current ebuilds (kdemultimedia-3.0.4)? 
Comment 8 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-05 06:31:10 UTC
anyone still have this problem? 
please comment. 
Comment 9 Wahuu 2002-11-12 14:57:14 UTC
I've got kde 3.0.4 with alsa 0.9., if i _use_ alsa flags, kdemultimedia doesn't
compile, without (as hardcoded default in ebuild) everything's fine...
Comment 10 Wahuu 2002-11-12 15:01:41 UTC
I've got kde 3.0.4 with alsa 0.9., if i _use_ alsa flags, kdemultimedia doesn't
compile, without (as hardcoded default in ebuild) everything's fine...
Comment 11 Dan Armak (RETIRED) gentoo-dev 2002-11-23 03:46:08 UTC
This is officially not fixed, both in kde 3.0.x and in 3.1.x. 
Comment 12 Dan Armak (RETIRED) gentoo-dev 2003-01-29 13:09:06 UTC
No reason for this to remain open. I'm not going to write alsa.9 support for kdemm anytime 
soon...