FS#36033 - [oss] modules do not compile on Linux 3.10
Attached to Project:
Community Packages
Opened by Sebastian Schwarz (seschwar) - Friday, 05 July 2013, 14:35 GMT
Last edited by Kyle Keen (keenerd) - Wednesday, 25 September 2013, 11:37 GMT
Opened by Sebastian Schwarz (seschwar) - Friday, 05 July 2013, 14:35 GMT
Last edited by Kyle Keen (keenerd) - Wednesday, 25 September 2013, 11:37 GMT
|
Details
Description:
When running soundon the OSS kernel modules cannot be rebuilt for Linux 3.10. See below for the error message of the compiler. There is a thread on the OSS Forum, which includes a patch: http://4front-tech.com/forum/viewtopic.php?f=3&t=5247 I will test it and report back later. Additional info: linux 3.10-1 oss 4.2_2007-3 Steps to reproduce: # cd /usr/lib/oss/build # sh install.sh OSS build environment set up for REGPARM kernels Building module osscore Failed to compile OSS make -C /usr/lib/modules/3.10.0-1-ARCH/build M=/usr/lib/oss/build modules make[1]: Entering directory `/usr/src/linux-3.10.0-1-ARCH' CC [M] /usr/lib/oss/build/osscore.o /usr/lib/oss/build/osscore.c: In function ‘init_proc_fs’: /usr/lib/oss/build/osscore.c:287:8: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration] create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL) ^ /usr/lib/oss/build/osscore.c:286:22: warning: assignment makes pointer from integer without a cast [enabled by default] if ((oss_proc_root = ^ /usr/lib/oss/build/osscore.c:293:26: warning: assignment makes pointer from integer without a cast [enabled by default] if ((oss_proc_devfiles = ^ /usr/lib/oss/build/osscore.c:300:20: error: dereferencing pointer to incomplete type oss_proc_devfiles->proc_fops = &oss_proc_operations; ^ /usr/lib/oss/build/osscore.c: In function ‘alloc_fop’: /usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type [enabled by default] fop->fsync = oss_no_fsync; ^ /usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’: /usr/lib/oss/build/osscore.c:1638:3: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] return dev_name(&dip->pcidev->dev); ^ cc1: some warnings being treated as errors make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1 make[1]: *** [_module_/usr/lib/oss/build] Error 2 make[1]: Leaving directory `/usr/src/linux-3.10.0-1-ARCH' make: *** [default] Error 2 |
This task depends upon
Closed by Kyle Keen (keenerd)
Wednesday, 25 September 2013, 11:37 GMT
Reason for closing: Won't fix
Additional comments about closing: OSS has been moved to AUR.
Wednesday, 25 September 2013, 11:37 GMT
Reason for closing: Won't fix
Additional comments about closing: OSS has been moved to AUR.
However upstream seems to be quite stalled. So either you fix the package downstream so that it actually works with Arch's current set of packages, or you just drop it from the repos.
I created a PKGBUILD which includes this patch and the one for
FS#36284. The PKGBUILD was also cleaned up and simplified a bit. However while everything compiles the package is still prone toFS#35672!