Bug#746917: supercollider: ftbfs with GCC-4.9

Matthias Klose doko at debian.org
Sun May 4 00:22:47 UTC 2014


Package: src:supercollider
Version: 1:3.6.3~repack-5
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9

The package fails to build in a test rebuild on at least amd64 with
gcc-4.9/g++-4.9, but succeeds to build with gcc-4.8/g++-4.8. The
severity of this report may be raised before the jessie release.

The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/supercollider_3.6.3~repack-5_unstable_gcc49.log
The last lines of the build log are at the end of this report.

To build with GCC 4.9, either set CC=gcc-4.9 CXX=g++-4.9 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-4.9/porting_to.html

[...]
             ^
/«PKGBUILDDIR»/external_libraries/nova-tt/nova-tt/rw_mutex.hpp: In member function 'void nova::nova_tt::rw_mutex::unlock_shared()':
/«PKGBUILDDIR»/external_libraries/nova-tt/nova-tt/rw_mutex.hpp:238:13: warning: unused variable 'status' [-Wunused-variable]
         int status = pthread_rwlock_unlock(&rwlock);
             ^
In file included from /«PKGBUILDDIR»/server/supernova/sc/sc_synth_definition.hpp:26:0,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synth.hpp:29,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synth_definition.cpp:23:
/«PKGBUILDDIR»/server/supernova/./server/synth_definition.hpp: In member function 'void nova::detail::slot_resolver::register_slot(const nova::c_string&, nova::slot_index_t)':
/«PKGBUILDDIR»/server/supernova/./server/synth_definition.hpp:87:14: warning: unused variable 'success' [-Wunused-variable]
         bool success = slot_resolver_map.insert(*elem).second;
              ^
In file included from /«PKGBUILDDIR»/server/supernova/sc/sc_synthdef.hpp:29:0,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synth_definition.hpp:24,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synth.hpp:29,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synth_definition.cpp:23:
/«PKGBUILDDIR»/server/supernova/./utilities/malloc_aligned.hpp: In instantiation of 'void nova::aligned_allocator<T>::construct(U*, Args&& ...) [with U = std::pair<const nova::c_string, int>; Args = {const std::pair<const nova::c_string, int>&}; T = std::_Rb_tree_node<std::pair<const nova::c_string, int> >]':
/usr/include/c++/4.9/bits/alloc_traits.h:253:4:   required from 'static std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> std::allocator_traits<_Alloc>::_S_construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = std::pair<const nova::c_string, int>; _Args = {const std::pair<const nova::c_string, int>&}; _Alloc = nova::aligned_allocator<std::_Rb_tree_node<std::pair<const nova::c_string, int> > >; std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp, _Args>::type> = void]'
/usr/include/c++/4.9/bits/alloc_traits.h:399:57:   required from 'static decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) std::allocator_traits<_Alloc>::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = std::pair<const nova::c_string, int>; _Args = {const std::pair<const nova::c_string, int>&}; _Alloc = nova::aligned_allocator<std::_Rb_tree_node<std::pair<const nova::c_string, int> > >; decltype (_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) = <type error>]'
/usr/include/c++/4.9/bits/stl_tree.h:423:42:   required from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::pair<const nova::c_string, int>&}; _Key = nova::c_string; _Val = std::pair<const nova::c_string, int>; _KeyOfValue = std::_Select1st<std::pair<const nova::c_string, int> >; _Compare = std::less<nova::c_string>; _Alloc = nova::aligned_allocator<std::pair<const nova::c_string, int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const nova::c_string, int> >*]'
/usr/include/c++/4.9/bits/stl_tree.h:445:53:   required from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_clone_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = nova::c_string; _Val = std::pair<const nova::c_string, int>; _KeyOfValue = std::_Select1st<std::pair<const nova::c_string, int> >; _Compare = std::less<nova::c_string>; _Alloc = nova::aligned_allocator<std::pair<const nova::c_string, int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const nova::c_string, int> >*; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<std::pair<const nova::c_string, int> >*]'
/usr/include/c++/4.9/bits/stl_tree.h:1206:43:   required from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = nova::c_string; _Val = std::pair<const nova::c_string, int>; _KeyOfValue = std::_Select1st<std::pair<const nova::c_string, int> >; _Compare = std::less<nova::c_string>; _Alloc = nova::aligned_allocator<std::pair<const nova::c_string, int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const nova::c_string, int> >*; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<std::pair<const nova::c_string, int> >*]'
/usr/include/c++/4.9/bits/stl_tree.h:676:50:   required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&) [with _Key = nova::c_string; _Val = std::pair<const nova::c_string, int>; _KeyOfValue = std::_Select1st<std::pair<const nova::c_string, int> >; _Compare = std::less<nova::c_string>; _Alloc = nova::aligned_allocator<std::pair<const nova::c_string, int> >]'
/usr/include/c++/4.9/bits/stl_map.h:183:22:   required from 'std::map<_Key, _Tp, _Compare, _Alloc>::map(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = nova::c_string; _Tp = int; _Compare = std::less<nova::c_string>; _Alloc = nova::aligned_allocator<nova::c_string>]'
/«PKGBUILDDIR»/server/supernova/sc/sc_synthdef.hpp:122:5:   required from here
/«PKGBUILDDIR»/server/supernova/./utilities/malloc_aligned.hpp:246:9: error: no matching function for call to 'std::_Rb_tree_node<std::pair<const nova::c_string, int> >::_Rb_tree_node(const std::pair<const nova::c_string, int>&)'
         ::new(p) T(std::forward<Args>(args)...);
         ^
/«PKGBUILDDIR»/server/supernova/./utilities/malloc_aligned.hpp:246:9: note: candidates are:
In file included from /usr/include/c++/4.9/map:60:0,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synthdef.hpp:23,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synth_definition.hpp:24,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synth.hpp:29,
                 from /«PKGBUILDDIR»/server/supernova/sc/sc_synth_definition.cpp:23:
/usr/include/c++/4.9/bits/stl_tree.h:132:12: note: std::_Rb_tree_node<std::pair<const nova::c_string, int> >::_Rb_tree_node()
     struct _Rb_tree_node : public _Rb_tree_node_base
            ^
/usr/include/c++/4.9/bits/stl_tree.h:132:12: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/4.9/bits/stl_tree.h:132:12: note: constexpr std::_Rb_tree_node<std::pair<const nova::c_string, int> >::_Rb_tree_node(const std::_Rb_tree_node<std::pair<const nova::c_string, int> >&)
/usr/include/c++/4.9/bits/stl_tree.h:132:12: note:   no known conversion for argument 1 from 'const std::pair<const nova::c_string, int>' to 'const std::_Rb_tree_node<std::pair<const nova::c_string, int> >&'
/usr/include/c++/4.9/bits/stl_tree.h:132:12: note: constexpr std::_Rb_tree_node<std::pair<const nova::c_string, int> >::_Rb_tree_node(std::_Rb_tree_node<std::pair<const nova::c_string, int> >&&)
/usr/include/c++/4.9/bits/stl_tree.h:132:12: note:   no known conversion for argument 1 from 'const std::pair<const nova::c_string, int>' to 'std::_Rb_tree_node<std::pair<const nova::c_string, int> >&&'
make[3]: *** [server/supernova/CMakeFiles/libsupernova.dir/sc/sc_synth_definition.cpp.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [server/supernova/CMakeFiles/libsupernova.dir/all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list