diff mbox series

[meta-oe,scarthgap] libfido2: remove non-functional native and nativesdk BBCLASSEXTEND

Message ID CAMSfU+6nyrjcRKsD=K-okKXmFRGpGfouPVse1FvH7PQZfZcOpA@mail.gmail.com
State New
Headers show
Series [meta-oe,scarthgap] libfido2: remove non-functional native and nativesdk BBCLASSEXTEND | expand

Commit Message

Yoann Congal June 16, 2024, 3:34 p.m. UTC
libfido2 depends on udev and libcbor which do not exist for native and
nativesdk targets.
Remove native & nativesdk from BBCLASSEXTEND to avoid hitting these in
world/universe builds.

Fixes these warnings (as seen on AB[0]):
  WARNING: Nothing PROVIDES 'nativesdk-udev' (but
virtual:nativesdk:[...]/libfido2_1.14.0.bb DEPENDS on or otherwise
requires it). Close matches:
  WARNING: Nothing PROVIDES 'nativesdk-libcbor' (but
virtual:nativesdk:[...]/libfido2_1.14.0.bb DEPENDS on or otherwise
requires it). Close matches:
  WARNING: Nothing PROVIDES 'libcbor-native' (but
virtual:native:[...]/libfido2_1.14.0.bb DEPENDS on or otherwise
requires it). Close matches:
  WARNING: Nothing PROVIDES 'udev-native' (but
virtual:native:[...]/libfido2_1.14.0.bb DEPENDS on or otherwise
requires it). Close matches:
  WARNING: Nothing RPROVIDES 'nativesdk-libfido2-dev' (but
virtual:nativesdk:[...]/libfido2_1.14.0.bb RDEPENDS on or otherwise
requires it)
  WARNING: Nothing RPROVIDES 'nativesdk-libfido2' (but
virtual:nativesdk:[...]/libfido2_1.14.0.bb RDEPENDS on or otherwise
requires it)

[0]: https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/367/steps/12/logs/warnings

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Cc: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1a3d194eb3552eb948ca61dffcb9dbe2710f516b)
---
 meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb | 2 --
 1 file changed, 2 deletions(-)

-BBCLASSEXTEND = "native nativesdk"
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb
b/meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb
index 08d3f4e84d..d453d0ab97 100644
--- a/meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb
+++ b/meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb
@@ -21,5 +21,3 @@  EXTRA_OECMAKE =
"-DUDEV_RULES_DIR=${nonarch_base_libdir}/udev/rules.d -DBUILD_EX
 PACKAGE_BEFORE_PN = "${PN}-tools"

 FILES:${PN}-tools = "${bindir}/fido2-*"
-