[Aptitude-devel] Bug#1012895: Bug#1012895: aptitude: ftbfs with GCC-12

Axel Beckert abe at debian.org
Thu Jun 16 14:05:32 BST 2022


Control: tag -1 + moreinfo

Hi Matthias,

Matthias Klose wrote:
> 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.

Thanks for the heads up!

> To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,

I think you mean 12 instead of 11.

> 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.

Is the same copy & paste error from the GCC 11 bug reports back then
as above or is this actually correct for GCC 12? Please clarify.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list