Your message dated Sat, 06 Aug 2022 11:48:53 +0000
with message-id <e1okiix-00fby1...@fasolo.debian.org>
and subject line Bug#1012895: fixed in aptitude 0.8.13-5
has caused the Debian Bug report #1012895,
regarding aptitude: ftbfs with GCC-12
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 ow...@bugs.debian.org
immediately.)


-- 
1012895: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012895
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:aptitude
Version: 0.8.13-4
Severity: normal
Tags: sid bookworm
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm release]

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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/aptitude_0.8.13-4_unstable_gcc12.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   mismatched types ‘const 
_CharT*’ and ‘std::vector<int, std::allocator<int> >’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/bits/ostream.tcc:302:5: note: candidate: ‘template<class 
_CharT, class _Traits> std::basic_ostream<_Ch, _Tr>& 
std::operator<<(basic_ostream<_Ch, _Tr>&, const char*)’
  302 |     operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
      |     ^~~~~~~~
/usr/include/c++/12/bits/ostream.tcc:302:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   cannot convert ‘x’ 
(type ‘const std::vector<int, std::allocator<int> >’) to type ‘const char*’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/ostream:615:5: note: candidate: ‘template<class _Traits> 
std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, 
_Traits>&, const char*)’
  615 |     operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:615:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   cannot convert ‘x’ 
(type ‘const std::vector<int, std::allocator<int> >’) to type ‘const char*’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/ostream:628:5: note: candidate: ‘template<class _Traits> 
std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, 
_Traits>&, const signed char*)’
  628 |     operator<<(basic_ostream<char, _Traits>& __out, const signed char* 
__s)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:628:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   cannot convert ‘x’ 
(type ‘const std::vector<int, std::allocator<int> >’) to type ‘const signed 
char*’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/ostream:633:5: note: candidate: ‘template<class _Traits> 
std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, 
_Traits>&, const unsigned char*)’
  633 |     operator<<(basic_ostream<char, _Traits>& __out, const unsigned 
char* __s)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:633:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   cannot convert ‘x’ 
(type ‘const std::vector<int, std::allocator<int> >’) to type ‘const unsigned 
char*’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/ostream:754:5: note: candidate: ‘template<class _Ostream, 
class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&)’
  754 |     operator<<(_Ostream&& __os, const _Tp& __x)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:754:5: note:   template argument 
