Fix ftbfs on Fedora 34 #3

Merged
MicheleC merged 1 commits from ftbfs/fedora34 into master 3 years ago
Collaborator

[ 0%] Building CXX object src/CMakeFiles/RosegardenCommon-static.dir/sound/AudioFileManager.cpp.o
cd /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build/src && /usr/bin/g++ -DHAVE_ALSA -DHAVE_CONFIG_H -DHAVE_DSSI -DHAVE_FFTW3F -DHAVE_LADSPA -DHAVE_LIBJACK -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -I/usr/include/tqt3 -I/usr/include/tqt -I/opt/trinity/include/tde -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build/src -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/base -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -I/usr/include/raptor2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdebug-prefix-map=/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10=. -fmacro-prefix-map=/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10=. -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -O2 -w -fexceptions -DNDEBUG -include tqt.h -D'VERSION="1.7.0"' -o CMakeFiles/RosegardenCommon-static.dir/sound/AudioFileManager.cpp.o -c /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AudioFileManager.cpp
In file included from /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AudioFileManager.cpp:44:
/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AudioFileManager.h:168:26: error: ISO C++17 does not allow dynamic exception specifications
168 | void testAudioPath() throw(BadAudioPathException);
| ^~~~~
/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AudioFileManager.cpp:417:35: error: ISO C++17 does not allow dynamic exception specifications
417 | AudioFileManager::testAudioPath() throw (BadAudioPathException)
| ^~~~~
make[2]: *** [src/CMakeFiles/RosegardenCommon-static.dir/build.make:782: src/CMakeFiles/RosegardenCommon-static.dir/sound/AudioFileManager.cpp.o] Error 1
make[2]: Leaving directory '/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build'
make[1]: *** [CMakeFiles/Makefile2:308: src/CMakeFiles/RosegardenCommon-static.dir/all] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build'
make: *** [Makefile:152: all] Error 2


[ 13%] Building CXX object src/CMakeFiles/rosegardensequencer.dir/sound/AlsaDriver.cpp.o
cd /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build/src && /usr/bin/g++ -DHAVE_ALSA -DHAVE_CONFIG_H -DHAVE_DSSI -DHAVE_FFTW3F -DHAVE_LADSPA -DHAVE_LIBJACK -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -I/usr/include/tqt3 -I/usr/include/tqt -I/opt/trinity/include/tde -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build/src -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/base -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -I/usr/include/raptor2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdebug-prefix-map=/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10=. -fmacro-prefix-map=/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10=. -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -O2 -w -fexceptions -DNDEBUG -include tqt.h -D'VERSION="1.7.0"' -o CMakeFiles/rosegardensequencer.dir/sound/AlsaDriver.cpp.o -c /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AlsaDriver.cpp
In file included from /usr/include/c++/11/set:60,
from /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AlsaDriver.h:27,
from /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AlsaDriver.cpp:34:
/usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = Rosegarden::NoteOffEvent*; _Val = Rosegarden::NoteOffEvent*; _KeyOfValue = std::_IdentityRosegarden::NoteOffEvent*; _Compare = Rosegarden::NoteOffEvent::NoteOffEventCmp; _Alloc = std::allocatorRosegarden::NoteOffEvent*; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_nodeRosegarden::NoteOffEvent*]’:
/usr/include/c++/11/bits/stl_tree.h:2100:44: required from ‘std::pair<std::_Rb_tree_node_base
, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_equal_pos(const key_type&) [with _Key = Rosegarden::NoteOffEvent*; _Val = Rosegarden::NoteOffEvent*; _KeyOfValue = std::_IdentityRosegarden::NoteOffEvent*; _Compare = Rosegarden::NoteOffEvent::NoteOffEventCmp; _Alloc = std::allocatorRosegarden::NoteOffEvent*; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = Rosegarden::NoteOffEvent*]’
/usr/include/c++/11/bits/stl_tree.h:2149:4: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_equal(_Arg&&) [with _Arg = Rosegarden::NoteOffEvent* const&; _Key = Rosegarden::NoteOffEvent*; _Val = Rosegarden::NoteOffEvent*; _KeyOfValue = std::_IdentityRosegarden::NoteOffEvent*; _Compare = Rosegarden::NoteOffEvent::NoteOffEventCmp; _Alloc = std::allocatorRosegarden::NoteOffEvent*; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree<Rosegarden::NoteOffEvent*, Rosegarden::NoteOffEvent*, std::_IdentityRosegarden::NoteOffEvent*, Rosegarden::NoteOffEvent::NoteOffEventCmp, std::allocatorRosegarden::NoteOffEvent* >::iterator]’
/usr/include/c++/11/bits/stl_multiset.h:503:36: required from ‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = Rosegarden::NoteOffEvent*; _Compare = Rosegarden::NoteOffEvent::NoteOffEventCmp; _Alloc = std::allocatorRosegarden::NoteOffEvent*; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree<Rosegarden::NoteOffEvent*, Rosegarden::NoteOffEvent*, std::_IdentityRosegarden::NoteOffEvent*, Rosegarden::NoteOffEvent::NoteOffEventCmp, std::allocatorRosegarden::NoteOffEvent* >::const_iterator; std::multiset<_Key, _Compare, _Alloc>::value_type = Rosegarden::NoteOffEvent*]’
/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AlsaDriver.cpp:2198:23: required from here
/usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const
770 | is_invocable_v<const _Compare&, const _Key&, const _Key&>,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const Rosegarden::NoteOffEvent::NoteOffEventCmp&, Rosegarden::NoteOffEvent* const&, Rosegarden::NoteOffEvent* const&>’ evaluates to false

