From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: octave license is incompatible with openssl Date: Wed, 10 Aug 2016 00:28:04 -0400 Message-ID: <87mvklxn6z.fsf@netris.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> <34fdadd1e914beaada907e540cabe631@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXL7y-0005tl-A4 for guix-devel@gnu.org; Wed, 10 Aug 2016 00:28:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXL7x-000300-8o for guix-devel@gnu.org; Wed, 10 Aug 2016 00:28:26 -0400 In-Reply-To: <34fdadd1e914beaada907e540cabe631@openmailbox.org> (kei@openmailbox.org's message of "Tue, 09 Aug 2016 17:33:25 -0400") 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: kei@openmailbox.org Cc: guix-devel@gnu.org, help-octave@gnu.org, Mike Miller kei@openmailbox.org writes: > On 2016-08-09 14:30, Ricardo Wurmus wrote: >> Mike Miller writes: >> >>> On Wed, Aug 10, 2016 at 00:00:59 +0800, Alex Vong wrote: >>>> So, we drop the optional dependency to avoid the problem. >>> >>> Precisely what is the optional dependency that is dropped? >>> >>> 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. >> >> The =E2=80=9Copenssl=E2=80=9D package (along with =E2=80=9Ccyrus-sasl=E2= =80=9D) was added as a new >> 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. >> >> I don=E2=80=99t know why this was done. Maybe Kei could shed some light= on >> this. >> >> ~~ Ricardo > > When I tried to build Octave 4.0.2, the build complained about missing > SSL and SASL libraries. Adding gnutls as a dependency (Debian users > are advised to use libcurl4-gnutls-dev) did not fix the issue, so I > added OpenSSL to stop the issue. We should investigate the reason why it failed without OpenSSL. I would start by repeating the build attempt without OpenSSL, and looking at the resulting config.log to see what went wrong. > It seems to me that Octave 4.0.2 (and 4.0.3, the most recent version) > depends on SSL for curl usage, as curl allows Octave users to issue a > "pkg install -forge [package_name]" command to install packages from > the Octave Forge repo. I didn't know that the licenses were > incompatible, so now we have to name (or correctly package) the Guix > equivalent of libcurl4-gnutls-dev. 'curl' is that package. It is built against GnuTLS. Mark