From mboxrd@z Thu Jan 1 00:00:00 1970 From: kei@openmailbox.org Subject: Re: octave license is incompatible with openssl Date: Tue, 09 Aug 2016 17:33:25 -0400 Message-ID: <34fdadd1e914beaada907e540cabe631@openmailbox.org> References: <87h9b0ij9x.fsf@gmail.com> <87wpjvhfpg.fsf@elephly.net> <87eg62d5p4.fsf@gmail.com> <20160808200018.GA20179@jasmine> <871t1yvsn8.fsf@gmail.com> <20160809172728.b6wijrzccd5wdv37@galago.mtmxr.com> <874m6tx0ac.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXEer-00019I-B3 for guix-devel@gnu.org; Tue, 09 Aug 2016 17:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXEen-0001PB-57 for guix-devel@gnu.org; Tue, 09 Aug 2016 17:33:56 -0400 In-Reply-To: <874m6tx0ac.fsf@elephly.net> 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: Ricardo Wurmus Cc: guix-devel@gnu.org, help-octave@gnu.org, Mike Miller On 2016-08-09 14:30, Ricardo Wurmus wrote: > Mike Miller writes: >=20 >> On Wed, Aug 10, 2016 at 00:00:59 +0800, Alex Vong wrote: >>> So, we drop the optional dependency to avoid the problem. >>=20 >> Precisely what is the optional dependency that is dropped? >>=20 >> Octave does not directly link with OpenSSL nor use any OpenSSL >> functions. The Octave package on Debian builds with all optional >> dependencies enabled, and the resulting binary is linked with GnuTLS. >=20 > The =E2=80=9Copenssl=E2=80=9D package (along with =E2=80=9Ccyrus-sasl=E2= =80=9D) was added as a new=20 > input > to our =E2=80=9Coctave=E2=80=9D package in commit > b7b27a8f28746a488eeee489c71053059dc5a8dc, along with the upgrade from > 4.0.0 to 4.0.2. >=20 > I don=E2=80=99t know why this was done. Maybe Kei could shed some ligh= t on > this. >=20 > ~~ Ricardo When I tried to build Octave 4.0.2, the build complained about missing=20 SSL and SASL libraries. Adding gnutls as a dependency (Debian users are=20 advised to use libcurl4-gnutls-dev) did not fix the issue, so I added OpenSSL to stop the issue. It seems to me that Octave 4.0.2 (and 4.0.3, the most=20 recent version) depends on SSL for curl usage, as curl allows Octave users to=20 issue a "pkg install -forge [package_name]" command to install packages from=20 the Octave Forge repo. I didn't know that the licenses were incompatible, so=20 now we have to name (or correctly package) the Guix equivalent of=20 libcurl4-gnutls-dev.