Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo and OSS(4)
Date: Wed, 16 May 2018 02:08:49
In Reply to: [gentoo-user] Gentoo and OSS(4) by Klaus Ethgen
On 05/15/18 18:22, Klaus Ethgen wrote:
> Hi folks, > > usually I have a alsa free environment (as it never worked well) and > used OSS4 for long time now (>20y). > > Now with the switch to gentoo I wondering if it is possible to use oss > on gentoo too.
You should be able to, but pulseaudio no longer supports oss. See the 'oss' USE flag in: Pulseaudio upstream no longer supports oss.
> > One of the first problems I see is: > !!! The ebuild selected to satisfy "media-sound/pulseaudio" has unmet requirements. > - media-sound/pulseaudio-11.1::gentoo USE="X asyncns caps glib ipv6 ssl udev webrtc-aec -alsa -alsa-plugin -bluetooth -dbus -doc -equalizer -gdbm -gnome -gtk -jack -libressl -libsamplerate -lirc -native-headset (-neon) -ofono-headset -orc (-oss) -qt4 -realtime (-selinux) -sox (-system-wide) -systemd -tcpd -test -zeroconf" ABI_X86="(64) -32 (-x32)" > > The following REQUIRED_USE flag constraints are unsatisfied: > udev? ( any-of ( alsa oss ) ) > > Even that I have a explicite "oss" in my USE flags, it gets deselected > by pulsaudio (which I primary include to be able to use bluetooth > headset). > > So, > > - What does that -oss in brackets mean?
When in brackets like that it means it's forced in that position and you can't change it. In this case, it's because upstream deprecated oss support in pulseaudio.
> - How can I force usage of oss
You can't, as far as I know. In this case the flag seems to be removed (equery uses pulseaudio doesn't list oss as a valid USE-flag) and it might be a bug in the package as you shouldn't be able to set oss any more.
> - Is there a oss4 patchset for kernel and the userspace available? >
You might still be able to use oss but you won't be able to use pulseaudio with it. If you remove pulseaudio as a dependency (and not install it) it could work? (I'm sure if I'm wrong someone will point it out...) Dan