deduction/substitution failed:
/usr/include/c++/12/ostream: In substitution of ‘template<class _Ostream, class 
_Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = 
std::__cxx11::basic_ostringstream<char>&; _Tp = std::vector<int, 
std::allocator<int> >]’:
/usr/include/cppunit/tools/StringHelper.h:25:9:   required from ‘typename 
std::enable_if<(! std::is_enum<_Tp>::value), std::__cxx11::basic_string<char> 
>::type CppUnit::StringHelper::toString(const T&) [with T = std::vector<int, 
std::allocator<int> >; typename std::enable_if<(! std::is_enum<_Tp>::value), 
std::__cxx11::basic_string<char> >::type = std::__cxx11::basic_string<char>]’
/usr/include/cppunit/TestAssert.h:74:50:   required from ‘static std::string 
CppUnit::assertion_traits<T>::toString(const T&) [with T = std::vector<int, 
std::allocator<int> >; std::string = std::__cxx11::basic_string<char>]’
/usr/include/cppunit/TestAssert.h:168:58:   required from ‘void 
CppUnit::assertEquals(const T&, const T&, SourceLine, const std::string&) [with 
T = std::vector<int, std::allocator<int> >; std::string = 
std::__cxx11::basic_string<char>]’
../../tests/test_parsers.cc:140:3:   required from ‘void verify_success(const 
std::string&, const P&, const typename strip_shared_ptrs_result::apply<typename 
P::result_type>::type&) [with P = 
parsers::concatenate_p<parsers::andfirst_p<parsers::integer_p, 
parsers::skipMany_p<parsers::charif_p<char, parsers::space_f> > >, 
parsers::andfirst_p<parsers::integer_p, 
parsers::skipMany_p<parsers::charif_p<char, parsers::space_f> > > >; 
std::string = std::__cxx11::basic_string<char>; typename 
strip_shared_ptrs_result::apply<typename P::result_type>::type = 
std::vector<int, std::allocator<int> >; typename P::result_type = 
std::shared_ptr<std::vector<int, std::allocator<int> > >]’
../../tests/test_parsers.cc:1642:21:   required from here
/usr/include/c++/12/ostream:754:5: error: no type named ‘type’ in ‘struct 
std::enable_if<false, void>’
/usr/include/cppunit/tools/StringHelper.h: In instantiation of ‘typename 
std::enable_if<(! std::is_enum<_Tp>::value), std::__cxx11::basic_string<char> 
>::type CppUnit::StringHelper::toString(const T&) [with T = std::vector<int, 
std::allocator<int> >; typename std::enable_if<(! std::is_enum<_Tp>::value), 
std::__cxx11::basic_string<char> >::type = std::__cxx11::basic_string<char>]’:
/usr/include/cppunit/TestAssert.h:74:50:   required from ‘static std::string 
CppUnit::assertion_traits<T>::toString(const T&) [with T = std::vector<int, 
std::allocator<int> >; std::string = std::__cxx11::basic_string<char>]’
/usr/include/cppunit/TestAssert.h:168:58:   required from ‘void 
CppUnit::assertEquals(const T&, const T&, SourceLine, const std::string&) [with 
T = std::vector<int, std::allocator<int> >; std::string = 
std::__cxx11::basic_string<char>]’
../../tests/test_parsers.cc:140:3:   required from ‘void verify_success(const 
std::string&, const P&, const typename strip_shared_ptrs_result::apply<typename 
P::result_type>::type&) [with P = 
parsers::concatenate_p<parsers::andfirst_p<parsers::integer_p, 
parsers::skipMany_p<parsers::charif_p<char, parsers::space_f> > >, 
parsers::andfirst_p<parsers::integer_p, 
parsers::skipMany_p<parsers::charif_p<char, parsers::space_f> > > >; 
std::string = std::__cxx11::basic_string<char>; typename 
strip_shared_ptrs_result::apply<typename P::result_type>::type = 
std::vector<int, std::allocator<int> >; typename P::result_type = 
std::shared_ptr<std::vector<int, std::allocator<int> > >]’
../../tests/test_parsers.cc:1642:21:   required from here
/usr/include/c++/12/cstddef:123:5: note: candidate: ‘template<class 
_IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(byte, 
_IntegerType)’
  123 |     operator<<(byte __b, _IntegerType __shift) noexcept
      |     ^~~~~~~~
/usr/include/c++/12/cstddef:123:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:5: note:   cannot convert ‘ost’ 
(type ‘CppUnit::OStringStream’ {aka ‘std::__cxx11::basic_ostringstream<char>’}) 
to type ‘std::byte’
   25 |     ost << x;
      |     ^~~
/usr/include/c++/12/complex:555:5: note: candidate: ‘template<class _Tp, class 
_CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& 
std::operator<<(basic_ostream<_CharT, _Traits>&, const complex<_Tp>&)’
  555 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const 
complex<_Tp>& __x)
      |     ^~~~~~~~
/usr/include/c++/12/complex:555:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   ‘const std::vector<int, 
std::allocator<int> >’ is not derived from ‘const std::complex<_Tp>’
   25 |     ost << x;
      |     ~~~~^~~~
