[Pkg-alsa-devel] Bug#274151: broken header sound/asound.h: causes other packages to FTBFS

Martin Michlmayr Martin Michlmayr <tbm@cyrius.com>, 274151@bugs.debian.org
Thu Sep 30 06:32:32 UTC 2004


Package: alsa-headers
Version: 1.0.6a-2
Severity: grave

It seems this new upstream release has pretty broken headers.

> Automatic build of sox_12.17.5-3 on solitude by sbuild/mipsel 1.169
...
> cc -g -Wall -O2 -Wall -I. -I.   -c -o alsa.o alsa.c
> In file included from alsa.c:32:
> /usr/include/sound/asound.h:140: error: parse error before '*' token
> /usr/include/sound/asound.h:143: error: parse error before '}' token
> /usr/include/sound/asound.h:149: error: invalid application of `sizeof' to an incomplete type
> /usr/include/sound/asound.h:451: error: variable or field `__user' declared void
> /usr/include/sound/asound.h:451: error: parse error before '*' token
> /usr/include/sound/asound.h:453: error: parse error before '}' token
> /usr/include/sound/asound.h:457: error: variable or field `__user' declared void
> /usr/include/sound/asound.h:457: error: parse error before '*' token
> /usr/include/sound/asound.h:459: error: parse error before '}' token
> /usr/include/sound/asound.h:484: error: invalid application of `sizeof' to an incomplete type
> /usr/include/sound/asound.h:485: error: invalid application of `sizeof' to an incomplete type
> /usr/include/sound/asound.h:486: error: invalid application of `sizeof' to an incomplete type
> /usr/include/sound/asound.h:487: error: invalid application of `sizeof' to an incomplete type
> /usr/include/sound/asound.h:781: error: parse error before '*' token
> /usr/include/sound/asound.h:783: error: parse error before '}' token
> /usr/include/sound/asound.h:845: error: invalid application of `sizeof' to an incomplete type
> make[1]: *** [alsa.o] Error 1
> make[1]: Leaving directory `/build/tbm/sox-12.17.5/build-tree/sox-12.17.5'
> make: *** [debian/stamp-makefile-build] Error 2
> ******************************************************************************

A simple test program like the following demonstrates this:

#include <sound/asound.h>

int main(void) {
}

-- 
Martin Michlmayr
tbm@cyrius.com





More information about the Pkg-alsa-devel mailing list