From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: Re: octave license is incompatible with openssl Date: Fri, 05 Aug 2016 13:43:16 +0200 Message-ID: <87popnjvaj.fsf@gnu.org> References: <87h9b0ij9x.fsf@gmail.com> <20160804171037.GA11676@jocasta.intra> <87vazfd1tw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVdXC-0008D1-0G for guix-devel@gnu.org; Fri, 05 Aug 2016 07:43:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVdX6-0003DB-Vn for guix-devel@gnu.org; Fri, 05 Aug 2016 07:43:25 -0400 In-Reply-To: <87vazfd1tw.fsf@gmail.com> (Alex Vong's message of "Fri, 05 Aug 2016 17:03:55 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alex Vong Cc: guix-devel@gnu.org Alex Vong writes: > John Darrington writes: > >> I would not be at all suprised if there were more incompatibilities like >> this. Ought we not have a lint rule that checks this? >> > Indeed, in the short term, we could lint for special case, such that > openssl appears as an input for an GPLv[123](+) package. > > > In the long term, we could have the following in guix. Since licenses > are scheme values. I was thinking we can have procedure like: > > (compatible? l1 l2) > > which is a reflexive and symmetric relation. Also, we might be able to > build compound licenses by: > > (dual-license lics ...) > > and > > (intersect-license lics ...) > > The 3 procedures should satisfy the following "laws": > > (compatible? l1 (dual-license lics ...)) > > if and only if > > (any (cut compatible? l1 <>) lics) > > Similarly, > > (compatible? l1 (intersect-license lics ...)) > > if and only if > > (every (cut compatible? l1 <>) lics) > > > How do everyone think? > I like the idea! -- Mathieu Lirzin