Main branch fails to build on Meson 0.60.0
Affected version
OS: Arch Linux gnome-shell: main branch, commit cc5cc0d653ccd307475921bf069773d44b34aa5e WM: Wayland 1.19.0 Meson: 0.60.0
Bug summary
../gnome-shell/subprojects/extensions-tool/src/templates/meson.build:7:2: ERROR: Function does not take positional arguments.
when attempting to build, possible, unsure fix by adding data_dirs: in all i18n.merge_file()'s,
MR made at !2008 (closed)
Steps to reproduce
build with
meson compile -C build
What happened
It did not build with the above error
What did you expect to happen
For it to build
Relevant logs, screenshots, screencasts etc.
Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson --reconfigure"
to force Meson to regenerate.
If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
ninja: Entering directory `build'
[0/1] Regenerating build files.
The Meson build system
Version: 0.60.0
Source dir: src/gnome-shell
Build dir: build
Build type: native build
Project name: gnome-shell
Project version: 41.0
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Dependency gnome-keybindings found: YES 41.1 (cached)
Dependency atk-bridge-2.0 found: YES 2.38.0 (cached)
Dependency libecal-2.0 found: YES 3.40.4 (cached)
Dependency libedataserver-1.2 found: YES 3.40.4 (cached)
Dependency gcr-base-3 found: YES 3.40.0 (cached)
Dependency gdk-x11-3.0 found: YES 3.24.30 (cached)
Dependency gdk-pixbuf-2.0 found: YES 2.42.6 (cached)
Dependency gobject-introspection-1.0 found: YES 1.70.1 (cached)
Dependency gio-2.0 found: YES 2.70.0 (cached)
Dependency gio-unix-2.0 found: YES 2.70.0 (cached)
Dependency gjs-1.0 found: YES 1.71.1 (cached)
Dependency gmodule-2.0 found: YES 2.70.0 (cached)
Dependency gtk+-3.0 found: YES 3.24.30 (cached)
Dependency libxml-2.0 found: YES 2.9.12 (cached)
Dependency mutter-clutter-10 found: YES 41.0 (cached)
Dependency mutter-cogl-10 found: YES 41.0 (cached)
Dependency mutter-cogl-pango-10 found: YES 41.0 (cached)
Dependency libmutter-10 found: YES 41.0 (cached)
Dependency polkit-agent-1 found: YES 0.120 (cached)
Dependency libstartup-notification-1.0 found: YES 0.12 (cached)
Dependency ibus-1.0 found: YES 1.5.25 (cached)
Dependency x11 found: YES 1.7.2 (cached)
Dependency gsettings-desktop-schemas found: YES 41.0 (cached)
Dependency gnome-desktop-3.0 found: YES 41.0 (cached)
Dependency gnome-bluetooth-1.0 found: YES 3.34.5 (cached)
Dependency gstreamer-1.0 found: YES 1.19.2.1 (cached)
Dependency gstreamer-base-1.0 found: YES 1.19.2.1 (cached)
Dependency libpipewire-0.3 found: YES 0.3.39 (cached)
Dependency libnm found: YES 1.32.12 (cached)
Dependency libsecret-1 found: YES 0.20.4 (cached)
Dependency libsystemd found: YES 249 (cached)
Dependency systemd found: YES 249 (cached)
Program a2x found: YES (/usr/bin/a2x)
Program python3 found: YES (/usr/bin/python3)
Program gjs found: YES (/usr/bin/gjs)
Library m found: YES
Checking for function "g_desktop_app_info_launch_uris_as_manager_with_fds" with dependency gio-2.0: YES (cached)
Checking for function "fdwalk" : NO (cached)
Checking for function "mallinfo" : YES (cached)
Checking for function "mallinfo2" : YES (cached)
Has header "sys/resource.h" : YES (cached)
Header <langinfo.h> has symbol "_NL_TIME_FIRST_WEEKDAY" : YES (cached)
Checking for function "fdwalk" : NO (cached)
Configuring config.h using configuration
Executing subproject gvc
gvc| Project name: gvc
gvc| Project version: undefined
gvc| C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
gvc| C linker for the host machine: cc ld.bfd 2.36.1
gvc| Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
gvc| Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
gvc| Dependency gio-2.0 found: YES 2.70.0 (cached)
gvc| Dependency gobject-2.0 found: YES 2.70.0 (cached)
gvc| Dependency libpulse found: YES 15.0 (cached)
gvc| Dependency libpulse-mainloop-glib found: YES 15.0 (cached)
gvc| Dependency gobject-introspection-1.0 found: YES 1.70.1 (cached)
gvc| Dependency gobject-introspection-1.0 found: YES 1.70.1 (cached)
gvc| Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
gvc| Dependency gobject-introspection-1.0 found: YES 1.70.1 (cached)
gvc| Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
gvc| Configuring config.h using configuration
gvc| Build targets in project: 6
gvc| Subproject gvc finished.
Executing subproject shew
shew| Project name: shew
shew| Project version: 41.0
shew| C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
shew| C linker for the host machine: cc ld.bfd 2.36.1
shew| Dependency gtk4 found: YES 4.5.0 (cached)
shew| Dependency x11 found: YES 1.7.2 (cached)
shew| Build targets in project: 9
shew| Subproject shew finished.
Executing subproject extensions-tool
extensions-tool| Project name: gnome-extensions-tool
extensions-tool| Project version: 41.0
extensions-tool| C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
extensions-tool| C linker for the host machine: cc ld.bfd 2.36.1
extensions-tool| Dependency gio-2.0 found: YES 2.70.0 (cached)
extensions-tool| Dependency gio-unix-2.0 found: YES 2.70.0 (cached)
extensions-tool| Dependency gnome-autoar-0 found: YES 0.4.0 (cached)
extensions-tool| Dependency json-glib-1.0 found: YES 1.6.6 (cached)
extensions-tool| Dependency bash-completion found: YES 2.11.0 (cached)
extensions-tool| Checking for function "bind_textdomain_codeset" : YES (cached)
extensions-tool| Configuring config.h using configuration
../gnome-shell/subprojects/extensions-tool/src/templates/meson.build:7:2: ERROR: Function does not take positional arguments.
Edited by Brooke Lew