First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 2423
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Arcady Genkin (RETIRED) <agenkin@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Troy Dack <troy@tkdack.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2423 depends on: Show dependency tree
Bug 2423 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-05-03 20:50 0000
Emerging sox dies when alsa is set as a USE flag.

Alsa packages installed:

gentoo root # qpkg -I alsa*
media-libs/alsa-lib-0.9.0_rc1 *
media-libs/alsa-oss-0.9.0_rc1 *
media-sound/alsa-driver-0.9.0_rc1-r5 *
media-sound/alsa-utils-0.9.0_rc1 *
media-sound/alsa-xmms-0.9 *

Error output from: emerge sox

gcc -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -DALSA_PLAYER -DOSS_PLAYER
-DFAST_ULAW_CONVERSION -DFAST_ALAW_CONVERSION  -DHAVE_LIBM=1 -DHAVE_GETOPT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_BYTESWAP_H=1 -DHAVE_GETOPT=1
-DHAVE_STRERROR=1 -DHAVE_MEMMOVE=1 -DHAVE_RAND=1 -DHAVE_SYS_SOUNDCARD_H=1  -I. 
 -c -o alsa.o alsa.c
alsa.c:18: linux/asound.h: No such file or directory
alsa.c: In function `st_alsastartread':
alsa.c:137: `snd_pcm_channel_info_t' undeclared (first use in this function)
alsa.c:137: (Each undeclared identifier is reported only once
alsa.c:137: for each function it appears in.)
alsa.c:137: parse error before `c_info'
alsa.c:138: `snd_pcm_channel_params_t' undeclared (first use in this function)
alsa.c:140: `c_info' undeclared (first use in this function)
alsa.c:141: `SND_PCM_IOCTL_CHANNEL_INFO' undeclared (first use in this function)
alsa.c:157: `c_params' undeclared (first use in this function)
alsa.c:161: `SND_PCM_START_DATA' undeclared (first use in this function)
alsa.c:162: `SND_PCM_STOP_STOP' undeclared (first use in this function)
alsa.c:169: `SND_PCM_MODE_BLOCK' undeclared (first use in this function)
alsa.c:173: `SND_PCM_IOCTL_CHANNEL_PARAMS' undeclared (first use in this function)
alsa.c:174: `SND_PCM_IOCTL_CHANNEL_PREPARE' undeclared (first use in this function)
alsa.c:136: warning: `bps' might be used uninitialized in this function
alsa.c: In function `st_alsastartwrite':
alsa.c:188: `snd_pcm_channel_info_t' undeclared (first use in this function)
alsa.c:188: parse error before `p_info'
alsa.c:189: `snd_pcm_channel_params_t' undeclared (first use in this function)
alsa.c:191: `p_info' undeclared (first use in this function)
alsa.c:192: `SND_PCM_IOCTL_CHANNEL_INFO' undeclared (first use in this function)
alsa.c:207: `p_params' undeclared (first use in this function)
alsa.c:211: `SND_PCM_START_FULL' undeclared (first use in this function)
alsa.c:212: `SND_PCM_STOP_STOP' undeclared (first use in this function)
alsa.c:219: `SND_PCM_MODE_BLOCK' undeclared (first use in this function)
alsa.c:223: `SND_PCM_IOCTL_CHANNEL_PARAMS' undeclared (first use in this function)
alsa.c:224: `SND_PCM_IOCTL_CHANNEL_PREPARE' undeclared (first use in this function)
alsa.c:187: warning: `bps' might be used uninitialized in this function
alsa.c: In function `get_format':
alsa.c:239: `SND_PCM_FMT_U8' undeclared (first use in this function)
alsa.c:239: `SND_PCM_FMT_S8' undeclared (first use in this function)
alsa.c:245: `SND_PCM_FMT_S16' undeclared (first use in this function)
alsa.c:258: `SND_PCM_SFMT_S8' undeclared (first use in this function)
alsa.c:265: `SND_PCM_SFMT_U8' undeclared (first use in this function)
alsa.c:281: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function)
alsa.c:284: `SND_PCM_FMT_U16' undeclared (first use in this function)
alsa.c:288: `SND_PCM_SFMT_U16_LE' undeclared (first use in this function)
make: *** [alsa.o] Error 1

!!! ERROR: the make command did not complete successfully.
!!! ("make")
!!! Since this is a critical task, ebuild will be stopped.

!!! emerge aborting on  /usr/portage/media-sound/sox/sox-12.17.1.ebuild .

------- Comment #1 From Arcady Genkin (RETIRED) 2002-05-11 13:45:22 0000 -------
This happens because it tries to find alsa-0.5.X headers.  This probably means
that sox does not support alsa 0.9.X.

I've committed ebuild for the new version (12.17.3), in which I disabled alsa
support.  But at least it should compile and install for everyone.

Thanks for the report.

First Last Prev Next    No search results available      Search page      Enter new bug