[Aptitude-devel] Bug#1074815: aptitude: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:22:05 BST 2024


Package: src:aptitude
Version: 0.8.13-6
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/aptitude_0.8.13-6_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
g++ -DHAVE_CONFIG_H -I. -I../../../../src/generic/views -I../../..  -I../../.. -I../../../.. -I../../../../src -I../../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o progress.o ../../../../src/generic/views/progress.cc
g++ -DHAVE_CONFIG_H -I. -I../../../../src/generic/views -I../../..  -I../../.. -I../../../.. -I../../../../src -I../../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o search_input.o ../../../../src/generic/views/search_input.cc
rm -f libgeneric-views.a
ar cru libgeneric-views.a download_progress.o progress.o search_input.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libgeneric-views.a
make[6]: Leaving directory '/<<PKGBUILDDIR>>/build/src/generic/views'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/src/generic/views'
make[5]: Entering directory '/<<PKGBUILDDIR>>/build/src/generic'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/src/generic'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/src/generic'
Making all in cmdline
make[4]: Entering directory '/<<PKGBUILDDIR>>/build/src/cmdline'
Making all in mocks
make[5]: Entering directory '/<<PKGBUILDDIR>>/build/src/cmdline/mocks'
g++ -DHAVE_CONFIG_H -I. -I../../../../src/cmdline/mocks -I../../..  -I../../.. -I../../../.. -I../../../../src -I../../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o download_status_display.o ../../../../src/cmdline/mocks/download_status_display.cc
g++ -DHAVE_CONFIG_H -I. -I../../../../src/cmdline/mocks -I../../..  -I../../.. -I../../../.. -I../../../../src -I../../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o teletype.o ../../../../src/cmdline/mocks/teletype.cc
g++ -DHAVE_CONFIG_H -I. -I../../../../src/cmdline/mocks -I../../..  -I../../.. -I../../../.. -I../../../../src -I../../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o terminal.o ../../../../src/cmdline/mocks/terminal.cc
rm -f libcmdline-mocks.a
ar cru libcmdline-mocks.a download_status_display.o teletype.o terminal.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libcmdline-mocks.a
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/src/cmdline/mocks'
make[5]: Entering directory '/<<PKGBUILDDIR>>/build/src/cmdline'
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_action.o ../../../src/cmdline/cmdline_action.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_apt_proxy.o ../../../src/cmdline/cmdline_apt_proxy.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_changelog.o ../../../src/cmdline/cmdline_changelog.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_check_resolver.o ../../../src/cmdline/cmdline_check_resolver.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_clean.o ../../../src/cmdline/cmdline_clean.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_do_action.o ../../../src/cmdline/cmdline_do_action.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_download_progress_display.o ../../../src/cmdline/cmdline_download_progress_display.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_dump_resolver.o ../../../src/cmdline/cmdline_dump_resolver.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_extract_cache_subset.o ../../../src/cmdline/cmdline_extract_cache_subset.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_forget_new.o ../../../src/cmdline/cmdline_forget_new.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_main_loop.o ../../../src/cmdline/cmdline_main_loop.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_mark.o ../../../src/cmdline/cmdline_mark.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_moo.o ../../../src/cmdline/cmdline_moo.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_progress.o ../../../src/cmdline/cmdline_progress.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_progress_display.o ../../../src/cmdline/cmdline_progress_display.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_prompt.o ../../../src/cmdline/cmdline_prompt.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_resolver.o ../../../src/cmdline/cmdline_resolver.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_search.o ../../../src/cmdline/cmdline_search.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_search_progress.o ../../../src/cmdline/cmdline_search_progress.cc
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_show.o ../../../src/cmdline/cmdline_show.cc
../../../src/cmdline/cmdline_show.cc: In function ‘cwidget::fragment* prv_lst_frag(pkgCache::PrvIterator, bool, int, const std::string&)’:
../../../src/cmdline/cmdline_show.cc:162:8: error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’?
  162 |   std::sort(packagevers.begin(), packagevers.end());
      |        ^~~~
      |        qsort
../../../src/cmdline/cmdline_show.cc: In function ‘cwidget::fragment* version_file_fragment(const pkgCache::VerIterator&, const pkgCache::VerFileIterator&, int)’:
../../../src/cmdline/cmdline_show.cc:451:12: error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’?
  451 |       std::sort(sorted_hashes.begin(), sorted_hashes.end(), [](const auto& a, const auto& b) { return a.first < b.first; });
      |            ^~~~
      |            qsort
g++ -DHAVE_CONFIG_H -I. -I../../../src/cmdline -I../..  -I../.. -I../../.. -I../../../src -I../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include     -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -D_REENTRANT -std=gnu++17 -Wall  -c -o cmdline_show_broken.o ../../../src/cmdline/cmdline_show_broken.cc
make[5]: *** [Makefile:583: cmdline_show.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/src/cmdline'
make[4]: *** [Makefile:599: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/src/cmdline'
make[3]: *** [Makefile:686: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
make[2]: *** [Makefile:725: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:607: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j8 returned exit code 2
make: *** [debian/rules:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Aptitude-devel mailing list