CI build failure with meson build system on openSUSE - "getgrnam(): name not found: 'messagebus'"
Building dbus with meson on openSUSE Leap 15.4 fails with the mentioned failure.
To reproduce
To reproduce the issue run the following command on the mentioned linux distribution:
git clone https://gitlab.freedesktop.org/dbus/dbus.git
cd dbus
sudo docker run --network host -v $PWD:/mnt -it opensuse/leap:15.4 /bin/bash
builddir=../build-meson ci_buildsys=meson tools/ci-install.sh
builddir=../build-meson ci_buildsys=meson tools/ci-build.sh
Actual result
Running custom install script '/usr/bin/python3 /mnt/doc/meson_post_install.py /build-meson/doc share/doc/dbus /build-meson/doc/api/qch/dbus-1.15.3.qch share/doc/dbus doc/api'
Running custom install script '/mnt/meson_post_install.py false'
--- stdout ---
--- stderr ---
Traceback (most recent call last):
File "/mnt/meson_post_install.py", line 105, in <module>
post_install_exe()
File "/mnt/meson_post_install.py", line 94, in post_install_exe
os.chown(exe_path, 0, grp.getgrnam(dbus_user).gr_gid)
KeyError: "getgrnam(): name not found: 'messagebus'"
FAILED: install script '/mnt/meson_post_install.py false' exit code 1, stopped
Expected result
building should succeed without this error.