Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418103 - media-sound/audacity-2.0.0 - audacity: aoss: command not found
Summary: media-sound/audacity-2.0.0 - audacity: aoss: command not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-29 09:51 UTC by Tobias Kaminsky
Modified: 2012-07-01 08:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kaminsky 2012-05-29 09:51:55 UTC
Hello,

I installed audacity with a pure ALSA system.
After starting audacity it says "aoss: command not found".

Manually installing media-libs/alsa-oss solved the problem.

Reproducible: Always

Steps to Reproduce:
1. Install audacity without alsa-oss
2. start audacity
Comment 1 Tim Harder gentoo-dev 2012-05-29 22:00:01 UTC
How are you starting audacity?
Comment 2 Tobias Kaminsky 2012-05-30 08:07:28 UTC
(In reply to comment #1)
> How are you starting audacity?

First with complete KDE session, but I tried it also with Fluxbox.
It is a normal user:
uid=1000(tobi) gid=100(users) groups=100(users),6(disk),7(lp),10(wheel),18(audio),19(cdrom),27(video),35(games),80(cdrw),85(usb),104(svnusers),250(portage),1002(plugdev),1005(vboxusers),1010(scanner)

Here is the konsole output:
[10:05:43]|[tobi@laptop]|~
$audacity 
bash: aoss: command not found

Thank you!
Comment 3 Richard Ash 2012-06-30 09:42:47 UTC
You must have some sort of shell wrapper script installed in your $PATH, named 'audacity' and which tries to use the obsolete aoss wrapper. This wrapper didn't come from the audacity ebuild!

The output of 
 which audacity
will tell you where the wrapper is (it won't be /usr/bin/audacity, my bet is /usr/local/bin/).
 equery b $(which audacity)
will confirm that it doesn't belong to the audacity ebuild.

If you run the command 
 /usr/bin/audacity
from a terminal, Audacity will load just fine without the alsa-oss package installed.

If you remove the wrapper script you don't need then everything will work fine.

This is almost certainly a configuration issue on end user's system and should be closed.
Comment 4 Tim Harder gentoo-dev 2012-06-30 16:59:11 UTC
Closing as invalid since this is probably a local system configuration issue.

See comment #3 to try to debug the situation on your local setup.
Comment 5 Tobias Kaminsky 2012-07-01 08:52:42 UTC
Hello,

you are right, it is a misconfigured system.
But it is very strange:

[10:40:36]|[tobi@laptop]|~
$equery b $(which audacity)
 * Searching for /usr/bin/audacity ... 
media-sound/audacity-2.0.0 (/usr/bin/audacity)
[10:40:55]|[tobi@laptop]|~
$audacity 
bash: aoss: command not found
[10:40:59]|[tobi@laptop]|~
$/usr/bin/audacity 
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875

As you can see, I have no wrapper installed, audacity directly does not work, starting it with absolute path is working...

In all my $PATH is no file called audacity except the one installed by the ebuild.

In fact it is no big issue as I can start it via ALT+F2, but it is weird and not so easy as an unwanted wrapper.