Package: src:gnuradio Version: 3.7.10.1-2 Severity: normal Dear Maintainer,
[ cppunit 0.14 is not in Debian yet, see #861718. Thus normal for now ] On a rebuild test using ratt I noticed your package doesn't build with cppunit 0.14: [...] [ 21%] Building CXX object gnuradio-runtime/apps/CMakeFiles/gnuradio-config-info.dir/gnuradio-config-info.cc.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/apps && /usr/bin/c++ -DALIGNED_MALLOC=0 -DENABLE_GR_LOG -DGR_PERFORMANCE_COUNTERS -DHAVE_ARPA_INET_H -DHAVE_BYTESWAP_H -DHAVE_COSF -DHAVE_GETPAGESIZE -DHAVE_GETTIMEOFDAY -DHAVE_LINUX_PPDEV_H -DHAVE_LOG4CPP -DHAVE_MALLOC_H -DHAVE_MMAP -DHAVE_NANOSLEEP -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_POSIX_MEMALIGN -DHAVE_PTHREAD_SETSCHEDPARAM -DHAVE_PTHREAD_SIGMASK -DHAVE_SCHED_SETSCHEDULER -DHAVE_SELECT -DHAVE_SHM_OPEN -DHAVE_SIGACTION -DHAVE_SIGNAL_H -DHAVE_SINCOS -DHAVE_SINCOSF -DHAVE_SINF -DHAVE_SNPRINTF -DHAVE_SYSCONF -DHAVE_SYS_IPC_H -DHAVE_SYS_MMAN_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SHM_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_VALLOC -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/gnuradio-runtime/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++98 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/gnuradio-config-info.dir/gnuradio-config-info.cc.o -c /<<PKGBUILDDIR>>/gnuradio-runtime/apps/gnuradio-config-info.cc cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib && /usr/bin/c++ -DALIGNED_MALLOC=0 -DENABLE_GR_LOG -DGR_CTRLPORT -DGR_PERFORMANCE_COUNTERS -DHAVE_ARPA_INET_H -DHAVE_BYTESWAP_H -DHAVE_COSF -DHAVE_GETPAGESIZE -DHAVE_GETTIMEOFDAY -DHAVE_LINUX_PPDEV_H -DHAVE_LOG4CPP -DHAVE_MALLOC_H -DHAVE_MMAP -DHAVE_NANOSLEEP -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_POSIX_MEMALIGN -DHAVE_PTHREAD_SETSCHEDPARAM -DHAVE_PTHREAD_SIGMASK -DHAVE_SCHED_SETSCHEDULER -DHAVE_SELECT -DHAVE_SHM_OPEN -DHAVE_SIGACTION -DHAVE_SIGNAL_H -DHAVE_SINCOS -DHAVE_SINCOSF -DHAVE_SINF -DHAVE_SNPRINTF -DHAVE_SYSCONF -DHAVE_SYS_IPC_H -DHAVE_SYS_MMAN_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SHM_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_VALLOC -DTRY_SHM_VMCIRCBUF -Dtest_gnuradio_runtime_EXPORTS -I/<<PKGBUILDDIR>>/gnuradio-runtime/lib/math -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/gnuradio-runtime/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/include -I/<<PKGBUILDDIR>>/gnuradio-runtime/lib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/../include -I/<<PKGBUILDDIR>>/gnuradio-runtime/lib/controlport -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/controlport -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++98 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fPIC -o CMakeFiles/test-gnuradio-runtime.dir/math/qa_fxpt.cc.o -c /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc In file included from /usr/include/c++/6/type_traits:35:0, from /usr/include/cppunit/tools/StringHelper.h:7, from /usr/include/cppunit/TestAssert.h:8, from /usr/include/cppunit/TestCase.h:6, from /usr/include/cppunit/TestCaller.h:5, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h:27, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:28: /usr/include/c++/6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^~~~~ In file included from /usr/include/c++/6/type_traits:35:0, from /usr/include/cppunit/tools/StringHelper.h:7, from /usr/include/cppunit/TestAssert.h:8, from /usr/include/cppunit/TestCase.h:6, from /usr/include/cppunit/TestCaller.h:5, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc:27: /usr/include/c++/6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^~~~~ In file included from /usr/include/cppunit/TestAssert.h:8:0, from /usr/include/cppunit/TestCase.h:6, from /usr/include/cppunit/TestCaller.h:5, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h:27, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:28: /usr/include/cppunit/tools/StringHelper.h:22:15: error: 'enable_if' in namespace 'std' does not name a template type typename std::enable_if<!std::is_enum<T>::value, std::string>::type toString(const T& x) ^~~~~~~~~ /usr/include/cppunit/tools/StringHelper.h:22:24: error: expected unqualified-id before '<' token typename std::enable_if<!std::is_enum<T>::value, std::string>::type toString(const T& x) ^ /usr/include/cppunit/tools/StringHelper.h:31:15: error: 'enable_if' in namespace 'std' does not name a template type typename std::enable_if<std::is_enum<T>::value, std::string>::type toString(const T& x) ^~~~~~~~~ /usr/include/cppunit/tools/StringHelper.h:31:24: error: expected unqualified-id before '<' token typename std::enable_if<std::is_enum<T>::value, std::string>::type toString(const T& x) ^ In file included from /usr/include/cppunit/TestSuite.h:4:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.h:27, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:27: /usr/include/cppunit/TestAssert.h: In static member function 'static std::__cxx11::string CppUnit::assertion_traits<T>::toString(const T&)': /usr/include/cppunit/TestAssert.h:74:16: error: 'toString' is not a member of 'CppUnit::StringHelper' return CPPUNIT_NS::StringHelper::toString(x); ^ In file included from /usr/include/cppunit/extensions/HelperMacros.h:9:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h:27, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:28: /usr/include/cppunit/TestCaller.h: At global scope: /usr/include/cppunit/TestCaller.h:159:37: error: 'std::function' has not been declared TestCaller(std::string name, std::function<void()> test_function, Fixture* fixture): ^~~~~~~~ /usr/include/cppunit/TestCaller.h:159:45: error: expected ',' or '...' before '<' token TestCaller(std::string name, std::function<void()> test_function, Fixture* fixture): ^ /usr/include/cppunit/TestCaller.h:200:8: error: 'function' in namespace 'std' does not name a template type std::function<void()> m_test_function; ^~~~~~~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod)': /usr/include/cppunit/TestCaller.h:121:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, m_fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:121:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, m_fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod, Fixture&)': /usr/include/cppunit/TestCaller.h:138:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, &fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:138:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, &fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod, Fixture*)': /usr/include/cppunit/TestCaller.h:155:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:155:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, int)': /usr/include/cppunit/TestCaller.h:162:17: error: 'fixture' was not declared in this scope m_fixture(fixture), ^~~~~~~ /usr/include/cppunit/TestCaller.h:163:7: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function(test_function) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:163:23: error: 'test_function' was not declared in this scope m_test_function(test_function) ^~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h: In member function 'void CppUnit::TestCaller<Fixture>::runTest()': /usr/include/cppunit/TestCaller.h:175:23: error: there are no arguments to 'm_test_function' that depend on a template parameter, so a declaration of 'm_test_function' must be available [-fpermissive] m_test_function(); ^ /usr/include/cppunit/TestCaller.h:175:23: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /usr/include/cppunit/TestSuite.h:4:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.h:27, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:27: /usr/include/cppunit/extensions/TestNamer.h: In member function 'std::__cxx11::string CppUnit::TestNamer::getTestNameFor(const string&, const E&) const': /usr/include/cppunit/extensions/TestNamer.h:70:69: error: 'toString' is not a member of 'CppUnit::StringHelper' return getTestNameFor(testMethodName) + " with parameter: " + CPPUNIT_NS::StringHelper::toString(val); ^ In file included from /usr/include/cppunit/TestAssert.h:8:0, from /usr/include/cppunit/TestCase.h:6, from /usr/include/cppunit/TestCaller.h:5, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc:27: /usr/include/cppunit/tools/StringHelper.h:22:15: error: 'enable_if' in namespace 'std' does not name a template type typename std::enable_if<!std::is_enum<T>::value, std::string>::type toString(const T& x) ^~~~~~~~~ /usr/include/cppunit/tools/StringHelper.h:22:24: error: expected unqualified-id before '<' token typename std::enable_if<!std::is_enum<T>::value, std::string>::type toString(const T& x) ^ /usr/include/cppunit/tools/StringHelper.h:31:15: error: 'enable_if' in namespace 'std' does not name a template type typename std::enable_if<std::is_enum<T>::value, std::string>::type toString(const T& x) ^~~~~~~~~ /usr/include/cppunit/tools/StringHelper.h:31:24: error: expected unqualified-id before '<' token typename std::enable_if<std::is_enum<T>::value, std::string>::type toString(const T& x) ^ In file included from /usr/include/cppunit/Exception.h:4:0, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc:27: /usr/include/cppunit/TestAssert.h: In static member function 'static std::__cxx11::string CppUnit::assertion_traits<T>::toString(const T&)': /usr/include/cppunit/TestAssert.h:74:16: error: 'toString' is not a member of 'CppUnit::StringHelper' return CPPUNIT_NS::StringHelper::toString(x); ^ In file included from /usr/include/cppunit/extensions/HelperMacros.h:9:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc:27: /usr/include/cppunit/TestCaller.h: At global scope: /usr/include/cppunit/TestCaller.h:159:37: error: 'std::function' has not been declared TestCaller(std::string name, std::function<void()> test_function, Fixture* fixture): ^~~~~~~~ /usr/include/cppunit/TestCaller.h:159:45: error: expected ',' or '...' before '<' token TestCaller(std::string name, std::function<void()> test_function, Fixture* fixture): ^ /usr/include/cppunit/TestCaller.h:200:8: error: 'function' in namespace 'std' does not name a template type std::function<void()> m_test_function; ^~~~~~~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod)': /usr/include/cppunit/TestCaller.h:121:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, m_fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:121:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, m_fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod, Fixture&)': /usr/include/cppunit/TestCaller.h:138:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, &fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:138:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, &fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod, Fixture*)': /usr/include/cppunit/TestCaller.h:155:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:155:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, int)': /usr/include/cppunit/TestCaller.h:162:17: error: 'fixture' was not declared in this scope m_fixture(fixture), ^~~~~~~ /usr/include/cppunit/TestCaller.h:163:7: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function(test_function) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:163:23: error: 'test_function' was not declared in this scope m_test_function(test_function) ^~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h: In member function 'void CppUnit::TestCaller<Fixture>::runTest()': /usr/include/cppunit/TestCaller.h:175:23: error: there are no arguments to 'm_test_function' that depend on a template parameter, so a declaration of 'm_test_function' must be available [-fpermissive] m_test_function(); ^ /usr/include/cppunit/TestCaller.h:175:23: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h:27:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:28: /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h: In static member function 'static CppUnit::TestSuite* qa_pmt_prims::suite()': /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h:52:3: error: 'unique_ptr' is not a member of 'std' CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h:52:3: error: expected primary-expression before '>' token CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h:52:3: error: 'guard' was not declared in this scope CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/pmt/qa_pmt_unv.h: In static member function 'static CppUnit::TestSuite* qa_pmt_unv::suite()': /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/pmt/qa_pmt_unv.h:44:3: error: 'unique_ptr' is not a member of 'std' CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/pmt/qa_pmt_unv.h:44:3: error: expected primary-expression before '>' token CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/pmt/qa_pmt_unv.h:44:3: error: 'guard' was not declared in this scope CPPUNIT_TEST_SUITE_END(); ^ In file included from /usr/include/cppunit/extensions/HelperMacros.h:9:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt_prims.h:27, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:28: /usr/include/cppunit/TestCaller.h: In instantiation of 'void CppUnit::TestCaller<Fixture>::runTest() [with Fixture = qa_pmt_unv]': /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:40:1: required from here /usr/include/cppunit/TestCaller.h:175:22: error: 'm_test_function' was not declared in this scope m_test_function(); ~~~~~~~~~~~~~~~^~ /usr/include/cppunit/TestCaller.h: In instantiation of 'void CppUnit::TestCaller<Fixture>::runTest() [with Fixture = qa_pmt_prims]': /<<PKGBUILDDIR>>/gnuradio-runtime/lib/pmt/qa_pmt.cc:40:1: required from here /usr/include/cppunit/TestCaller.h:175:22: error: 'm_test_function' was not declared in this scope In file included from /usr/include/cppunit/Exception.h:4:0, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc:27: /usr/include/cppunit/extensions/TestNamer.h: In member function 'std::__cxx11::string CppUnit::TestNamer::getTestNameFor(const string&, const E&) const': /usr/include/cppunit/extensions/TestNamer.h:70:69: error: 'toString' is not a member of 'CppUnit::StringHelper' return getTestNameFor(testMethodName) + " with parameter: " + CPPUNIT_NS::StringHelper::toString(val); ^ In file included from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:26:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc:27: /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h: In static member function 'static CppUnit::TestSuite* qa_fxpt::suite()': /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:36:3: error: 'unique_ptr' is not a member of 'std' CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:36:3: error: expected primary-expression before '>' token CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:36:3: error: 'guard' was not declared in this scope CPPUNIT_TEST_SUITE_END(); ^ gnuradio-runtime/lib/pmt/CMakeFiles/test-gnuradio-pmt.dir/build.make:81: recipe for target 'gnuradio-runtime/lib/pmt/CMakeFiles/test-gnuradio-pmt.dir/qa_pmt.cc.o' failed make[3]: *** [gnuradio-runtime/lib/pmt/CMakeFiles/test-gnuradio-pmt.dir/qa_pmt.cc.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' CMakeFiles/Makefile2:548: recipe for target 'gnuradio-runtime/lib/pmt/CMakeFiles/test-gnuradio-pmt.dir/all' failed make[2]: *** [gnuradio-runtime/lib/pmt/CMakeFiles/test-gnuradio-pmt.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 21%] Building CXX object gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/math/qa_fxpt_nco.cc.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib && /usr/bin/c++ -DALIGNED_MALLOC=0 -DENABLE_GR_LOG -DGR_CTRLPORT -DGR_PERFORMANCE_COUNTERS -DHAVE_ARPA_INET_H -DHAVE_BYTESWAP_H -DHAVE_COSF -DHAVE_GETPAGESIZE -DHAVE_GETTIMEOFDAY -DHAVE_LINUX_PPDEV_H -DHAVE_LOG4CPP -DHAVE_MALLOC_H -DHAVE_MMAP -DHAVE_NANOSLEEP -DHAVE_NETDB_H -DHAVE_NETINET_IN_H -DHAVE_POSIX_MEMALIGN -DHAVE_PTHREAD_SETSCHEDPARAM -DHAVE_PTHREAD_SIGMASK -DHAVE_SCHED_SETSCHEDULER -DHAVE_SELECT -DHAVE_SHM_OPEN -DHAVE_SIGACTION -DHAVE_SIGNAL_H -DHAVE_SINCOS -DHAVE_SINCOSF -DHAVE_SINF -DHAVE_SNPRINTF -DHAVE_SYSCONF -DHAVE_SYS_IPC_H -DHAVE_SYS_MMAN_H -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_SELECT_H -DHAVE_SYS_SHM_H -DHAVE_SYS_SOCKET_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_VALLOC -DTRY_SHM_VMCIRCBUF -Dtest_gnuradio_runtime_EXPORTS -I/<<PKGBUILDDIR>>/gnuradio-runtime/lib/math -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/gnuradio-runtime/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/include -I/<<PKGBUILDDIR>>/gnuradio-runtime/lib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/../include -I/<<PKGBUILDDIR>>/gnuradio-runtime/lib/controlport -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/controlport -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++98 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fPIC -o CMakeFiles/test-gnuradio-runtime.dir/math/qa_fxpt_nco.cc.o -c /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc In file included from /usr/include/c++/6/type_traits:35:0, from /usr/include/cppunit/tools/StringHelper.h:7, from /usr/include/cppunit/TestAssert.h:8, from /usr/include/cppunit/TestCase.h:6, from /usr/include/cppunit/TestCaller.h:5, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc:27: /usr/include/c++/6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^~~~~ In file included from /usr/include/cppunit/extensions/HelperMacros.h:9:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc:27: /usr/include/cppunit/TestCaller.h: In instantiation of 'void CppUnit::TestCaller<Fixture>::runTest() [with Fixture = qa_fxpt]': /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt.cc:102:1: required from here /usr/include/cppunit/TestCaller.h:175:22: error: 'm_test_function' was not declared in this scope m_test_function(); ~~~~~~~~~~~~~~~^~ gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/build.make:65: recipe for target 'gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/math/qa_fxpt.cc.o' failed make[3]: *** [gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/math/qa_fxpt.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /usr/include/cppunit/TestAssert.h:8:0, from /usr/include/cppunit/TestCase.h:6, from /usr/include/cppunit/TestCaller.h:5, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc:27: /usr/include/cppunit/tools/StringHelper.h:22:15: error: 'enable_if' in namespace 'std' does not name a template type typename std::enable_if<!std::is_enum<T>::value, std::string>::type toString(const T& x) ^~~~~~~~~ /usr/include/cppunit/tools/StringHelper.h:22:24: error: expected unqualified-id before '<' token typename std::enable_if<!std::is_enum<T>::value, std::string>::type toString(const T& x) ^ /usr/include/cppunit/tools/StringHelper.h:31:15: error: 'enable_if' in namespace 'std' does not name a template type typename std::enable_if<std::is_enum<T>::value, std::string>::type toString(const T& x) ^~~~~~~~~ /usr/include/cppunit/tools/StringHelper.h:31:24: error: expected unqualified-id before '<' token typename std::enable_if<std::is_enum<T>::value, std::string>::type toString(const T& x) ^ In file included from /usr/include/cppunit/Exception.h:4:0, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc:27: /usr/include/cppunit/TestAssert.h: In static member function 'static std::__cxx11::string CppUnit::assertion_traits<T>::toString(const T&)': /usr/include/cppunit/TestAssert.h:74:16: error: 'toString' is not a member of 'CppUnit::StringHelper' return CPPUNIT_NS::StringHelper::toString(x); ^ In file included from /usr/include/cppunit/extensions/HelperMacros.h:9:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc:27: /usr/include/cppunit/TestCaller.h: At global scope: /usr/include/cppunit/TestCaller.h:159:37: error: 'std::function' has not been declared TestCaller(std::string name, std::function<void()> test_function, Fixture* fixture): ^~~~~~~~ /usr/include/cppunit/TestCaller.h:159:45: error: expected ',' or '...' before '<' token TestCaller(std::string name, std::function<void()> test_function, Fixture* fixture): ^ /usr/include/cppunit/TestCaller.h:200:8: error: 'function' in namespace 'std' does not name a template type std::function<void()> m_test_function; ^~~~~~~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod)': /usr/include/cppunit/TestCaller.h:121:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, m_fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:121:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, m_fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod, Fixture&)': /usr/include/cppunit/TestCaller.h:138:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, &fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:138:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, &fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, CppUnit::TestCaller<Fixture>::TestMethod, Fixture*)': /usr/include/cppunit/TestCaller.h:155:6: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function( std::bind(test, fixture) ) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:155:23: error: 'bind' is not a member of 'std' m_test_function( std::bind(test, fixture) ) ^~~ /usr/include/cppunit/TestCaller.h: In constructor 'CppUnit::TestCaller<Fixture>::TestCaller(std::__cxx11::string, int)': /usr/include/cppunit/TestCaller.h:162:17: error: 'fixture' was not declared in this scope m_fixture(fixture), ^~~~~~~ /usr/include/cppunit/TestCaller.h:163:7: error: class 'CppUnit::TestCaller<Fixture>' does not have any field named 'm_test_function' m_test_function(test_function) ^~~~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h:163:23: error: 'test_function' was not declared in this scope m_test_function(test_function) ^~~~~~~~~~~~~ /usr/include/cppunit/TestCaller.h: In member function 'void CppUnit::TestCaller<Fixture>::runTest()': /usr/include/cppunit/TestCaller.h:175:23: error: there are no arguments to 'm_test_function' that depend on a template parameter, so a declaration of 'm_test_function' must be available [-fpermissive] m_test_function(); ^ /usr/include/cppunit/TestCaller.h:175:23: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /usr/include/cppunit/Exception.h:4:0, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc:27: /usr/include/cppunit/extensions/TestNamer.h: In member function 'std::__cxx11::string CppUnit::TestNamer::getTestNameFor(const string&, const E&) const': /usr/include/cppunit/extensions/TestNamer.h:70:69: error: 'toString' is not a member of 'CppUnit::StringHelper' return getTestNameFor(testMethodName) + " with parameter: " + CPPUNIT_NS::StringHelper::toString(val); ^ In file included from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:26:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc:27: /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h: In static member function 'static CppUnit::TestSuite* qa_fxpt_nco::suite()': /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:36:3: error: 'unique_ptr' is not a member of 'std' CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:36:3: error: expected primary-expression before '>' token CPPUNIT_TEST_SUITE_END(); ^ /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:36:3: error: 'guard' was not declared in this scope CPPUNIT_TEST_SUITE_END(); ^ In file included from /usr/include/cppunit/extensions/HelperMacros.h:9:0, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.h:26, from /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc:27: /usr/include/cppunit/TestCaller.h: In instantiation of 'void CppUnit::TestCaller<Fixture>::runTest() [with Fixture = qa_fxpt_nco]': /<<PKGBUILDDIR>>/gnuradio-runtime/lib/math/qa_fxpt_nco.cc:120:1: required from here /usr/include/cppunit/TestCaller.h:175:22: error: 'm_test_function' was not declared in this scope m_test_function(); ~~~~~~~~~~~~~~~^~ gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/build.make:89: recipe for target 'gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/math/qa_fxpt_nco.cc.o' failed make[3]: *** [gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/math/qa_fxpt_nco.cc.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' CMakeFiles/Makefile2:448: recipe for target 'gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/all' failed make[2]: *** [gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/all] Error 2 [ 21%] Linking CXX executable gnuradio-config-info cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/apps && /usr/bin/cmake -E cmake_link_script CMakeFiles/gnuradio-config-info.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++98 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wl,-z,relro CMakeFiles/gnuradio-config-info.dir/gnuradio-config-info.cc.o -o gnuradio-config-info -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/pmt: -rdynamic ../lib/libgnuradio-runtime.so.3.7.10 -lboost_date_time -lboost_program_options -lboost_filesystem -lboost_system -lboost_regex -lboost_thread -lboost_chrono -lboost_atomic -lpthread ../lib/pmt/libgnuradio-pmt.so.3.7.10 -lvolk -lboost_date_time -lboost_program_options -lboost_filesystem -lboost_system -lboost_regex -lboost_thread -lboost_chrono -lboost_atomic -lpthread -llog4cpp -lrt make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 21%] Built target gnuradio-config-info [ 21%] Linking CXX shared module _pmt_swig.so cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/swig && /usr/bin/cmake -E cmake_link_script CMakeFiles/_pmt_swig.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++98 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wl,-z,relro -shared -o _pmt_swig.so CMakeFiles/_pmt_swig.dir/pmt_swigPYTHON_wrap.cxx.o -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gnuradio-runtime/lib/pmt: -lpython2.7 ../lib/libgnuradio-runtime.so.3.7.10 -llog4cpp ../lib/pmt/libgnuradio-pmt.so.3.7.10 -lvolk -lboost_date_time -lboost_program_options -lboost_filesystem -lboost_system -lboost_regex -lboost_thread -lboost_chrono -lboost_atomic -lpthread -llog4cpp -lrt make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 21%] Built target _pmt_swig make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' Makefile:163: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: make -j4 returned exit code 2 debian/rules:6: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 [...] cppunit upstream says: 01:18 <@moggi> _rene_: looks like gnu radio is not using c++11 01:19 -!- arnaud_versini [~Thunderbi@2a01:e35:8b48:cd20:c2cc:eeff:feff:541a] has quit [Ping timeout: 255 seconds] 01:24 -!- ht [~h...@p5ddb6713.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 01:39 <@moggi> _rene_: https://github.com/gnuradio/gnuradio/blob/master/CMakeLists.txt#L134 [...] 07:14 < _rene_> moggi: hmm, but you can't require c++11... not everyone out there uses it.. 07:15 < _rene_> moggi: final stats: 12/54 failed. 07:15 <@moggi> _rene_: cppunit reguires c++11 now I put my package for testing to https://people.debian.org/~rene/libreoffice/5.4/cppunit/ Regards, Rene