Possibly wrong minimum meson version
Hello,
When configuring libhandy
I get a warning about the meson minimum version being too low:
michel@debian:~/git/libhandy$ meson . _build
The Meson build system
Version: 0.54.0
Source dir: /home/michel/git/libhandy
Build dir: /home/michel/git/libhandy/_build
Build type: native build
Project name: libhandy
Project version: 0.9.90
C compiler for the host machine: ccache cc (gcc 9.3.0 "cc (Debian 9.3.0-10) 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 config.h using configuration
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Wdate-time: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Werror=format-security -Werror=format=2: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=missing-declarations: YES
Compiler for C supports arguments -Werror=overflow: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=shift-count-overflow: YES
Compiler for C supports arguments -Werror=shift-overflow=2: YES
Compiler for C supports arguments -Werror=implicit-fallthrough=3: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmaybe-uninitialized: YES
Compiler for C supports arguments -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wno-sign-compare -Wsign-compare: YES
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing: YES
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wswitch-default: YES
Compiler for C supports arguments -Wswitch-enum: YES
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused-function: YES
Compiler for C supports arguments -fstack-protector-strong: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency gladeui-2.0 found: YES 3.22.2
Found pkg-config: /usr/bin/pkg-config (0.29.2)
WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.50.0': install arg in configure_file
Configuring hdy-version.h using configuration
Program sed found: YES (/bin/sed)
Program gen-public-types.sh found: YES (/bin/sh /home/michel/git/libhandy/src/gen-public-types.sh)
Run-time dependency glib-2.0 found: YES 2.64.2
Run-time dependency gio-2.0 found: YES 2.64.2
Run-time dependency gmodule-2.0 found: YES 2.64.2
Run-time dependency gtk+-3.0 found: YES 3.24.18
Library m found: YES
Library rt found: YES
Checking if "ld_supports_version_script" links: YES
Program xmllint found: YES (/usr/bin/xmllint)
Configuring run using configuration
Message:
------
Handy 990 (1)
Tests: true
Examples: true
Documentation: false
Introspection: true
Vapi: true
Glade Catalog: true
------
Build targets in project: 38
WARNING: Project specifies a minimum meson_version '>= 0.49.0' but uses features which were added in newer versions:
* 0.50.0: {'install arg in configure_file'}
WARNING: Deprecated features used:
* 0.50.0: {'install arg in configure_file'}
Found ninja-1.10.0 at /usr/bin/ninja
I also noticed that Debian control doesn't specify minimum version of Meson: https://gitlab.gnome.org/GNOME/libhandy/blob/master/debian/control#L16. This could also be an issue because Debian stable (Buster) has Meson 0.49.2-1
. Anyway, I think that control
should specify the same minimum meson
version as project.