@MarsSeed Package version is based on commit reference of upstream source git. To which I added a suffix. I don't expect the commit number to change as there has not been any new commits for over a year and Hannu (the maintainer) has not responded to my requests. I am a relatively new AUR package maintainer and may have overlooked the requirement to increment the package version suffix with each new commit. I note your criticism and will be more attentive with future changes. Removing stale modules does present a problem. A recent change removed the extramodules directory (if empty) but there is a problem keeping track of modules (both archived alsa and oss) if the oss-git package is not removed prior to a kernel upgrade. I will look into removing /usr/lib/oss though I believe that /usr/lib/oss/conf should remain if any of the configuration files have been modified.
Search Criteria
Package Details: oss-git 5693e1e-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/oss-git.git (read-only, click to copy) |
---|---|
Package Base: | oss-git |
Description: | Open Sound System UNIX audio architecture |
Upstream URL: | http://developer.opensound.com/ |
Keywords: | oss |
Licenses: | GPL2 |
Conflicts: | libflashsupport-oss, libflashsupport-oss-nonfree, oss, oss-nonfree |
Provides: | oss |
Submitter: | Nowaker |
Maintainer: | seawright |
Last Packager: | seawright |
Votes: | 26 |
Popularity: | 0.000000 |
First Submitted: | 2013-09-21 13:15 (UTC) |
Last Updated: | 2024-02-08 22:55 (UTC) |
Dependencies (6)
- linux-headers
- git (git-gitAUR, git-glAUR) (make)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (optional) – for graphical mixer (ossxmix)
- libflashsupport-ossAUR (optional) – Adobe flash plugin support
- libogg (libogg-gitAUR) (optional) – for Ogg Vorbis support in ossplay
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR) (optional) – for Ogg Vorbis support in ossplay
Required by (12)
- bitwig-studio (requires oss) (optional)
- bitwig-studio-4 (requires oss) (optional)
- bitwig-studio-beta (requires oss) (optional)
- bitwig-studio-earlyaccess (requires oss) (optional)
- bitwig-studio-legacy (requires oss) (optional)
- fbff-git (requires oss) (optional)
- libflashsupport-oss (requires oss)
- libflashsupport-oss-git (requires oss)
- libflashsupport-oss-nonfree (requires oss)
- minmad-git (requires oss) (optional)
- rsound-git (requires oss) (optional)
- siren (requires oss) (optional)
Sources (12)
seawright commented on 2024-01-03 11:20 (UTC) (edited on 2024-01-03 11:25 (UTC) by seawright)
MarsSeed commented on 2023-12-29 17:20 (UTC) (edited on 2023-12-29 17:22 (UTC) by MarsSeed)
Uninstalling also does not remove libs from /usr/lib/oss/lib
.
Edit: it actually does not remove /usr/lib/oss
at all.
MarsSeed commented on 2023-12-29 17:13 (UTC)
Also pkgver() is bogus, random, not monotonically increasing.
MarsSeed commented on 2023-12-29 17:12 (UTC)
This package screws up the system upon removal: fails to remove oss kernel modules.
seawright commented on 2023-07-09 19:26 (UTC)
Patched /usr/lib/oss/build/osscore.c. Osscore module builds with latest kernel. Tested with 6.4.2-arch1-1 and hdaudio hardware.
seawright commented on 2023-07-08 20:11 (UTC)
@deathrashergr commented out, 'patch -p1 < "$srcdir/ossvermagic.patch"' in PKGBUILD (patch not required following upstream changes). Package now builds and installs though I expect errors when building modules for latest kernels.
deathrashergr commented on 2023-06-19 22:03 (UTC) (edited on 2023-06-19 22:03 (UTC) by deathrashergr)
Linux
make[2]: Entering directory '/media/Raiden/Caches/yay/oss-git/src/oss/build/os_cmd/Linux'
for n in ossdetect ossvermagic;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
ossdetect
make[3]: Entering directory '/media/Raiden/Caches/yay/oss-git/src/oss/build/os_cmd/Linux/ossdetect'
cc -c -O -O -O -O -Wall -DOSS_LITTLE_ENDIAN -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. ossdetect.c -o ./ossdetect.o
cc -O -O -O -O -s -o ../../../target/sbin/ossdetect ./ossdetect.o -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
make[3]: Leaving directory '/media/Raiden/Caches/yay/oss-git/src/oss/build/os_cmd/Linux/ossdetect'
ossvermagic
make[3]: Entering directory '/media/Raiden/Caches/yay/oss-git/src/oss/build/os_cmd/Linux/ossvermagic'
cc -c -O -O -O -O -Wall -DOSS_LITTLE_ENDIAN -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/Linux -I../../../kernel/nonfree/include -I../../.. ossvermagic.c -o ./ossvermagic.o
ossvermagic.c:163:1: error: redefinition of ‘check_xzipped_module’
163 | check_xzipped_module (char *fname)
| ^~~~~~~~~~~~~~~~~~~~
ossvermagic.c:127:1: note: previous definition of ‘check_xzipped_module’ with type ‘void(char *)’
127 | check_xzipped_module (char *fname)
| ^~~~~~~~~~~~~~~~~~~~
ossvermagic.c:127:1: warning: ‘check_xzipped_module’ defined but not used [-Wunused-function]
make[3]: *** [Makefile:38: ossvermagic.o] Error 1
make[3]: Leaving directory '/media/Raiden/Caches/yay/oss-git/src/oss/build/os_cmd/Linux/ossvermagic'
make[2]: *** [../../make.defs:11: subdirs] Error 1
make[2]: Leaving directory '/media/Raiden/Caches/yay/oss-git/src/oss/build/os_cmd/Linux'
make[1]: *** [../make.defs:11: subdirs] Error 1
make[1]: Leaving directory '/media/Raiden/Caches/yay/oss-git/src/oss/build/os_cmd'
make: *** [make.defs:11: subdirs] Error 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: oss-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
oss-git - exit status 4
Fails when trying to install. Any hints or news regarding this ?
13905069 commented on 2022-07-22 03:10 (UTC) (edited on 2022-07-22 03:11 (UTC) by 13905069)
Solved,just delete the local implementation of memmove in/usr/lib/oss/build/osscore.c
void *memmove(void *dest, const void *src, size_t n)
{
return oss_memcpy(dest, src, n);
}
13905069 commented on 2022-07-21 08:08 (UTC) (edited on 2022-07-21 08:10 (UTC) by 13905069)
Failed to compile OSS with Linux 5.18.12:
[MyComputer]# soundon
Relinking OSS kernel modules for "5.18.12-arch1-1 SMP preempt mod_unload "
This may take few moments - please stand by...
OSS build environment set up for REGPARM kernels
Building module osscore
Failed to compile OSS
make -C /usr/lib/modules/5.18.12-arch1-1/build M=/usr/lib/oss/build modules
make[1]: Entering directory '/usr/lib/modules/5.18.12-arch1-1/build'
CC [M] /usr/lib/oss/build/osscore_lnk.o
/usr/lib/oss/build/osscore_lnk.c: In function ‘oss_get_time’:
/usr/lib/oss/build/osscore_lnk.c:95:10: warning: returning ‘time64_t (*)(void)’ {aka ‘long long int (*)(void)’} from a function with return type ‘oss_time_t’ {aka ‘long unsigned int’} makes integer from pointer without a cast [-Wint-conversion]
95 | return ktime_get_real_seconds;
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/string.h:253,
from ./include/linux/bitmap.h:11,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:22,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:67,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from /usr/lib/oss/build/osscore_lnk.c:15:
/usr/lib/oss/build/osscore_lnk.c: At top level:
./include/linux/fortify-string.h:358:63: error: expected identifier or ‘(’ before ‘{’ token
358 | p_size_field, q_size_field, op) ({ \
| ^
./include/linux/fortify-string.h:373:27: note: in expansion of macro ‘__fortify_memcpy_chk’
373 | #define memmove(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
/usr/lib/oss/build/osscore_lnk.c:141:7: note: in expansion of macro ‘memmove’
141 | void *memmove(void *dest, const void *src, size_t n)
| ^~~~~~~
make[2]: *** [scripts/Makefile.build:288: /usr/lib/oss/build/osscore_lnk.o] Error 1
make[1]: *** [Makefile:1838: /usr/lib/oss/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.18.12-arch1-1/build'
make: *** [Makefile:21: default] Error 2
Relinking the OSS kernel modules failed
seawright commented on 2022-02-13 00:18 (UTC)
@Galaxy Following upstream changes ossvermagic patch no longer required. Please update PKGBUILD iaw pull request at https://github.com/GalaxyAUR/oss-git/pulls .
Pinned Comments
Galaxy commented on 2019-10-24 02:55 (UTC)
The latest support Intel HDA is
0x8c20
, and I am usinga348
. If your sound card is not listed there, it is not supported.