Add glib2-devel to Arch dependencies to satisfy appstream
Arch recently separated glib2 in two and if glib2-devel
is not installed, appstream
will fail to build with an error src/meson.build:150:23: ERROR: Dependency 'glib-2.0' tool variable 'glib_mkenums' contains erroneous value: '/usr/bin/glib-mkenums'
The following email was sent on the Arch developer mailing list
Thanks to Fabian, as of
2.80.3-1
, the development utilities requiring additional dependencies (python
,python-packaging
,libelf
) have been split fromglib2
intoglib2-devel
with proper depends.You may need to add
glib2-devel
to themakedepends
of your packages to get them to build again. At the same time, consider removingpython
orpython-packaging
from themakedepends
if they were only added to rungdbus-codegen
,glib-genmarshal
orglib-mkenums
.
More information on Arch Gitlab https://gitlab.archlinux.org/archlinux/packaging/packages/glib2/-/issues/7