#1113528 sopt: FTBFS with CMake 4

#1113528#5
Date:
2025-08-31 23:05:05 UTC
From:
To:
Dear maintainer,

During a test rebuild for CMake 4, sopt failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (6, 1): [96, 112) x [16, 32)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (6, 2): [96, 112) x [32, 48)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (6, 3): [96, 112) x [48, 64)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (6, 4): [96, 112) x [64, 80)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (6, 5): [96, 112) x [80, 96)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (6, 6): [96, 112) x [96, 112)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (6, 7): [96, 112) x [112, 128)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (6, 8): [96, 112) x [128, 137)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 0): [112, 128) x [0, 16)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 1): [112, 128) x [16, 32)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 2): [112, 128) x [32, 48)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 3): [112, 128) x [48, 64)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 4): [112, 128) x [64, 80)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 5): [112, 128) x [80, 96)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 6): [112, 128) x [96, 112)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 7): [112, 128) x [112, 128)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (7, 8): [112, 128) x [128, 137)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 0): [128, 129) x [0, 16)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 1): [128, 129) x [16, 32)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 2): [128, 129) x [32, 48)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 3): [128, 129) x [48, 64)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 4): [128, 129) x [64, 80)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 5): [128, 129) x [80, 96)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 6): [128, 129) x [96, 112)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 7): [128, 129) x [112, 128)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: sopt::debug  Grid pixel (8, 8): [128, 129) x [128, 137)
4: sopt::debug  Starting bisection method over x ∈ [-22185, 0], to estimate f(x) = 1
4: sopt::debug  Starting bisection method over x ∈ [0, 22185], to estimate f(x) = 1
4: sopt::debug  η- = -1.00034, mean = 0, η+ = 1.00034
4: ===============================================================================
4: All tests passed (22 assertions in 4 test cases)
4:
27/27 Test  #4: test_credible_region ........................   Passed    5.00 sec

93% tests passed, 2 tests failed out of 27

Label Time Summary:
catch        =   5.87 sec*proc (17 tests)
examples     =   4.97 sec*proc (10 tests)
mpi          =   0.07 sec*proc (2 tests)
padmm        =   0.05 sec*proc (1 test)
proximals    =   0.02 sec*proc (3 tests)
sdmm         =   0.05 sec*proc (1 test)
wavelets     =   4.68 sec*proc (2 tests)

Total Test time (real) =   5.02 sec

The following tests FAILED:
	 16 - mpi_wavelets (Failed)                             catch mpi
	 17 - mpi_session (Failed)                              catch mpi
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/build/reproducible-path/sopt-4.2.0+dfsg/obj-aarch64-linux-gnu'
dh_auto_test: error: cd obj-aarch64-linux-gnu && make -j8 test ARGS\+=--verbose ARGS\+=-j8 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T20:49:14Z
-------------------------------------------------------------------------------

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/2411400/

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/154906/

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

#1113528#12
Date:
2025-09-01 11:52:35 UTC
From:
To:
I have downgraded the bug to non-RC severity temporarily and reverted
CMake in unstable to version 3.31.6. I plan to re-upgrade in about a
month's time. I realize that despite my April announcement, the upload
to unstable came rather surprising, and I don't want to cause
unnecessary pain.

Also, the build log URL has an unfortunate mistake. The correct URL
should include the workspace, i.e.,

https://debusine.debian.net/debian/developers/artifact/XXXX

CMake 4 will also be available in experimental again, so it can be
used to verify that the bug is fixed.

Cheers
Timo