<?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>5592</bug_id>
          
          <creation_ts>2013-11-22 21:33:56 +0000</creation_ts>
          <short_desc>Whitelist processing does not play well with wildcards in INCOMPATIBLE_LICENSES</short_desc>
          <delta_ts>2014-12-22 01:53:41 +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.5</version>
          <rep_platform>x86</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.8 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeffrey Honig">jch</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>jeff.polk</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39046</commentid>
    <comment_count>0</comment_count>
    <who name="Jeffrey Honig">jch</who>
    <bug_when>2013-11-22 21:33:56 +0000</bug_when>
    <thetext>The whitelist processing in code in base.bbclass does not play well with wildcards in INCOMPATIBLE_LICENSES.  The code expects bad_licenses to contain actual license names, not wildcards.

Not sure if it&apos;s reasonable to try to expand wildcards enough to match whitelist names in base.bbclass, or remove support for wildcards altogether.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39126</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-11-28 15:39:50 +0000</bug_when>
    <thetext>We should probably just remove that functionality since its broken and not documented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44885</commentid>
    <comment_count>2</comment_count>
    <who name="Jeff Polk">jeff.polk</who>
    <bug_when>2014-07-31 15:15:38 +0000</bug_when>
    <thetext>Moving to 1.7 and reassigning to Jeff Honig per Mark.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47584</commentid>
    <comment_count>3</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-12-16 01:40:00 +0000</bug_when>
    <thetext>Test Steps:

mpfr is &quot;GPLv3 &amp; LGPLv3&quot;, less is &quot;GPLv3+ | BSD-2-Clause&quot; but listed in WHITELIST_GPL-3.0
So while INCOMPATIBLE_LICENSE = &quot;*GPL-3&quot;, we could build less, but skip mpfr.

$ bitbake less
...
NOTE: Tasks Summary: Attempted 587 tasks of which 440 didn&apos;t need to be rerun and all succeeded.
...

$ bitbake mpfr
...
ERROR: Nothing PROVIDES &apos;mpfr&apos;
ERROR: mpfr was skipped: incompatible with license GPLv3 &amp; LGPLv3

//Hongxu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47649</commentid>
    <comment_count>4</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-12-22 01:53:41 +0000</bug_when>
    <thetext>Merged into master:

commit 5f78cf9b4ee56937298eaa55a6fddabae8dd8bd4
Author: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Date:   Mon Dec 15 16:55:10 2014 +0800

    base/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSE


//Hongxu</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>