Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 24514200CD1 for ; Wed, 12 Jul 2017 05:58:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 22D3F1679EA; Wed, 12 Jul 2017 03:58:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1A868167A6E for ; Wed, 12 Jul 2017 05:58:57 +0200 (CEST) Received: (qmail 8692 invoked by uid 500); 12 Jul 2017 03:58:57 -0000 Mailing-List: contact dev-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list dev@mxnet.incubator.apache.org Received: (qmail 8638 invoked by uid 99); 12 Jul 2017 03:58:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2017 03:58:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6D817195B55 for ; Wed, 12 Jul 2017 03:58:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.379 X-Spam-Level: *** X-Spam-Status: No, score=3.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id fp6iEhdEA2n6 for ; Wed, 12 Jul 2017 03:58:48 +0000 (UTC) Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com [209.85.216.177]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 690816299A for ; Wed, 12 Jul 2017 03:21:53 +0000 (UTC) Received: by mail-qt0-f177.google.com with SMTP id 32so8928023qtv.1 for ; Tue, 11 Jul 2017 20:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=BqwKsYaIbPy0g9pbMUPAIzt0ChCuvOMOZ3+Nw35MO04=; b=WoAmm0BhotMFuZVmJBerkdiK6lhQuogl1Vqh20pgqM17Kn9qXVy9lAZpms9PQymEMo Sg+ol3jbQEQl3VVskc6JLgMX28uPQvkeXMbsY4kHYkj0P5ggDob6ezpGRceLBEKVS2CQ iyyqN2ytupYzgE7a80F61Yihbq6xN5L4OJXCTW0mJaEFLI79tn2n1X5LDAeokNwtvlzS ANFA3D9poCLEmJ8UCRJJapVvV2zUTkhlCz/2gVULZPBg2XlBp/t8c9Vg/cw/ayGH2fs1 mZOapmRf1fhzU5kDdofKnkStkDJo30gyIe7cwbPBP1FN5MDbMyHmdPxGx2zptaD5N/Uu nT+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=BqwKsYaIbPy0g9pbMUPAIzt0ChCuvOMOZ3+Nw35MO04=; b=As9k8gUxJAp51bXJuV6QjdRt/Rkx+uNlxNNugF5CrN/tZWcTZe2VxyAL78deA5Kcds kQt039NrAkIK0ycgvvETsEYAZgj8bKG5R72rIknEss6D8/QsuU/ZkuEkruRpKM3VKfCa LyG6dOKTMaHCppObczStxu21eLumy1c8QZJCuyceC7asyb/ABfZ920o7EXywgq4YSwQL N9tou8t542faooGbxcxrxbcNdAs9BMRW+WoBLR7H0Y1ytuIvimSvnfGeTbwbRXDuzNRy Uud3cBPez21XZWOFbSfdw+f95FUZ30dnGpA+2HklTdPP+bt76iwLO8yOvKXudHR8M/EO mOTw== X-Gm-Message-State: AIVw1124TvvHOduzxTmbrdIlL7h/K0eEzY/OSnBhzj93a9Nx26Ek99Hb xP2NmcAli7hA/oZ2o2dDMYeH74U1sRqy X-Received: by 10.200.57.25 with SMTP id s25mr3952127qtb.141.1499829712842; Tue, 11 Jul 2017 20:21:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.136.6 with HTTP; Tue, 11 Jul 2017 20:21:12 -0700 (PDT) In-Reply-To: References: From: Naveen Swamy Date: Tue, 11 Jul 2017 20:21:12 -0700 Message-ID: Subject: Re: Rcpp licensing in Apache MXNet To: dev@mxnet.incubator.apache.org Content-Type: multipart/alternative; boundary="001a113a7af041f5ea05541651c5" archived-at: Wed, 12 Jul 2017 03:58:59 -0000 --001a113a7af041f5ea05541651c5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ly, Can we skip R pkg for the proposed release as KK mentioned and add it/alter based on the advice we get from ASF legal? ---KK Says--- As I understand, if we skip the R pkg when releasing the a new version of MXNet, everything is OK. This is can be done by adding a .gitattribute. --- others, thoughts/concerns? Thanks, Naveen On Tue, Jul 11, 2017 at 3:56 PM, Ly Nguyen wrote: > Hey KK, > > I know we're planning a release end of this week/beginning of next week. = It > may be critical to get this cleared if it is an issue. Eager to hear back= . > :) > > On Tue, Jul 11, 2017 at 3:35 PM, Qiang Kou wrote: > > > Hi, Ly, > > > > I will let you know when I have the answer. > > > > Best, > > > > KK > > > > On Tue, Jul 11, 2017 at 10:50 AM, Ly Nguyen wrote= : > > > > > Hi @KK, any updates from legal on whether excluding the R pkg is a > > solution > > > for our next release? > > > > > > On Mon, Jul 10, 2017 at 10:49 AM, Qiang Kou wrote= : > > > > > > > Thank you for the info. > > > > > > > > As I understand, if we skip the R pkg when releasing the a new > version > > of > > > > MXNet, everything is OK. This is can be done by adding a > .gitattribute. > > > > > > > > I will ask on legal-discuss@ for more info and confirmation. > > > > > > > > Really thank you for all the info! It is super helpful. > > > > > > > > Best, > > > > > > > > KK > > > > > > > > > > > > On Fri, Jul 7, 2017 at 8:47 AM, Felix Cheung < > > felixcheung_m@hotmail.com> > > > > wrote: > > > > > > > > > I was only referring to string_hash_code.c - it's not being built > and > > > > it's > > > > > not part of the binaries release. > > > > > > > > > > There are two parts to it. > > > > > > > > > > For Spark binaries release, R package is built and the output is > > > packaged > > > > > along with the rest of all jars and python stuff. > > > > > > > > > > There is also a source-only R package that we want to publish to > > CRAN. > > > > > This contains only R source (no java stuff). CRAN will then build > > cross > > > > > platform from that source - but again the part with > > string_hash_code.c > > > is > > > > > disabled. > > > > > > > > > > I guess we should have removed string_hash_code.c from source but > we > > > are > > > > > secretly hoping we could sort that out at some point in the > future.. > > > (ie. > > > > > building cross platform) > > > > > > > > > > > > > > > _____________________________ > > > > > From: Qiang Kou > > > > > > Sent: Friday, July 7, 2017 8:34 AM > > > > > Subject: Re: Rcpp licensing in Apache MXNet > > > > > To: > > > incubator.apache.org > > > > > >> > > > > > > > > > > > > > > > Really thank you for the info. > > > > > > > > > > Can you tell us a little more on how Spark handles the R package? > > > > > > > > > > The building of R package is skipped when releasing, right? > > > > > > > > > > Best wishes, > > > > > > > > > > KK > > > > > > > > > > On Fri, Jul 7, 2017 at 7:41 AM, Felix Cheung < > > > felixcheung_m@hotmail.com< > > > > > mailto:felixcheung_m@hotmail.com>> > > > > > wrote: > > > > > > > > > > > Re this > > > > > > > > > > > > The Spark R package includes "R.h" and "Rinternals.h", which ar= e > > both > > > > > LGPL > > > > > > ( > > > > > > https://github.com/apache/spark/blob/master/R/pkg/src- > > > > > > native/string_hash_code.c#L24-L25 > > > > > > ). > > > > > > > > > > > > This is actually disabled - it is not getting built and it is n= ot > > in > > > > the > > > > > > release - because the way SparkR is packaged in Spark release w= e > > > > haven't > > > > > > figured out how to release cross multiple platforms. > > > > > > > > > > > > (I'm one of the main contributor to SparkR) > > > > > > > > > > > > ________________________________ > > > > > > From: Henri Yandell >> > > > > > > Sent: Friday, July 7, 2017 12:02:16 AM > > > > > > To: dev@mxnet.incubator.apache.org > > > apache.org > > > > > > > > > > > > Subject: Re: Rcpp licensing in Apache MXNet > > > > > > > > > > > > We should bring this up on general@incubator or legal-discuss@. > > > > > > > > > > > > On Thu, Jul 6, 2017 at 10:59 PM, Qiang Kou > > > > > > qkou@umail.iu.edu>> wrote: > > > > > > > > > > > > > Really thank you for the clearance. > > > > > > > > > > > > > > From the link you provided, > > > > > > > > > > > > > > "However, if the component is only needed for optional > features, > > a > > > > > > project > > > > > > > can provide the user with instructions on how to obtain and > > install > > > > the > > > > > > > non-included work." > > > > > > > > > > > > > > I think this is exactly our case. We provide instructions on > how > > to > > > > > > install > > > > > > > GNU R and the Rcpp package. > > > > > > > > > > > > > > Besides, our case is very similar with Spark. > > > > > > > > > > > > > > The Spark R package includes "R.h" and "Rinternals.h", which > are > > > both > > > > > > LGPL > > > > > > > ( > > > > > > > https://github.com/apache/spark/blob/master/R/pkg/src- > > > > > > > native/string_hash_code.c#L24-L25 > > > > > > > ). > > > > > > > > > > > > > > Best wishes, > > > > > > > > > > > > > > Qiang Kou > > > > > > > > > > > > > > On Thu, Jul 6, 2017 at 6:09 PM, Felix Cheung < > > > > > felixcheung_m@hotmail.com> > > > > > > > wrote: > > > > > > > > > > > > > > > I'm not the authority on this but a release from an ASF > project > > > is > > > > > > > > different from releasing with the Apache 2.0 license. > > > > > > > > > > > > > > > > You can find more out this here > > > > > > > > https://www.apache.org/legal/resolved.html#optional > > > > > > > > > > > > > > > > Specifically, quote: > > > > > > > > "Optional means that the component is not required for > standard > > > use > > > > > of > > > > > > > the > > > > > > > > product or for the product to achieve a desirable level of > > > > quality." > > > > > > > > > > > > > > > > Basically my interpretation is that if an ASF project canno= t > > > > function > > > > > > > > without a component, then it is required and such required > > > > component > > > > > > > cannot > > > > > > > > be one of the prohibited licenses. > > > > > > > > > > > > > > > > https://www.apache.org/legal/resolved.html#category-x > > > > > > > > > > > > > > > > Probably a good idea to start a thread with legal@ if there > > are > > > > more > > > > > > > > questions. > > > > > > > > > > > > > > > > _____________________________ > > > > > > > > From: Qiang Kou > > > > > > > > qkou@umail.iu.edu>> > > > > > > > > Sent: Thursday, July 6, 2017 3:41 PM > > > > > > > > Subject: Re: Rcpp licensing in Apache MXNet > > > > > > > > To: > > > > incubator.apache.org> > > > > > > incubator.apache.org > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > Hi, Felix, > > > > > > > > > > > > > > > > I just want to make sure there is no misunderstanding betwe= en > > us. > > > > > > > > > > > > > > > > (1) The MXNet R package heavily used the Rcpp package, but = we > > > only > > > > > > > include > > > > > > > > the > > > > > > > > header file, Rcpp.h, like https://github.com/dmlc/mxnet/ > > > > > > > > blob/master/R-package/src/base.h#L11 > > > > > > > > > > > > > > > > The MXNet R package doesn't contain any source code from Rc= pp > > and > > > > > there > > > > > > > is > > > > > > > > no linking against Rcpp. > > > > > > > > > > > > > > > > (2) There is "LinkingTo: Rcpp" in the R package description= ( > > > > > > > > https://github.com/dmlc/mxnet/blob/master/R-package/ > > > > DESCRIPTION#L32 > > > > > ). > > > > > > > > However, this only means we want to use the header files fr= om > > > Rcpp. > > > > > > > > > > > > > > > > "A package that wishes to make use of header files in other > > > > > > > > packages needs to declare them as a > > > > > > > > comma-separated list in the field =E2=80=98LinkingTo=E2=80= =99 in the > > DESCRIPTION > > > > > file. > > > > > > " > > > > > > > > > > > > > > > > More details can be found from R's official manual ( > > > > > > > > https://cran.r-project.org/doc/manuals/r-release/R-exts. > > > > > > > > html#Package-Dependencies). > > > > > > > > > > > > > > > > (3) Many R packages who use Rcpp to communicate with C++ ha= ve > > > been > > > > > > > released > > > > > > > > under Apache License, like feather (https://github.com/wesm= / > > > > > > > > feather/blob/master/R/DESCRIPTION). > > > > > > > > > > > > > > > > Best, > > > > > > > > > > > > > > > > Qiang Kou > > > > > > > > > > > > > > > > On Thu, Jul 6, 2017 at 1:20 AM, Felix Cheung < > > > > > > felixcheung_m@hotmail.com< > > > > > > > > mailto:felixcheung_m@hotmail.com>> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > On a related note, Rcpp, used extensively in the R packag= e, > > is > > > > > > > > GPLv2/GPLv3 > > > > > > > > > licensed. > > > > > > > > > > > > > > > > > > I'm not aware of any other R package available that > supports > > > > > R<->C++. > > > > > > > > > > > > > > > > > > https://www.apache.org/legal/resolved.html#category-x > > > > > > > > > https://cran.r-project.org/web/packages/Rcpp/index.html > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Qiang Kou > > > > > > > qkou@umail.iu.edu > > > > > > > School of Informatics and Computing, Indiana University > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Qiang Kou > > > > > qkou@umail.iu.edu > > > > > School of Informatics and Computing, Indiana University > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Qiang Kou > > > > qkou@umail.iu.edu > > > > School of Informatics and Computing, Indiana University > > > > > > > > > > > > > > > -- > > Qiang Kou > > qkou@umail.iu.edu > > School of Informatics and Computing, Indiana University > > > --001a113a7af041f5ea05541651c5--