<?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>13920</bug_id>
          
          <creation_ts>2020-05-25 10:05:06 +0000</creation_ts>
          <short_desc>uninative tarball license compliance in ESDK</short_desc>
          <delta_ts>2026-04-23 15:27:42 +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>3.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tgamblin</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87328</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2020-05-25 10:05:06 +0000</bug_when>
    <thetext>The uninative tarball is by default downloaded as a tarball to build the native SDK.

e.g. here[1] we can see that that x86_64-nativesdk-libc.host.manifest contains something and that the x86_64-nativesdk-libc.target.manifest is empty.

So I would assume that if you deliver an SDK the uninative tarball sources, license text and versions should be delivered as well as part of the open source license compliance.

In deploy/sdk/xxx.host.manifest the packages from uninative seem to be missing.

... and ...

I build a core-image-minimal and a core-image-minimal -c populate_sdk with this is my local.conf:

# include license text in image
COPY_LIC_MANIFEST = &quot;1&quot;
COPY_LIC_DIRS = &quot;1&quot;

# archiver class settings
INHERIT += &quot;archiver&quot;
ARCHIVER_MODE[src] = &quot;original&quot;
ARCHIVER_MODE[diff] = &quot;1&quot;
ARCHIVER_MODE[dumpdata] = &quot;1&quot;
ARCHIVER_MODE[recipe] = &quot;1&quot;
COPYLEFT_LICENSE_INCLUDE = &quot;GPL* LGPL* hello*&quot;
COPYLEFT_LICENSE_EXCLUDE = &apos;CLOSED Proprietary&apos;
# if you don&apos;t release and SDK:
#COPYLEFT_RECIPE_TYPES = &apos;target&apos;
# if you release the SDK:
#COPYLEFT_RECIPE_TYPES += &apos;nativesdk&apos;
# all by default!

# 9) Config the recipe type that will be archived, the type can be
#    target, native, nativesdk, cross, crosssdk and cross-canadian,
#    you can set one or more types. Archive all types by default.
#COPYLEFT_RECIPE_TYPES = &apos;target&apos;

Same here: source code, and package information for uninative seem to be missing.

[1] http://downloads.yoctoproject.org/releases/uninative/2.8/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87329</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2020-05-25 10:26:08 +0000</bug_when>
    <thetext>I tried to BitBake with the same settings my own uninative-tarball

Now I got in deploy/licenses/uninative-tarball

MIT license

which comes from the recipe and I guess is WRONG.

TOOLCHAIN_HOST_TASK = &quot;\
    nativesdk-glibc \
    nativesdk-glibc-gconv-ibm850 \
    nativesdk-glibc-gconv-iso8859-1 \
    nativesdk-glibc-gconv-utf-16 \
    nativesdk-glibc-gconv-cp1252 \
    nativesdk-glibc-gconv-euc-jp \
    nativesdk-glibc-gconv-libjis \
    nativesdk-patchelf \
    nativesdk-libxcrypt \
    nativesdk-libxcrypt-compat \
    nativesdk-libnss-nis \
    &quot;
glibc:     something like GPL/LGPL 2?
patchelf:  GPLv3
libxcrypt  LGPLv2.1
libnss-nis LGPL-2.1

as a side note:

now (after building the uninative-tarball) it looks like licenses and sources are available where they should be. 

What is the suggested workflow with uninative-tarball with respect to license compliance.

According to the mega manual:

&quot;Alternatively, if you wish to build your own uninative tarball, you can do so by building the uninative-tarball recipe, making it available to your build machines (e.g. over HTTP/HTTPS) and setting a similar configuration as the one set by yocto-uninative.inc.&quot;

Like this we loose again our license compliance artifacts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95755</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2023-06-20 15:06:30 +0000</bug_when>
    <thetext>The doc[1] says:

The uninative class is also used unconditionally by the extensible SDK. When building the extensible SDK, uninative-tarball is built and the resulting tarball is included within the SDK.

[1] https://docs.yoctoproject.org/singleindex.html#uninative

If that&apos;s the case we can probably close this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96080</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-07-26 21:22:02 +0000</bug_when>
    <thetext>Bulk move of 64 bugs to 4.3 M3 after a quick review.
If a bug is actually fixed, please add a commit link and resolve it.
-- Randy for YP bug team.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96462</commentid>
    <comment_count>4</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2023-09-14 16:36:04 +0000</bug_when>
    <thetext>Moved to M4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97075</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-30 15:29:13 +0000</bug_when>
    <thetext>Bulk move to 5.0 M1. -- Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97688</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-12-21 23:28:32 +0000</bug_when>
    <thetext>Bulk move of 52 5.0-M1 bugs to M2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97998</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-01-25 14:28:47 +0000</bug_when>
    <thetext>Bulk move of bugs owned by &quot;unassigned&quot; from 5.0-M2 to 5.0-M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98288</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-02-22 19:53:20 +0000</bug_when>
    <thetext>Bulk move of bugs from 5.0-M3 to 5.99.
The bugs in this list are all unassigned and are ones that I consider to be nice to do some time but not essential track from milestone to milestone in 5.0 or 5.1. We agreed on this bug handling approach in the YP bug review on Feb 22, 2024.

If you disagree, please move back to a 5.[012...]-M* milestone.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>