Package Base Details: oss-nonfree

Git Clone URL: https://aur.archlinux.org/oss-nonfree.git (read-only, click to copy)
Keywords: oss
Submitter: alexdw
Maintainer: alexdw
Last Packager: alexdw
Votes: 15
Popularity: 0.000661
First Submitted: 2013-06-23 13:17
Last Updated: 2020-12-29 17:36

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

nuc commented on 2014-09-03 01:41

@alexdw: Sure np :)

About the licensing issue: There appeared to be another bug concerning proper registration, thats why I didn't answer. The dev told me he will probably get it fixed in the next release (build 2010 I guess).

alexdw commented on 2014-09-02 18:04

@nuc: Thanks for the new version notification.

I'll have a look at updating the PKGBUILD to 2010 on Monday - I'm away travelling for work at the moment and won't have access to my primary (Linux) PC until then.

alexdw commented on 2014-05-08 19:42

@nuc: I've commented that line so it should now install to:
/lib/modules/$KERNEL/kernel/oss/
instead of:
/lib/modules/extramodules-$KERNEL/oss/

Please could you try applying your license with this new version?

According to the comments below, this change was for consistency with the old community/oss package. If it works better without this I'll do the same with the oss and oss-git packages for consistency (so all will install to /lib/modules/$KERNEL/kernel/oss as oss seems to expect).

Updated (4.2_2009-3) with the above change.

nuc commented on 2014-05-08 18:00

It appears this change makes a problem:
# make OSS install its modules to /usr/lib/modules/$KERNEL/extramodules/oss

When I tried to apply my bought oss license, there was an error:
# osslic /tmp/N12345678.asc
/lib/modules/3.13.8-1-ARCH/kernel/oss/osscore.ko: No such file or directory

It appears that arch installed the osscore.ko file into
/lib/modules/extramodules-3.13-ARCH/oss/osscore.ko

Could you please fix this alex?

Thanks in Advance!

alexdw commented on 2014-04-06 01:37

Thanks for letting me know seschwar.

I had a quick search and found a similar compilation error resolved here:
https://communities.vmware.com/thread/469169

Looks like the issue is caused by this:
http://lkml.iu.edu//hypermail/linux/kernel/1204.1/00030.html

OSS is expecting uid_t but kernel is returning kuid_t instead.
So I've added a very simple patch (linux-3.14.0.patch) to convert the return value back to uid_t.

Updated version (4.2_2009-2) works for me now (osstest runs fine) with 3.14.0 kernel in testing repos (3.14.0-3-ARCH).

seschwar commented on 2014-04-02 11:22

Does not work on linux-3.14:

# sh /usr/lib/oss/build/install.sh

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /usr/lib/modules/3.14.0-1-ARCH/build M=/usr/lib/oss/build modules
make[1]: Entering directory '/usr/lib/modules/3.14.0-1-ARCH/build'
CC [M] /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘oss_get_uid’:
/usr/lib/oss/build/osscore.c:476:3: error: incompatible types when returning type ‘kuid_t’ but ‘int’ was expected
return current->cred->uid;
^
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:1002: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:1676:3: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
return dev_name(&dip->pcidev->dev);
^
/usr/lib/oss/build/osscore.c: In function ‘oss_get_uid’:
/usr/lib/oss/build/osscore.c:480:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
scripts/Makefile.build:314: recipe for target '/usr/lib/oss/build/osscore.o' failed
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
Makefile:1274: recipe for target '_module_/usr/lib/oss/build' failed
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.14.0-1-ARCH/build'
Makefile:16: recipe for target 'default' failed
make: *** [default] Error 2

alexdw commented on 2014-03-30 23:09

Updated (4.2_2009-1) for the new version (OSS v4.2 build 2009):
http://www.4front-tech.com/forum/viewtopic.php?f=19&t=5592

The only changes in the PKGBUILD is to link to new file and to remove the kernel version-specific patches (as they all appear to be applied in the new build already).

alexdw commented on 2013-11-05 07:38

Tested as working for me on 3.11.6 (latest kernel version in the main repos as of now).

moscwich commented on 2013-11-04 07:58

Please patch for 3.11

alexdw commented on 2013-09-27 23:29

Thank you again seschwar. Updated (4.2_2008-9) with your latest PKGBUILD.