Trying to compile git master via openbmc/yocto using libsystemd 241 results in the following compilation error:
| arm-openbmc-linux-gnueabi-g++ -march=armv6 -marm -mtune=arm1176jz-s --sysroot=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/recipe-sysroot -std=c++17 -DHAVE_CONFIG_H -I. -I../../../../../../../workspace/sources/sdbusplus/example -I.. -I../../../../../../../workspace/sources/sdbusplus -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1=/usr/src/debug/sdbusplus/1.0+git999-r1 -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1=/usr/src/debug/sdbusplus/1.0+git999-r1 -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/recipe-sysroot= -fdebug-prefix-map=/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/recipe-sysroot-native= -fvisibility-inlines-hidden -Wall -Werror -MT net/poettering/Calculator/calculator_server-error.o -MD -MP -MF net/poettering/Calculator/.deps/calculator_server-error.Tpo -c -o net/poettering/Calculator/calculator_server-error.o `test -f 'net/poettering/Calculator/error.cpp' || echo '../../../../../../../workspace/sources/sdbusplus/example/'`net/poettering/Calculator/error.cpp
| mv -f net/poettering/Calculator/.deps/calculator_server-error.Tpo net/poettering/Calculator/.deps/calculator_server-error.Po
| In file included from /srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/recipe-sysroot/usr/include/systemd/sd-bus.h:113,
| from ../../../../../../../workspace/sources/sdbusplus/sdbusplus/sdbus.hpp:3,
| from net/poettering/Calculator/server.cpp:3:
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::method(const char*, const char*, const char*, sd_bus_message_handler_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:128:12: error: could not convert '{_SD_BUS_VTABLE_METHOD, flags, {{member, signature, result, handler, 0}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_METHOD(member, signature, result, handler, flags);
| ^~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::method_o(const char*, const char*, const char*, sd_bus_message_handler_t, size_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:136:12: error: could not convert '{_SD_BUS_VTABLE_METHOD, flags, {{member, signature, result, handler, offset}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_METHOD_WITH_OFFSET(member, signature, result, handler, offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::signal(const char*, const char*, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:143:12: error: could not convert '{_SD_BUS_VTABLE_SIGNAL, flags, {{member, signature}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_SIGNAL(member, signature, flags);
| ^~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::property(const char*, const char*, sd_bus_property_get_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:150:12: error: could not convert '{_SD_BUS_VTABLE_PROPERTY, flags, {{member, signature, get, 0, 0}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_PROPERTY(member, signature, get, 0, flags);
| ^~~~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::property(const char*, const char*, sd_bus_property_get_t, sd_bus_property_set_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:158:12: error: could not convert '{_SD_BUS_VTABLE_WRITABLE_PROPERTY, flags, {{member, signature, get, set, 0}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_WRITABLE_PROPERTY(member, signature, get, set, 0, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::property_o(const char*, const char*, size_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:164:12: error: could not convert '{_SD_BUS_VTABLE_PROPERTY, flags, {{member, signature, nullptr, 0, offset}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_PROPERTY(member, signature, nullptr, offset, flags);
| ^~~~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::property_o(const char*, const char*, sd_bus_property_set_t, size_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:171:12: error: could not convert '{_SD_BUS_VTABLE_WRITABLE_PROPERTY, flags, {{member, signature, nullptr, set, offset}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_WRITABLE_PROPERTY(member, signature, nullptr, set, offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/recipe-sysroot/usr/include/systemd/sd-bus.h:113,
| from ../../../../../../../workspace/sources/sdbusplus/sdbusplus/exception.hpp:3,
| from ./net/poettering/Calculator/error.hpp:3,
| from ../../../../../../../workspace/sources/sdbusplus/example/calculator-server.cpp:2:
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::method(const char*, const char*, const char*, sd_bus_message_handler_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:128:12: error: could not convert '{_SD_BUS_VTABLE_METHOD, flags, {{member, signature, result, handler, 0}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_METHOD(member, signature, result, handler, flags);
| ^~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::method_o(const char*, const char*, const char*, sd_bus_message_handler_t, size_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:136:12: error: could not convert '{_SD_BUS_VTABLE_METHOD, flags, {{member, signature, result, handler, offset}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_METHOD_WITH_OFFSET(member, signature, result, handler, offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::signal(const char*, const char*, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:143:12: error: could not convert '{_SD_BUS_VTABLE_SIGNAL, flags, {{member, signature}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_SIGNAL(member, signature, flags);
| ^~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::property(const char*, const char*, sd_bus_property_get_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:150:12: error: could not convert '{_SD_BUS_VTABLE_PROPERTY, flags, {{member, signature, get, 0, 0}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_PROPERTY(member, signature, get, 0, flags);
| ^~~~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::property(const char*, const char*, sd_bus_property_get_t, sd_bus_property_set_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:158:12: error: could not convert '{_SD_BUS_VTABLE_WRITABLE_PROPERTY, flags, {{member, signature, get, set, 0}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_WRITABLE_PROPERTY(member, signature, get, set, 0, flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::property_o(const char*, const char*, size_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:164:12: error: could not convert '{_SD_BUS_VTABLE_PROPERTY, flags, {{member, signature, nullptr, 0, offset}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_PROPERTY(member, signature, nullptr, offset, flags);
| ^~~~~~~~~~~~~~~
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp: In function 'constexpr sdbusplus::vtable::vtable_t sdbusplus::vtable::property_o(const char*, const char*, sd_bus_property_set_t, size_t, uint64_t)':
| ../../../../../../../workspace/sources/sdbusplus/sdbusplus/vtable.hpp:171:12: error: could not convert '{_SD_BUS_VTABLE_WRITABLE_PROPERTY, flags, {{member, signature, nullptr, set, offset}}}' from '<brace-enclosed initializer list>' to 'sdbusplus::vtable::vtable_t' {aka 'sd_bus_vtable'}
| return SD_BUS_WRITABLE_PROPERTY(member, signature, nullptr, set, offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| Makefile:577: recipe for target 'calculator_server-calculator-server.o' failed
| make[3]: *** [calculator_server-calculator-server.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| Makefile:591: recipe for target 'net/poettering/Calculator/calculator_server-server.o' failed
| make[3]: *** [net/poettering/Calculator/calculator_server-server.o] Error 1
| mv -f .deps/list_users-list-users.Tpo .deps/list_users-list-users.Po
| make[3]: Leaving directory '/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/sdbusplus-1.0+git999/example'
| Makefile:452: recipe for target 'all' failed
| make[2]: *** [all] Error 2
| make[2]: Leaving directory '/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/sdbusplus-1.0+git999/example'
| Makefile:805: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/sdbusplus-1.0+git999'
| Makefile:554: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| WARNING: /srv/build/mw/openbmc-private/poky/bitbake/lib/bb/build.py:570: ResourceWarning: unclosed file <_io.TextIOWrapper name='/srv/build/mw/openbmc-private/build/workspace/sources/sdbusplus/singletask.lock' mode='a+' encoding='UTF-8'>
| exec_func(task, localdata)
|
| ERROR: Function failed: do_compile (log file is located at /srv/build/mw/openbmc-private/build/tmp/work/armv6-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r1/temp/log.do_compile.19889)