[ 0%] Building CXX object src/CMakeFiles/RosegardenCommon-static.dir/sound/AudioFileManager.cpp.o cd /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build/src && /usr/bin/g++ -DHAVE_ALSA -DHAVE_CONFIG_H -DHAVE_DSSI -DHAVE_FFTW3F -DHAVE_LADSPA -DHAVE_LIBJACK -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -I/usr/include/tqt3 -I/usr/include/tqt -I/opt/trinity/include/tde -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build/src -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/base -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -I/usr/include/raptor2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdebug-prefix-map=/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10=. -fmacro-prefix-map=/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10=. -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -O2 -w -fexceptions -DNDEBUG -include tqt.h -D'VERSION="1.7.0"' -o CMakeFiles/RosegardenCommon-static.dir/sound/AudioFileManager.cpp.o -c /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AudioFileManager.cpp In file included from /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AudioFileManager.cpp:44: /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AudioFileManager.h:168:26: error: ISO C++17 does not allow dynamic exception specifications 168 | void testAudioPath() throw(BadAudioPathException); | ^~~~~ /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AudioFileManager.cpp:417:35: error: ISO C++17 does not allow dynamic exception specifications 417 | AudioFileManager::testAudioPath() throw (BadAudioPathException) | ^~~~~ make[2]: *** [src/CMakeFiles/RosegardenCommon-static.dir/build.make:782: src/CMakeFiles/RosegardenCommon-static.dir/sound/AudioFileManager.cpp.o] Error 1 make[2]: Leaving directory '/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build' make[1]: *** [CMakeFiles/Makefile2:308: src/CMakeFiles/RosegardenCommon-static.dir/all] Error 2 make[1]: Leaving directory '/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build' make: *** [Makefile:152: all] Error 2 ---------- [ 13%] Building CXX object src/CMakeFiles/rosegardensequencer.dir/sound/AlsaDriver.cpp.o cd /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build/src && /usr/bin/g++ -DHAVE_ALSA -DHAVE_CONFIG_H -DHAVE_DSSI -DHAVE_FFTW3F -DHAVE_LADSPA -DHAVE_LIBJACK -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_XFT -I/usr/include/tqt3 -I/usr/include/tqt -I/opt/trinity/include/tde -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/build/src -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src -I/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/base -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -I/usr/include/raptor2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdebug-prefix-map=/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10=. -fmacro-prefix-map=/tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10=. -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -O2 -w -fexceptions -DNDEBUG -include tqt.h -D'VERSION="1.7.0"' -o CMakeFiles/rosegardensequencer.dir/sound/AlsaDriver.cpp.o -c /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AlsaDriver.cpp In file included from /usr/include/c++/11/set:60, from /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AlsaDriver.h:27, from /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AlsaDriver.cpp:34: /usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = Rosegarden::NoteOffEvent*; _Val = Rosegarden::NoteOffEvent*; _KeyOfValue = std::_Identity<Rosegarden::NoteOffEvent*>; _Compare = Rosegarden::NoteOffEvent::NoteOffEventCmp; _Alloc = std::allocator<Rosegarden::NoteOffEvent*>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<Rosegarden::NoteOffEvent*>*]’: /usr/include/c++/11/bits/stl_tree.h:2100:44: required from ‘std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_equal_pos(const key_type&) [with _Key = Rosegarden::NoteOffEvent*; _Val = Rosegarden::NoteOffEvent*; _KeyOfValue = std::_Identity<Rosegarden::NoteOffEvent*>; _Compare = Rosegarden::NoteOffEvent::NoteOffEventCmp; _Alloc = std::allocator<Rosegarden::NoteOffEvent*>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = Rosegarden::NoteOffEvent*]’ /usr/include/c++/11/bits/stl_tree.h:2149:4: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_equal(_Arg&&) [with _Arg = Rosegarden::NoteOffEvent* const&; _Key = Rosegarden::NoteOffEvent*; _Val = Rosegarden::NoteOffEvent*; _KeyOfValue = std::_Identity<Rosegarden::NoteOffEvent*>; _Compare = Rosegarden::NoteOffEvent::NoteOffEventCmp; _Alloc = std::allocator<Rosegarden::NoteOffEvent*>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree<Rosegarden::NoteOffEvent*, Rosegarden::NoteOffEvent*, std::_Identity<Rosegarden::NoteOffEvent*>, Rosegarden::NoteOffEvent::NoteOffEventCmp, std::allocator<Rosegarden::NoteOffEvent*> >::iterator]’ /usr/include/c++/11/bits/stl_multiset.h:503:36: required from ‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = Rosegarden::NoteOffEvent*; _Compare = Rosegarden::NoteOffEvent::NoteOffEventCmp; _Alloc = std::allocator<Rosegarden::NoteOffEvent*>; std::multiset<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree<Rosegarden::NoteOffEvent*, Rosegarden::NoteOffEvent*, std::_Identity<Rosegarden::NoteOffEvent*>, Rosegarden::NoteOffEvent::NoteOffEventCmp, std::allocator<Rosegarden::NoteOffEvent*> >::const_iterator; std::multiset<_Key, _Compare, _Alloc>::value_type = Rosegarden::NoteOffEvent*]’ /tmp/BUILD.fc34.x86_64/trinity-rosegarden-14.0.10/src/sound/AlsaDriver.cpp:2198:23: required from here /usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const 770 | is_invocable_v<const _Compare&, const _Key&, const _Key&>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const Rosegarden::NoteOffEvent::NoteOffEventCmp&, Rosegarden::NoteOffEvent* const&, Rosegarden::NoteOffEvent* const&>’ evaluates to false
Francois added 1 commit 3 years ago
0e69dfe375
Fix ftbfs on Fedora 34
MicheleC merged commit 0e69dfe375 into master 3 years ago
MicheleC deleted branch ftbfs/fedora34 3 years ago
Owner

Looks good, thanks!

Looks good, thanks!
MicheleC added this to the R14.0.11 release milestone 3 years ago
The pull request has been merged as 0e69dfe375.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/rosegarden#3
Loading…
There is no content yet.