[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#925661: marked as done (cppunit: ftbfs with GCC-9)



Your message dated Mon, 29 Jul 2019 21:36:09 +0000
with message-id <E1hsDJR-000FyZ-8o@fasolo.debian.org>
and subject line Bug#925661: fixed in cppunit 1.14.0-4
has caused the Debian Bug report #925661,
regarding cppunit: ftbfs with GCC-9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
925661: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925661
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:cppunit
Version: 1.14.0-3
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-9

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/cppunit_1.14.0-3_unstable_gcc9.log
The last lines of the build log are at the end of this report.

To build with GCC 9, either set CC=gcc-9 CXX=g++-9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
../../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 )
      |            ^~~~~~~~
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wall -Wextra -pedantic -c -o RepeatedTestTest.o RepeatedTestTest.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Werror -Wall -Wextra -pedantic -c -o StringToolsTest.o StringToolsTest.cpp
cc1plus: all warnings being treated as errors
make[5]: *** [Makefile:754: OrthodoxTest.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/<<PKGBUILDDIR>>/examples/cppunittest'
make[4]: *** [Makefile:1025: check-am] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/examples/cppunittest'
make[3]: *** [Makefile:381: check-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/examples'
make[2]: *** [Makefile:576: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j4 check VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: cppunit
Source-Version: 1.14.0-4

We believe that the bug you reported is fixed in the latest version of
cppunit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 925661@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated cppunit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 29 Jul 2019 21:49:12 +0200
Source: cppunit
Architecture: source
Version: 1.14.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 908523 925661
Changes:
 cppunit (1.14.0-4) unstable; urgency=medium
 .
   * debian/patches/gcc9.diff: backport from git (closes: #925661)
   * debian/*.README.Debian: remove (closes: #908523)
Checksums-Sha1:
 b887dd2b77eed50b947294f13b33d0751b9bf053 2167 cppunit_1.14.0-4.dsc
 b040aa79d5cc4c8758f65af4ccb7516a78489374 7736 cppunit_1.14.0-4.debian.tar.xz
 76c97af0272e104bf82d5ba4a0381e7c26fd81bc 5189 cppunit_1.14.0-4_source.buildinfo
Checksums-Sha256:
 b26ee631dd732acac391486571e73807d2526c0fd8c75eab5cff4a6e7118b3cb 2167 cppunit_1.14.0-4.dsc
 71bfa0bc154a70a00e9421371c3e5c356d942d894858ecd1c8be3af73c4bef9e 7736 cppunit_1.14.0-4.debian.tar.xz
 85e3b3680d180acc7861efa3b03ee573a0c04fc438080b4cba714cb22ca04174 5189 cppunit_1.14.0-4_source.buildinfo
Files:
 f0435dcfd634ce4cb6a15f4687bacc20 2167 devel optional cppunit_1.14.0-4.dsc
 7a1577da6749d8adbde55de4626f36b7 7736 devel optional cppunit_1.14.0-4.debian.tar.xz
 0d9ae97f06b60840d3b9b985a2f05c02 5189 devel optional cppunit_1.14.0-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAl0/XyUQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cPyhD/9bID58vbQMX9agwid5dxGBa7IV0K1AvTNB
h75VTEhnHT5GBWGwKTXnML4KyGm5hjuYAGctrwTc+rg4xJqz2H+/m5kvojVwcq8V
3arIwMC15wVeQ/6P1tgNKMG+kDRKzFh4BCEC2H0Tm/FMzj9HksfhNcAjOVjA7WgK
9f0vEhMYTyjkB4akCLMto/939DSmcUE+JF2lx7JcNLxqg1gDuGrm1IMkMeh3FFo4
ucpACdt0DdhJ5pTndSQAtGqjhY8w/Prz9rDR2D+KFeOs6bMwwBlTkwNatFDv14uN
+mZdPQd2u5x1ulrsjpGYpmu5dIpbEoYFMfNn6rRk5GIlqdHTppUomP6PeZoCGPod
Ln/V4QJpkTXopiZvAJjQAfMRpoeIFgAXgaC4/00ZbNBt1t8CNye1fjsVGDNXE3oG
GCCgf8RrkFwLvaLUO1FMY1oa3i4rI7p6hLdd6zXkD8vXK1xvpGcH5M7F28Rms6jF
DG//d9J1/Wu60l4KwXhZstHsQ6/dUAxzqSO17ZeFRKdtgGRfDJw9TnYYi3HspaVG
Td+H8iXkT0xFxZa72qSU6stellqlM085gXXCqXhxkyCIsE0pnj1mF9lhSUS9LWDk
qRxDhYrW28s6kzhaM8RYlsE9s9jEarp6EGesHeYi0e3sUOLKxBzxTwQjuJwOTF99
6I71eKujJQ==
=E9Vw
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: