<?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>15168</bug_id>
          
          <creation_ts>2023-07-22 04:53:31 +0000</creation_ts>
          <short_desc>elfutils: wrong license</short_desc>
          <delta_ts>2024-01-10 20:42:44 +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>devtools / tool chain</component>
          <version>unspecified</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>NIR 10/20, NIR 10/27, NIR 11/03</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nick Owens">nick.owens</reporter>
          <assigned_to name="William Lyu">william.lyu</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>96018</commentid>
    <comment_count>0</comment_count>
    <who name="Nick Owens">nick.owens</who>
    <bug_when>2023-07-22 04:53:31 +0000</bug_when>
    <thetext>elfutils is currently marked as

    LICENSE = &quot;GPL-2.0-only &amp; GPL-2.0-or-later &amp; LGPL-3.0-or-later &amp; GPL-3.0-or-later&quot;

which i believe to be incorrect.

upstream https://sourceware.org/elfutils/ says:

    License. The libraries and backends are dual GPLv2+/LGPLv3+. The utilities are GPLv3+.

which i believe can be interpreted as giving the user a choice of license, and the source code (e.g. https://sourceware.org/git/?p=elfutils.git;a=blob;f=libelf/common.h;h=9b2a856d118a55c0977bbc8d9978d8f6b42f18b3;hb=HEAD#l6) says the same.

gentoo also agrees with me, and their ebuild uses `||` which implies user choice of license: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/elfutils/elfutils-0.189-r3.ebuild?id=0c64ab06a4ba2c73f3840be7aa49e34f42c13696#n14

    LICENSE=&quot;|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )&quot;

i would like to see the yocto metadata updated to match the upstream license.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96124</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-07-27 14:39:39 +0000</bug_when>
    <thetext>Thanks Nick,
Are you about to send a patch to the list?
Randy for the YP bug triage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96625</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-05 14:56:22 +0000</bug_when>
    <thetext>Nick, please let me know if you can send a patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97235</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-11-09 16:00:28 +0000</bug_when>
    <thetext>A good intro do licensing for William.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97720</commentid>
    <comment_count>4</comment_count>
    <who name="William Lyu">william.lyu</who>
    <bug_when>2024-01-02 16:59:09 +0000</bug_when>
    <thetext>A patch is submitted to the openembedded-core upstream. Waiting for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97770</commentid>
    <comment_count>5</comment_count>
    <who name="William Lyu">william.lyu</who>
    <bug_when>2024-01-10 20:42:44 +0000</bug_when>
    <thetext>A patch is accepted by the upstream:

https://git.openembedded.org/openembedded-core/commit/?id=c0728805f24cbd6a788871ae54af4ec8307e40d4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>