Bug#923529: giada: FTBFS (error: expected ')' before '*' token)
Package: src:giada
Version: 0.15.2+ds1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules binary-arch
dh binary-arch
dh_update_autotools_config -a
dh_autoreconf -a
configure.ac:102: installing './compile'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/giada-0.15.2+ds1'
dh_auto_configure -- \
--enable-vst \
--enable-system-catch \
[... snipped ...]
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:2959:40: error: 'effEditIdle' is not a member of 'Vst2'
plugin.dispatch (Vst2::effEditIdle, 0, 0, 0, 0);
^~~~~~~~~~~
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:2959:40: note: suggested alternative: 'effEditClose'
plugin.dispatch (Vst2::effEditIdle, 0, 0, 0, 0);
^~~~~~~~~~~
effEditClose
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp: At global scope:
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:3461:38: error: expected initializer before 'audioMaster'
static pointer_sized_int VSTCALLBACK audioMaster (Vst2::AEffect* effect, int32 opcode, int32 index, pointer_sized_int value, void* ptr, float opt)
^~~~~~~~~~~
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp: In member function 'virtual void juce::VSTPluginFormat::findAllTypesForFile(juce::OwnedArray<juce::PluginDescription>&, const juce::String&)':
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:3510:19: error: 'struct juce::VSTPluginInstance' has no member named 'getVstCategory'; did you mean 'getCategory'?
if (instance->getVstCategory() != Vst2::kPlugCategShell)
^~~~~~~~~~~~~~
getCategory
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:3523:56: error: 'effShellGetNextPlugin' is not a member of 'Vst2'
auto uid = (int) instance->dispatch (Vst2::effShellGetNextPlugin, 0, 0, shellEffectName, 0);
^~~~~~~~~~~~~~~~~~~~~
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:3523:56: note: suggested alternative: 'hostOpcodeGetNextPlugIn'
auto uid = (int) instance->dispatch (Vst2::effShellGetNextPlugin, 0, 0, shellEffectName, 0);
^~~~~~~~~~~~~~~~~~~~~
hostOpcodeGetNextPlugIn
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp: In static member function 'static juce::AudioPluginInstance* juce::VSTPluginFormat::createCustomVSTFromMainCall(void*, double, int)':
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:3725:59: error: 'MainCall' was not declared in this scope
ModuleHandle::Ptr module = new ModuleHandle (File(), (MainCall) entryPointFunction);
^~~~~~~~
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:3725:59: note: suggested alternative: 'fminmagl'
ModuleHandle::Ptr module = new ModuleHandle (File(), (MainCall) entryPointFunction);
^~~~~~~~
fminmagl
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp: In static member function 'static juce::AudioPluginInstance* juce::VSTPluginFormat::getPluginInstanceFromVstEffectInterface(void*)':
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:3750:83: error: 'struct Vst2::AEffect' has no member named 'resvd2'
if (auto* instanceVST = reinterpret_cast<VSTPluginInstance*> (vstAEffect->resvd2))
^~~~~~
src/deps/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:3751:67: error: cannot dynamic_cast 'instanceVST' (of type '<type error>') to type 'class juce::AudioPluginInstance*' (source is not a pointer)
return dynamic_cast<AudioPluginInstance*> (instanceVST);
^
make[2]: *** [Makefile:5250: src/deps/juce/modules/juce_audio_processors/giada-juce_audio_processors.o] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/giada-0.15.2+ds1'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [debian/rules:44: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/giada-0.15.2+ds1'
make: *** [debian/rules:33: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
(The above is just how the build ends and not necessarily the most relevant part)
The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/giada.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
Reply to: