[Debian-astro-maintainers] Bug#1113430: purify: FTBFS with CMake 4

roehling at debian.org roehling at debian.org
Mon Sep 1 00:03:15 BST 2025


Source: purify
Version: 4.2.0-1
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

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

Log Summary:
-------------------------------------------------------------------------------
[...]


 6/13 Test #13: parallel_mpi_utilities ...........***Failed    0.05 sec
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 16
slots that were requested by the application:

  ./test_parallel_mpi_utilities

Either request fewer procs for your application, or make more slots
available for use.

A "slot" is the PRRTE term for an allocatable unit where we can
launch a process.  The number of slots available are defined by the
environment in which PRRTE processes are run:

  1. Hostfile, via "slots=N" clauses (N defaults to number of
     processor cores if not provided)
  2. The --host command line parameter, via a ":N" suffix on the
     hostname (N defaults to 1 if not provided)
  3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
  4. If none of a hostfile, the --host command line parameter, or an
     RM is present, PRRTE defaults to the number of processor cores

In all the above cases, if you want PRRTE to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.

Alternatively, you can use the --map-by :OVERSUBSCRIBE option to ignore the
number of available slots when deciding the number of processes to
launch.
--------------------------------------------------------------------------


6: Randomness seeded to: 1756566009
6: purify::critical  0 0 0
6: purify::critical  2 3 1
6: purify::critical  4 6 2
6: purify::critical  6 9 3
6: purify::critical  8 12 4
6: purify::critical  10 15 5
6: purify::critical  12 18 6
6: purify::critical  14 21 7
6: purify::critical  16 24 8
6: purify::critical  18 27 9
6: purify::critical  20 30 10
6: purify::critical  22 33 11
6: purify::critical  24 36 12
6: purify::critical  26 39 13
6: purify::critical  28 42 14
6: purify::critical  30 45 15
6: purify::critical  32 48 16
6: purify::critical  34 51 17
6: purify::critical  36 54 18
6: purify::critical  38 57 19
6: purify::critical  40 60 20
6: purify::critical  42 63 21
6: purify::critical  44 66 22
6: purify::critical  46 69 23
6: purify::critical  48 72 24
6: purify::critical  50 75 25
6: purify::critical  52 78 26
6: purify::critical  54 81 27
6: purify::critical  56 84 28
6: purify::critical  58 87 29
6: purify::critical  60 90 30
6: purify::critical  62 93 31
6: purify::critical  64 96 32
6: purify::critical  66 99 33
6: purify::critical  68 102 34
6: purify::critical  70 105 35
6: purify::critical  72 108 36
6: purify::critical  74 111 37
6: purify::critical  76 114 38
6: purify::critical  78 117 39
6: ===============================================================================
6: test cases: 1 | 1 passed
6: assertions: - none -
6: 
5: Randomness seeded to: 1756566009
5: ===============================================================================
5: All tests passed (4 assertions in 1 test case)
5: 
 7/13 Test  #6: test_sparse ......................   Passed    0.09 sec
 8/13 Test  #5: test_purify_fitsio ...............   Passed    0.10 sec
10: Randomness seeded to: 1756566009
10: ===============================================================================
10: All tests passed (13 assertions in 1 test case)
10: 
 9/13 Test #10: test_mpi_utilities ...............   Passed    0.09 sec
