Source: nexus
Version: 4.4.3-9
Severity: serious
Tags: patch
X-Debbugs-Cc: Stuart Prescott <[email protected]>

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.
Description: Fix the autopkgtest with CMake 4
Author: Adrian Bunk <[email protected]>

--- 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)
 
 #------------------------------------------------------------------------------

Reply via email to