Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-video/dirac-1.0.2-r1 fails to emerge (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1108
Location: Stuart, Florida

PostPosted: Tue Nov 21, 2017 12:28 am    Post subject: media-video/dirac-1.0.2-r1 fails to emerge (SOLVED) Reply with quote

I am trying to do an emerge @preserved-rebuild and it is failing when attempting to emerge dirac. This has been continuing for over a week and I do not see how to correct the problem.

It appears that the emerge is checking for compiler support that is not available or not specified.

I don't see how to cure this problem.

The place in the emerge where the errors start is as follows:
Code:

x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2 -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests    -O2 -pipe -c -o frames_test.o /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp
x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2 -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests    -O2 -pipe -c -o motion_comp_test.o /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.cpp
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:40,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:39:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/cppunit_testsuite.cpp:37:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:39,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:37:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.h:39,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.cpp:38:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:40,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:39:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/core_suite.h:41:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:38:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:40,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:39:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/core_suite.h:41:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:38:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:39,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:37:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/core_suite.h:41:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:36:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:39,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:37:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:40:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:39:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h: In static member function ‘static CppUnit::TestSuite* TwoDArraysTest::suite()’:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:76:3: error: ‘unique_ptr’ is not a member of ‘std’
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:76:3: error: expected primary-expression before ‘>’ token
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:76:3: error: ‘guard’ was not declared in this scope
   CPPUNIT_TEST_SUITE_END();
   ^
x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2 -I/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests    -O2 -pipe -c -o wavelet_utils_test.o /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/wavelet_utils_test.cpp
In file included from /usr/include/cppunit/extensions/HelperMacros.h:9:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:40,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:39:
/usr/include/cppunit/TestCaller.h: In instantiation of ‘void CppUnit::TestCaller<Fixture>::runTest() [with Fixture = TwoDArraysTest]’:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:168:1:   required from here
/usr/include/cppunit/TestCaller.h:175:22: error: ‘m_test_function’ was not declared in this scope
       m_test_function();
                      ^
make[1]: *** [Makefile:466: arrays_test.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/core_suite.h:41:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:36:
/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/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/wavelet_utils_test.h:40,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/wavelet_utils_test.cpp:39:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/cppunit_testsuite.cpp:37:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/cppunit_testsuite.cpp:37:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/cppunit_testsuite.cpp:37:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/cppunit_testsuite.cpp:37:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.h:39,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.cpp:38:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/core_suite.h:41:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.cpp:37:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.h:39,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.cpp:38:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:39:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:37:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h: In static member function ‘static CppUnit::TestSuite* PicturesTest::suite()’:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:53:3: error: ‘unique_ptr’ is not a member of ‘std’
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:53:3: error: expected primary-expression before ‘>’ token
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:53:3: error: ‘guard’ was not declared in this scope
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h: In static member function ‘static CppUnit::TestSuite* TwoDArraysTest::suite()’:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:76:3: error: ‘unique_ptr’ is not a member of ‘std’
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:76:3: error: expected primary-expression before ‘>’ token
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:76:3: error: ‘guard’ was not declared in this scope
   CPPUNIT_TEST_SUITE_END();
   ^
make[1]: *** [Makefile:466: cppunit_testsuite.o] Error 1
In file included from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/core_suite.h:41:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.cpp:37:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.h:39:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.cpp:38:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.h: In static member function ‘static CppUnit::TestSuite* MotionCompTest::suite()’:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.h:52:3: error: ‘unique_ptr’ is not a member of ‘std’
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.h:52:3: error: expected primary-expression before ‘>’ token
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/motion_comp_test.h:52: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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:39,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:37:
/usr/include/cppunit/TestCaller.h: In instantiation of ‘void CppUnit::TestCaller<Fixture>::runTest() [with Fixture = TwoDArraysTest]’:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:252: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 = PicturesTest]’:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.cpp:252:1:   required from here
/usr/include/cppunit/TestCaller.h:175:22: error: ‘m_test_function’ was not declared in this scope
make[1]: *** [Makefile:466: frames_test.o] Error 1
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h: In static member function ‘static CppUnit::TestSuite* PicturesTest::suite()’:
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:53:3: error: ‘unique_ptr’ is not a member of ‘std’
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:53:3: error: expected primary-expression before ‘>’ token
   CPPUNIT_TEST_SUITE_END();
   ^
/var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/frames_test.h:53:3: error: ‘guard’ was not declared in this scope
   CPPUNIT_TEST_SUITE_END();
   ^
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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/wavelet_utils_test.h:40,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/wavelet_utils_test.cpp:39:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/core_suite.h:41:0,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/wavelet_utils_test.cpp:38:
/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/wavelet_utils_test.h:40,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/wavelet_utils_test.cpp:39:
/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) )


