[From nobody Thu May 14 21:25:07 2026
Received: (at maintonly) by bugs.debian.org; 27 Mar 2026 17:18:17 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-116.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,
 HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 150; neutral, 189; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;ema@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:37248)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ema@debian.org&gt;) id 1w6Ap7-007yke-1y
 for maintonly@bugs.debian.org; Fri, 27 Mar 2026 17:18:17 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=9Vb1oZK/VH7oNrqrm7evfzj5nSjv7Oxu6lBeytx54Go=; b=vRMiCoj67/szHqN0wuY3xHUx9+
 5fCveWlB/3WbASIUtauIDSHa9XTNsyqMbQ0EBaJmAy9TIjWkC6gn9aMe2MRRgfPxSthG0aaKp6gEN
 sizU7Yk0XObKhMI3YNi1/Vvy+zXfL87LauADFAZdXaq2gjghspjQzbtXvbfWkjQUmPBjXXb7QLfq3
 B+jLX50jWWfppEBWLqIoKurHjChvIieVf4eshjyK27o2TMKMp5XBmfMChNwZ0lpW3Z5xluTlpMoG5
 aTISrbny9WzFSZGLxoPJoZ53VNsu63Z9KODmzjeGwZ13EWhVeDvUKs3WruY4a+E619fdDhdca5Ndq
 HFQ0HbpA==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;ema@debian.org&gt;) id 1w6Ap5-00AmY1-PQ
 for maintonly@bugs.debian.org; Fri, 27 Mar 2026 17:18:16 +0000
Date: Fri, 27 Mar 2026 18:18:15 +0100
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: aptitude: ftbfs with GCC-16
Message-ID: &lt;aca713lxTl7bGda6@ariel.home&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: ema
Delivered-To: maintonly@bugs.debian.org

Package: src:aptitude
Version: 0.8.13-8
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

aptitude fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/aptitude_arm64.build.xz

The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


build_cpu='aarch64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='aarch64-unknown-linux-gnu'
host_alias=''
host_cpu='aarch64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}/html'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='${SHELL} /build/reproducible-path/aptitude-0.8.13/install-sh'
libdir='${prefix}/lib/aarch64-linux-gnu'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localedir_c='&quot;/usr/share/locale&quot;'
localedir_c_make='\&quot;$(localedir)\&quot;'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s&amp;aptitude$$&amp;aptitude-curses&amp;'
psdir='${docdir}'
runstatedir='/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME &quot;aptitude&quot;
#define PACKAGE_TARNAME &quot;aptitude&quot;
#define PACKAGE_VERSION &quot;0.8.13&quot;
#define PACKAGE_STRING &quot;aptitude 0.8.13&quot;
#define PACKAGE_BUGREPORT &quot;aptitude-devel@lists.alioth.debian.org&quot;
#define PACKAGE_URL &quot;&quot;
#define PACKAGE &quot;aptitude&quot;
#define VERSION &quot;0.8.13&quot;
#define ENABLE_NLS 1
#define HAVE_GETTEXT 1
#define HAVE_DCGETTEXT 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_LIBNCURSESW 1
#define HAVE_LIBAPT_PKG 1

configure: exit 1
dh_auto_configure: error: cd build &amp;&amp; ../configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --htmldir=\${docdir}/html --program-transform=s&amp;aptitude\$&amp;aptitude-curses&amp; --disable-boost-lib-checks --disable-docs returned exit code 1
make[1]: *** [debian/rules:30: override_dh_auto_configure-arch] Error 25
make[1]: Leaving directory '/build/reproducible-path/aptitude-0.8.13'
make: *** [debian/rules:22: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
]