Extensible SDK of core-image-minimal fails to install
I'm trying to install an extensible SDK of `core-image-minimal` on a
system different from the build system (build system is Debian 10,
install system is e.g. Ubuntu 20.04). When doing this, the following
/pseudo/pseudo_git.bb:do_fetch) failed with exit code 'setscene whitelist'
The full log file `preparing_build_system.log` is available at:
It seems `recipes-devtools/pseudo/pseudo_git.bb` does depend on the
build environment and therefore yields different hashes which results in
broken sstate-cache. Does someone know what exactly went wrong and how
to fix it?
Steps to reproduce:
Use the following `kas-project.yml`:
CONF_VERSION = "1"
PACKAGE_CLASSES = "package_rpm"
Then, run a kas container (https://github.com/siemens/kas, e.g. use
`kas-container` script): `./kas-container shell kas-project.yml` This
will start a Debian 10 container with kas installed.
Build the extensible SDK with `bitbake -c populate_sdk_ext
After finishing, install the extensible SDK on a different machine (for
testing purposes e.g. in a Docker container for example `ubuntu:20.04`).
It will result in the error mentioned above.
How do I fix that?
Thanks in advance!
I was able to reproduce the error even with plain poky (without kas):toggle quoted messageShow quoted text
git clone -b dunfell https://git.yoctoproject.org/git/poky
bitbake -c populate_sdk_ext core-image-minimal
After successful build, copy the `build/tmp/deploy/sdk/poky....sh` to
another machine (with different OS) and run it there.
I tried several different installation machines and they fail
consistently to install the extensible SDK if they run a different OS
than the build machine (e.g. Debian 10 vs. Ubuntu 18.04 vs. 20.04). See
the exakt error and complete log output in my previous message.
What is happening here? Did I use the extensible SDK wrongly? Is it
expected to be incompatible?
Thanks in advance!
On 09.06.21 17:58, Hendrik wrote:
On Fri, 2021-06-11 at 22:30 +0200, Hendrik wrote:
I was able to reproduce the error even with plain poky (without kas):I think it may be this bug:
We don't have a fix as yet, it looks difficult to solve :(
On 12/06/2021 10:47, Richard Purdie wrote:
I think it may be this bug:Not a fix, but a workaround, if you are willing to use containers is to create a build container and a similar sdk container.
I added more information to the bug above.