[From nobody Mon Jul 20 14:41:05 2026
Received: (at maintonly) by bugs.debian.org; 13 Apr 2026 13:03:00 +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=-117.6 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,MD5_SHA1_SUM,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, 21; hammy, 150; neutral, 205; 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]:55086)
 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 1wCGwO-002kTx-0l
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:03:00 +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-Transfer-Encoding:Content-Type
 :MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=5t7eTlMuJsNc4Fih2oAqDbqczMCKodMx+GLzyJBZPFc=; b=irTcTgUCx1ukWm7RCpXIC80s18
 2Vb3TfphEryvvJiyPApULiFCdCULLeUATJc9nmTzEmjBKLeIVOjl/X0IWuyAi4r/9zSOBvwL7HtdE
 0n0kdS42IXRrMAFFHtSi9qlvHegIYKOXQO4jiHkEqtVTk27V4RnM4778MyLiSdfN7Ov+ThU7iZgp4
 es0H6oEt4vt/wOdLqO5wWgKTssOHH9j9shLoJ951ZE3AjHZ4OCQjJT8GDyp7i/cIuEe8iY62T1XzC
 VRRP+1sxxOWlf5bakORHmlnurRUMv1LSNQAr3ELkzTWOoLrY0MvMUmZ4ZEQg0DD5p4IxY/iDalYyE
 ReHE3EPw==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ema@debian.org&gt;) id 1wCGwM-00CJEH-1g
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:02:58 +0000
Date: Mon, 13 Apr 2026 15:02:58 +0200
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: eccodes: ftbfs with GCC-16
Message-ID: &lt;adzpguT9YhUR5R3h@ariel.home&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Debian-User: ema
Delivered-To: maintonly@bugs.debian.org

Package: src:eccodes
Version: 2.46.0-1
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

eccodes 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/eccodes_arm64.build=
=2Exz

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

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

  apt-get -t=3Dexperimental install g++=20

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols file=
s.
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 with GCC 16.

Please do not reassign this bug to another package. If a fix in another pac=
kage
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.

[...]


//ADVANCED property for variable: PNG_PNG_INCLUDE_DIR
PNG_PNG_INCLUDE_DIR-ADVANCED:INTERNAL=3D1
PNG_user_provided_input:INTERNAL=3D1
PRODUCT_BUFR_user_provided_input:INTERNAL=3D0
PRODUCT_GRIB_user_provided_input:INTERNAL=3D0
//ADVANCED property for variable: SITE
SITE-ADVANCED:INTERNAL=3D1
TESTS_user_provided_input:INTERNAL=3D0
USE_SHARED_LIB_AEC_user_provided_input:INTERNAL=3D0
//ADVANCED property for variable: ZLIB_INCLUDE_DIR
ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=3D1
//ADVANCED property for variable: ZLIB_LIBRARY_DEBUG
ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=3D1
//ADVANCED property for variable: ZLIB_LIBRARY_RELEASE
ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=3D1
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=3D/usr
//Compiler reason failure
_Python_Compiler_REASON_FAILURE:INTERNAL=3D
//Development reason failure
_Python_Development_REASON_FAILURE:INTERNAL=3D
//Path to a program.
_Python_EXECUTABLE:INTERNAL=3D/usr/bin/python3
//Python Properties
_Python_INTERPRETER_PROPERTIES:INTERNAL=3DPython;3;13;12;64;32;&lt;none&gt;;cpyth=
on-313-aarch64-linux-gnu;abi3;/usr/lib/python3.13;/usr/lib/python3.13;/usr/=
local/lib/python3.13/dist-packages;/usr/local/lib/python3.13/dist-packages
_Python_INTERPRETER_SIGNATURE:INTERNAL=3D4c8bfa8951e99fa32e4000a94f8c04a2
//NumPy reason failure
_Python_NumPy_REASON_FAILURE:INTERNAL=3D
//Result of TRY_COMPILE
_linker_understands_origin:INTERNAL=3DTRUE
eccodes_ALL_EXES:INTERNAL=3D
eccodes_ALL_LIBS:INTERNAL=3D
//Test eccodes_CXX_FLAG_TEST_1
eccodes_CXX_FLAG_TEST_1:INTERNAL=3D1
//Test eccodes_C_FLAG_TEST_1
eccodes_C_FLAG_TEST_1:INTERNAL=3D1
eccodes_ENABLE_AEC_defined_value:INTERNAL=3DON
eccodes_ENABLE_BIT_REPRODUCIBLE_defined_value:INTERNAL=3DON
eccodes_ENABLE_BUILD_TOOLS_defined_value:INTERNAL=3DON
eccodes_ENABLE_ECKIT_GEO_defined_value:INTERNAL=3DON
eccodes_ENABLE_EXAMPLES_defined_value:INTERNAL=3DON
eccodes_ENABLE_FORTRAN_defined_value:INTERNAL=3DON
eccodes_ENABLE_GEOGRAPHY_defined_value:INTERNAL=3DON
eccodes_ENABLE_JPG_LIBJASPER_defined_value:INTERNAL=3DON
eccodes_ENABLE_JPG_LIBOPENJPEG_defined_value:INTERNAL=3DON
eccodes_ENABLE_JPG_defined_value:INTERNAL=3DON
eccodes_ENABLE_NETCDF_defined_value:INTERNAL=3DON
eccodes_ENABLE_PKGCONFIG_defined_value:INTERNAL=3DON
eccodes_ENABLE_PNG_defined_value:INTERNAL=3DON
eccodes_ENABLE_PRODUCT_BUFR_defined_value:INTERNAL=3DON
eccodes_ENABLE_PRODUCT_GRIB_defined_value:INTERNAL=3DON
eccodes_ENABLE_TESTS_defined_value:INTERNAL=3DON
eccodes_ENABLE_USE_SHARED_LIB_AEC_defined_value:INTERNAL=3DON
//eccodes BIN full install path
eccodes_FULL_INSTALL_BIN_DIR:INTERNAL=3D/usr/bin
//eccodes CMAKE full install path
eccodes_FULL_INSTALL_CMAKE_DIR:INTERNAL=3D/usr/lib/aarch64-linux-gnu/cmake/=
eccodes
//eccodes DATA full install path
eccodes_FULL_INSTALL_DATA_DIR:INTERNAL=3D/usr/share/eccodes
//eccodes INCLUDE full install path
eccodes_FULL_INSTALL_INCLUDE_DIR:INTERNAL=3D/usr/include
//eccodes LIB full install path
eccodes_FULL_INSTALL_LIB_DIR:INTERNAL=3D/usr/lib/aarch64-linux-gnu
//perl script to generate persistent objects
sg_perl:INTERNAL=3D/usr/share/ecbuild/cmake/sg.pl

