Bug#952048: iem-plugin-suite: FTBFS: ../../../resources/Standalone/MyStandaloneFilterWindow.h:132:47: error: cannot convert ‘juce::AudioIODeviceType*’ to ‘std::unique_ptr<juce::AudioIODeviceType>’
Source: iem-plugin-suite
Version: 1.11.0-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> g++ -MMD -DLINUX=1 -DNDEBUG=1 -DJUCE_USE_CUSTOM_PLUGIN_STANDALONE_APP=1 -DJUCER_LINUX_MAKE_6D53C8B4=1 -DJUCE_APP_VERSION=0.4.0 -DJUCE_APP_VERSION_HEX=0x400 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -pthread -I/usr/share/juce/modules/juce_audio_processors/format_types/VST3_SDK -I../../JuceLibraryCode -I/usr/share/juce/modules -I/usr/local/include -I../../../resources/ -Wdate-time -D_FORTIFY_SOURCE=2 -DJUCE_JACK=1 -DDEBIAN_BUILD=1 -fPIC -O3 -flto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -I/usr/include/libpng16 -std=c++14 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DJucePlugin_Build_VST=1 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=1 -DJucePlugin_Build_Unity=0 -DJUCE_SHARED_CODE=1 -o "build/intermediate/Release/StandaloneApp_2a979640.o" -c "../../../resources/Standalone/StandaloneApp.cpp"
> In file included from ../../../resources/Standalone/MyStandaloneFilterWindow.h:68,
> from ../../../resources/Standalone/StandaloneApp.cpp:58:
> ../../../resources/Standalone/IEM_JackAudio.h:91:170: warning: extra ‘;’ [-Wpedantic]
> 91 | JUCE_DECL_JACK_FUNCTION (jack_client_t*, jack_client_open, (const char* client_name, jack_options_t options, jack_status_t* status, ...), (client_name, options, status));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:92:84: warning: extra ‘;’ [-Wpedantic]
> 92 | JUCE_DECL_JACK_FUNCTION (int, jack_client_close, (jack_client_t *client), (client));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:93:80: warning: extra ‘;’ [-Wpedantic]
> 93 | JUCE_DECL_JACK_FUNCTION (int, jack_activate, (jack_client_t* client), (client));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:94:82: warning: extra ‘;’ [-Wpedantic]
> 94 | JUCE_DECL_JACK_FUNCTION (int, jack_deactivate, (jack_client_t* client), (client));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:95:89: warning: extra ‘;’ [-Wpedantic]
> 95 | JUCE_DECL_JACK_FUNCTION (char*, jack_get_client_name, (jack_client_t* client), (client));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:96:98: warning: extra ‘;’ [-Wpedantic]
> 96 | JUCE_DECL_JACK_FUNCTION (jack_nframes_t, jack_get_buffer_size, (jack_client_t* client), (client));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:97:98: warning: extra ‘;’ [-Wpedantic]
> 97 | JUCE_DECL_JACK_FUNCTION (jack_nframes_t, jack_get_sample_rate, (jack_client_t* client), (client));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:98:138: warning: extra ‘;’ [-Wpedantic]
> 98 | JUCE_DECL_VOID_JACK_FUNCTION (jack_on_shutdown, (jack_client_t* client, void (*function)(void* arg), void* arg), (client, function, arg));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:99:117: warning: extra ‘;’ [-Wpedantic]
> 99 | JUCE_DECL_JACK_FUNCTION (void* , jack_port_get_buffer, (jack_port_t* port, jack_nframes_t nframes), (port, nframes));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:100:130: warning: extra ‘;’ [-Wpedantic]
> 100 | JUCE_DECL_JACK_FUNCTION (jack_nframes_t, jack_port_get_total_latency, (jack_client_t* client, jack_port_t* port), (client, port));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:101:231: warning: extra ‘;’ [-Wpedantic]
> 101 | JUCE_DECL_JACK_FUNCTION (jack_port_t* , jack_port_register, (jack_client_t* client, const char* port_name, const char* port_type, unsigned long flags, unsigned long buffer_size), (client, port_name, port_type, flags, buffer_size));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:102:92: warning: extra ‘;’ [-Wpedantic]
> 102 | JUCE_DECL_VOID_JACK_FUNCTION (jack_set_error_function, (void (*func)(const char*)), (func));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:103:164: warning: extra ‘;’ [-Wpedantic]
> 103 | JUCE_DECL_JACK_FUNCTION (int, jack_set_process_callback, (jack_client_t* client, JackProcessCallback process_callback, void* arg), (client, process_callback, arg));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:104:218: warning: extra ‘;’ [-Wpedantic]
> 104 | JUCE_DECL_JACK_FUNCTION (const char**, jack_get_ports, (jack_client_t* client, const char* port_name_pattern, const char* type_name_pattern, unsigned long flags), (client, port_name_pattern, type_name_pattern, flags));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:105:165: warning: extra ‘;’ [-Wpedantic]
> 105 | JUCE_DECL_JACK_FUNCTION (int, jack_connect, (jack_client_t* client, const char* source_port, const char* destination_port), (client, source_port, destination_port));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:106:89: warning: extra ‘;’ [-Wpedantic]
> 106 | JUCE_DECL_JACK_FUNCTION (const char*, jack_port_name, (const jack_port_t* port), (port));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:107:175: warning: extra ‘;’ [-Wpedantic]
> 107 | JUCE_DECL_JACK_FUNCTION (void*, jack_set_port_connect_callback, (jack_client_t* client, JackPortConnectCallback connect_callback, void* arg), (client, connect_callback, arg));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:108:125: warning: extra ‘;’ [-Wpedantic]
> 108 | JUCE_DECL_JACK_FUNCTION (jack_port_t* , jack_port_by_id, (jack_client_t* client, jack_port_id_t port_id), (client, port_id));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:109:86: warning: extra ‘;’ [-Wpedantic]
> 109 | JUCE_DECL_JACK_FUNCTION (int, jack_port_connected, (const jack_port_t* port), (port));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:110:123: warning: extra ‘;’ [-Wpedantic]
> 110 | JUCE_DECL_JACK_FUNCTION (int, jack_port_connected_to, (const jack_port_t* port, const char* port_name), (port, port_name));
> | ^
> ../../../resources/Standalone/IEM_JackAudio.h:111:152: warning: extra ‘;’ [-Wpedantic]
> 111 | JUCE_DECL_JACK_FUNCTION (int, jack_set_xrun_callback, (jack_client_t* client, JackXRunCallback xrun_callback, void* arg), (client, xrun_callback, arg));
> | ^
> In file included from ../../../resources/Standalone/StandaloneApp.cpp:58:
> ../../../resources/Standalone/MyStandaloneFilterWindow.h: In constructor ‘MyStandalonePluginHolder::MyStandalonePluginHolder(juce::PropertySet*, bool, const juce::String&, const juce::AudioDeviceManager::AudioDeviceSetup*, const juce::Array<MyStandalonePluginHolder::PluginInOuts>&, bool)’:
> ../../../resources/Standalone/MyStandaloneFilterWindow.h:132:47: error: cannot convert ‘juce::AudioIODeviceType*’ to ‘std::unique_ptr<juce::AudioIODeviceType>’
> 132 | deviceManager.addAudioDeviceType (t);
> | ^
> | |
> | juce::AudioIODeviceType*
> In file included from /usr/share/juce/modules/juce_audio_devices/juce_audio_devices.h:182,
> from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:18,
> from ../../../resources/Standalone/StandaloneApp.cpp:53:
> /usr/share/juce/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h:395:65: note: initializing argument 1 of ‘void juce::AudioDeviceManager::addAudioDeviceType(std::unique_ptr<juce::AudioIODeviceType>)’
> 395 | void addAudioDeviceType (std::unique_ptr<AudioIODeviceType> newDeviceType);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
> In file included from ../../../resources/Standalone/StandaloneApp.cpp:58:
> ../../../resources/Standalone/MyStandaloneFilterWindow.h:137:43: error: cannot convert ‘iem::JackAudioIODeviceType*’ to ‘std::unique_ptr<juce::AudioIODeviceType>’
> 137 | deviceManager.addAudioDeviceType (new iem::JackAudioIODeviceType());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | iem::JackAudioIODeviceType*
> In file included from /usr/share/juce/modules/juce_audio_devices/juce_audio_devices.h:182,
> from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:18,
> from ../../../resources/Standalone/StandaloneApp.cpp:53:
> /usr/share/juce/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h:395:65: note: initializing argument 1 of ‘void juce::AudioDeviceManager::addAudioDeviceType(std::unique_ptr<juce::AudioIODeviceType>)’
> 395 | void addAudioDeviceType (std::unique_ptr<AudioIODeviceType> newDeviceType);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
> make[3]: *** [Makefile:174: build/intermediate/Release/StandaloneApp_2a979640.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/iem-plugin-suite_1.11.0-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Reply to: