<?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>8199</bug_id>
          
          <creation_ts>2015-08-21 22:20:44 +0000</creation_ts>
          <short_desc>Bitbake does not give incompatible license error on provided package</short_desc>
          <delta_ts>2015-08-24 10:31:37 +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>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alan Olsen">alanx.olsen</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</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>53340</commentid>
    <comment_count>0</comment_count>
    <who name="Alan Olsen">alanx.olsen</who>
    <bug_when>2015-08-21 22:20:44 +0000</bug_when>
    <thetext>We have the following set in localconf:

INCOMPATIBLE_LICENSE = &quot;LGPLv3 GPLv3&quot;

We have a build that contains a package that is provided by a meta yocto recipe that is not the main package. The build fails (as it should) but does not provide the error message giving the correct reason why it fails.

Reproducible test case:

If you build &quot;bitbake gdb&quot; with the above set, it will fail with the incompatible license violation.

If you build &quot;bitbake gdbserver&quot; it will claim it cannot find the package. gdbserver is provided by gdb.

If the gdbserver requirement is the first package seen with the license issue, it fails, but gives the wrong error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53346</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-08-24 10:31:37 +0000</bug_when>
    <thetext>bitbake takes recipe names not package names, so &quot;bitbake gdb&quot; is the correct invocation and &quot;bitbake gdbserver&quot; is expected to fail.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>