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 5A3D4200CBE for ; Fri, 7 Jul 2017 17:48:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 58B4716966A; Fri, 7 Jul 2017 15:48:01 +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 4FB69169669 for ; Fri, 7 Jul 2017 17:48:00 +0200 (CEST) Received: (qmail 45144 invoked by uid 500); 7 Jul 2017 15:47:59 -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 45132 invoked by uid 99); 7 Jul 2017 15:47:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2017 15:47:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BBD72C00B6 for ; Fri, 7 Jul 2017 15:47:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.085 X-Spam-Level: *** X-Spam-Status: No, score=3.085 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_HOTMAIL_RCVD2=1.187, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id dR9NdalbCglN for ; Fri, 7 Jul 2017 15:47:54 +0000 (UTC) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-oln040092008049.outbound.protection.outlook.com [40.92.8.49]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E0B465FAC9 for ; Fri, 7 Jul 2017 15:47:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1qsFpQ6+a/X+5YSttcVKF2OtHZARy1iAx0rFeMDKLME=; b=BAoEnX5m08XhumSs+DrObt/08ppITimAXrryukSZ8tPXXJPmwRG7BytIjCFc52OdXByZtrrNyZwMlRTmLAwcVRlVHFZwDnwF93tHiYI3CZa7tpejQ59VpMTll6c2ZwQpIKLrRZ6iab643Vc5EvA4VniKm2aksja9A4PtElrIgS1LJrA2WxvVFCHDKd28fl8krJ9w1nWZyj8VUrDZmipgc/OG3B6GY1KYrt3QOgcI9A94rfAPYW51DFzRMlQmdgLfsntD5x60O6FCnjETg9p9sE28UHrjfEeaIRiYjsu9nwb7Lkyn1AacMHq2SKD4Me+9h47SNvJtXatw+d7lYNFU2g== Received: from DM3NAM03FT008.eop-NAM03.prod.protection.outlook.com (10.152.82.58) by DM3NAM03HT013.eop-NAM03.prod.protection.outlook.com (10.152.82.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1240.9; Fri, 7 Jul 2017 15:47:46 +0000 Received: from DM5PR04MB0747.namprd04.prod.outlook.com (10.152.82.54) by DM3NAM03FT008.mail.protection.outlook.com (10.152.82.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.9 via Frontend Transport; Fri, 7 Jul 2017 15:47:40 +0000 Received: from DM5PR04MB0747.namprd04.prod.outlook.com ([10.172.188.9]) by DM5PR04MB0747.namprd04.prod.outlook.com ([10.172.188.9]) with mapi id 15.01.1240.013; Fri, 7 Jul 2017 15:47:35 +0000 From: Felix Cheung To: "dev@mxnet.incubator.apache.org" , "dev@mxnet.incubator.apache.org" Subject: Re: Rcpp licensing in Apache MXNet Thread-Topic: Rcpp licensing in Apache MXNet Thread-Index: AQHS9jCpRQszS0IOw0SeujiblhMDwaJHZYIAgAApW2qAAFE7gIAAEXUAgACAZlyAAA6NAIAAA9Kl Date: Fri, 7 Jul 2017 15:47:35 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mxnet.incubator.apache.org; dkim=none (message not signed) header.d=none;mxnet.incubator.apache.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:4C162ED840CF62935E769AE0054B263B79311C6802B6A89B5BFC483930A155BA;UpperCasedChecksum:7E749328230EBDBC55F936EB29AB986C5D31A658DC366380A30195D1DB2E28B3;SizeAsReceived:7841;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [NweT9Iq8HT6pWs7apzW7J0CZCLRnt1EV] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM3NAM03HT013;7:RMYCR7HlyneUd96uBa3NFcOO67VAdrSnsTN77i1GRWMMr4haRnwvSESqVHt+Mpha/dSXjALun8xHUfaIhVNIFncy4sWIcYzdZugarSOfk2DcZFA8YTlJQbSVCvSS+yGNQNqDVRxTEsSTGQKFqe1snBGzcB+vDePOqWRW8aoDpMbCw24thobGiVB9w0CwRsHp5lP1mNM6KwsMfE4XufC3E5AZ1+kheAopsyxLBxuuKAuWP5tWCfnLWqK/CgwP2ydm0LHCV68jxnURvgEOwDjXGAenykrbHD5QR2S5PyCjn0XoyTHUwD8m3kiH5tQo2Hl8OHt/Fme8nTqpo8HWFnm5cVZod5kBAAoQY8tYbFVxcWcLeEbSUDhwRJZUsGws/sxiUMga5jB9f1Twrgz0tcd8URegP8e0kbZm+WZcuV+j1KSG3rTLAf446fQfL16UmJcYdrdEIpeiLU7fh8G8m0qmKBzvPRZ8KeKpm7ddK6uKnNOm3OIggqow8ck8l0dHI1eSzhtLCklcri+3fD9DSARYi4LoJURYNnqe9BCkvqKNu9Sx050JXWhOs1RVmK2obnGWnRt3jMIHrZKIqxsmCsiHnx44f9PLx9WA5bQYBPtfOSHvvhsMz+KLVG7OYXE78QVZ0gaaRblt+DcoO1D4oJigl6Kr97tTHN2DJQDZnSl/ia7zqrdwX1BxIRy3JHdZPbbxsuHaHvUc/mSgK260aKSBoTyi52TbsKGkHoOgNlx75E/GgErDa/RLcDtSAyq+5wrL3oMEbpU7n7MsyVwiOAAqJg== x-incomingheadercount: 45 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:DM3NAM03HT013;H:DM5PR04MB0747.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 5d649a60-268b-4fb2-8e70-08d4c54f7d03 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DM3NAM03HT013; x-ms-traffictypediagnostic: DM3NAM03HT013: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031);SRVR:DM3NAM03HT013;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM3NAM03HT013; x-forefront-prvs: 0361212EA8 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_DM5PR04MB0747DC6A720E42C5FF9D3A0091AA0DM5PR04MB0747namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2017 15:47:35.6087 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT013 archived-at: Fri, 07 Jul 2017 15:48:01 -0000 --_000_DM5PR04MB0747DC6A720E42C5FF9D3A0091AA0DM5PR04MB0747namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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 a= long 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 platfor= m 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 se= cretly hoping we could sort that out at some point in the future.. (ie. bui= lding cross platform) _____________________________ From: Qiang Kou > Sent: Friday, July 7, 2017 8:34 AM Subject: Re: Rcpp licensing in Apache MXNet To: > 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 > wrote: > Re this > > The Spark R package includes "R.h" and "Rinternals.h", which are both LGP= L > ( > 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 not in the > release - because the way SparkR is packaged in Spark release we 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 > 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 > 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 > > > 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 o= f > > the > > > product or for the product to achieve a desirable level of quality." > > > > > > Basically my interpretation is that if an ASF project cannot 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 > > > > Sent: Thursday, July 6, 2017 3:41 PM > > > Subject: Re: Rcpp licensing in Apache MXNet > > > To: > incubator.apache.org > > > >> > > > > > > > > > Hi, Felix, > > > > > > I just want to make sure there is no misunderstanding between 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 Rcpp and the= re > > 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 from 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 =91LinkingTo=92 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++ have 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 package, 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 --_000_DM5PR04MB0747DC6A720E42C5FF9D3A0091AA0DM5PR04MB0747namp_--