The errors continue for quite a while.

emerge --info follows:
Code:


bopper /etc/portage # emerge --info =media-video/dirac-1.0.2-r1
Portage 2.3.13 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_Phenom-tm-_II_X4_970_Processor-with-gentoo-2.4.1
KiB Mem:    16428588 total,   3969424 free
KiB Swap:    1021948 total,   1021948 free
Timestamp of repository gentoo: Mon, 20 Nov 2017 22:00:01 +0000
Head commit of repository gentoo: 619cee02f1aec9b7bc1ce06dad80630477d44c5b
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.9::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow X Xaw3d a52 aac aalib acl acpi aim alsa alsa-plugins amd64 ao apache2 apm asyncns audiofile avahi berkdb bidi blas bluetooth branding bzip2 cairo calendar caps cdda cddb cdinstall cdparanoia cdr cgi clamav cli consolekit cracklib crypt css ctype cups curl cvs cxx dbi dbm dbus dbx dga directfb dri dts dv dvb dvd dvdr emboss encode enscript evo examples exif expat fam fastcgi fbcon firefox flac fontconfig foomaticdb fortran freetype ftp gcj gdbm gif gimp glamor glu gmp gnuplot gnutls gphoto2 gpm graphviz gsl gsm gstreamer guile gzip hal handbook hddtemp httpd iconv icq icu idn ieee1394 imagemagick imlib innodb introspection iodbc ipv6 jabber java java6 javascript jbig jingle jpeg jpeg2k kde kontact lapack lcms ldap libcaca libedit libgda libnotify libwww lm_sensors lua lzma lzo mad maildir matroska mikmod milter mime mmap mmx mng modules motif mozilla mp3 mp4 mpeg mpi mplayer msn multilib musepac mysql mysqli nas ncurses networkmanager nls nntp nptl nsplugin odbc offensive ofx ogg oggvorbis opengl openmp osc oscar oss pam pango pch pcntl pcre pdf perl php plasma plotutils png policykit portaudio posix postgres ppds pulseaudio python qt3support qt5 quicktime raw rdesktop readline rss ruby samba sasl sdl seccomp semantic-desktop session sharedext sharedmem simplexml smp sndfile snmp soap sockets socks5 speex spell sqlite sqlite3 sse sse2 ssl startup-notification stream subversion suid svg symlink syslog sysvipc szip tcl tcpd theora threads tidy tiff timiditytk tokenizer truetype udev udisks unicode upower usb v4l v4l2 vcd vlm vorbis wayland win32codecs wmf wxwidgets x264 xattr xcb xcomposite xft xine xinerama xinetd xml xnlrpc xosd xv xvid yahoo zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="brightness menu trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/dirac-1.0.2-r1::gentoo was built with the following:
USE="-debug -doc -static-libs" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx"

bopper /etc/portage #


Last edited by Featherfoot on Wed Nov 22, 2017 12:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Tue Nov 21, 2017 2:21 am    Post subject: Reply with quote

media-video/dirac is being built as C++03, but includes a CppUnit header which assumes without checking that it is only ever built with at least C++11 (or later). To me, this is a bug in CppUnit. It ought to have a preprocessor guard to exclude the C++11-specific functionality when built in C++03 mode. In the extreme case, if this version of CppUnit is useless in C++03 mode, it ought to have a preprocessor #error directive that tells you so and then stops, rather than spewing errors caused by using C++11 symbols in a C++03 program.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4520
Location: Germany

PostPosted: Tue Nov 21, 2017 2:22 am    Post subject: Reply with quote

Featherfoot wrote:
Code:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.h:40,
                 from /var/tmp/portage/media-video/dirac-1.0.2-r1/work/dirac-1.0.2/unit_tests/arrays_test.cpp:39:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/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 \
  ^


Hm, /usr/include/cppunit comes from the dev-util/cppunit package, and this is probably a automagic dependency - see Bug 386965

Featherfoot wrote:
I am trying to do an emerge @preserved-rebuild and it is failing when attempting to emerge dirac.

Suggestion: Try first a `emerge -a --depclean`
and see if it would the dev-util/cppunit package uninstall.
If soo, then try a media-video/dirac rebuild --> `emerge -av1 media-video/dirac`
If the --depclean not uninstall dev-util/cppunit
then please try a rebuild on both packages with the same gcc version:
Code:
emerge -av1 dev-util/cppunit media-video/dirac
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1108
Location: Stuart, Florida

PostPosted: Wed Nov 22, 2017 12:41 am    Post subject: Reply with quote

cppunit was not in "emerge --depclean". I was able to emerge cppunit and dirac together and both emerged. Thank you for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum