Bug#1005491: gnome-dictionary: FTBFS: ../data/appdata/meson.build:3:5: ERROR: Function does not take positional arguments

Simon McVittie smcv at debian.org
Sun Feb 13 12:22:41 GMT 2022


Control: retitle -1 gnome-dictionary: FTBFS: ../data/appdata/meson.build:3:5: ERROR: Function does not take positional arguments

On Sun, 13 Feb 2022 at 08:00:46 +0100, Lucas Nussbaum wrote:
> > ../data/appdata/meson.build:3:5: ERROR: Function does not take positional arguments.

This (just before tail'ing meson-log.txt) is the actual error message here.

It's a common bug at the moment for applications that build with Meson:
i18n.merge_file previously accepted and ignored an unnamed (positional)
argument, but recent Meson versions made this an error. Unfortunately, the
useless positional argument has been cargo-culted into a lot of projects.

> >  cc: error: unrecognized command-line option '-Wc++11-extensions'; did you mean '-fms-extensions'?

This is irrelevant to the FTFBS: it's Meson probing for whether the compiler
supports this option. This package correctly does not use the option if the
compiler doesn't support it.

    smcv



More information about the pkg-gnome-maintainers mailing list