[oe] WARNING: on wrong $PACKAGE_ARCH

Khem Raj raj.khem at gmail.com
Wed Jul 10 04:58:51 UTC 2019


On Mon, Jul 8, 2019 at 12:11 AM Ricardo Ribalda Delgado
<ricardo.ribalda at gmail.com> wrote:
>
> Hello
>
> On our organisation ( qtec.com ) we support a distribution on multiple
> architectures and machines. Since the introduction of multiconfig we
> have a single builder and a single package repository, what we really
> appreciate.
>
> Unfortunately, there is one single frustration, and is "wrong"
> PACKAGE_ARCH. For example:
>
> - -native packages that DEPEND on non-native recipes
> - tune-arch that have some  variable dependency on MACHINE
>
> Some of this errors result the same workdir used twice and invalid
> packages.  Debugging such errors is not trivial, involves horrible
> error messages, bitbake-diffsigs and non deterministic errors (the
> build order can hide such errors),
>
> So I was thinking that perhaps I could implement some tests such as:
> - all and native can only depend on -native
> - tunearch cannot depend on machine
>
> I HAVE NO IDEA how difficult could it be, but before implementing I
> would like to know if that is something that upstream would be
> interested in, because if it is not upstream I will have hard time
> convincing my management for getting the hours required.
>
> What is your opinion?
>

this would be a good check for QA or parser sub-systems for sure. I think
you should propose it to architecture mailing list once you have formulated
how to go about it.

>
> Regards!
>
>
>
>
> --
> Ricardo Ribalda
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list