FS#73356 - [gnome-terminal] Build failure with meson >= 0.61

Attached to Project: Arch Linux
Opened by Peter Weber (hoschi) - Friday, 14 January 2022, 09:03 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 08 February 2022, 21:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Hello!
I maintain a package in AUR and started suddenly fail to compile with meson >= 0.61 but builds fine with meson '0.60'. Either the meson.build iof gnome-terminal faulty or the newest release of meson.

Additional info:
* package version(s): 3.42x
* config and/or log files etc.:
Configuring config.h using configuration
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program xsltproc found: YES (/usr/bin/xsltproc)
Program gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
gnome-terminal/src/meson.build:85: WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.50.0': install arg in configure_file.
Configuring terminal-version.hh using configuration
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)

gnome-terminal/src/meson.build:172:0: ERROR: gnome.genmarshal keyword argument 'sources' was of type array[File] but should have been array[str] that cannot be empty

A full log can be found at /home/peter/Downloads/gnome-terminal-transparency/current/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting...
* link to upstream bug report, if any:
https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7886
* further downstream:
https://aur.archlinux.org/packages/gnome-terminal-transparency/#comment-846602

Steps to reproduce:
$ makepkg

Workaround:
Downgrade meson.

I've created this issue just as notification for you.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 08 February 2022, 21:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnome-terminal 3.42.2-2
Comment by Peter Weber (hoschi) - Monday, 24 January 2022, 09:31 GMT
There were actually to issues. One is fixed with meson >= `0.61.1` and the other is fixed in the master branch of gnome-terminal:
https://gitlab.gnome.org/GNOME/gnome-terminal/-/commit/9a168cc23962ce9fa106dc8a40407d381a3db403

I suggest adding the patch from upstream to the package so it can be built again.

Loading...