| Summary: | eSDK can not build image - if icecc class is involved | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] eSDK | Reporter: | Robert Berger <pokylinux> |
| Component: | eSDK | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED OBSOLETE | QA Contact: | Francisco Pedraza <francisco.j.pedraza.gonzalez> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | randy.macleod |
| Version: | 4.3.4 | ||
| Target Milestone: | 5.3 M3 | ||
| Hardware: | Other | ||
| OS: | arm | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Robert Berger
2024-01-29 09:54:09 UTC
also with the latest master[1] I see the same behavior [1] commit 0f61386628df828c5b1a440a414759e3e60f86a2 (origin/master, origin/HEAD) Author: Khem Raj <raj.khem@gmail.com> Date: Wed Jan 24 16:32:50 2024 -0800 qemu: Replace the basename patch with backport Backport the patch that got applied to fix this issue upstream (From OE-Core rev: 952c94988cf1cf093668e9ac7020485c51cf3a58) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> ------------------ NOTE: Executing Tasks ERROR: core-image-minimal-1.0-r0 do_rootfs: Cannot find any SPDX file for document http://spdx.org/spdxdoc/recipe-icecc-create-env-native-485b3afa-6c5d-584d-b84d-ed3c7fe6a84a ERROR: Logfile of failure stored in: /opt/ext-sdk/resy/4.3.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/tmp/work/multi_v7_ml-resy-linux-gnueabi/core-image-minimal/1.0/temp/log.do_rootfs.963 ERROR: Task (/opt/ext-sdk/resy/4.3.66/multi-v7-ml/imx6q-phytec-mira-rdk-nand/layers/poky-training-master/meta/recipes-core/images/core-image-minimal.bb:do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 2227 tasks of which 2219 didn't need to be rerun and 1 failed. Looking further into it: ESDK_CLASS_INHERIT_DISABLE="buildhistory icecc" INHERIT=" report-error own-mirrors buildhistory image-buildinfo image-manifestinfo icecc create-spdx poky-sanity uninative create-spdx package_ipk buildstats debian devshell sstate license remove-libtool create-spdx sanity" I have both buildhistory and icecc in my site.conf. to be precise:
ICECC_PARALLEL_MAKE?= "-j ${@oe.utils.cpu_count()*2}"
INHERIT += "icecc"
ICECC_DISABLED ?= "1"
ICECC_RECIPE_DISABLE += "glib-2.0 bazel-native tensorflow-native tensorflow pkgconfig json-c linux-yocto-custom \
libgcc gcc-runtime zlib zstd libtool-cross attr ncurses libcap-ng libxcrypt util-linux-libuuid base-passwd"
If I don't inherit the icecc class anymore I am able to build an image with the devtool/eSDK
#INHERIT += "icecc"
Hmmm
The docu says[1]
Variables whose values start with “/” are excluded since the assumption is that those values are paths that are likely to be specific to the Build Host.
Variables listed in ESDK_LOCALCONF_REMOVE are excluded. These variables are not allowed through from the OpenEmbedded build system configuration into the extensible SDK configuration. Typically, these variables are specific to the machine on which the build system is running and could be problematic as part of the extensible SDK configuration.
For a list of the variables excluded by default, see the ESDK_LOCALCONF_REMOVE in the glossary of the Yocto Project Reference Manual.
Variables listed in ESDK_LOCALCONF_ALLOW are included. Including a variable in the value of ESDK_LOCALCONF_ALLOW overrides either of the previous two filters. The default value is blank.
Classes inherited globally with INHERIT that are listed in ESDK_CLASS_INHERIT_DISABLE are disabled. Using ESDK_CLASS_INHERIT_DISABLE to disable these classes is the typical method to disable classes that are problematic or unnecessary in the SDK context. The default value disables the buildhistory and icecc classes.
[1] https://docs.yoctoproject.org/singleindex.html#configuring-the-extensible-sdk
So if I understand that correctly due to
ESDK_CLASS_INHERIT_DISABLE="buildhistory icecc"
the icecc class (and the buildhistory class) should not be used in the eSDK.
... now is it also disabled when the eSDK is built? I guess it should be disabled, but it's not.
Bulk move to 5.2-M3. Bulk move to 5.2-M3 and this time I'll actually specify M3! Bulk move of most 5.2-M4 unassigned bugs to 5.3-M2. https://git.openembedded.org/openembedded-core/commit/?id=ecf8c386cf83ea235bdc4ee0da6671a395a4c358 classes/recipes-devtools: Drop icecc from OE-Core so resolve obsolete. |