make[3]: *** [Makefile:869: test_parsers.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/tests'
make[2]: *** [Makefile:1169: check-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/tests'
/bin/sh: 1: ./cppunit_test: not found
make[1]: *** [debian/rules:39: override_dh_auto_test-arch] Error 127
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:22: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: aptitude
Source-Version: 0.8.13-5
Done: Axel Beckert <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
aptitude, 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 1012...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <a...@debian.org> (supplier of updated aptitude 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 06 Aug 2022 05:45:53 +0200
Source: aptitude
Architecture: source
Version: 0.8.13-5
Distribution: unstable
Urgency: medium
Maintainer: Aptitude Development Team <aptitude-de...@lists.alioth.debian.org>
Changed-By: Axel Beckert <a...@debian.org>
Closes: 999383 1012895
Changes:
 aptitude (0.8.13-5) unstable; urgency=medium
 .
   [ Axel Beckert ]
   * Fix bashism-related issue with fixman i18n scripts (Closes: #999383)
   * Bump libcwidget-dev version constraint to ≥ 0.5.18-6~ due to #1015925.
   * Add brackets to lintian overrides.
 .
   [ Paul Wise ]
   * Fix FTBFS with GCC 12 (Closes: #1012895)
Checksums-Sha1:
 bd62e85cf09338f863284f0fd8992fb1aeeb0d0a 3294 aptitude_0.8.13-5.dsc
 b3c67dd3e8c516d99bce5755c9ca226ff05eacab 58772 aptitude_0.8.13-5.debian.tar.xz
 effeb065e837af051033b92e2c67a2cc8c16deab 8028 
aptitude_0.8.13-5_source.buildinfo
Checksums-Sha256:
 32750ad518b10458242b1b75f9bc1c64204bd82a3e066502d1156f279899019b 3294 
aptitude_0.8.13-5.dsc
 f291504de07bcc4031d1a8c18eea1f89465f0e1851e308219381af1119ad54c2 58772 
aptitude_0.8.13-5.debian.tar.xz
 c48bf8280d966864cc0016528dee10661197aeae915f70aa9700eb55afc63752 8028 
aptitude_0.8.13-5_source.buildinfo
Files:
 70b0fcf00b8b6b8a08878b9dc0ea6644 3294 admin optional aptitude_0.8.13-5.dsc
 6961f6cf0987e1de490c9651fca88ef1 58772 admin optional 
aptitude_0.8.13-5.debian.tar.xz
 3b0826bcd467fef51c84fc2571962464 8028 admin optional 
aptitude_0.8.13-5_source.buildinfo

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

iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAmLuSS0ACgkQa+Zjx1o1
yXX3IA//T4wx/mcjcNLpfNqfIaW6RJ4hFbuQ/Vk7np4tUmD7ucmkXAgqp+RLWzmp
M0nL7I1RVZEAhGwxvvDwZaa7tnwoR3hvAXGo+MIpgAkd04k9GQEBFpzBfH1aRtDH
2FJ64drQK9CN1BB44VFqHsFVjXV4QhAiuwXy0UJBdpre+rBYXMQIPY0+bVlUYDrN
Ju3r44acGVPjTItAFa68C/P0QhNH7mVHJRSzRfbUEoHCKQfKzjrL8yE8hTC+9P3D
c5wj9DeiTzT/98i0MvZkAj33sO39MdU3ibb+0VogwvBHfiIIgsAU1M08c6AMMV7d
w4ViJlvkq1ccWvIBEI+4M3Z4pvVuqdSZwr013TzHdX+rX2+Kr4RpaKyLlMmq9JAy
/b/tQ9j0SZu8/0PPHsgHFNJvTYk/R2SaNguPRaZ10PMnyezvZ53xZl9HhadXrCs3
ZGhnq65BhW9dmrIuyDVRcJgmWCDjJFTsv8yqmQNqGC2bINBcQ1BIf1mk7/0rjLcU
L5tqFLSpFLzMEY/NDVUWzsDPvJWHIXAWQ07aLhvat2OG3g9exC9UiLT48qtTenZP
BAXVs8yHSvr/jBf6Ve1vK30Ln0NbeHpj7tcfSyErqbyPH9UFTjYd2bDB6HzRrx7a
vdDneCRwKg7YukOfjslJLXjVMzrvLZMeIGprM2Uzv8rw+GlWNr0=
=KX0D
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Aptitude-devel mailing list
Aptitude-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to