[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012936: giada: ftbfs with GCC-12



Package: src:giada
Version: 0.21.0-1
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/giada_0.21.0-1_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.

[...]
                 from /<<PKGBUILDDIR>>/src/core/engine.h:32,
                 from /<<PKGBUILDDIR>>/src/core/engine.cpp:27:
/<<PKGBUILDDIR>>/src/deps/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h: In member function ‘void juce::ComponentPeer::setAppStyle(Style)’:
/<<PKGBUILDDIR>>/src/deps/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>>/src/deps/juce/modules/juce_gui_basics/juce_gui_basics.h:271,
                 from /<<PKGBUILDDIR>>/src/deps/juce/modules/juce_audio_processors/juce_audio_processors.h:57,
                 from /<<PKGBUILDDIR>>/src/deps/juce-config.h:6,
                 from /<<PKGBUILDDIR>>/src/core/plugins/pluginManager.h:34,
                 from /<<PKGBUILDDIR>>/src/core/mixerHandler.h:30,
                 from /<<PKGBUILDDIR>>/src/core/mixerHandler.cpp:27:
/<<PKGBUILDDIR>>/src/deps/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h: In member function ‘void juce::ComponentPeer::setAppStyle(Style)’:
/<<PKGBUILDDIR>>/src/deps/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>>/src/deps/juce/modules/juce_gui_basics/juce_gui_basics.h:271,
                 from /<<PKGBUILDDIR>>/src/deps/juce/modules/juce_audio_processors/juce_audio_processors.h:57,
                 from /<<PKGBUILDDIR>>/src/deps/juce-config.h:6,
                 from /<<PKGBUILDDIR>>/src/core/channels/channel.h:32,
                 from /<<PKGBUILDDIR>>/src/core/model/model.h:30,
                 from /<<PKGBUILDDIR>>/src/core/sequencer.cpp:32:
/<<PKGBUILDDIR>>/src/deps/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h: In member function ‘void juce::ComponentPeer::setAppStyle(Style)’:
/<<PKGBUILDDIR>>/src/deps/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>>/src/core/engine.cpp:31:
/<<PKGBUILDDIR>>/src/utils/log.h: In instantiation of ‘void giada::u::log::print(const char*, Args&& ...) [with Args = {}]’:
/<<PKGBUILDDIR>>/src/core/engine.cpp:167:16:   required from here
/<<PKGBUILDDIR>>/src/utils/log.h:84:29: warning: format not a string literal and no format arguments [-Wformat-security]
   84 |                 std::fprintf(f, format, string_to_c_str(std::forward<Args>(args))...);
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/utils/log.h:90:28: warning: format not a string literal and no format arguments [-Wformat-security]
   90 |                 std::printf(format, string_to_c_str(std::forward<Args>(args))...);
      |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/deps/juce/modules/juce_gui_basics/juce_gui_basics.h:271,
                 from /<<PKGBUILDDIR>>/src/deps/juce/modules/juce_audio_processors/juce_audio_processors.h:57,
                 from /<<PKGBUILDDIR>>/src/deps/juce-config.h:6,
                 from /<<PKGBUILDDIR>>/src/core/channels/channel.h:32,
                 from /<<PKGBUILDDIR>>/src/core/channels/channelManager.h:30,
                 from /<<PKGBUILDDIR>>/src/core/engine.h:32,
                 from /<<PKGBUILDDIR>>/src/core/init.cpp:30:
/<<PKGBUILDDIR>>/src/deps/juce/modules/juce_gui_basics/windows/juce_ComponentPeer.h: In member function ‘void juce::ComponentPeer::setAppStyle(Style)’:
/<<PKGBUILDDIR>>/src/deps/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)
      |                  ^~~~~~~~
make[3]: *** [CMakeFiles/giada.dir/build.make:135: CMakeFiles/giada.dir/src/core/midiDispatcher.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/giada.dir/build.make:233: CMakeFiles/giada.dir/src/core/mixerHandler.cpp.o] Error 1
make[3]: *** [CMakeFiles/giada.dir/build.make:79: CMakeFiles/giada.dir/src/main.cpp.o] Error 1
make[3]: *** [CMakeFiles/giada.dir/build.make:93: CMakeFiles/giada.dir/src/core/engine.cpp.o] Error 1
make[3]: *** [CMakeFiles/giada.dir/build.make:247: CMakeFiles/giada.dir/src/core/sequencer.cpp.o] Error 1
In file included from /<<PKGBUILDDIR>>/src/core/init.cpp:34:
/<<PKGBUILDDIR>>/src/utils/log.h: In instantiation of ‘void giada::u::log::print(const char*, Args&& ...) [with Args = {}]’:
/<<PKGBUILDDIR>>/src/core/init.cpp:77:15:   required from here
/<<PKGBUILDDIR>>/src/utils/log.h:84:29: warning: format not a string literal and no format arguments [-Wformat-security]
   84 |                 std::fprintf(f, format, string_to_c_str(std::forward<Args>(args))...);
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/utils/log.h:90:28: warning: format not a string literal and no format arguments [-Wformat-security]
   90 |                 std::printf(format, string_to_c_str(std::forward<Args>(args))...);
      |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/giada.dir/build.make:275: CMakeFiles/giada.dir/src/core/init.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:86: CMakeFiles/giada.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:42: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: