[oe] WARNING: on wrong $PACKAGE_ARCH

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Mon Jul 8 07:10:36 UTC 2019


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?


Regards!




-- 
Ricardo Ribalda


More information about the Openembedded-devel mailing list