Bug#1012947: iem-plugin-suite: ftbfs with GCC-12
Package: src:iem-plugin-suite
Version: 1.13.0-2
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-12
[This bug is targeted to the upcoming bookworm release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/iem-plugin-suite_1.13.0-2_unstable_gcc12.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
/usr/share/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h:504:18: error: ‘exchange’ is not a member of ‘std’
504 | if (std::exchange (style, s) != style)
| ^~~~~~~~
In file included from /usr/share/juce/modules/juce_gui_basics/juce_gui_basics.h:271,
from /usr/share/juce/modules/juce_audio_utils/juce_audio_utils.h:57,
from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DirectivityShaper/DirectivityShaper_artefacts/JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:14,
from /<<PKGBUILDDIR>>/resources/OSC/../customComponents/SimpleLabel.h:24,
from /<<PKGBUILDDIR>>/resources/OSC/OSCStatus.h:25,
from /<<PKGBUILDDIR>>/resources/OSC/OSCStatus.cpp:24:
/usr/share/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h: In member function ‘void juce::ComponentPeer::setAppStyle(Style)’:
/usr/share/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h:504:18: error: ‘exchange’ is not a member of ‘std’
504 | if (std::exchange (style, s) != style)
| ^~~~~~~~
In file included from /usr/share/juce/modules/juce_gui_basics/juce_gui_basics.h:271,
from /usr/share/juce/modules/juce_audio_utils/juce_audio_utils.h:57,
from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DirectivityShaper/DirectivityShaper_artefacts/JuceLibraryCode/JuceHeader.h:14,
from /<<PKGBUILDDIR>>/resources/Standalone/StandaloneApp.cpp:53:
/usr/share/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h: In member function ‘void juce::ComponentPeer::setAppStyle(Style)’:
/usr/share/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h:504:18: error: ‘exchange’ is not a member of ‘std’
504 | if (std::exchange (style, s) != style)
| ^~~~~~~~
In file included from /<<PKGBUILDDIR>>/resources/Standalone/StandaloneApp.cpp:58:
/<<PKGBUILDDIR>>/resources/Standalone/MyStandaloneFilterWindow.h: In member function ‘void MyStandalonePluginHolder::setupAudioDevices(bool, const juce::String&, const juce::AudioDeviceManager::AudioDeviceSetup*)’:
/<<PKGBUILDDIR>>/resources/Standalone/MyStandaloneFilterWindow.h:588:44: warning: ‘void juce::AudioDeviceManager::addMidiInputCallback(const juce::String&, juce::MidiInputCallback*)’ is deprecated: Use addMidiInputDeviceCallback instead. [-Wdeprecated-declarations]
588 | deviceManager.addMidiInputCallback ({}, &player);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/share/juce/modules/juce_audio_devices/juce_audio_devices.h:186,
from /usr/share/juce/modules/juce_audio_utils/juce_audio_utils.h:58:
/usr/share/juce/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h:480:10: note: declared here
480 | void addMidiInputCallback (const String&, MidiInputCallback*);
| ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/resources/Standalone/MyStandaloneFilterWindow.h: In member function ‘void MyStandalonePluginHolder::shutDownAudioDevices()’:
/<<PKGBUILDDIR>>/resources/Standalone/MyStandaloneFilterWindow.h:597:47: warning: ‘void juce::AudioDeviceManager::removeMidiInputCallback(const juce::String&, juce::MidiInputCallback*)’ is deprecated: Use removeMidiInputDeviceCallback instead. [-Wdeprecated-declarations]
597 | deviceManager.removeMidiInputCallback ({}, &player);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/share/juce/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h:482:10: note: declared here
482 | void removeMidiInputCallback (const String&, MidiInputCallback*);
| ^~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/resources/Standalone/MyStandaloneFilterWindow.h: In member function ‘virtual void MyStandalonePluginHolder::timerCallback()’:
/<<PKGBUILDDIR>>/resources/Standalone/MyStandaloneFilterWindow.h:603:58: warning: ‘static juce::StringArray juce::MidiInput::getDevices()’ is deprecated: Use getAvailableDevices instead. [-Wdeprecated-declarations]
603 | auto newMidiDevices = juce::MidiInput::getDevices();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/share/juce/modules/juce_audio_devices/juce_audio_devices.h:163:
/usr/share/juce/modules/juce_audio_devices/midi_io/juce_MidiDevices.h:162:24: note: declared here
162 | static StringArray getDevices();
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/resources/Standalone/MyStandaloneFilterWindow.h:609:55: warning: ‘void juce::AudioDeviceManager::setMidiInputEnabled(const juce::String&, bool)’ is deprecated: Use setMidiInputDeviceEnabled instead. [-Wdeprecated-declarations]
609 | deviceManager.setMidiInputEnabled (oldDevice, false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/share/juce/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h:476:10: note: declared here
476 | void setMidiInputEnabled (const String&, bool);
| ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/resources/Standalone/MyStandaloneFilterWindow.h:613:55: warning: ‘void juce::AudioDeviceManager::setMidiInputEnabled(const juce::String&, bool)’ is deprecated: Use setMidiInputDeviceEnabled instead. [-Wdeprecated-declarations]
613 | deviceManager.setMidiInputEnabled (newDevice, true);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/share/juce/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h:476:10: note: declared here
476 | void setMidiInputEnabled (const String&, bool);
| ^~~~~~~~~~~~~~~~~~~
make[3]: *** [DirectivityShaper/CMakeFiles/DirectivityShaper.dir/build.make:111: DirectivityShaper/CMakeFiles/DirectivityShaper.dir/__/resources/OSC/OSCParameterInterface.cpp.o] Error 1
make[3]: *** [DirectivityShaper/CMakeFiles/DirectivityShaper.dir/build.make:125: DirectivityShaper/CMakeFiles/DirectivityShaper.dir/__/resources/OSC/OSCStatus.cpp.o] Error 1
make[3]: *** [DirectivityShaper/CMakeFiles/DirectivityShaper.dir/build.make:97: DirectivityShaper/CMakeFiles/DirectivityShaper.dir/Source/PluginProcessor.cpp.o] Error 1
make[3]: *** [DirectivityShaper/CMakeFiles/DirectivityShaper.dir/build.make:153: DirectivityShaper/CMakeFiles/DirectivityShaper.dir/__/resources/Standalone/StandaloneApp.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1063: DirectivityShaper/CMakeFiles/DirectivityShaper.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:29: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: