[Pkg-cmake-team] Bug#1087983: cmake: patch for cmake 3.31 regression in LINKER

Drew Parsons dparsons at debian.org
Thu Nov 21 11:41:19 GMT 2024


Package: cmake
Version: 3.31.0-1
Severity: serious
Tags: patch
Justification: FTBFS
X-Debbugs-Cc: 1087764 at bugs.debian.org
Control: block 1087764 by -1
Control: forwarded -1 https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10010

cmake 3.31 has made a radical change to LINKER handling
  https://cmake.org/cmake/help/latest/release/3.31.html#id8
  https://cmake.org/cmake/help/latest/prop_tgt/LINK_LIBRARIES_STRATEGY.html
  
This has apparently introduced a regression de-duplicating linker flags,
that affects llvm
  https://gitlab.kitware.com/cmake/cmake/-/issues/26447
  
and is causing paraview to FTBFS
  https://bugs.debian.org/1087764
  
  
Cmake upstream has made a patch
  https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10010
  
I'm not certain this patch will fix the paraview build failure,
(since it refers to llvm not gnu) but hopefully it does.
If not, we'll need to dig deeper.
Sounds like it's important to add in any case.



More information about the Pkg-cmake-team mailing list