Red Hat Bugzilla – Bug 219010
alsa-tools does not build on ppc
Last modified: 2009-12-17 08:14:43 EST
Building on ppc fails with:
reference to `__invalid_size_argument_for_IOC'
(see jobs 22627 and 22645)
I *suspect* this might be because some (all?) of the tools don't actually make
sense on PPC, because it may be that it's physically impossible to use them on
PPC hardware. (I could be wrong here though; I know almost zero about PPC). Some
web searching hasn't immediately thrown up any answers.
However, in any case, if you use PPC and require alsa-tools (or know more about
this problem), please comment on this bug.
The problem is that the SNDRV_SB_CSP_IOCTL_LOAD_CODE ioctl has a size which is
too large for many architectures, including PPC. This should probably be done
Gentoo's workaround of just disabling sb16_csp on PPC seems reasonable, given
that the kernel side isn't built there either.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Thanks for the pointer.
Fixed and in the update queue for F-8 and F-9, also built in rawhide. Feedback
JFYI, it seems to build on ALT Linux/ppc:
$ rpm -qlvp files/ppc/RPMS/alsa-tools-1.0.18-alt1.ppc.rpm | grep cspctl
-rwxr-xr-x 1 root root 8208 Nov 13 2008 /usr/bin/cspctl
Not sure if it's worth bothering, maybe to clean up the messy spec a little bit.