Public bug reported:

LLVM toolchains 17-20 fail the integration-test-suite autopkgtest for
AMD64 and ARM64 on resolute.

393s 'integration-test-suite/tests/test_asan_heap.c' -> 
'/tmp/autopkgtest.51A7Vt/autopkgtest_tmp/tests/test_asan_heap.c'
393s CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
393s   Compatibility with CMake < 3.5 has been removed from CMake.
393s 
393s   Update the VERSION argument <min> value.  Or, use the <min>...<max> 
syntax
393s   to tell CMake that the project requires at least <min> but has been 
updated
393s   to work with policies introduced by <max> or earlier.
393s 
393s   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
393s 
393s 
393s -- Configuring incomplete, errors occurred!
394s autopkgtest [17:19:25]: test integration-test-suite-test: 
-----------------------]
394s integration-test-suite-test FAIL non-zero exit status 1
394s autopkgtest [17:19:25]: test integration-test-suite-test:  - - - - - - - - 
- - results - - - - - - - - - -

This occurs because of line 1 in 
llvm-toolchain-xx/integration-test-suite/CMakeLists.txt
cmake_minimum_required(VERSION 3.4.3)

which can be changed to 
cmake_minimum_required(VERSION 3.5...3.29)

** Affects: llvm-toolchain-17 (Ubuntu)
     Importance: Undecided
     Assignee: Ryan Carlson (ryancarlson12)
         Status: In Progress

** Affects: llvm-toolchain-18 (Ubuntu)
     Importance: Undecided
     Assignee: Ryan Carlson (ryancarlson12)
         Status: In Progress

** Affects: llvm-toolchain-19 (Ubuntu)
     Importance: Undecided
     Assignee: Ryan Carlson (ryancarlson12)
         Status: In Progress

** Affects: llvm-toolchain-20 (Ubuntu)
     Importance: Undecided
     Assignee: Ryan Carlson (ryancarlson12)
         Status: In Progress


** Tags: foundations-todo

** Changed in: llvm-toolchain-17 (Ubuntu)
       Status: New => In Progress

** Also affects: llvm-toolchain-18 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: llvm-toolchain-19 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: llvm-toolchain-18 (Ubuntu)
     Assignee: (unassigned) => Ryan Carlson (ryancarlson12)

** Changed in: llvm-toolchain-19 (Ubuntu)
     Assignee: (unassigned) => Ryan Carlson (ryancarlson12)

** Also affects: llvm-toolchain-20 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: llvm-toolchain-20 (Ubuntu)
     Assignee: (unassigned) => Ryan Carlson (ryancarlson12)

** Changed in: llvm-toolchain-18 (Ubuntu)
       Status: New => In Progress

** Changed in: llvm-toolchain-19 (Ubuntu)
       Status: New => In Progress

** Changed in: llvm-toolchain-20 (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2168571

Title:
  integration-test-suite: Compatability with CMake < 3.5 has been
  removed from CMake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-17/+bug/2168571/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to