From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: octave license is incompatible with openssl Date: Thu, 11 Aug 2016 05:58:46 -0400 Message-ID: <87eg5vvd7t.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> <87mvklxn6z.fsf@netris.org> <20160811055640.l26hhgkorrkryfvm@galago.mtmxr.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXmlh-0007rQ-H8 for guix-devel@gnu.org; Thu, 11 Aug 2016 05:59:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXmlf-0000Rm-Lw for guix-devel@gnu.org; Thu, 11 Aug 2016 05:59:16 -0400 In-Reply-To: <20160811055640.l26hhgkorrkryfvm@galago.mtmxr.com> (Mike Miller's message of "Wed, 10 Aug 2016 22:56:40 -0700") 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: Mike Miller Cc: guix-devel@gnu.org, help-octave@gnu.org Mike Miller writes: > On Wed, Aug 10, 2016 at 00:28:04 -0400, Mark H Weaver wrote: >> 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. > > Sounds good to me. Let us know what you find out or if there is anything > we can do to help. The problem is that "-lssl -lcrypto" is apparently added to the command line when linking liboctave. There are no occurrences of "lssl" in the failed octave build directory. However, I *did* discover that libcurl.la contains: dependency_libs=' [...] -lssl -lcrypto -lz' despite the fact that our 'curl' package was built without OpenSSL. I guess this is the root of the problem, and that the bug is in 'curl'. I'm not sure why this problem does not affect more packages. Perhaps most packages in Guix that use 'curl' either don't use libtool or include OpenSSL as an input. If they didn't already include OpenSSL, I guess that maybe people "fixed" the problem by adding OpenSSL as an input, as was done for Octave. To be continued... Mark