Dependency wayland-server found: NO found 1.18.0 but need: '>= 1.22.0'
//how to upgrade wayland-server, I saw the wayland-server install version now is 1.18.0-1ubuntu0.1 root@qcs6490-odk:~/weston# apt search wayland-server Sorting... Done Full Text Search... Done libwayland-server0/focal-updates,focal-security,now 1.18.0-1ubuntu0.1 arm64 [installed] wayland compositor infrastructure - server library
//I have build and install wayland:
root@qcs6490-odk:/wayland# export WLD=/usr
root@qcs6490-odk:/wayland# meson build/ --prefix=$WLD --libdir=/usr/lib --sysconfdir=/etc
Directory already configured.
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.
root@qcs6490-odk:/wayland# rm build/ -Rf
root@qcs6490-odk:/wayland# meson build/ --prefix=$WLD --libdir=/usr/lib --sysconfdir=/etc
The Meson build system
Version: 0.63.0
Source dir: /root/wayland
Build dir: /root/wayland/build
Build type: native build
Project name: wayland
Project version: 1.23.90
C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu120.04.2) 9.4.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: aarch64
Host machine cpu: aarch64
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Has header "sys/prctl.h" : YES
Has header "sys/procctl.h" : NO
Has header "sys/ucred.h" : NO
Checking for function "accept4" : YES
Checking for function "mkostemp" : YES
Checking for function "posix_fallocate" : YES
Checking for function "prctl" : YES
Checking for function "memfd_create" : YES
Checking for function "mremap" : YES
Checking for function "strndup" : YES
Checking whether type "struct xucred" has member "cr_pid" : NO
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency libffi found: YES 3.3
Header "sys/signalfd.h" has symbol "SFD_CLOEXEC" : YES
Header "sys/timerfd.h" has symbol "TFD_CLOEXEC" : YES
Header "time.h" has symbol "CLOCK_MONOTONIC" : YES
Checking for function "clock_gettime" : NO
Library rt found: YES
Checking for function "clock_gettime" with dependency -lrt: YES
Configuring config.h using configuration
Configuring wayland-version.h using configuration
Run-time dependency expat found: YES 2.2.9
Run-time dependency libxml-2.0 found: YES 2.9.10
Program embed.py found: YES (/usr/bin/python3 /root/wayland/src/embed.py)
Library m found: YES
Run-time dependency threads found: YES
Program nm found: YES (/usr/bin/nm)
Program wayland-egl-symbols-check found: YES (/root/wayland/egl/wayland-egl-symbols-check)
Library dl found: YES
Dependency threads found: YES unknown (cached)
Dependency threads found: YES unknown (cached)
Library dl found: YES
C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu120.04.2) 9.4.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Program sed found: YES (/usr/bin/sed)
Program scanner-test.sh found: YES (/root/wayland/tests/scanner-test.sh)
Program scanner-test-gen.sh found: YES (/root/wayland/tests/scanner-test-gen.sh)
Program dot found: YES (/usr/bin/dot)
Program doxygen found: YES (/usr/bin/doxygen)
Program xsltproc found: YES (/usr/bin/xsltproc)
Program xmlto found: YES (/usr/bin/xmlto)
Message: doxygen: 1.8.17
Message: dot: dot - graphviz version 2.43.0 (0)
Configuring wayland.doxygen using configuration
Program gen-doxygen.py found: YES (/root/wayland/doc/doxygen/gen-doxygen.py)
Build targets in project: 62
NOTICE: Future-deprecated features used:
- 0.62.0: {'pkgconfig.generate variable for builtin directories'}
wayland 1.23.90
User defined options libdir : /usr/lib prefix : /usr sysconfdir: /etc
Found ninja-1.10.0 at /usr/bin/ninja
//weston build failed, error logs:
root@qcs6490-odk:/weston# meson build/ --prefix=/usr
The Meson build system
Version: 0.63.0
Source dir: /root/weston
Build dir: /root/weston/build
Build type: native build
Project name: weston
Project version: 13.0.90
C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu120.04.2) 9.4.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found git repository at /root/weston
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-shift-negative-value: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-pedantic: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Header "sys/sysmacros.h" has symbol "major" : YES
Checking for function "mkostemp" : YES
Checking for function "strchrnul" : YES
Checking for function "initgroups" : YES
Checking for function "posix_fallocate" : YES
Checking for function "memfd_create" : YES
Checking for function "unreachable" : YES
Has header "linux/sync_file.h" : YES
Checking if "builtin_clz" : links: YES
Checking if "builtin_bswap32" : links: YES
Checking if "builtin_popcount" : links: YES
Message: The default backend is drm
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency xkbcommon found: YES 0.10.0
Dependency wayland-server found: NO found 1.18.0 but need: '>= 1.22.0'
Found CMake: /usr/bin/cmake (3.16.3)
DEPRECATION: CMake support for versions <3.17 is deprecated since Meson 0.62.0.
|
| However, Meson was only able to find CMake 3.16.3.
|
| Support for all CMake versions below 3.17.0 will be removed once
| newer CMake versions are more widely adopted. If you encounter
| any errors please try upgrading CMake to a newer version first.
Run-time dependency wayland-server found: NO (tried cmake)
meson.build:147:0: ERROR: Invalid version of dependency, need 'wayland-server' ['>= 1.22.0'] found '1.18.0'.
A full log can be found at /root/weston/build/meson-logs/meson-log.txt