7: Randomness seeded to: 1756566009
7: purify::info  Using a pixel size of 1 by 1 arcseconds
7: purify::info  Using a pixel size of 3 by 3 arcseconds
7: ===============================================================================
7: All tests passed (34 assertions in 4 test cases)
7: 
10/13 Test  #7: test_wide_field_utilities ........   Passed    0.13 sec
3: Randomness seeded to: 1756566008
3: ===============================================================================
3: All tests passed (12 assertions in 3 test cases)
3: 
11/13 Test  #3: test_integration .................   Passed    0.16 sec
4: Randomness seeded to: 1756566009
4: purify::info  Kernel Support: 4 x 4
4: purify::debug  Building Measurement Operator: WGFZDB
4: purify::debug  Constructing Zero Padding and Correction Operator: ZDB
4: purify::info  Image size (width, height): 128 x 128
4: purify::info  Oversampling Factor: 2
4: purify::debug  Constructing FFT operator: F
4: purify::info  Measuring Plans...
4: purify::info  FoV (width, height): 0.0355556 deg x 0.0355556 deg
4: purify::debug  Constructing Weighting and Gridding Operators: WG
4: purify::info  Number of visibilities: 100
4: purify::info  Mean, w: 0, +/- 0
4: purify::debug  Non Zero grid locations: 73 
4: purify::debug  Finished consturction of Φ.
4: purify::debug  Using serial measurement operator.
4: purify::info  Kernel Support: 4 x 4
4: purify::debug  Building Measurement Operator: WGFZDB
4: purify::debug  Constructing Zero Padding and Correction Operator: ZDB
4: purify::info  Image size (width, height): 128 x 128
4: purify::info  Oversampling Factor: 2
4: purify::debug  Constructing FFT operator: F
4: purify::info  Measuring Plans...
4: purify::info  FoV (width, height): 0.0355556 deg x 0.0355556 deg
4: purify::debug  Constructing Weighting and Gridding Operators: WG
4: purify::info  Number of visibilities: 100
4: purify::info  Mean, w: 0, +/- 0
4: purify::debug  Non Zero grid locations: 73 
4: purify::debug  Finished consturction of Φ.
4: purify::info  Kernel Support: 4 x 4
4: purify::debug  Building Measurement Operator: WGFZDB
4: purify::debug  Constructing Zero Padding and Correction Operator: ZDB
4: purify::info  Image size (width, height): 128 x 128
4: purify::info  Oversampling Factor: 2
4: purify::debug  Constructing FFT operator: F
4: purify::info  Measuring Plans...
4: purify::info  FoV (width, height): 0.0355556 deg x 0.0355556 deg
4: purify::debug  Constructing Weighting and Gridding Operators: WG
4: purify::info  Number of visibilities: 100
4: purify::info  Mean, w: 0, +/- 0
4: purify::debug  Non Zero grid locations: 68 
4: purify::debug  Finished consturction of Φ.
4: purify::debug  Using serial measurement operator.
4: purify::info  Kernel Support: 4 x 4
4: purify::debug  Building Measurement Operator: WGFZDB
4: purify::debug  Constructing Zero Padding and Correction Operator: ZDB
4: purify::info  Image size (width, height): 128 x 128
4: purify::info  Oversampling Factor: 2
4: purify::debug  Constructing FFT operator: F
4: purify::info  Measuring Plans...
4: purify::info  FoV (width, height): 0.0355556 deg x 0.0355556 deg
4: purify::debug  Constructing Weighting and Gridding Operators: WG
4: purify::info  Number of visibilities: 100
4: purify::info  Mean, w: 0, +/- 0
4: purify::debug  Non Zero grid locations: 68 
4: purify::debug  Finished consturction of Φ.
4: purify::info  Kernel Support: 4 x 4
4: purify::debug  Building Measurement Operator: WGFZDB
4: purify::debug  Constructing Zero Padding and Correction Operator: ZDB
4: purify::info  Image size (width, height): 128 x 128
4: purify::info  Oversampling Factor: 2
4: purify::debug  Constructing FFT operator: F
4: purify::info  Measuring Plans...
4: purify::info  FoV (width, height): 0.0355556 deg x 0.0355556 deg
4: purify::debug  Constructing Weighting and Gridding Operators: WG
4: purify::info  Number of visibilities: 100
4: purify::info  Mean, w: 0, +/- 0
4: purify::debug  Non Zero grid locations: 65 
4: purify::debug  Finished consturction of Φ.
4: ===============================================================================
4: All tests passed (5 assertions in 2 test cases)
4: 
12/13 Test  #4: test_measurement_factory .........   Passed    5.74 sec
8: Randomness seeded to: 1756566009
8: ===============================================================================
8: All tests passed (55 assertions in 2 test cases)
8: 
13/13 Test  #8: test_wkernel .....................   Passed   45.26 sec

69% tests passed, 4 tests failed out of 13

Label Time Summary:
catch    =  51.88 sec*proc (13 tests)
mpi      =   0.22 sec*proc (4 tests)

Total Test time (real) =  45.30 sec

The following tests FAILED:
	  9 - distribute_sparse_vector (Failed)                 catch mpi
	 11 - mpi_wavelet_factory (Failed)                      catch mpi
	 12 - mpi_wide_field_utilities (Failed)                 catch mpi
	 13 - parallel_mpi_utilities (Failed)                   catch mpi
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/build/reproducible-path/purify-4.2.0/obj-aarch64-linux-gnu'
dh_auto_test: error: cd obj-aarch64-linux-gnu && make -j16 test ARGS\+=--verbose ARGS\+=-j16 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T15:00:54Z

-------------------------------------------------------------------------------

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

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

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 Debian-astro-maintainers mailing list