<?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>13968</bug_id>
          
          <creation_ts>2020-07-03 04:33:46 +0000</creation_ts>
          <short_desc>variables in BB_HASHBASE_WHITELIST built from non-whitelisted variables should trigger a warning</short_desc>
          <delta_ts>2021-04-20 13:08:17 +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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yann Dirson">ydirson</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <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>87678</commentid>
    <comment_count>0</comment_count>
    <who name="Yann Dirson">ydirson</who>
    <bug_when>2020-07-03 04:33:46 +0000</bug_when>
    <thetext>https://github.com/rockchip-linux/meta-rockchip/ demonstrates the issue:

conf/layer.conf:RK_LICENSE_PATH = &quot;${LAYERDIR}/files/custom-licenses&quot;
conf/layer.conf:RK_BINARY_LICENSE = &quot;${RK_LICENSE_PATH}/LICENSE.rockchip&quot;
conf/layer.conf:LICENSE_PATH += &quot;${RK_LICENSE_PATH}&quot;

This causes task hashes to change when building in a different location because RK_LICENSE_PATH then changes.  Obviously an oversight, and bitbabke shoule be
able to warn about this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87724</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-07-09 07:45:58 +0000</bug_when>
    <thetext>yocto-check-layer does this already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90022</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-04-20 13:08:17 +0000</bug_when>
    <thetext>If you run our check-layer script this will be highlighted. It is hard for bitbake to test without having two runs to compare. If you have a proposal on how to make bitbake detect the change generically I&apos;m open to ideas but I can&apos;t see an easy way to have this work &quot;out the box&quot;. Hard to know what to mark this as in bugzilla, going for worksforme which isn&apos;t quite right but...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>