* [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime
@ 2025-06-18 21:20 Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc Dmitry Baryshkov
` (6 more replies)
0 siblings, 7 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-18 21:20 UTC (permalink / raw)
To: openembedded-core
The virtual-{libegl,libglx}-icd names are RPROVIDES, not PROVIDES,
because they are a runtime dependency of libglvnd. Make
default-providers follow that and specify PREFERRED_RPROVIDER instead of
PREFERRED_PROVIDER for those names.
Fixes: 9d3b4c9bc403 ("mesa: sort out PROVIDES for the glvnd case")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/conf/distro/include/default-providers.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index 4f094163546c..274ad0c4f630 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -7,9 +7,7 @@ PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg"
PREFERRED_PROVIDER_virtual/libsdl2 ?= "libsdl2"
PREFERRED_PROVIDER_virtual/libsdl2-native ?= "libsdl2-native"
PREFERRED_PROVIDER_virtual/egl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libegl-icd ?= "mesa"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libglx-icd ?= "mesa"
PREFERRED_PROVIDER_virtual/libgl-native ?= "mesa-native"
PREFERRED_PROVIDER_virtual/nativesdk-libgl ?= "nativesdk-mesa"
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
@@ -68,4 +66,6 @@ PREFERRED_RPROVIDER_initd-functions ?= "initscripts"
PREFERRED_PROVIDER_nativesdk-mesa ?= "nativesdk-mesa"
PREFERRED_PROVIDER_virtual/nativesdk-libsdl2 ?= "nativesdk-libsdl2"
+PREFERRED_RPROVIDER_virtual-libegl-icd ?= "mesa"
+PREFERRED_RPROVIDER_virtual-libglx-icd ?= "mesa"
PREFERRED_RPROVIDER_virtual-x-terminal-emulator ?= "rxvt-unicode"
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
@ 2025-06-18 21:20 ` Dmitry Baryshkov
2025-06-19 7:53 ` [OE-core] " Antonin Godard
2025-06-18 21:20 ` [PATCH v6 3/8] qemux86: " Dmitry Baryshkov
` (5 subsequent siblings)
6 siblings, 1 reply; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-18 21:20 UTC (permalink / raw)
To: openembedded-core
default-providers.inc already includes PREFERRED_PROVIDER values for
xserver and GL libraries. Drop the same values being set in the machine
config.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/conf/machine/include/qemu.inc | 7 -------
1 file changed, 7 deletions(-)
diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
index d7392d476238..c143e37f710e 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -1,10 +1,3 @@
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/egl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
-
XSERVER ?= "xserver-xorg \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
xf86-video-fbdev \
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 3/8] qemux86: drop duplicates with default-providers.inc
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc Dmitry Baryshkov
@ 2025-06-18 21:20 ` Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 4/8] qemux86-64: " Dmitry Baryshkov
` (4 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-18 21:20 UTC (permalink / raw)
To: openembedded-core
default-providers.inc already includes PREFERRED_PROVIDER values for
xserver and GL libraries. Drop the same values being set in the machine
config.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/conf/machine/qemux86.conf | 6 ------
1 file changed, 6 deletions(-)
diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf
index 1e072e1ae285..51f080bd2a51 100644
--- a/meta/conf/machine/qemux86.conf
+++ b/meta/conf/machine/qemux86.conf
@@ -2,12 +2,6 @@
#@NAME: QEMU x86 machine
#@DESCRIPTION: Machine configuration for running an x86 system on QEMU
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
-
require conf/machine/include/qemu.inc
DEFAULTTUNE ?= "core2-32"
require conf/machine/include/x86/tune-corei7.inc
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 4/8] qemux86-64: drop duplicates with default-providers.inc
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 3/8] qemux86: " Dmitry Baryshkov
@ 2025-06-18 21:20 ` Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 5/8] libglvnd: migrate from meta-oe Dmitry Baryshkov
` (3 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-18 21:20 UTC (permalink / raw)
To: openembedded-core
default-providers.inc already includes PREFERRED_PROVIDER values for
xserver and GL libraries. Drop the same values being set in the machine
config.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/conf/machine/qemux86-64.conf | 6 ------
1 file changed, 6 deletions(-)
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf
index 4a9c6d364bea..62108b703b69 100644
--- a/meta/conf/machine/qemux86-64.conf
+++ b/meta/conf/machine/qemux86-64.conf
@@ -2,12 +2,6 @@
#@NAME: QEMU x86-64 machine
#@DESCRIPTION: Machine configuration for running an x86-64 system on QEMU
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
-
require conf/machine/include/qemu.inc
DEFAULTTUNE ?= "core2-64"
require conf/machine/include/x86/tune-x86-64-v3.inc
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 5/8] libglvnd: migrate from meta-oe
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
` (2 preceding siblings ...)
2025-06-18 21:20 ` [PATCH v6 4/8] qemux86-64: " Dmitry Baryshkov
@ 2025-06-18 21:20 ` Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 6/8] mesa: enable glvnd if it is enabled in DISTRO_FEATURES Dmitry Baryshkov
` (2 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-18 21:20 UTC (permalink / raw)
To: openembedded-core
libglvnd is a vendor-neutral approach to handling OpenGL / OpenGL ES /
EGL / GLX libraries. It has been proposed and initially implemented by
NVIDIA in order to simplify coinstallation of GL drivers provided by
different vendors. Major Linux distributions (Debian, Ubuntu, Fedora,
etc.) have already switched to libglvnd.
Having libglvnd in OE-Core simplifies integration of this ABI into
distro and BSP layers (e.g. it will help meta-tegra, which currently
provides its own version of the recipe).
Import recipe for libglvnd from the meta-oe layer (changes: fix virtual
package names, add add the SUMMARY data, drop git@ from SRC_URI, require
glvnd DISTRO_FEATURE).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/conf/distro/include/maintainers.inc | 1 +
.../libglvnd/libglvnd_1.7.0.bb | 39 +++++++++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 meta/recipes-graphics/libglvnd/libglvnd_1.7.0.bb
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index b6cf4b7cfae9..ba2e9a527597 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -353,6 +353,7 @@ RECIPE_MAINTAINER:pn-libgcrypt = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER:pn-libgfortran = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-libgit2 = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-libgloss = "Alejandro Hernandez <alejandro@enedino.org>"
+RECIPE_MAINTAINER:pn-libglvnd = "Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>"
RECIPE_MAINTAINER:pn-libglu = "Ross Burton <ross.burton@arm.com>"
RECIPE_MAINTAINER:pn-libgpg-error = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER:pn-libgudev = "Ross Burton <ross.burton@arm.com>"
diff --git a/meta/recipes-graphics/libglvnd/libglvnd_1.7.0.bb b/meta/recipes-graphics/libglvnd/libglvnd_1.7.0.bb
new file mode 100644
index 000000000000..d2a4b2dc51d9
--- /dev/null
+++ b/meta/recipes-graphics/libglvnd/libglvnd_1.7.0.bb
@@ -0,0 +1,39 @@
+SUMMARY = "the GL Vendor-Neutral Dispatch library"
+DESCRIPTION = "libglvnd is a vendor-neutral dispatch layer for arbitrating \
+OpenGL API calls between multiple vendors."
+HOMEPAGE = "https://gitlab.freedesktop.org/glvnd/libglvnd"
+LICENSE = "MIT & BSD-1-Clause & BSD-3-Clause & GPL-3.0-with-autoconf-exception"
+LIC_FILES_CHKSUM = "file://README.md;beginline=323;md5=7ac5f0111f648b92fe5427efeb08e8c4"
+
+SRC_URI = "git://gitlab.freedesktop.org/glvnd/libglvnd.git;protocol=https;branch=master"
+
+SRCREV = "faa23f21fc677af5792825dc30cb1ccef4bf33a6"
+
+REQUIRED_DISTRO_FEATURES = "opengl glvnd"
+
+inherit meson pkgconfig features_check
+
+S = "${WORKDIR}/git"
+
+PACKAGECONFIG ?= "\
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl gles1 gles2', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)} \
+ "
+
+PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libx11 libxext xorgproto"
+PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,libx11 libxext xorgproto,,virtual-libglx-icd"
+PACKAGECONFIG[egl] = "-Degl=true,-Degl=false,,virtual-libegl-icd"
+PACKAGECONFIG[gles1] = "-Dgles1=true,-Dgles1=false,"
+PACKAGECONFIG[gles2] = "-Dgles2=true,-Dgles2=false,"
+
+BBCLASSEXTEND = "native nativesdk"
+
+PROVIDES = " \
+ ${@bb.utils.contains('PACKAGECONFIG', 'glx', 'virtual/libgl', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'gles1', 'virtual/libgles1', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'gles2', 'virtual/libgles2 virtual/libgles3', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \
+"
+
+RPROVIDES:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'egl', 'libegl', '', d)}"
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 6/8] mesa: enable glvnd if it is enabled in DISTRO_FEATURES
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
` (3 preceding siblings ...)
2025-06-18 21:20 ` [PATCH v6 5/8] libglvnd: migrate from meta-oe Dmitry Baryshkov
@ 2025-06-18 21:20 ` Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 7/8] default-providers: handle GLVND-related providers Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe Dmitry Baryshkov
6 siblings, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-18 21:20 UTC (permalink / raw)
To: openembedded-core
Let the distro to be a central authority regarding GLVND feature.
Make mesa.inc enable glvnd PACKAGECONFIG if it is enabled in
DISTRO_FEATURES.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/recipes-graphics/mesa/mesa.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index a583edc57f6f..99047c798607 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -85,7 +85,7 @@ def strip_comma(s):
PACKAGECONFIG = " \
gallium \
video-codecs \
- ${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland', d)} \
+ ${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland glvnd', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm virgl', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'zink', '', d)} \
"
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 7/8] default-providers: handle GLVND-related providers
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
` (4 preceding siblings ...)
2025-06-18 21:20 ` [PATCH v6 6/8] mesa: enable glvnd if it is enabled in DISTRO_FEATURES Dmitry Baryshkov
@ 2025-06-18 21:20 ` Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe Dmitry Baryshkov
6 siblings, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-18 21:20 UTC (permalink / raw)
To: openembedded-core
If GLVND is enabled, then libglvnd is providing all OpenGL / ES
libraries. Tune default-providers.inc to select a correct package in
this case.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/conf/distro/include/default-providers.inc | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index 274ad0c4f630..3f113543cd9c 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -6,13 +6,13 @@ PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg"
PREFERRED_PROVIDER_virtual/libsdl2 ?= "libsdl2"
PREFERRED_PROVIDER_virtual/libsdl2-native ?= "libsdl2-native"
-PREFERRED_PROVIDER_virtual/egl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgl-native ?= "mesa-native"
-PREFERRED_PROVIDER_virtual/nativesdk-libgl ?= "nativesdk-mesa"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
+PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
+PREFERRED_PROVIDER_virtual/libgl ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'libglvnd', 'mesa',d)}"
+PREFERRED_PROVIDER_virtual/libgl-native ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'libglvnd-native', 'mesa-native',d)}"
+PREFERRED_PROVIDER_virtual/nativesdk-libgl ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'nativesdk-libglvnd', 'nativesdk-mesa',d)}"
+PREFERRED_PROVIDER_virtual/libgles1 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'libglvnd', 'mesa',d)}"
+PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'libglvnd', 'mesa',d)}"
+PREFERRED_PROVIDER_virtual/libgles3 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'libglvnd', 'mesa',d)}"
PREFERRED_PROVIDER_virtual/mesa ?= "mesa"
PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg-utils"
PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-utils-native"
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
` (5 preceding siblings ...)
2025-06-18 21:20 ` [PATCH v6 7/8] default-providers: handle GLVND-related providers Dmitry Baryshkov
@ 2025-06-18 21:20 ` Dmitry Baryshkov
2025-06-18 21:35 ` Patchtest results for " patchtest
2025-06-19 10:31 ` Dmitry Baryshkov
6 siblings, 2 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-18 21:20 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
meta/lib/oeqa/selftest/cases/distrodata.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/cases/distrodata.py b/meta/lib/oeqa/selftest/cases/distrodata.py
index 1e88ea82e6a8..f2c6124d704f 100644
--- a/meta/lib/oeqa/selftest/cases/distrodata.py
+++ b/meta/lib/oeqa/selftest/cases/distrodata.py
@@ -56,7 +56,7 @@ but their recipes claim otherwise by setting UPSTREAM_VERSION_UNKNOWN. Please re
def is_maintainer_exception(entry):
exceptions = ["musl", "newlib", "picolibc", "linux-yocto", "linux-dummy", "mesa-gl", "libgfortran", "libx11-compose-data",
- "cve-update-nvd2-native", "barebox"]
+ "cve-update-nvd2-native", "barebox", "libglvnd"]
for i in exceptions:
if i in entry:
return True
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Patchtest results for [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe
2025-06-18 21:20 ` [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe Dmitry Baryshkov
@ 2025-06-18 21:35 ` patchtest
2025-06-19 10:31 ` Dmitry Baryshkov
1 sibling, 0 replies; 12+ messages in thread
From: patchtest @ 2025-06-18 21:35 UTC (permalink / raw)
To: Dmitry Baryshkov; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 3090 bytes --]
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:
---
Testing patch /home/patchtest/share/mboxes/v6-8-8-fixup-libglvnd-migrate-from-meta-oe.patch
FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)
PASS: pretest pylint (test_python_pylint.PyLint.pretest_pylint)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test pylint (test_python_pylint.PyLint.test_pylint)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)
SKIP: pretest src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.pretest_src_uri_left_files)
SKIP: test CVE check ignore: No modified recipes or older target branch, skipping test (test_metadata.TestMetadata.test_cve_check_ignore)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum modified not mentioned: No modified recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.test_src_uri_left_files)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)
---
Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [OE-core] [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc
2025-06-18 21:20 ` [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc Dmitry Baryshkov
@ 2025-06-19 7:53 ` Antonin Godard
2025-06-19 8:55 ` Dmitry Baryshkov
0 siblings, 1 reply; 12+ messages in thread
From: Antonin Godard @ 2025-06-19 7:53 UTC (permalink / raw)
To: dmitry.baryshkov, openembedded-core
On Wed Jun 18, 2025 at 11:20 PM CEST, Dmitry Baryshkov via lists.openembedded.org wrote:
> default-providers.inc already includes PREFERRED_PROVIDER values for
> xserver and GL libraries. Drop the same values being set in the machine
> config.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> meta/conf/machine/include/qemu.inc | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
> index d7392d476238..c143e37f710e 100644
> --- a/meta/conf/machine/include/qemu.inc
> +++ b/meta/conf/machine/include/qemu.inc
> @@ -1,10 +1,3 @@
> -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
> -PREFERRED_PROVIDER_virtual/egl ?= "mesa"
> -PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
> -PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
> -PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
> -PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
> -
> XSERVER ?= "xserver-xorg \
> ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
> xf86-video-fbdev \
This conflicts with your previous patch ("qemu.inc: handle GLVND-related
providers"). Should this one be refreshed to:
diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
index 4fa18812db..c143e37f71 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -1,10 +1,3 @@
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-PREFERRED_PROVIDER_virtual/libgl ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-PREFERRED_PROVIDER_virtual/libgles1 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-PREFERRED_PROVIDER_virtual/libgles3 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
-
XSERVER ?= "xserver-xorg \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
xf86-video-fbdev \
or should the first one be dropped?
Dropping the first one for testing for now.
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [OE-core] [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc
2025-06-19 7:53 ` [OE-core] " Antonin Godard
@ 2025-06-19 8:55 ` Dmitry Baryshkov
0 siblings, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-19 8:55 UTC (permalink / raw)
To: Antonin Godard; +Cc: openembedded-core
On Thu, 19 Jun 2025 at 10:53, Antonin Godard <antonin.godard@bootlin.com> wrote:
>
> On Wed Jun 18, 2025 at 11:20 PM CEST, Dmitry Baryshkov via lists.openembedded.org wrote:
> > default-providers.inc already includes PREFERRED_PROVIDER values for
> > xserver and GL libraries. Drop the same values being set in the machine
> > config.
> >
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> > ---
> > meta/conf/machine/include/qemu.inc | 7 -------
> > 1 file changed, 7 deletions(-)
> >
> > diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
> > index d7392d476238..c143e37f710e 100644
> > --- a/meta/conf/machine/include/qemu.inc
> > +++ b/meta/conf/machine/include/qemu.inc
> > @@ -1,10 +1,3 @@
> > -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
> > -PREFERRED_PROVIDER_virtual/egl ?= "mesa"
> > -PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
> > -PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
> > -PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
> > -PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
> > -
> > XSERVER ?= "xserver-xorg \
> > ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
> > xf86-video-fbdev \
>
> This conflicts with your previous patch ("qemu.inc: handle GLVND-related
> providers"). Should this one be refreshed to:
>
> diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
> index 4fa18812db..c143e37f71 100644
> --- a/meta/conf/machine/include/qemu.inc
> +++ b/meta/conf/machine/include/qemu.inc
> @@ -1,10 +1,3 @@
> -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
> -PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
> -PREFERRED_PROVIDER_virtual/libgl ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
> -PREFERRED_PROVIDER_virtual/libgles1 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
> -PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
> -PREFERRED_PROVIDER_virtual/libgles3 ?= "${@bb.utils.contains('DISTRO_FEATURES','glvnd','libglvnd','mesa',d)}"
> -
> XSERVER ?= "xserver-xorg \
> ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
> xf86-video-fbdev \
>
> or should the first one be dropped?
The first one should be dropped.
>
> Dropping the first one for testing for now.
>
> Antonin
>
> --
> Antonin Godard, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe
2025-06-18 21:20 ` [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe Dmitry Baryshkov
2025-06-18 21:35 ` Patchtest results for " patchtest
@ 2025-06-19 10:31 ` Dmitry Baryshkov
1 sibling, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2025-06-19 10:31 UTC (permalink / raw)
To: openembedded-core
On 19/06/2025 00:20, Dmitry Baryshkov wrote:
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Ouch, This should have been squashed into the earlier patch. I got
distracted and forgot about it...
> ---
> meta/lib/oeqa/selftest/cases/distrodata.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/lib/oeqa/selftest/cases/distrodata.py b/meta/lib/oeqa/selftest/cases/distrodata.py
> index 1e88ea82e6a8..f2c6124d704f 100644
> --- a/meta/lib/oeqa/selftest/cases/distrodata.py
> +++ b/meta/lib/oeqa/selftest/cases/distrodata.py
> @@ -56,7 +56,7 @@ but their recipes claim otherwise by setting UPSTREAM_VERSION_UNKNOWN. Please re
>
> def is_maintainer_exception(entry):
> exceptions = ["musl", "newlib", "picolibc", "linux-yocto", "linux-dummy", "mesa-gl", "libgfortran", "libx11-compose-data",
> - "cve-update-nvd2-native", "barebox"]
> + "cve-update-nvd2-native", "barebox", "libglvnd"]
> for i in exceptions:
> if i in entry:
> return True
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2025-06-19 10:31 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 21:20 [PATCH v6 1/8] default-providers: fix GLVND providers to be selected at runtime Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 2/8] qemu.inc: drop duplicates with default-providers.inc Dmitry Baryshkov
2025-06-19 7:53 ` [OE-core] " Antonin Godard
2025-06-19 8:55 ` Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 3/8] qemux86: " Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 4/8] qemux86-64: " Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 5/8] libglvnd: migrate from meta-oe Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 6/8] mesa: enable glvnd if it is enabled in DISTRO_FEATURES Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 7/8] default-providers: handle GLVND-related providers Dmitry Baryshkov
2025-06-18 21:20 ` [PATCH v6 8/8] fixup! libglvnd: migrate from meta-oe Dmitry Baryshkov
2025-06-18 21:35 ` Patchtest results for " patchtest
2025-06-19 10:31 ` Dmitry Baryshkov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.