<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Can we restore meta/files/common-licenses/Elfutils-<span class="gmail-il">Exception in oe-core to be used by meta-gplv2 version:</span><div><span class="gmail-il"><br></span></div><div><span class="gmail-il">recipes-devtools/elfutils/elfutils_0.148.bb:LICENSE = &quot;(GPL-2+ &amp; Elfutils-Exception)&quot;<br></span></div><div><span class="gmail-il">causing:</span></div><div><span class="gmail-il">do_rootfs: The license listed Elfutils-Exception was not in the licenses collected for recipe elfutils<br></span></div><div><span class="gmail-il"><br></span></div><div><span class="gmail-il">or should I send patch for meta-gplv2 to restore it there together with another LICENSE_PATH += &quot;${LAYERDIR}/licenses&quot;?</span></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 11, 2019 at 6:01 PM Mikko Rapeli &lt;<a href="mailto:mikko.rapeli@bmw.de">mikko.rapeli@bmw.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Elfutils-Exception no longer exists after upstream release 0.154<br>
and commit:<br>
<br>
commit de2ed97f33139af5c7a0811e4ec66fc896a13cf2<br>
Author: Mark Wielaard &lt;<a href="mailto:mjw@redhat.com" target="_blank">mjw@redhat.com</a>&gt;<br>
Date:   Tue Jun 5 17:15:16 2012 +0200<br>
<br>
NEWS file in the sources says this about switch from GPLv2 to<br>
GPLv3 license:<br>
<br>
<a href="https://sourceware.org/git/?p=elfutils.git;a=blob;f=NEWS;h=5a06047f255e3c9a63828953759fd18a4ba9a3f3;hb=HEAD#l362" rel="noreferrer" target="_blank">https://sourceware.org/git/?p=elfutils.git;a=blob;f=NEWS;h=5a06047f255e3c9a63828953759fd18a4ba9a3f3;hb=HEAD#l362</a><br>
<br>
 362 The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone<br>
 363 programs. There is now also a formal CONTRIBUTING document describing how to<br>
 364 submit patches.<br>
<br>
libasm, libdw and libelf are thus covered optionally by GPLv2 license.<br>
<br>
See also Debian copyright summary for elfutils:<br>
<br>
<a href="https://tracker.debian.org/media/packages/e/elfutils/copyright-0.176-1" rel="noreferrer" target="_blank">https://tracker.debian.org/media/packages/e/elfutils/copyright-0.176-1</a><br>
<br>
Signed-off-by: Mikko Rapeli &lt;<a href="mailto:mikko.rapeli@bmw.de" target="_blank">mikko.rapeli@bmw.de</a>&gt;<br>
---<br>
 meta/conf/licenses.conf                          |  2 +-<br>
 meta/files/common-licenses/Elfutils-Exception    | 12 ------------<br>
 meta/recipes-devtools/elfutils/<a href="http://elfutils_0.176.bb" rel="noreferrer" target="_blank">elfutils_0.176.bb</a> | 14 +++++++++++++-<br>
 3 files changed, 14 insertions(+), 14 deletions(-)<br>
 delete mode 100644 meta/files/common-licenses/Elfutils-Exception<br>
<br>
v1: <a href="http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281124.html" rel="noreferrer" target="_blank">http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281124.html</a><br>
<br>
v2: <a href="http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281127.html" rel="noreferrer" target="_blank">http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281127.html</a><br>
 * removed Elfutils-Exception<br>
<br>
v3: <a href="http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281137.html" rel="noreferrer" target="_blank">http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281137.html</a><br>
 * rebase to latest master branch with elfutils 0.176<br>
<br>
v4:<br>
 * fixed typo in comment; GPLv3+ -&gt; LGPLv3+<br>
 * update commit message Debian copyright URL to same 0.176 version<br>
<br>
diff --git a/meta/conf/licenses.conf b/meta/conf/licenses.conf<br>
index 1058084..7b01c57 100644<br>
--- a/meta/conf/licenses.conf<br>
+++ b/meta/conf/licenses.conf<br>
@@ -16,7 +16,7 @@ SRC_DISTRIBUTE_LICENSES += &quot;CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0<br>
 SRC_DISTRIBUTE_LICENSES += &quot;CDDL-1.0 CECILL-1.0 CECILL-2.0 CECILL-B CECILL-C&quot;<br>
 SRC_DISTRIBUTE_LICENSES += &quot;ClArtistic CPAL-1.0 CPL-1.0 CUA-OPL-1.0 DSSSL&quot;<br>
 SRC_DISTRIBUTE_LICENSES += &quot;ECL-1.0 ECL-2.0 eCos-2.0 EDL-1.0 EFL-1.0 EFL-2.0&quot;<br>
