Source: adios2
Version: 2.11.0+dfsg1-2
Severity: serious
Tags: patch
X-Debbugs-Cc: Drew Parsons <[email protected]>

https://ci.debian.net/packages/a/adios2/testing/amd64/67816435/

...
156s CMake Error in CMakeLists.txt:
156s   No cmake_minimum_required command is present.  A line of code such as
156s 
156s     cmake_minimum_required(VERSION 4.2)
156s 
156s   should be added at the top of the file.  The version specified may be 
lower
156s   if you wish to support older CMake versions for this project.  For more
156s   information run "cmake --help-policy CMP0000".
156s 
156s 
156s -- Configuring incomplete, errors occurred!
156s make: *** No targets specified and no makefile found.  Stop.
156s 
156s skipping examples: SKIP_TEST_LIST=adios2_simulations_gray-scott-struct 
adios2_simulations_gray-scott adios2_basics_queryWorker 
adios2_plugins_examplePluginEngineRead adios2_plugins_examplePluginEngineWrite 
adios2_useCases_insituGlobalArraysReaderNxN_mpi 
adios2_basics_globalArray1DRead_*
156s 
156s Checking Python 3.13 installation
156s adios2 version 2.11.0
156s adios2 version 2.11.0
156s adios2 version 2.11.0
156s adios2 version 2.11.0
156s Running python3.13 example hello/bpWriter/bpWriter.py
157s Passed: hello/bpWriter/bpWriter.py
157s Running python3.13 example hello/bpReader/bpReaderHeatMap2D.py
157s Passed: hello/bpReader/bpReaderHeatMap2D.py
158s autopkgtest [09:13:50]: test adios2-mpi-examples: -----------------------]
158s autopkgtest [09:13:50]: test adios2-mpi-examples:  - - - - - - - - - - 
results - - - - - - - - - -
158s adios2-mpi-examples  FAIL non-zero exit status 3
158s autopkgtest [09:13:50]: @@@@@@@@@@@@@@@@@@@@ summary
158s adios2-serial-test   PASS
158s adios2-serial-examples FAIL non-zero exit status 3
158s adios2-mpi-test      PASS
158s adios2-mpi-examples  FAIL non-zero exit status 3



A fix is attached.
Description: Fix the autopkgtest with CMake 4
Author: Adrian Bunk <[email protected]>

--- adios2-2.11.0+dfsg1.orig/examples/CMakeLists.txt
+++ adios2-2.11.0+dfsg1/examples/CMakeLists.txt
@@ -3,6 +3,7 @@
 # accompanying file Copyright.txt for details.
 
#------------------------------------------------------------------------------#
 
+cmake_minimum_required(VERSION 3.5)
 add_subdirectory(basics)
 add_subdirectory(hello)
 add_subdirectory(plugins)

Reply via email to