Bug#1125663: nexus: autopkgtest failure with CMake 4

Adrian Bunk bunk at debian.org
Thu Jan 15 17:19:36 GMT 2026


Source: nexus
Version: 4.4.3-9
Severity: serious
Tags: patch
X-Debbugs-Cc: Stuart Prescott <stuart at debian.org>

https://ci.debian.net/packages/n/nexus/testing/amd64/67800543/

...
 55s CMake Error in CMakeLists.txt:
 55s   No cmake_minimum_required command is present.  A line of code such as
 55s 
 55s     cmake_minimum_required(VERSION 4.2)
 55s 
 55s   should be added at the top of the file.  The version specified may be lower
 55s   if you wish to support older CMake versions for this project.  For more
 55s   information run "cmake --help-policy CMP0000".
 55s 
 55s 
 55s -- Configuring incomplete, errors occurred!
 55s autopkgtest [03:55:59]: test libnexus-dev: -----------------------]
 55s autopkgtest [03:55:59]: test libnexus-dev:  - - - - - - - - - - results - - - - - - - - - -
 55s libnexus-dev         FAIL non-zero exit status 1
...
 89s autopkgtest [03:56:33]: @@@@@@@@@@@@@@@@@@@@ summary
 89s nexus-tools          PASS
 89s libnexus-dev         FAIL non-zero exit status 1
 89s libnexus-java        PASS


A fix is attached.
-------------- next part --------------
Description: Fix the autopkgtest with CMake 4
Author: Adrian Bunk <bunk at debian.org>

--- nexus-4.4.3.orig/test/CMakeLists.txt
+++ nexus-4.4.3/test/CMakeLists.txt
@@ -25,6 +25,7 @@
 #
 #==============================================================================
 
+cmake_minimum_required(VERSION 3.5)
 set(NAPITESTSRC napi_test.c)
 
 #------------------------------------------------------------------------------


More information about the debian-science-maintainers mailing list