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 C5C50200CBE for ; Fri, 7 Jul 2017 16:42:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C433A169391; Fri, 7 Jul 2017 14:42:09 +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 E350E169390 for ; Fri, 7 Jul 2017 16:42:08 +0200 (CEST) Received: (qmail 27237 invoked by uid 500); 7 Jul 2017 14:42:08 -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 27219 invoked by uid 99); 7 Jul 2017 14:42:07 -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 14:42:07 +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 4BF73C061E for ; Fri, 7 Jul 2017 14:42:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.585 X-Spam-Level: *** X-Spam-Status: No, score=3.585 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, RCVD_IN_SORBS_SPAM=0.5, 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 ZtP5AyEmNRrA for ; Fri, 7 Jul 2017 14:42:04 +0000 (UTC) Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-oln040092010051.outbound.protection.outlook.com [40.92.10.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 1EC7C5FE02 for ; Fri, 7 Jul 2017 14:42:04 +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=vTOBADGCSnwi0Pn8RNH4H2Cu1+sIG4K2Dei/wFLCwrQ=; b=KaA8WDU63UD4qUN41mj1wJjdZ1l04ewWWCcdE9sRYpD+KTCZ/CrSpBYmf+lczm9Y6CSCQN/c8/eXOdXtu+H9aO5w8ob0eARxiqQVeHhZeSbe4PRCiJJWefrdLZySxWp9TJZoOBW3R4j+Rod+5R9L96OFPQMHOjRm79ar69iAgOQ+iTkTErUeKD5jdVUd9oGpXC8liYNSqrekXi4AgKh/7GIwAiTMjDq1YWScfThQBWLfrTLOO8IHMZZV11jfcrmzsiLdL8w9g/F3b3+xiZM6RFs3+fDxDT8GhJRElwS1F3zPd5JoibMiluRxEndPHoWz4xQvfrQoIE9qxGZWxiyk3g== Received: from CO1NAM04FT027.eop-NAM04.prod.protection.outlook.com (10.152.90.58) by CO1NAM04HT212.eop-NAM04.prod.protection.outlook.com (10.152.91.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1220.9; Fri, 7 Jul 2017 14:41:54 +0000 Received: from DM5PR04MB0747.namprd04.prod.outlook.com (10.152.90.55) by CO1NAM04FT027.mail.protection.outlook.com (10.152.90.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.9 via Frontend Transport; Fri, 7 Jul 2017 14:41:50 +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 14:41:50 +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: AQHS9jCpRQszS0IOw0SeujiblhMDwaJHZYIAgAApW2qAAFE7gIAAEXUAgACAZlw= Date: Fri, 7 Jul 2017 14:41:49 +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:4336103DA224688749E5BEEDA4C8551194B41EF8908DDC190E4C74D2FC2B4496;UpperCasedChecksum:C9035809EB493D1B2F44C9AD3AAB9612EB5126502D1C898CAA67256C635C477C;SizeAsReceived:7674;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [Q8nklfG5eWPMNS/0/7P0O4KjxYAIe3dJ] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CO1NAM04HT212;7:AVM39a7032rHoFQvBJXyuYtGlYDCJ/UYWhDuSsagbz+tZXLRy+Om6OTk7WsG0IoOpPlrUjOXDlEFOogS/Uz3el0fn+NLHF9iTMi76iKsQQlqGYPULpPjuyAeT6/nIuvXc3OSGRDYG4W4dLsm9Vbxu4wKf6HScAjAb+FRR63w+VgkRMFnQgnlLE4tuVpRMyJlazulosObFWpxSZKxX500Z92vH3wTPZbGbJzlku5coNcVloordLCIohYkI3fePSNPwTZ5pqpjFEwuXZ2lpFgmxgLguWxsm1/xnHfFTVl51nKtzT7jd1cDTUk2t0Oq5oUP5fdeWQ5l6ldofGVGv0343l5wRHUSJOlm/ydcyk3ySIbSZpexh/ryJFxaR0GQlHLCgRqRAPj64c7f+nxB7g+et3+jtrLTCNXHalQyajbmMpoXn3wfA8unt4WqKFwYBNGK39ARmBsczz/hEW8u2LYz8LYcsFVc0SGnPefyNvjtqsjWq5wHvKaNeCT7M8KrXdB0Mh/WY0lV+XywWHCJnk1aieTN7NXAOuvoTmIIs6+ZOKlXc1iGsXL7+pKe4m1MzSdwuPciTnGkdbH1esb1xApmCM2H+p5gDBZuVXoqjWB0nscJuigYD6uvKoC19XbtnEf2b/RqAUUVxcdCOkteZ8q9Aajpr4C/Lr4oNizaTX5zXlX7s2zJm4KUchyTgLnRpa4BwZ1bGA2J1SlYdE/RRCbEf0ccj/DGypUbAsEhT71w56X9hRGjal6WuSTlWsL8gclZ4B9/gSkvP60qt/r/8HlQMQ== x-incomingheadercount: 45 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:CO1NAM04HT212;H:DM5PR04MB0747.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: d5efa75b-a4a8-47c6-a217-08d4c5464d3b 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:CO1NAM04HT212; x-ms-traffictypediagnostic: CO1NAM04HT212: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031);SRVR:CO1NAM04HT212;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CO1NAM04HT212; x-forefront-prvs: 0361212EA8 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_DM5PR04MB07472C4BE8D6BF4B03FA56EA91AA0DM5PR04MB0747namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2017 14:41:49.9593 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT212 archived-at: Fri, 07 Jul 2017 14:42:10 -0000 --_000_DM5PR04MB07472C4BE8D6BF4B03FA56EA91AA0DM5PR04MB0747namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Re this 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_co= de.c#L24-L25 ). This is actually disabled - it is not getting built and it is not in the re= lease - because the way SparkR is packaged in Spark release we haven't figu= red 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 projec= t > 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 insta= ll > 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 LGP= L > ( > 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 of > 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 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 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 fi= le. " > > > > 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 > 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 > --_000_DM5PR04MB07472C4BE8D6BF4B03FA56EA91AA0DM5PR04MB0747namp_--