[archlinux] Pamac 11.6.0 cannot be built with vala 0.56.11 : error: The name `set_child' does not exist in the context of `GLib.Object' (gobject-2.0)

Pamac --version

Pamac 11.6.0

Distribution

Archlinux

When I try to build pamac with vala-0.56.11, I got an error in /src/preferences_dialog.vala:123.5-123.22:

.\`\`\` ./src/preferences_dialog.vala:123.5-123.22: error: The name `set_child' does not exist in the context of` GLib.Object' (gobject-2.0) 123 | listitem.set_child (label); | ^<span dir="">\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~</span>

How to reproduce?

  • Grab pamac 11.6.0 source code
  • Try to build pamac with vala-0.56.11
  • Wait

I'm adding the full error log as an attachment.

vala-0.56.11-error log.txt

Edited by Mark Wagie