<?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>5622</bug_id>
          
          <creation_ts>2013-12-02 12:06:33 +0000</creation_ts>
          <short_desc>INCOMPATIBLE_LICENSE does not map licenses using SPDXLICENSEMAP</short_desc>
          <delta_ts>2014-07-21 10:36:31 +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>OE-Core</product>
          <component>core</component>
          <version>1.6</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</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>39183</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-12-02 12:06:33 +0000</bug_when>
    <thetext>In other parts of the licensing code, we support mapping of traditional OE LICENSE field values to their official SPDX counterparts via the SPDXLICENSEMAP variable. However, it seems with INCOMPATIBLE_LICENSE this mapping is not used; thus, if a recipe sets LICENSE = &quot;GPL-3.0&quot; and INCOMPATIBLE_LICENSE is set to &quot;GPLv3&quot; the recipe will not be excluded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44454</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-07-11 23:21:52 +0000</bug_when>
    <thetext>Just discovered this independently, this is pretty broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44458</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-07-14 07:33:35 +0000</bug_when>
    <thetext>So, 

I am marking the doc flag as &quot;Yes&quot; for this new bug as it seems that once this bug is fixed I need to go in and change some examples to use the SPDX names?  If this is not the case, let me know here.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44463</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-07-14 09:41:00 +0000</bug_when>
    <thetext>Not really, no; we just need the mapping to be done in this part of the code just like it is elsewhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44464</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-07-14 09:42:20 +0000</bug_when>
    <thetext>Paul, 

Ok - resetting flag to &quot;No&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44465</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-07-14 10:25:48 +0000</bug_when>
    <thetext>Patch sent to oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44585</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-07-21 10:36:31 +0000</bug_when>
    <thetext>Fixed in oe-core 5b6cdac26e35e9a3b8b09185fc16765fa99dfe5f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>