<?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>6930</bug_id>
          
          <creation_ts>2014-11-04 15:38:11 +0000</creation_ts>
          <short_desc>non GPLv3 build selects wrong recipe when license specifies GPLv3+</short_desc>
          <delta_ts>2015-03-13 08:42:48 +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.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>TC needed</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Holger Behrens">holger.behrens</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>akuster</cc>
    
    <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Costin">costin.c.constantin</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>46745</commentid>
    <comment_count>0</comment_count>
      <attachid>2225</attachid>
    <who name="Holger Behrens">holger.behrens</who>
    <bug_when>2014-11-04 15:38:11 +0000</bug_when>
    <thetext>Created attachment 2225
license.manifest

Using YP 1.7 (dizzy), build core-image-minimal with
    INCOMPATIBLE_LICENSE = &quot;GPLv3&quot;
in local.conf; to make sure that readline is added to the image I added
    IMAGE_INSTALL_append = &quot; gnupg&quot;
to local.conf

Once build is done, check the license.manifest, e.g.
    tmp/deploy/licenses/core-image-minimal-qemux86-20141104134601/license.manifest

Searching for GPLv3 reveals this:

PACKAGE NAME: libreadline6
PACKAGE VERSION: 6.3
RECIPE NAME: readline
LICENSE: GPLv3+


So instead of readline_5.2.bb (which is GPLv2) readline_6.3.bb is selected even so it is a non GPLv3 build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46746</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-11-04 15:53:01 +0000</bug_when>
    <thetext>This is a regression in 1.7 and may relate to the canonicalisation of licenses. A patch relating to this was submitted recently and does appear to resolve the issue:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8c051c8c318b5dba8da968850dccd64238d19619

If this is indeed the correct fix it will need to be backported to the dizzy branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46757</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-11-05 12:09:53 +0000</bug_when>
    <thetext>Richard has now applied the above patch to the dizzy branch for 1.7.1:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dizzy&amp;id=f3a177cf045b19612b7d2c96889ac24307191c3d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46758</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-11-05 12:13:39 +0000</bug_when>
    <thetext>For clarity, this doesn&apos;t just affect readline, it affects any recipe where license ends in + and isn&apos;t already in SPDX form (i.e. &quot;GPLv3+&quot; when INCOMPATIBLE_LICENSE = &quot;GPLv3&quot;). I&apos;ve updated the title of the bug accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49442</commentid>
    <comment_count>4</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-03-13 08:42:48 +0000</bug_when>
    <thetext>Hello,

Tested as on comment#1 both on dizzy (93e3df91aaebd48b9c4af946247f3488681d32b6) and on master (c60786cec04230cc4318d269d29029de76012fb0) on Ubuntu 14.10. Everything is fine. Marking as verified.

cosscat@ubnt:/media/yp_builds/poky/build/tmp/deploy/licenses/core-image-minimal-qemux86-20150313075039$ grep -i gpl3 license.manifest
cosscat@ubnt:/media/yp_builds/poky/build/tmp/deploy/licenses/core-image-minimal-qemux86-20150313075039$ pwd
/media/yp_builds/poky/build/tmp/deploy/licenses/core-image-minimal-qemux86-20150313075039

Costin</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2225</attachid>
            <date>2014-11-04 15:38:11 +0000</date>
            <delta_ts>2014-11-04 15:38:11 +0000</delta_ts>
            <desc>license.manifest</desc>
            <filename>license.manifest</filename>
            <type>text/cache-manifest</type>
            <size>3204</size>
            <attacher name="Holger Behrens">holger.behrens</attacher>
            
              <data encoding="base64">UEFDS0FHRSBOQU1FOiBiYXNlLWZpbGVzClBBQ0tBR0UgVkVSU0lPTjogMy4wLjE0ClJFQ0lQRSBO
QU1FOiBiYXNlLWZpbGVzCkxJQ0VOU0U6IEdQTHYyCgpQQUNLQUdFIE5BTUU6IGJhc2UtcGFzc3dk
ClBBQ0tBR0UgVkVSU0lPTjogMy41LjI5ClJFQ0lQRSBOQU1FOiBiYXNlLXBhc3N3ZApMSUNFTlNF
OiBHUEx2MisKClBBQ0tBR0UgTkFNRTogYnVzeWJveApQQUNLQUdFIFZFUlNJT046IDEuMjIuMQpS
RUNJUEUgTkFNRTogYnVzeWJveApMSUNFTlNFOiBHUEx2MiBiemlwMgoKUEFDS0FHRSBOQU1FOiBi
dXN5Ym94L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