diff mbox series

[meta-oe] mariadb: Use inherit_defer for native class

Message ID 20240404125210.3365296-1-chaitanya.vadrevu@ni.com
State Under Review
Headers show
Series [meta-oe] mariadb: Use inherit_defer for native class | expand

Commit Message

Chaitanya Vadrevu April 4, 2024, 12:52 p.m. UTC
Since useradd.bbclass is using inherit_defer in oe-core, some classes are now
appearing after native resulting in QA errors

QA Issue: mariadb-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: useradd-staticids.bbclass [native-last]

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
---
 meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Yoann Congal April 4, 2024, 4:38 p.m. UTC | #1
Le jeu. 4 avr. 2024 à 14:52, Chaitanya Vadrevu <chaitanya.vadrevu@ni.com> a
écrit :

> Since useradd.bbclass is using inherit_defer in oe-core, some classes are
> now
> appearing after native resulting in QA errors
>
> QA Issue: mariadb-native: native/nativesdk class is not inherited last,
> this can result in unexpected behaviour. Classes inherited after
> native/nativesdk: useradd-staticids.bbclass [native-last]
>
> Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
>

Hi!

I believed I fixed this on master since
https://git.openembedded.org/meta-openembedded/commit/?id=065d6496e4af178e5b1f8e4e3c5f17ac587717a6

I just tested this again : no QA issue on master on my local build.
Are you targeting a non-master branch?


> ---
>  meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
> b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
> index 578357b48..04380eb43 100644
> --- a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
> +++ b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
> @@ -1,5 +1,5 @@
>  require mariadb.inc
> -inherit native
> +inherit_defer native
>
>  PROVIDES += "mysql5-native"
>  DEPENDS = "ncurses-native zlib-native bison-native libpcre2-native \
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#109797):
> https://lists.openembedded.org/g/openembedded-devel/message/109797
> Mute This Topic: https://lists.openembedded.org/mt/105327970/4316185
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> yoann.congal@smile.fr]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Chaitanya Vadrevu April 4, 2024, 4:49 p.m. UTC | #2
My apologies, you’re right the issue is fixed. I was using a slightly older master that didn’t have the fix.

Please discard my patch.

Chaitanya


INTERNAL - NI CONFIDENTIAL
diff mbox series

Patch

diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
index 578357b48..04380eb43 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
+++ b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
@@ -1,5 +1,5 @@ 
 require mariadb.inc
-inherit native
+inherit_defer native
 
 PROVIDES += "mysql5-native"
 DEPENDS = "ncurses-native zlib-native bison-native libpcre2-native \