https://bugs.documentfoundation.org/show_bug.cgi?id=126163

            Bug ID: 126163
           Summary: test suite build fails
           Product: cppunit
           Version: 1.14
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: General
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: kloczko.tom...@gmail.com
                CC: markus.mohrh...@googlemail.com

BTW: do you have any plans to make new release?


Making check in cppunittest
make[2]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/cppunit-1.14.0/examples/cppunittest'
make  cppunittestmain
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/cppunit-1.14.0/examples/cppunittest'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o assertion_traitsTest.o
assertion_traitsTest.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o BaseTestCase.o BaseTestCase.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o CppUnitTestMain.o CppUnitTestMain.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o CppUnitTestSuite.o CppUnitTestSuite.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o ExceptionTest.o ExceptionTest.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o ExceptionTestCaseDecoratorTest.o
ExceptionTestCaseDecoratorTest.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o HelperMacrosTest.o HelperMacrosTest.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o MessageTest.o MessageTest.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o MockTestCase.o MockTestCase.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o MockTestListener.o MockTestListener.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto
-Werror -Wall -Wextra -pedantic -c -o OrthodoxTest.o OrthodoxTest.cpp
In file included from ../../include/cppunit/TestCase.h:6,
                 from ../../include/cppunit/TestCaller.h:5,
                 from ../../include/cppunit/extensions/HelperMacros.h:9,
                 from OrthodoxTest.h:4,
                 from OrthodoxTest.cpp:2:
../../include/cppunit/extensions/Orthodox.h: In instantiation of ‘void
CppUnit::Orthodox<ClassUnderTest>::runTest() [with ClassUnderTest =
OrthodoxTest::ValueBadAssignment]’:
../../include/cppunit/extensions/Orthodox.h:56:38:   required from here
../../include/cppunit/extensions/Orthodox.h:77:23: error: implicitly-declared
‘constexpr OrthodoxTest::ValueBadAssignment::ValueBadAssignment(const
OrthodoxTest::ValueBadAssignment&)’ is deprecated [-Werror=deprecated-copy]
   77 |     CPPUNIT_ASSERT (c == call (a));
