Hi, I would like to include wlroots in my build but it requires gbm >=17.1.0 which appears to be a problem, as seen on https://github.com/cran/gbm/tags the release numbers are far below 17. The output I'm getting more particularly looks like: | Run-time dependency libdrm found: YES 2.4.101 | Dependency gbm found: NO found 1.0.0 but need: '>=17.1.0' | Found CMake: NO | Run-time dependency gbm found: NO | | meson.build:106:0: ERROR: Invalid version of dependency, need 'gbm' ['>=17.1.0'] found '1.0.0'. | | A full log can be found at /home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/wlroots/0.12.0-r0/build/meson-logs/meson-log.txt
| ERROR: meson failed | WARNING: exit code 1 from a shell command. | ERROR: Execution of '/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/wlroots/0.12.0-r0/temp/run.do_configure.340360' failed with exit code 1 ERROR: Task (/home/yocto/rzv_vlp_v3.0.0/build/../meta-mistysom/recipes-display/wlroots/wlroots.bb:do_configure) failed with exit code '1' Where the wlroots.bb recipe looks like: $ cat ../meta-mistysom/recipes-display/wlroots/wlroots.bb SUMMARY = "Modules for building a Wayland compositor" HOMEPAGE = "https://github.com/swaywm/wlroots" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818" DEPENDS = " \ wayland-native \ wayland \ wayland-protocols \ virtual/egl \ virtual/libgles2 \ libdrm \ virtual/libgbm \ libinput \ libxkbcommon \ udev \ pixman \ " inherit meson features_check REQUIRED_DISTRO_FEATURES = "wayland opengl" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','xwayland x11-backend','',d)}" PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xserver-xorg,xserver-xorg-xwayland" PACKAGECONFIG[x11-backend] = "-Dx11-backend=enabled,-Dx11-backend=disabled,xserver-xorg" SRC_URI = " \ git://github.com/swaywm/${BPN}.git \ file://0001-Adjust-meson.build-to-meson-0.54.patch \ " SRCREV = "238d1c078fb03338e9f271d98f7bf6b1fc399285" PV = "0.12.0" S = "${WORKDIR}/git" and the meson patch: $ cat ../meta-mistysom/recipes-display/wlroots/wlroots/0001-Adjust-meson.build-to-meson-0.54.patch >From df8a70b2db61a395bb424d4f4942434544e3ef43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzelt...@gmail.com> Date: Tue, 8 Dec 2020 01:57:15 +0100 Subject: [PATCH] Adjust meson.build to meson < 0.54 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * meson.override_dependency is not required here. It requires meson >= 0.54 * we set min version to what dunfell ships Upstream-Status: Inappropriate[Configuration] Signed-off-by: Andreas Müller <schnitzelt...@gmail.com> --- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 835e0195..b07760ab 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( 'c', version: '0.12.0', license: 'MIT', - meson_version: '>=0.54.0', + meson_version: '>=0.53.2', default_options: [ 'c_std=c11', 'warning_level=2', @@ -172,8 +172,6 @@ wlroots = declare_dependency( include_directories: wlr_inc, ) -meson.override_dependency('wlroots', wlroots) - summary({ 'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0), 'elogind': conf_data.get('WLR_HAS_ELOGIND', 0), -- 2.26.2 Can anyone help me out on how to resolve this conflict?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61718): https://lists.yoctoproject.org/g/yocto/message/61718 Mute This Topic: https://lists.yoctoproject.org/mt/102699836/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-