[Debichem-devel] Bug#1112775: chemps2: FTBFS with CMake 4
Graham Inggs
ginggs at debian.org
Sat Mar 7 12:56:52 GMT 2026
Hi Maintainer
It looks like the autopkgtest also needs fixing [1]. I have copied
what I hope is the relevant part of the log below.
Regards
Graham
[1] https://ci.debian.net/packages/c/chemps2/testing/arm64/
78s autopkgtest [02:55:40]: test libtest: [-----------------------
79s
79s SRCDIR="$(pwd)"
79s cd $AUTOPKGTEST_TMP
79s cat $SRCDIR/tests/test1.cpp.in | sed -e
"s/\${CMAKE\_SOURCE\_DIR}\/tests\/matrixelements\///" > upstream.cpp
79s cp $SRCDIR/tests/matrixelements/N2.STO3G.FCIDUMP .
79s cp $SRCDIR/debian/tests/CMakeLists.txt .
79s
79s cmake .
79s CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
79s Compatibility with CMake < 3.5 has been removed from CMake.
79s
79s Update the VERSION argument <min> value. Or, use the
<min>...<max> syntax
79s to tell CMake that the project requires at least <min> but has
been updated
79s to work with policies introduced by <max> or earlier.
79s
79s Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
79s
79s
79s -- Configuring incomplete, errors occurred!
79s autopkgtest [02:55:41]: test libtest: -----------------------]
79s autopkgtest [02:55:41]: test libtest: - - - - - - - - - -
results - - - - - - - - - -
79s libtest FAIL non-zero exit status 1
More information about the Debichem-devel
mailing list