[SOLVED] Proton fails to build

I wasn’t sure which section of the forum to post this, so…

Included in my updates after work this evening was proton. The build fails. Obviosly related to glib-2.0 Here’s the failure output…

src-gstreamer/gst/meson.build:221:18: ERROR: Dependency 'glib-2.0' tool variable 'glib_mkenums' contains erroneous value: '/usr/bin/glib-mkenums'

This is a distributor issue -- please report it to your glib-2.0 provider.

A full log can be found at /home/wombat/.cache/yay/proton/src/build/obj-gstreamer32/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
make[1]: *** [../proton/Makefile.in:158: /home/wombat/.cache/yay/proton/src/build/.gstreamer-configure32] Error 1
make[1]: Leaving directory '/home/wombat/.cache/yay/proton/src/build'
make: *** [../proton/Makefile.in:1209: dist] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: proton-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
proton - exit status 4
[wombat@endeavouros ~]$ 

Ideas?

Install the glib2-devel package (which is an optional dependency for glib2).

This is mentioned in the latest comment on the proton package’s AUR page.

3 Likes

Thanks. Did that. Proton is now building. It must be working, as it’s been building for over an hour. I’ll post back results once it finishes.

An excruciatingly long build process, more than 3 hours. But all is well. Much appreciated, @Stagger_Lee!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.