From: Denys Dmytriyenko <[email protected]>
BBCLASSEXTEND doesn't handle overrides with suffixed ${PN} for
native class, e.g.:
RPROVIDES:${PN}-xxd = "xxd"
becomes:
RPROVIDES:vim-native-xxd = "xxd-native"
instead of:
RPROVIDES:vim-xxd-native = "xxd-native"
This results in "Nothing RPROVIDES xxd-native" error when
something RDEPENDS on xxd-native because there's no such
package as vim-native-xxd.
Use ${BPN} and explicitly handle RPROVIDES.
Since native class does not produce packages, other variables
using :${PN}-xxd override don't matter. And nativesdk class
is not affected, as it uses a prefix, not suffix.
Signed-off-by: Denys Dmytriyenko <[email protected]>
---
meta/recipes-support/vim/vim_9.1.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-support/vim/vim_9.1.bb
b/meta/recipes-support/vim/vim_9.1.bb
index fee9f055e9..8968b8cb07 100644
--- a/meta/recipes-support/vim/vim_9.1.bb
+++ b/meta/recipes-support/vim/vim_9.1.bb
@@ -11,7 +11,9 @@ BBCLASSEXTEND = "native nativesdk"
PACKAGES =+ "${PN}-xxd"
FILES:${PN}-xxd = "${bindir}/xxd"
-RPROVIDES:${PN}-xxd = "xxd"
+RPROVIDES:${BPN}-xxd = "xxd"
+RPROVIDES:${BPN}-xxd-native = "xxd-native"
+RPROVIDES:nativesdk-${BPN}-xxd = "nativesdk-xxd"
ALTERNATIVE:${PN}-xxd = "xxd"
ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
--
2.35.3
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#208362):
https://lists.openembedded.org/g/openembedded-core/message/208362
Mute This Topic: https://lists.openembedded.org/mt/109930389/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-