dh_auto_configure: error: cd debian/build-gfortran-15 &amp;&amp; cmake -DCMAKE_MODU=
LE_PATH=3D/usr/share/ecbuild/cmake -DECBUILD_MACROS_DIR=3D/usr/share/ecbuil=
d/cmake -DCMAKE_INSTALL_PREFIX=3D/usr -DCMAKE_BUILD_TYPE=3DRelease -DBUILD_=
SITE=3Ddebian -DCMAKE_INSTALL_LOCALSTATEDIR=3D/var -DCMAKE_EXPORT_NO_PACKAG=
E_REGISTRY=3DON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=3DON &quot;-GUnix Makef=
iles&quot; -DECBUILD_LOG_LEVEL=3DDEBUG -DCMAKE_VERBOSE_MAKEFILE=3DON -DCMAKE_INS=
TALL_LIBDIR=3Dlib/aarch64-linux-gnu -DENABLE_INSTALL_ECCODES_DEFINITIONS=3D=
ON -DENABLE_INSTALL_ECCODES_SAMPLES=3DON -DENABLE_PNG=3DON -DENABLE_ECKIT_G=
EO=3DON -DENABLE_AEC=3DON -DENABLE_RPATHS=3DOFF -DENABLE_RELATIVE_RPATHS=3D=
OFF -DCMAKE_C_CFLAGS=3D&quot;-g -O2 -Werror=3Dimplicit-function-declaration -ffi=
le-prefix-map=3D/build/reproducible-path/eccodes-2.46.0=3D. -fstack-protect=
or-strong -fstack-clash-protection -Wformat -Werror=3Dformat-security -mbra=
nch-protection=3Dstandard -Wdate-time -D_FORTIFY_SOURCE=3D2  -Wl,-z,relro -=
Wl,-z,now&quot; -DENABLE_ALIGN_MEMORY=3DON -DENABLE_GRIB_TIMER=3DON -DENABLE_ECC=
ODES_OMP_THREADS=3DOn -DCMAKE_Fortran_COMPILER=3Dgfortran-15 ../.. returned=
 exit code 1
make[1]: *** [debian/rules:69: dh_configure_fortran_gfortran-15] Error 2
make[1]: Leaving directory '/build/reproducible-path/eccodes-2.46.0'
make: *** [debian/rules:48: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit s=
tatus 2
]