<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15371</bug_id>
          
          <creation_ts>2024-01-29 09:54:09 +0000</creation_ts>
          <short_desc>eSDK can not build image - if icecc class is involved</short_desc>
          <delta_ts>2025-08-07 18:54:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>4.3.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98055</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2024-01-29 09:54:09 +0000</bug_when>
    <thetext>I am currently testing a master branch with this commit[1]

[1] 
commit 1bbdc674aef8abada28d130a23752c1d8a4620b9 (origin/master, origin/HEAD)
Author: Tom Rini &lt;trini@konsulko.com&gt;
Date:   Wed Jan 3 10:11:47 2024 -0500

Whenever I use try to build an image with devtool/sdk it fails:

devtool build-image core-image-minimal

...

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.10051 [2]
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 &apos;1&apos;
NOTE: Tasks Summary: Attempted 2226 tasks of which 2225 didn&apos;t need to be rerun and 1 failed.

[2] https://pastebin.com/Vm1s4x0z</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98061</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2024-01-30 10:24:10 +0000</bug_when>
    <thetext>also with the latest master[1] I see the same behavior

[1]
commit 0f61386628df828c5b1a440a414759e3e60f86a2 (origin/master, origin/HEAD)
Author: Khem Raj &lt;raj.khem@gmail.com&gt;
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 &lt;raj.khem@gmail.com&gt;
    Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

------------------

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 &apos;1&apos;
NOTE: Tasks Summary: Attempted 2227 tasks of which 2219 didn&apos;t need to be rerun and 1 failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98070</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2024-01-31 12:03:25 +0000</bug_when>
    <thetext>Looking further into it:

ESDK_CLASS_INHERIT_DISABLE=&quot;buildhistory icecc&quot;

INHERIT=&quot; 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&quot;

I have both buildhistory and icecc in my site.conf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98071</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2024-01-31 12:06:06 +0000</bug_when>
    <thetext>to be precise:

ICECC_PARALLEL_MAKE?= &quot;-j ${@oe.utils.cpu_count()*2}&quot;
INHERIT += &quot;icecc&quot;
ICECC_DISABLED ?= &quot;1&quot;
ICECC_RECIPE_DISABLE += &quot;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&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98125</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2024-02-03 11:45:04 +0000</bug_when>
    <thetext>If I don&apos;t inherit the icecc class anymore I am able to build an image with the devtool/eSDK

#INHERIT += &quot;icecc&quot;

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=&quot;buildhistory icecc&quot;

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&apos;s not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100793</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-01-30 16:06:36 +0000</bug_when>
    <thetext>Bulk move to 5.2-M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100808</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-01-30 16:17:02 +0000</bug_when>
    <thetext>Bulk move to 5.2-M3 and this time I&apos;ll actually specify M3!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101846</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-05-01 14:09:07 +0000</bug_when>
    <thetext>Bulk move of most 5.2-M4 unassigned bugs to 5.3-M2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102567</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-08-07 18:54:08 +0000</bug_when>
    <thetext>https://git.openembedded.org/openembedded-core/commit/?id=ecf8c386cf83ea235bdc4ee0da6671a395a4c358

classes/recipes-devtools: Drop icecc from OE-Core

so resolve obsolete.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>