[Debichem-devel] Bug#1113262: madness: FTBFS with CMake 4
roehling at debian.org
roehling at debian.org
Mon Sep 1 00:00:07 BST 2025
Source: madness
Version: 0.10.1+git20200818.eee5fd9f-3
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, madness failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra/startup.cc:189:53: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
189 | print(" compiled ...",__TIME__," on ",__DATE__);
| ^~~~~~~~
/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra/startup.cc:189:69: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
189 | print(" compiled ...",__TIME__," on ",__DATE__);
| ^~~~~~~~
make[3]: Leaving directory '/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu'
[ 59%] Built target MADworld-obj
[ 59%] Building CXX object src/madness/mra/CMakeFiles/MADmra-obj.dir/legendre.cc.o
cd /build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/mra && /usr/bin/c++ -DMADNESS_MPI_HEADER=\"/usr/lib/aarch64-linux-gnu/mpich/include/mpi.h\" -DMAD_ROOT_DIR=\"/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f\" -DMPICH_SKIP_MPICXX=1 -DMRA_DATA_DIR=\"/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra\" -DOMPI_SKIP_MPICXX=1 -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/mra -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src -I/usr/lib/aarch64-linux-gnu/mpich/include -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/world -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/world -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/misc -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/misc -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/tensor -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/tensor -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/external/tinyxml -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/external/tinyxml -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/external/muParser -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/external/muParser -g -O2 -ffile-prefix-map=/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -std=c++17 -fPIC -MD -MT src/madness/mra/CMakeFiles/MADmra-obj.dir/legendre.cc.o -MF CMakeFiles/MADmra-obj.dir/legendre.cc.o.d -o CMakeFiles/MADmra-obj.dir/legendre.cc.o -c /build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra/legendre.cc
[ 59%] Building CXX object src/madness/mra/CMakeFiles/MADmra-obj.dir/twoscale.cc.o
cd /build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/mra && /usr/bin/c++ -DMADNESS_MPI_HEADER=\"/usr/lib/aarch64-linux-gnu/mpich/include/mpi.h\" -DMAD_ROOT_DIR=\"/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f\" -DMPICH_SKIP_MPICXX=1 -DMRA_DATA_DIR=\"/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra\" -DOMPI_SKIP_MPICXX=1 -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/mra -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src -I/usr/lib/aarch64-linux-gnu/mpich/include -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/world -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/world -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/misc -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/misc -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/tensor -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/tensor -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/external/tinyxml -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/external/tinyxml -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/external/muParser -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/external/muParser -g -O2 -ffile-prefix-map=/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -std=c++17 -fPIC -MD -MT src/madness/mra/CMakeFiles/MADmra-obj.dir/twoscale.cc.o -MF CMakeFiles/MADmra-obj.dir/twoscale.cc.o.d -o CMakeFiles/MADmra-obj.dir/twoscale.cc.o -c /build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra/twoscale.cc
[ 59%] Building CXX object src/madness/mra/CMakeFiles/MADmra-obj.dir/qmprop.cc.o
cd /build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/mra && /usr/bin/c++ -DMADNESS_MPI_HEADER=\"/usr/lib/aarch64-linux-gnu/mpich/include/mpi.h\" -DMAD_ROOT_DIR=\"/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f\" -DMPICH_SKIP_MPICXX=1 -DMRA_DATA_DIR=\"/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra\" -DOMPI_SKIP_MPICXX=1 -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/mra -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src -I/usr/lib/aarch64-linux-gnu/mpich/include -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/world -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/world -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/misc -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/misc -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/tensor -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/tensor -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/external/tinyxml -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/external/tinyxml -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu/src/madness/external/muParser -I/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/external/muParser -g -O2 -ffile-prefix-map=/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -std=c++17 -fPIC -MD -MT src/madness/mra/CMakeFiles/MADmra-obj.dir/qmprop.cc.o -MF CMakeFiles/MADmra-obj.dir/qmprop.cc.o.d -o CMakeFiles/MADmra-obj.dir/qmprop.cc.o -c /build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/src/madness/mra/qmprop.cc
make[3]: Leaving directory '/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu'
[ 59%] Built target MADmra-obj
make[2]: Leaving directory '/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/madness-0.10.1+git20200818.eee5fd9f/obj-aarch64-linux-gnu'
dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T06:17:51Z
-------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2403661/
The most likely cause of build failures is the removed backwards compatibility for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:
https://lists.debian.org/debian-devel/2025/04/msg00310.html
About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.
You can find the build task here:
https://debusine.debian.net/work-request/154049/
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks,
Timo
More information about the Debichem-devel
mailing list