Bug#822467: supercollider: FTBFS: error: 'random_device' is not a member of 'std'
Martin Michlmayr
tbm at hpe.com
Sun Apr 24 19:55:30 UTC 2016
Package: supercollider
Version: 1:3.6.6~repack-2-2
Severity: serious
This package fails to build in unstable:
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> [ 34%] Building CXX object server/supernova/CMakeFiles/libsupernova.dir/sc/sc_plugin_interface.cpp.o
> cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/server/supernova" && /usr/bin/g++ -DDLOPEN -DJACK_BACKEND -DNOVA_SIMD -DSC_DATA_DIR=\"/usr/share/SuperCollider\" -DSC_FFT_FFTW -DSC_PLUGIN_EXT=\".so\" -DSUPERNOVA -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/common" -I"/<<PKGBUILDDIR>>/external_libraries" -I"/<<PKGBUILDDIR>>/external_libraries/nova-simd" -I"/<<PKGBUILDDIR>>/external_libraries/nova-tt" -I"/<<PKGBUILDDIR>>/external_libraries/boost_endian" -I"/<<PKGBUILDDIR>>/external_libraries/oscpack" -I"/<<PKGBUILDDIR>>/external_libraries/TLSF-2.4.6/src" -I"/<<PKGBUILDDIR>>/include/plugin_interface" -I"/<<PKGBUILDDIR>>/include/server" -I"/<<PKGBUILDDIR>>/include/common" -I"/<<PKGBUILDDIR>>/server/supernova/." -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -ftemplate-depth-4096 -std=c++0x -O2 -g -DNDEBUG -fschedule-insns2 -fomit-frame-pointer -Wreturn-type -fvisibility=hidden -pthread -o CMakeFiles/libsupernova.dir/sc/sc_plugin_i
> nterface.cpp.o -c "/<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp"
> In file included from /<<PKGBUILDDIR>>/server/supernova/./utilities/named_hash_entry.hpp:27:0,
> from /<<PKGBUILDDIR>>/server/supernova/sc/../server/synth_definition.hpp:29,
> from /<<PKGBUILDDIR>>/server/supernova/sc/../server/node_types.hpp:28,
> from /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.hpp:26,
> from /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:23:
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp: In constructor 'nova::nova_tt::nonrecursive_rw_mutex::nonrecursive_rw_mutex()':
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp:50:13: warning: unused variable 'status' [-Wunused-variable]
> int status = pthread_rwlock_init(&rwlock, NULL);
> ^
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp: In destructor 'nova::nova_tt::nonrecursive_rw_mutex::~nonrecursive_rw_mutex()':
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp:56:13: warning: unused variable 'status' [-Wunused-variable]
> int status = pthread_rwlock_destroy(&rwlock);
> ^
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp: In member function 'void nova::nova_tt::nonrecursive_rw_mutex::lock()':
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp:62:13: warning: unused variable 'status' [-Wunused-variable]
> int status = pthread_rwlock_wrlock(&rwlock);
> ^
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp: In member function 'void nova::nova_tt::nonrecursive_rw_mutex::unlock()':
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp:90:13: warning: unused variable 'status' [-Wunused-variable]
> int status = pthread_rwlock_unlock(&rwlock);
> ^
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp: In member function 'void nova::nova_tt::nonrecursive_rw_mutex::lock_shared()':
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/rw_mutex.hpp:96:13: warning: unused variable 'status' [-Wunused-variable]
> int status = pthread_rwlock_rdlock(&rwlock);
> ^
> /<<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/../server/node_types.hpp:28:0,
> from /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.hpp:26,
> from /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:23:
> /<<PKGBUILDDIR>>/server/supernova/sc/../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/sc/../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>>/external_libraries/nova-tt/nova-tt/thread_priority.hpp:28:0,
> from /<<PKGBUILDDIR>>/server/supernova/sc/../server/../sc/../utilities/osc_server.hpp:35,
> from /<<PKGBUILDDIR>>/server/supernova/sc/../server/../sc/sc_osc_handler.hpp:36,
> from /<<PKGBUILDDIR>>/server/supernova/sc/../server/server.hpp:25,
> from /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:31:
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/thread_priority_pthread.hpp: In function 'int nova::thread_priority()':
> /<<PKGBUILDDIR>>/external_libraries/nova-tt/nova-tt/thread_priority_pthread.hpp:44:9: warning: unused variable 'status' [-Wunused-variable]
> int status = pthread_getschedparam(this_thread, &policy, ¶m);
> ^
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp: In member function 'void nova::sc_plugin_interface::initialize(const nova::server_arguments&, float*)':
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:719:9: error: 'random_device' is not a member of 'std'
> std::random_device rd;
> ^
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:720:9: error: 'seed_seq' is not a member of 'std'
> std::seed_seq seq({ rd(), rd(), rd() });
> ^
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:720:47: error: expected primary-expression before ')' token
> std::seed_seq seq({ rd(), rd(), rd() });
> ^
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:721:9: error: 'seq' was not declared in this scope
> seq.generate(seeds.begin(), seeds.end());
> ^
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:727:9: error: 'seed_seq' is not a member of 'std'
> std::seed_seq seq({ seconds.count() });
> ^
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:727:46: error: expected primary-expression before ')' token
> std::seed_seq seq({ seconds.count() });
> ^
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_plugin_interface.cpp:728:9: error: 'seq' was not declared in this scope
> seq.generate(seeds.begin(), seeds.end());
> ^
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-multimedia-maintainers
mailing list