../../include/cppunit/TestAssert.h:240:37: note: in definition of macro
‘CPPUNIT_ASSERT’
  240 |   ( CPPUNIT_NS::Asserter::failIf( !(condition),                        
          \
      |                                     ^~~~~~~~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:159:25: note: because ‘OrthodoxTest::ValueBadAssignment’ has
user-provided ‘OrthodoxTest::ValueBadAssignment&
OrthodoxTest::ValueBadAssignment::operator=(const
OrthodoxTest::ValueBadAssignment&)’
  159 |     ValueBadAssignment &operator =( const ValueBadAssignment & )
      |                         ^~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h:87:63: note:   initializing
argument 1 of ‘ClassUnderTest
CppUnit::Orthodox<ClassUnderTest>::call(ClassUnderTest) [with ClassUnderTest =
OrthodoxTest::ValueBadAssignment]’
   87 | ClassUnderTest Orthodox<ClassUnderTest>::call (ClassUnderTest object)
      |                                                ~~~~~~~~~~~~~~~^~~~~~
In file included from ../../include/cppunit/TestCase.h:6,
                 from ../../include/cppunit/TestCaller.h:5,
                 from ../../include/cppunit/extensions/HelperMacros.h:9,
                 from OrthodoxTest.h:4,
                 from OrthodoxTest.cpp:2:
../../include/cppunit/extensions/Orthodox.h:80:23: error: implicitly-declared
‘constexpr OrthodoxTest::ValueBadAssignment::ValueBadAssignment(const
OrthodoxTest::ValueBadAssignment&)’ is deprecated [-Werror=deprecated-copy]
   80 |     CPPUNIT_ASSERT (c == call (b));
../../include/cppunit/TestAssert.h:240:37: note: in definition of macro
‘CPPUNIT_ASSERT’
  240 |   ( CPPUNIT_NS::Asserter::failIf( !(condition),                        
          \
      |                                     ^~~~~~~~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:159:25: note: because ‘OrthodoxTest::ValueBadAssignment’ has
user-provided ‘OrthodoxTest::ValueBadAssignment&
OrthodoxTest::ValueBadAssignment::operator=(const
OrthodoxTest::ValueBadAssignment&)’
  159 |     ValueBadAssignment &operator =( const ValueBadAssignment & )
      |                         ^~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h:87:63: note:   initializing
argument 1 of ‘ClassUnderTest
CppUnit::Orthodox<ClassUnderTest>::call(ClassUnderTest) [with ClassUnderTest =
OrthodoxTest::ValueBadAssignment]’
   87 | ClassUnderTest Orthodox<ClassUnderTest>::call (ClassUnderTest object)
      |                                                ~~~~~~~~~~~~~~~^~~~~~
../../include/cppunit/extensions/Orthodox.h: In instantiation of ‘void
CppUnit::Orthodox<ClassUnderTest>::runTest() [with ClassUnderTest =
OrthodoxTest::ValueBadCall]’:
../../include/cppunit/extensions/Orthodox.h:56:38:   required from here
../../include/cppunit/extensions/Orthodox.h:65:5: error: implicitly-declared
‘OrthodoxTest::ValueBadCall& OrthodoxTest::ValueBadCall::operator=(const
OrthodoxTest::ValueBadCall&)’ is deprecated [-Werror=deprecated-copy]
   65 |     b.operator= (a.operator! ());
      |     ^
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:136:5: note: because ‘OrthodoxTest::ValueBadCall’ has
user-provided ‘OrthodoxTest::ValueBadCall::ValueBadCall(const
OrthodoxTest::ValueBadCall&)’
  136 |     ValueBadCall( const ValueBadCall & ) : Value()
      |     ^~~~~~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h:69:7: error: implicitly-declared
‘OrthodoxTest::ValueBadCall& OrthodoxTest::ValueBadCall::operator=(const
OrthodoxTest::ValueBadCall&)’ is deprecated [-Werror=deprecated-copy]
   69 |     b = !!a;
      |     ~~^~~~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:136:5: note: because ‘OrthodoxTest::ValueBadCall’ has
user-provided ‘OrthodoxTest::ValueBadCall::ValueBadCall(const
OrthodoxTest::ValueBadCall&)’
  136 |     ValueBadCall( const ValueBadCall & ) : Value()
      |     ^~~~~~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h:73:7: error: implicitly-declared
‘OrthodoxTest::ValueBadCall& OrthodoxTest::ValueBadCall::operator=(const
OrthodoxTest::ValueBadCall&)’ is deprecated [-Werror=deprecated-copy]
   73 |     b = !a;
      |     ~~^~~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:136:5: note: because ‘OrthodoxTest::ValueBadCall’ has
user-provided ‘OrthodoxTest::ValueBadCall::ValueBadCall(const
OrthodoxTest::ValueBadCall&)’
  136 |     ValueBadCall( const ValueBadCall & ) : Value()
      |     ^~~~~~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h:76:7: error: implicitly-declared
‘OrthodoxTest::ValueBadCall& OrthodoxTest::ValueBadCall::operator=(const
OrthodoxTest::ValueBadCall&)’ is deprecated [-Werror=deprecated-copy]
   76 |     c = a;
      |     ~~^~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:136:5: note: because ‘OrthodoxTest::ValueBadCall’ has
user-provided ‘OrthodoxTest::ValueBadCall::ValueBadCall(const
OrthodoxTest::ValueBadCall&)’
  136 |     ValueBadCall( const ValueBadCall & ) : Value()
      |     ^~~~~~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h:79:7: error: implicitly-declared
‘OrthodoxTest::ValueBadCall& OrthodoxTest::ValueBadCall::operator=(const
OrthodoxTest::ValueBadCall&)’ is deprecated [-Werror=deprecated-copy]
   79 |     c = b;
      |     ~~^~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:136:5: note: because ‘OrthodoxTest::ValueBadCall’ has
user-provided ‘OrthodoxTest::ValueBadCall::ValueBadCall(const
OrthodoxTest::ValueBadCall&)’
  136 |     ValueBadCall( const ValueBadCall & ) : Value()
      |     ^~~~~~~~~~~~
In file included from ../../include/cppunit/TestCase.h:6,
                 from ../../include/cppunit/TestCaller.h:5,
                 from ../../include/cppunit/extensions/HelperMacros.h:9,
                 from OrthodoxTest.h:4,
                 from OrthodoxTest.cpp:2:
../../include/cppunit/extensions/Orthodox.h: In instantiation of ‘void
CppUnit::Orthodox<ClassUnderTest>::runTest() [with ClassUnderTest =
OrthodoxTest::Value]’:
../../include/cppunit/extensions/Orthodox.h:56:38:   required from here
../../include/cppunit/extensions/Orthodox.h:77:23: error: implicitly-declared
‘constexpr OrthodoxTest::Value::Value(const OrthodoxTest::Value&)’ is
deprecated [-Werror=deprecated-copy]
   77 |     CPPUNIT_ASSERT (c == call (a));
../../include/cppunit/TestAssert.h:240:37: note: in definition of macro
‘CPPUNIT_ASSERT’
  240 |   ( CPPUNIT_NS::Asserter::failIf( !(condition),                        
          \
      |                                     ^~~~~~~~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:41:12: note: because ‘OrthodoxTest::Value’ has user-provided
‘OrthodoxTest::Value& OrthodoxTest::Value::operator=(const
OrthodoxTest::Value&)’
   41 |     Value& operator= ( const Value& v )
      |            ^~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h:87:63: note:   initializing
argument 1 of ‘ClassUnderTest
CppUnit::Orthodox<ClassUnderTest>::call(ClassUnderTest) [with ClassUnderTest =
OrthodoxTest::Value]’
   87 | ClassUnderTest Orthodox<ClassUnderTest>::call (ClassUnderTest object)
      |                                                ~~~~~~~~~~~~~~~^~~~~~
In file included from ../../include/cppunit/TestCase.h:6,
                 from ../../include/cppunit/TestCaller.h:5,
                 from ../../include/cppunit/extensions/HelperMacros.h:9,
                 from OrthodoxTest.h:4,
                 from OrthodoxTest.cpp:2:
../../include/cppunit/extensions/Orthodox.h:80:23: error: implicitly-declared
‘constexpr OrthodoxTest::Value::Value(const OrthodoxTest::Value&)’ is
deprecated [-Werror=deprecated-copy]
   80 |     CPPUNIT_ASSERT (c == call (b));
../../include/cppunit/TestAssert.h:240:37: note: in definition of macro
‘CPPUNIT_ASSERT’
  240 |   ( CPPUNIT_NS::Asserter::failIf( !(condition),                        
          \
      |                                     ^~~~~~~~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:41:12: note: because ‘OrthodoxTest::Value’ has user-provided
‘OrthodoxTest::Value& OrthodoxTest::Value::operator=(const
OrthodoxTest::Value&)’
   41 |     Value& operator= ( const Value& v )
      |            ^~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h:87:63: note:   initializing
argument 1 of ‘ClassUnderTest
CppUnit::Orthodox<ClassUnderTest>::call(ClassUnderTest) [with ClassUnderTest =
OrthodoxTest::Value]’
   87 | ClassUnderTest Orthodox<ClassUnderTest>::call (ClassUnderTest object)
      |                                                ~~~~~~~~~~~~~~~^~~~~~
../../include/cppunit/extensions/Orthodox.h: In instantiation of
‘ClassUnderTest CppUnit::Orthodox<ClassUnderTest>::call(ClassUnderTest) [with
ClassUnderTest = OrthodoxTest::ValueBadAssignment]’:
../../include/cppunit/extensions/Orthodox.h:77:5:   required from ‘void
CppUnit::Orthodox<ClassUnderTest>::runTest() [with ClassUnderTest =
OrthodoxTest::ValueBadAssignment]’
../../include/cppunit/extensions/Orthodox.h:56:38:   required from here
../../include/cppunit/extensions/Orthodox.h:89:12: error: implicitly-declared
‘constexpr OrthodoxTest::ValueBadAssignment::ValueBadAssignment(const
OrthodoxTest::ValueBadAssignment&)’ is deprecated [-Werror=deprecated-copy]
   89 |     return object;
      |            ^~~~~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:159:25: note: because ‘OrthodoxTest::ValueBadAssignment’ has
user-provided ‘OrthodoxTest::ValueBadAssignment&
OrthodoxTest::ValueBadAssignment::operator=(const
OrthodoxTest::ValueBadAssignment&)’
  159 |     ValueBadAssignment &operator =( const ValueBadAssignment & )
      |                         ^~~~~~~~
In file included from OrthodoxTest.cpp:3:
../../include/cppunit/extensions/Orthodox.h: In instantiation of
‘ClassUnderTest CppUnit::Orthodox<ClassUnderTest>::call(ClassUnderTest) [with
ClassUnderTest = OrthodoxTest::Value]’:
../../include/cppunit/extensions/Orthodox.h:77:5:   required from ‘void
CppUnit::Orthodox<ClassUnderTest>::runTest() [with ClassUnderTest =
OrthodoxTest::Value]’
../../include/cppunit/extensions/Orthodox.h:56:38:   required from here
../../include/cppunit/extensions/Orthodox.h:89:12: error: implicitly-declared
‘constexpr OrthodoxTest::Value::Value(const OrthodoxTest::Value&)’ is
deprecated [-Werror=deprecated-copy]
   89 |     return object;
      |            ^~~~~~
In file included from OrthodoxTest.cpp:2:
OrthodoxTest.h:41:12: note: because ‘OrthodoxTest::Value’ has user-provided
‘OrthodoxTest::Value& OrthodoxTest::Value::operator=(const
OrthodoxTest::Value&)’
   41 |     Value& operator= ( const Value& v )
      |            ^~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:753: OrthodoxTest.o] Error 1
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/cppunit-1.14.0/examples/cppunittest'
make[2]: *** [Makefile:1024: check-am] Error 2
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/cppunit-1.14.0/examples/cppunittest'
make[1]: *** [Makefile:380: check-recursive] Error 1
make[1]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/cppunit-1.14.0/examples'
make: *** [Makefile:575: check-recursive] Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to