[core-updates] Boost 1.70 and CMake 3.14 are incompatible

  • Done
  • quality assurance status badge
Details
One participant
  • Marius Bakke
Owner
unassigned
Submitted by
Marius Bakke
Severity
normal
M
M
Marius Bakke wrote on 18 Jul 2019 19:09
(address . bug-guix@gnu.org)
87d0i75kya.fsf@devup.no
Hello,

Reporting from the deep trenches of core-updates, I have found this bug:


The symptom in Guix is that packages cannot find Boost libraries.

A workaround that works for most (all?) packages is adding:

#:configure-flags '("-DBoost_NO_BOOST_CMAKE=ON")

To disable the use of Boost-provided CMake scripts. CMake already ships
with a FindBoost.cmake that works just fine.

I don't know what the "proper" fix would be, or whether it is worth a
huge rebuild.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl0wp60ACgkQoqBt8qM6
VPpqEwf/R2ayd6NfjxeM+QQ+GYnd/prrcD8t0GuO42JQirVCptXTBiCnHZPJvftv
I0zZ5+VjRB1NiFRcQOZ4kb2p3PHjq/6rTxyMncvyBSLyRXvzBR24IFLKbin+7n1J
RFhxI2GW0snfZZhdF7f2rjEj8nygiXEMf0EEt7Y5jgAbqbNdzIBJaD9kXVve8m66
NqQJSVJllA6EwO1HalN3KkceN2Gy37FJiR2NeEM0mCY55QTnGATyIdKAD7nheETu
3SpOkLCscfJcmG/uqCgHUN3VNSXwgyZ6vVYbxF2yad7OQS82mdHBs78THCTp5ubC
dfvE/mN6AtpA+4wHJqjKeVgP3QLwgw==
=3f+M
-----END PGP SIGNATURE-----

M
M
Marius Bakke wrote on 31 Jul 2019 15:01
(address . 36721-done@debbugs.gnu.org)
87sgqm2w9l.fsf@devup.no
Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (18 lines)
> Hello,
>
> Reporting from the deep trenches of core-updates, I have found this bug:
>
> https://gitlab.kitware.com/cmake/cmake/issues/18865
>
> The symptom in Guix is that packages cannot find Boost libraries.
>
> A workaround that works for most (all?) packages is adding:
>
> #:configure-flags '("-DBoost_NO_BOOST_CMAKE=ON")
>
> To disable the use of Boost-provided CMake scripts. CMake already ships
> with a FindBoost.cmake that works just fine.
>
> I don't know what the "proper" fix would be, or whether it is worth a
> huge rebuild.

Apparently the Boost CMake modules are new in 1.70 and pretty broken.

Commit 941ef1a1e54893ca917ebbaa4b8cc14b5ce9b75c disables installing the
Boost CMake modules, bringing it in line with 1.69.0.

They can (allegedly) be enabled again for 1.71.0, slated for mid-August.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl1BkSYACgkQoqBt8qM6
VPp9cggAl6hyzZ69fL3I8N6GBlnM3FNaTtN+5t9w/XGbJidmwiFSe+eGgeZ7rP3V
vtUmJGjX9OaiYcohFY9tAyiUb1tF3wkkUSxCMf7NHfdGVyNsUsIhwdbzEtIdgLDH
2aPNmJ507dehaaq7/GY+hG8O5Y7odWzFJtzl3y3/MB4CBBFlSx5qPj7JhLqmqynh
qAYt6h3fjCuPXJzCduWae2Gni2MC5VJ4WnUKRnL3OB05ohDA+UilXu/RG+SmXsKB
qYI7I0ehDOIBDCuunDkQO57evLrlPTXrmBFsFGMIpNbMzQgcGGYSwbL6PIhxXEs+
ISIbHPwV6fveAwJdFD/zekbh97iqyA==
=eKoD
-----END PGP SIGNATURE-----

Closed
?