Unable to build on Ubuntu 20.04
Here is the error message:
$ meson build
The Meson build system
Version: 0.53.2
Source dir: /home/pc/gnome-network-displays
Build dir: /home/pc/gnome-network-displays/build
Build type: native build
Project name: gnome-network-displays
Project version: 0.90.4
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-10ubuntu2) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring gnome-network-displays-config.h using configuration
WARNING: Gettext not found, all translation targets will be ignored.
data/meson.build:3:0: ERROR: Tried to assign an invalid value to variable.
A full log can be found at /home/pc/gnome-network-displays/build/meson-logs/meson-log.txt
$ cat /home/pc/gnome-network-displays/build/meson-logs/meson-log.txt
Build started at 2020-07-31T14:27:50.729204
Main binary: /usr/bin/python3
Build Options:
Python system: Linux
The Meson build system
Version: 0.53.2
Source dir: /home/pc/gnome-network-displays
Build dir: /home/pc/gnome-network-displays/build
Build type: native build
Project name: gnome-network-displays
Project version: 0.90.4
No CFLAGS in the environment, not changing global flags.
No LDFLAGS in the environment, not changing global flags.
No CPPFLAGS in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc /home/pc/gnome-network-displays/build/meson-private/sanitycheckc.c -o /home/pc/gnome-network-displays/build/meson-private/sanitycheckc.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /home/pc/gnome-network-displays/build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-10ubuntu2) 9.3.0")
C linker for the build machine: cc ld.bfd 2.34
No CFLAGS in the environment, not changing global flags.
No LDFLAGS in the environment, not changing global flags.
No CPPFLAGS in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc /home/pc/gnome-network-displays/build/meson-private/sanitycheckc.c -o /home/pc/gnome-network-displays/build/meson-private/sanitycheckc.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /home/pc/gnome-network-displays/build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-10ubuntu2) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Configuring gnome-network-displays-config.h using configuration
WARNING: Gettext not found, all translation targets will be ignored.
data/meson.build:3:0: ERROR: Tried to assign an invalid value to variable.