Bug#1133462: eccodes: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:02:58 BST 2026
Package: src:eccodes
Version: 2.46.0-1
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at 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.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 with GCC 16.
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.
[...]
//ADVANCED property for variable: PNG_PNG_INCLUDE_DIR
PNG_PNG_INCLUDE_DIR-ADVANCED:INTERNAL=1
PNG_user_provided_input:INTERNAL=1
PRODUCT_BUFR_user_provided_input:INTERNAL=0
PRODUCT_GRIB_user_provided_input:INTERNAL=0
//ADVANCED property for variable: SITE
SITE-ADVANCED:INTERNAL=1
TESTS_user_provided_input:INTERNAL=0
USE_SHARED_LIB_AEC_user_provided_input:INTERNAL=0
//ADVANCED property for variable: ZLIB_INCLUDE_DIR
ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_DEBUG
ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_RELEASE
ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/usr
//Compiler reason failure
_Python_Compiler_REASON_FAILURE:INTERNAL=
//Development reason failure
_Python_Development_REASON_FAILURE:INTERNAL=
//Path to a program.
_Python_EXECUTABLE:INTERNAL=/usr/bin/python3
//Python Properties
_Python_INTERPRETER_PROPERTIES:INTERNAL=Python;3;13;12;64;32;<none>;cpython-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=4c8bfa8951e99fa32e4000a94f8c04a2
//NumPy reason failure
_Python_NumPy_REASON_FAILURE:INTERNAL=
//Result of TRY_COMPILE
_linker_understands_origin:INTERNAL=TRUE
eccodes_ALL_EXES:INTERNAL=
eccodes_ALL_LIBS:INTERNAL=
//Test eccodes_CXX_FLAG_TEST_1
eccodes_CXX_FLAG_TEST_1:INTERNAL=1
//Test eccodes_C_FLAG_TEST_1
eccodes_C_FLAG_TEST_1:INTERNAL=1
eccodes_ENABLE_AEC_defined_value:INTERNAL=ON
eccodes_ENABLE_BIT_REPRODUCIBLE_defined_value:INTERNAL=ON
eccodes_ENABLE_BUILD_TOOLS_defined_value:INTERNAL=ON
eccodes_ENABLE_ECKIT_GEO_defined_value:INTERNAL=ON
eccodes_ENABLE_EXAMPLES_defined_value:INTERNAL=ON
eccodes_ENABLE_FORTRAN_defined_value:INTERNAL=ON
eccodes_ENABLE_GEOGRAPHY_defined_value:INTERNAL=ON
eccodes_ENABLE_JPG_LIBJASPER_defined_value:INTERNAL=ON
eccodes_ENABLE_JPG_LIBOPENJPEG_defined_value:INTERNAL=ON
eccodes_ENABLE_JPG_defined_value:INTERNAL=ON
eccodes_ENABLE_NETCDF_defined_value:INTERNAL=ON
eccodes_ENABLE_PKGCONFIG_defined_value:INTERNAL=ON
eccodes_ENABLE_PNG_defined_value:INTERNAL=ON
eccodes_ENABLE_PRODUCT_BUFR_defined_value:INTERNAL=ON
eccodes_ENABLE_PRODUCT_GRIB_defined_value:INTERNAL=ON
eccodes_ENABLE_TESTS_defined_value:INTERNAL=ON
eccodes_ENABLE_USE_SHARED_LIB_AEC_defined_value:INTERNAL=ON
//eccodes BIN full install path
eccodes_FULL_INSTALL_BIN_DIR:INTERNAL=/usr/bin
//eccodes CMAKE full install path
eccodes_FULL_INSTALL_CMAKE_DIR:INTERNAL=/usr/lib/aarch64-linux-gnu/cmake/eccodes
//eccodes DATA full install path
eccodes_FULL_INSTALL_DATA_DIR:INTERNAL=/usr/share/eccodes
//eccodes INCLUDE full install path
eccodes_FULL_INSTALL_INCLUDE_DIR:INTERNAL=/usr/include
//eccodes LIB full install path
eccodes_FULL_INSTALL_LIB_DIR:INTERNAL=/usr/lib/aarch64-linux-gnu
//perl script to generate persistent objects
sg_perl:INTERNAL=/usr/share/ecbuild/cmake/sg.pl
dh_auto_configure: error: cd debian/build-gfortran-15 && cmake -DCMAKE_MODULE_PATH=/usr/share/ecbuild/cmake -DECBUILD_MACROS_DIR=/usr/share/ecbuild/cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SITE=debian -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DECBUILD_LOG_LEVEL=DEBUG -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/aarch64-linux-gnu -DENABLE_INSTALL_ECCODES_DEFINITIONS=ON -DENABLE_INSTALL_ECCODES_SAMPLES=ON -DENABLE_PNG=ON -DENABLE_ECKIT_GEO=ON -DENABLE_AEC=ON -DENABLE_RPATHS=OFF -DENABLE_RELATIVE_RPATHS=OFF -DCMAKE_C_CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eccodes-2.46.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now" -DENABLE_ALIGN_MEMORY=ON -DENABLE_GRIB_TIMER=ON -DENABLE_ECCODES_OMP_THREADS=On -DCMAKE_Fortran_COMPILER=gfortran-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 status 2
More information about the debian-science-maintainers
mailing list