Bug#1076730: dart: autopkgtest regression with CMake 3.30+

Timo Röhling roehling at debian.org
Mon Jul 22 20:06:03 BST 2024


Source: dart
Version: 6.12.1+dfsg4-13.1
Severity: serious

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainer,

your package has a autopkgtest regression with CMake 3.30, due to a new policy 
regarding the deprecation of the built-in find_package Boost module in favor 
of upstream's BoostConfig.cmake.

find_package(Boost) without setting policy CMP0167 (either explicitly or via 
cmake_minimum_required) triggers a warning to stderr.

Possible solutions to work around the failure include:

- - setting cmake_minimum_required(VERSION 3.30)
- - passing -DCMAKE_POLICY_DEFAULT_CMP0167=NEW as additional argument to cmake 
  invocations
- - setting cmake_policy(SET CMP0167 NEW), ideally guarded by a if(POLICY 
  CMP0167) check


Cheers
Timo


-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmaerZoACgkQzIxr3RQD
9Mof3g/9FD7G01iVuQlQE/qqr0/0hLFeJIkf+HsKeGheXaAu+eOGA85/Gd8wMarV
oumITuGqKgcieJokAE3su0hUYB9rPhSXhjj1hz/Nu1+3XcTGpzgYjda5qyUjr+9K
wQZJkBCaZD9sGf10il4xAVGvH94uOWdBbsCHAPBNkzDWam+d/ivSIUPyxetd4e4n
NhCtA4krS0NC53DLojKq8V/fUZDv6MNzwbWE861Vb+lo652BwqBLB9YT1j6Elp9S
hQ0VI3W/4TO9HlRWtfzhlK29T7QYep2RkTKAxhYxg/XhUIyx9aTAnlkyaS7297yl
aRtfsiIl9vK1SCDewSIFrJEm3hnw/etrDJYx8ZI0JJAsLPg1dRpayojOv+YuOevu
1hVU4x5glheT4FQKBLIAGsuS55bU86BPVk+7KkMdFGdSh0J//EPnXRqy2p+LvM86
AbVXK1R+NTyxhbFlDV61VtO8PLYOHPwspWBv5zoNA9rG5LiaKUidnDs4p8AuSjNA
OZhIFXMoqEnXHf85pFzWQPFrLg+MGtkWbIoB+PT9Kds0YqgN6uL25ki7HjUaLs7W
aPqfagXfTVxsJmA2lmLv3jhC18H5Hy/IlezTpeyIngsmwRrvk5pVhda2wjbgEhPr
HopyOGmvP90MUAm/o5gYxERiJao4+bHARcmT27pY0W9ascCGyD8=
=DX6x
-----END PGP SIGNATURE-----



More information about the debian-science-maintainers mailing list