From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30282: package julia build error Date: Tue, 13 Mar 2018 18:02:07 +0100 Message-ID: <873713q580.fsf@gnu.org> References: <20180128234305.03c958b0@jasniac.instanton> <87607a5ckn.fsf@gnu.org> <87po49mis5.fsf@gnu.org> <20180313095726.GA12663@thebird.nl> <20180313115820.GA13258@thebird.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evnKR-00075Q-Fq for bug-guix@gnu.org; Tue, 13 Mar 2018 13:03:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evnKI-00022U-4P for bug-guix@gnu.org; Tue, 13 Mar 2018 13:03:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evnKH-00022F-WE for bug-guix@gnu.org; Tue, 13 Mar 2018 13:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evnKH-0007MC-NU for bug-guix@gnu.org; Tue, 13 Mar 2018 13:03:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180313115820.GA13258@thebird.nl> (Pjotr Prins's message of "Tue, 13 Mar 2018 12:58:20 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Pjotr Prins Cc: 30282@debbugs.gnu.org, Marco van Hulten --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Pjotr, Pjotr Prins skribis: > One immediate problem is that Julia comes with patches for LLVM 3.9 > only: > > https://github.com/JuliaLang/julia#llvm > > it downloads, patches and compiles a specific LLVM. We actually need > this even though the failing tests are possibly not related (I suspect > the math libraries are not showing the same results as the built-in > ones). Oh, indeed. For arpack-ng using the right version did help. It might be similar for other dependencies. I tried the patch below (README.md in Julia 0.6.0 says that plain LLVM 3.9 without patches is OK), but that didn=E2=80=99t solve the distributed.jl-related test failures. > I think we need to follow the recommended build steps for Julia first. > Then the tests should pass. Next perhaps link out components and send > bug reports upstream. Yeah, though we=E2=80=99d rather extract these bundled pieces somehow. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index 41bbc66dd..8e5e81314 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -314,7 +314,7 @@ "USE_SYSTEM_LIBGIT2=1" "USE_SYSTEM_OPENSPECFUN=1"))) (inputs - `(("llvm" ,llvm) + `(("llvm" ,llvm-3.9.1) ("arpack-ng" ,arpack-ng) ("coreutils" ,coreutils) ;for bindings to "mkdir" and the like ("lapack" ,lapack) --=-=-=--