<?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>8934</bug_id>
          
          <creation_ts>2016-01-15 11:28:48 +0000</creation_ts>
          <short_desc>ICECC support broken</short_desc>
          <delta_ts>2016-05-11 08:17:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andreas Schultz">aschultz</reporter>
          <assigned_to name="Alex Franco">alejandro.franco</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>jku</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57858</commentid>
    <comment_count>0</comment_count>
    <who name="Andreas Schultz">aschultz</who>
    <bug_when>2016-01-15 11:28:48 +0000</bug_when>
    <thetext>Building with ICECC fails during recipe parsing.

When adding ICECC to a local.conf with:

INHERIT += &quot;icecc&quot;

even the a simple &apos;bitbake -g core-image-minimal&apos; fails with:

ERROR: nativesdk-buildtools-perl-dummy NULL prefix###################################################################################################################                        | ETA:  00:00:12
WARNING: Exception during build_dependencies for set_icecc_env
WARNING: Error during finalise of /usr/src/poky-master-non-bare/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
ERROR: ExpansionError during parsing /usr/src/poky-master-non-bare/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb: Failure expanding variable set_icecc_env, expression was     if [ &quot;${@use_icc(bb, d)}&quot; = &quot;no&quot; ]
    then
        return
    fi
    ICECC_VERSION=&quot;${@icc_version(bb, d)}&quot;
    if [ &quot;x${ICECC_VERSION}&quot; = &quot;x&quot; ]
    then
        bbwarn &quot;Cannot use icecc: could not get ICECC_VERSION&quot;
        return
    fi
...
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58062</commentid>
    <comment_count>1</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-01-21 15:11:15 +0000</bug_when>
    <thetext>I see this too. Couldn&apos;t figure it out on the first try but will take another look next week if it&apos;s not resolved before that -- any advice is welcome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58067</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-01-21 15:35:47 +0000</bug_when>
    <thetext>I did a bit of poking at icecc a couple of months ago:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=joshuagl/icecc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60059</commentid>
    <comment_count>3</comment_count>
      <attachid>3037</attachid>
    <who name="Andreas Schultz">aschultz</who>
    <bug_when>2016-03-17 07:41:14 +0000</bug_when>
    <thetext>Created attachment 3037
fix ICECC build in perl</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60060</commentid>
    <comment_count>4</comment_count>
    <who name="Andreas Schultz">aschultz</who>
    <bug_when>2016-03-17 07:42:27 +0000</bug_when>
    <thetext>Disabling ICECC for nativesdk-buildtools-perl-dummy.bb fixes the problem for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60160</commentid>
    <comment_count>5</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2016-03-18 15:46:38 +0000</bug_when>
    <thetext>Thanks Andreas, I am currently reproducing this issue. Indeed I believe this nativesdk buildtools dummy perl recipe was added for the new sdk tests and disabling ICECC for it may be the best course of action</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60306</commentid>
    <comment_count>6</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2016-03-22 18:26:13 +0000</bug_when>
    <thetext>Checking if a modification of the icc_is_allarch test in icecc.bbclass might be a better approach at solving this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60319</commentid>
    <comment_count>7</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2016-03-22 22:04:17 +0000</bug_when>
    <thetext>Note: set the Documentation change value to Yes, as the variable ICECC_CC is misspelled in the docs. Will include in a separate commit as part of the fix...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60324</commentid>
    <comment_count>8</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2016-03-22 23:56:21 +0000</bug_when>
    <thetext>Patch series with icecc inherit fix and suggested improvements sent out to oe-core mailing list; documentation typo fix sent to yocto mailing list</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60454</commentid>
    <comment_count>9</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2016-03-28 22:07:55 +0000</bug_when>
    <thetext>Fixes at:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/icecc.bbclass?id=201d9d37f05ebc6efa8dfe430e66dc6fd23856d9

And two previous commits.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62084</commentid>
    <comment_count>10</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-05-11 07:52:44 +0000</bug_when>
    <thetext>I tried to verify this bug and I got no error, but 22 warnings. 
See bellow the log. 
Please advise if we will fill a new bug or reopen this one.
 bitbake  core-image-minimal
Loading cache: 100% |######################################################################| ETA:  00:00:00
Loaded 1302 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.31.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-14.04&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.1+snapshot-20160511&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-poky
meta-yocto-bsp    = &quot;master:7ca60ec8bff7656b4e52f5a4d238913e851da089&quot;

NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 688 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: icecc-create-env-native-0.1-r2 do_configure: Cannot use icecc: invalid ICECC_ENV_EXEC
WARNING: icecc-create-env-native-0.1-r2 do_compile: Cannot use icecc: invalid ICECC_ENV_EXEC
WARNING: icecc-create-env-native-0.1-r2 do_install: Cannot use icecc: invalid ICECC_ENV_EXEC
WARNING: base-files-3.0.14-r89 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: base-files-3.0.14-r89 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: depmodwrapper-cross-1.0-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: depmodwrapper-cross-1.0-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: shadow-securetty-4.2.1-r3 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: shadow-securetty-4.2.1-r3 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: qemuwrapper-cross-1.0-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: qemuwrapper-cross-1.0-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: sysvinit-inittab-2.88dsf-r10 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: sysvinit-inittab-2.88dsf-r10 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: linux-libc-headers-4.4-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: linux-libc-headers-4.4-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: depmodwrapper-cross-1.0-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: linux-libc-headers-4.4-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: qemuwrapper-cross-1.0-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: shadow-securetty-4.2.1-r3 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: base-files-3.0.14-r89 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: sysvinit-inittab-2.88dsf-r10 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
WARNING: glibc-locale-2.23-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
NOTE: Tasks Summary: Attempted 2061 tasks of which 9 didn&apos;t need to be rerun and all succeeded.

Summary: There were 22 WARNING messages shown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62087</commentid>
    <comment_count>11</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-05-11 08:03:49 +0000</bug_when>
    <thetext>That seems like a bug (and I&apos;ve seen it periodically myself as well) but it&apos;s not at all the same bug as the original report. I don&apos;t think reopening this issue because of another bug is useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62089</commentid>
    <comment_count>12</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-05-11 08:16:22 +0000</bug_when>
    <thetext>Filled bug 9618</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62090</commentid>
    <comment_count>13</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-05-11 08:17:10 +0000</bug_when>
    <thetext>Marking this as verified since original problem is fixed. 
Added new bug (9618) for other issues.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3037</attachid>
            <date>2016-03-17 07:41:14 +0000</date>
            <delta_ts>2016-03-17 07:41:14 +0000</delta_ts>
            <desc>fix ICECC build in perl</desc>
            <filename>fix-perl-icecc.patch</filename>
            <type>text/plain</type>
            <size>544</size>
            <attacher name="Andreas Schultz">aschultz</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvcmVjaXBlcy1jb3JlL21ldGEvbmF0aXZlc2RrLWJ1aWxkdG9vbHMt
cGVybC1kdW1teS5iYiBiL21ldGEvcmVjaXBlcy1jb3JlL21ldGEvbmF0aXZlc2RrLWJ1aWxkdG9v
bHMtcGVybC1kdW1teS5iYgppbmRleCA5MDc4NGE5Li5iNDg4YjAzIDEwMDY0NAotLS0gYS9tZXRh
L3JlY2lwZXMtY29yZS9tZXRhL25hdGl2ZXNkay1idWlsZHRvb2xzLXBlcmwtZHVtbXkuYmIKKysr
IGIvbWV0YS9yZWNpcGVzLWNvcmUvbWV0YS9uYXRpdmVzZGstYnVpbGR0b29scy1wZXJsLWR1bW15
LmJiCkBAIC0xOCw2ICsxOCw3IEBAIFBFUkxQQUNLQUdFUyA9ICJuYXRpdmVzZGstcGVybCBcCiAg
ICAgICAgICAgICAgICAgbmF0aXZlc2RrLXBlcmwtbW9kdWxlLWZpbGUtcGF0aCIKIAogQUxMT1df
RU1QVFlfJHtQTn0gPSAiMSIKK0lDRUNDX0RJU0FCTEVEID0gIjEiCiAKIHB5dGhvbiBwb3B1bGF0
ZV9wYWNrYWdlc19wcmVwZW5kKCkgewogICAgIGQuYXBwZW5kVmFyKGQuZXhwYW5kKCdSUFJPVklE
RVNfJHtQTn0nKSwgJyR7UEVSTFBBQ0tBR0VTfScpCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>