Bug#751069: csound: Does not recognize STK opcodes even though libstk is installed

Felipe Sateler fsateler at debian.org
Tue Jun 10 01:16:53 UTC 2014


Control: reassign -1 librtaudio4 4.1.1~ds0-1
Control: retitle -1 rtaudio: breaks ABI without SONAME bump
Control: severity -1 serious
Control: affects -1 csound

Hi Forrest,

On Mon, Jun 9, 2014 at 8:58 PM, Forrest Cahoon <forrest.cahoon at gmail.com> wrote:
> Package: csound
> Version: 1:6.03.2~dfsg-1
> Severity: normal
>
> Dear Maintainer,
>
> Every time I render a csd file, the following warning appears near the top of
> csound's output:
>
> WARNING: could not open library '/usr/lib/csound/plugins64-6.0/libstk.so'
> (/usr/lib/x86_64-linux-gnu/libstk.so.0: undefined symbol:
> _ZN7RtAudio10openStreamEPNS_16StreamParametersES1_mjPjPFiPvS3_jdjS3_ES3_PNS_13StreamOptionsEPFvN7RtError4TypeERKSsE)
>
> If I don't try to use STK opcodes, it's just a harmless warning. But if I try
> to use an STK opcode, I get an error like this:
>
> error: syntax error, unexpected T_IDENT  (token "STKTubeBell") from file
> helloSTKTubeBell.csd (1)
>  line 20:
>>>>aOut STKTubeBell <<<
> Unexpected untyped word aOut when expecting a variable
> Parsing failed due to invalid input!
>
> This looks to me like csound failed to recognize STKTubeBell as an opcode,
> which is consistent with the warning which appears to say the STK opcodes
> weren't loaded.

The problem is that rtaudio changed with the last version, and the
SONAME was not bumped.

The "gibberish" undefined symbol you quote above translates to the
following function:

RtAudio::openStream(RtAudio::StreamParameters*,
RtAudio::StreamParameters*, unsigned long, unsigned int, unsigned
int*, int (*)(void*, void*, unsigned int, double, unsigned int,
void*), void*, RtAudio::StreamOptions*, void (*)(RtError::Type,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&))

And unfortunately RtError no longer exists, as it was replaced by RtAudioError.

This requires a SONAME bump in RtAudio, and a rebuild of all reverse deps.

-- 

Saludos,
Felipe Sateler



More information about the pkg-multimedia-maintainers mailing list