<?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>4014</bug_id>
          
          <creation_ts>2013-03-12 05:31:48 +0000</creation_ts>
          <short_desc>Regarding Licensing of &quot;mbsalign.c&quot; available in util-linux-2.21.2 version (Yocto-1.3-Danny)</short_desc>
          <delta_ts>2013-03-19 22:30:05 +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.3</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>major</bug_severity>
          <target_milestone>1.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gaurang Shastri">gmshastri</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>gmshastri</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>30637</commentid>
    <comment_count>0</comment_count>
    <who name="Gaurang Shastri">gmshastri</who>
    <bug_when>2013-03-12 05:31:48 +0000</bug_when>
    <thetext>Hi All,

I have some concerns regarding util-linux-2.21.2 version . As per Yocto-1.3 (danny) recipe,
{{{

LICENSE_${PN}-lscpu = &quot;GPLv3+&quot;  &lt;-- util-linux_2.21.2.bb

LICENSE = &quot;GPLv2+ &amp; LGPLv2.1+ &amp; BSD&quot;   &lt;-- util-linux.inc

}}}

So as per the above description, only lscpu is GPLv3.

But while looking into the source of util-linux-2.21.2, I found out that &quot;util-linux-2.21.2/lib/mbsalign.c&quot; is GPLv3 and it is used by following binaries while building:
{{{
  -  fdisk
  -  partx
}}}

So does it mean that the above binaries should also be GPLv3 and need to take care in util-linux.{bb,inc} ???

Regards,
Gaurang Shastri</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30756</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-03-15 16:18:26 +0000</bug_when>
    <thetext>There is a patch pending for the Upstream as well as for both master and danny.


On 03/15/2013 08:12 AM, Karel Zak wrote:
&gt; On Thu, Mar 14, 2013 at 06:49:17PM -0700, Saul Wold wrote:
&gt;&gt; I noticed that you changed the license of lscpu (not so recently),
&gt;
&gt; Yes, all authors of the code agreed with the change.
&gt;
&gt;&gt; I was doing an audit of the util-linux source code and noticed also that the
&gt;&gt; mbsalign.c code was added with GPLv3, it&apos;s the only part that is currently
&gt;&gt; GPLv3 in the util-linux code. As you know it&apos;s used by cal and lslock.
&gt;&gt;
&gt;&gt; Is there any specific reason that it&apos;s marked GPLv3? 
&gt;
&gt; It&apos;s originally Pádraig&apos;s code (added to CC).
&gt;
&gt; I have personally no problem to change the code to GPLv2 to make the 
&gt; package more consistent and without exceptions.
&gt;
&gt;&gt; Any chance of changing it to be GPLv2? 
&gt;
&gt; Pádraig, any objection? 

Actually LGPLv2+ is most appropriate for that.
The intent is that it&apos;s licensed under the LGPL anyway:

$ gnulib/gnulib-tool --local-dir gl --extract-license mbsalign
LGPL

When extracting this to util-linux I should have adjusted
the boilerplate default license in the file (which gnulib-tool
can do on import).

Please apply the attached patch.

thanks,
Pádraig.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30779</commentid>
    <comment_count>2</comment_count>
    <who name="Gaurang Shastri">gmshastri</who>
    <bug_when>2013-03-18 05:02:54 +0000</bug_when>
    <thetext>&gt;&gt; Please apply the attached patch.

&gt;&gt; thanks,
&gt;&gt; Pádraig.

Dear Padraig,

Can you attach the patch on this ticket ?

Regards,
Gaurang Shastri</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30876</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-03-19 22:30:05 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2381e46e77c8d33472f60861f66e44addd53af68</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>