-SRC_DISTRIBUTE_LICENSES += &quot;Elfutils-Exception Entessa EPL-1.0 EPL-2.0 ErlPL-1.1&quot;<br>
+SRC_DISTRIBUTE_LICENSES += &quot;Entessa EPL-1.0 EPL-2.0 ErlPL-1.1&quot;<br>
 SRC_DISTRIBUTE_LICENSES += &quot;EUDatagrid EUPL-1.0 EUPL-1.1 Fair Frameworx-1.0&quot;<br>
 SRC_DISTRIBUTE_LICENSES += &quot;FreeType GFDL-1.1 GFDL-1.2 GFDL-1.3 GPL-1.0&quot;<br>
 SRC_DISTRIBUTE_LICENSES += &quot;GPL-2.0 GPL-2.0-with-autoconf-exception&quot;<br>
diff --git a/meta/files/common-licenses/Elfutils-Exception b/meta/files/common-licenses/Elfutils-Exception<br>
deleted file mode 100644<br>
index 627d769..0000000<br>
--- a/meta/files/common-licenses/Elfutils-Exception<br>
+++ /dev/null<br>
@@ -1,12 +0,0 @@<br>
-   This file describes the limits of the Exception under which you are allowed<br>
-   to distribute Non-GPL Code in linked combination with Red Hat elfutils.<br>
-   For the full text of the license, please see one of the header files<br>
-   included with the source distribution or the file COPYING found in the<br>
-   top level directory of the source.<br>
-<br>
-   The Approved Interfaces are the functions declared in the files:<br>
-<br>
-   libelf.h<br>
-   libdw.h<br>
-   libdwfl.h<br>
-<br>
diff --git a/meta/recipes-devtools/elfutils/<a href="http://elfutils_0.176.bb" rel="noreferrer" target="_blank">elfutils_0.176.bb</a> b/meta/recipes-devtools/elfutils/<a href="http://elfutils_0.176.bb" rel="noreferrer" target="_blank">elfutils_0.176.bb</a><br>
index fd901c9..4602544 100644<br>
--- a/meta/recipes-devtools/elfutils/<a href="http://elfutils_0.176.bb" rel="noreferrer" target="_blank">elfutils_0.176.bb</a><br>
+++ b/meta/recipes-devtools/elfutils/<a href="http://elfutils_0.176.bb" rel="noreferrer" target="_blank">elfutils_0.176.bb</a><br>
@@ -1,7 +1,7 @@<br>
 SUMMARY = &quot;Utilities and libraries for handling compiled object files&quot;<br>
 HOMEPAGE = &quot;<a href="https://sourceware.org/elfutils" rel="noreferrer" target="_blank">https://sourceware.org/elfutils</a>&quot;<br>
 SECTION = &quot;base&quot;<br>
-LICENSE = &quot;(GPLv3 &amp; Elfutils-Exception)&quot;<br>
+LICENSE = &quot;GPLv2 &amp; LGPLv3+ &amp; GPLv3+&quot;<br>
 LIC_FILES_CHKSUM = &quot;file://COPYING;md5=d32239bcb673463ab874e80d47fae504&quot;<br>
 DEPENDS = &quot;libtool bzip2 zlib virtual/libintl&quot;<br>
 DEPENDS_append_libc-musl = &quot; argp-standalone fts &quot;<br>
@@ -53,6 +53,18 @@ BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
<br>
 # Package utilities separately<br>
 PACKAGES =+ &quot;${PN}-binutils libelf libasm libdw&quot;<br>
+<br>
+# shared libraries are licensed GPLv2 or LGPLv3+, binaries GPLv3+<br>
+# according to NEWS file:<br>
+# &quot;The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone<br>
+# programs. There is now also a formal CONTRIBUTING document describing how to<br>
+# submit patches.&quot;<br>
+LICENSE_${PN}-binutils = &quot;GPLv3+&quot;<br>
+LICENSE_${PN} = &quot;GPLv3+&quot;<br>
+LICENSE_libelf = &quot;GPLv2 | LGPLv3+&quot;<br>
+LICENSE_libasm = &quot;GPLv2 | LGPLv3+&quot;<br>
+LICENSE_libdw = &quot;GPLv2 | LGPLv3+&quot;<br>
+<br>
 FILES_${PN}-binutils = &quot;\<br>
     ${bindir}/eu-addr2line \<br>
     ${bindir}/eu-ld \<br>
-- <br>
1.9.1<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>