Quantcast

Supernova fails to compile

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Supernova fails to compile

audiodef
I have been trying to get SuperCollider to compile, but it always fails
when it gets to supernova.

Version: 3.6.6 (3.6.5, too, if that matters).
OS: Gentoo Linux
Install requirements met: yes

This happens whether I use an ebuild or compile manually. I would
appreciate help getting this to work because I am trying to get this
installed on my audio-for-Linux distro, Gentoo Studio.

I have searched for this problem, and it is apparently common, but
nothing I've found has worked so far.

Some output from compile:

[ 56%] Building CXX object
server/supernova/CMakeFiles/libsupernova.dir/sc/sc_synth_definition.cpp.o
cd
/var/tmp/portage/media-sound/supercollider-3.6.5/work/supercollider-3.6.5_build/server/supernova
&& /usr/bin/x86_64-pc-linux-gnu-g++  -DDLOPEN -DJACK_BACKEND -DNOVA_SIMD
-DSC_DATA_DIR=\"/usr/share/SuperCollider\" -DSC_FFT_FFTW
-DSC_PLUGIN_EXT=\".so\" -DSUPERNOVA   -DNDEBUG -march=amdfam10 -O2 -pipe
  -msse -mfpmath=sse -ftemplate-depth-4096 -std=c++0x
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/supercollider-3.6.5_build/common
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/external_libraries
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/external_libraries/boost-lockfree
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/external_libraries/nova-simd
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/external_libraries/nova-tt
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/external_libraries/boost
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/external_libraries/boost_endian
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/external_libraries/oscpack
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/external_libraries/TLSF-2.4.6/src
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/include/plugin_interface
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/include/server
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/include/common
-I/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/.
    -fschedule-insns2 -fomit-frame-pointer -Wreturn-type -pthread -o
CMakeFiles/libsupernova.dir/sc/sc_synth_definition.cpp.o -c
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synth_definition.cpp
In file included from
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synthdef.hpp:29:0,
                  from
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synth_definition.hpp:24,
                  from
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synth.hpp:29,
                  from
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synth_definition.cpp:23:
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_tree.h:1207: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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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>]'
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synthdef.hpp:122:5:
   required from here
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/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)...);
          ^
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/./utilities/malloc_aligned.hpp:246:9:
note: candidates are:
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/map:60:0,
                  from
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synthdef.hpp:23,
                  from
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synth_definition.hpp:24,
                  from
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synth.hpp:29,
                  from
/var/tmp/portage/media-sound/supercollider-3.6.5/work/SuperCollider-Source/server/supernova/sc/sc_synth_definition.cpp:23:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/stl_tree.h:132:12:
note:   candidate expects 0 arguments, 1 provided
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/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> >&&'
server/supernova/CMakeFiles/libsupernova.dir/build.make:57: recipe for
target
'server/supernova/CMakeFiles/libsupernova.dir/sc/sc_synth_definition.cpp.o'
failed
make[2]: ***
[server/supernova/CMakeFiles/libsupernova.dir/sc/sc_synth_definition.cpp.o]
Error 1
make[2]: Leaving directory
'/var/tmp/portage/media-sound/supercollider-3.6.5/work/supercollider-3.6.5_build'
CMakeFiles/Makefile2:3226: recipe for target
'server/supernova/CMakeFiles/libsupernova.dir/all' failed
make[1]: *** [server/supernova/CMakeFiles/libsupernova.dir/all] Error 2
make[1]: Leaving directory
'/var/tmp/portage/media-sound/supercollider-3.6.5/work/supercollider-3.6.5_build'
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2

Loading...