meson: Cannot build systemd-249 with meson >= 0.60.0

git clone https://github.com/systemd/systemd.git
cd systemd
git checkout v249
meson build

With meson < 0.60.0 this bulids fine, while newer versions retuns the following error:

meson.build:38:3: ERROR: Object <[BooleanHolder] holds [bool]: False> of type bool does not support the `+` operator.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

In retrospect I think it should have been a combo option. I couldn’t switch to it to avoid breaking scripts using booleans though. One of those services is no longer used by systemd so and should suffice there for the time being I think.

This may be easier going forward. 😃 https://mesonbuild.com/Build-options.html#deprecated-options