From Gentoo Wiki
Jump to:navigation Jump to:search


This package needs access to /dev/dsp in order to run tests.

This means you need:

  • a Kernel with OSS compat Support
  • snd-pcm-oss loaded
  • Permissions to write to /dev/dsp (eg: chmod a+rw /dev/dsp or ensure portage is in the audio group)
  • FEATURES="-usersandbox"

However, test suite is still known to fail with all the above considered, and its not known to me if this is a limitation of OSS co-existing with other sound technology or not.

Results other than the following are wanted as feedback:

>>> Test phase: dev-perl/Audio-DSP-0.20.0-r2
 * Compile testing Audio::DSP 0.02 ...                                                                                           [ ok ]
 * Test::Harness Jobs=3
make -j3 --load-average=4 test TEST_VERBOSE=0 
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- blib/arch/auto/Audio/DSP/ 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/lib" "-Iblib/arch"
Loading Audio::DSP... ok 1
Initializing audio device... not ok 2 (failed to open device '/dev/dsp')
make: *** [Makefile:992: test_dynamic] Error 16