GNU bug report logs - #32185
[PATCH 0/1] Fix Julia package.

Previous Next

Package: guix-patches;

Reported by: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>

Date: Tue, 17 Jul 2018 11:21:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32185 in the body.
You can then email your comments to 32185 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#32185; Package guix-patches. (Tue, 17 Jul 2018 11:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 17 Jul 2018 11:21:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>
To: guix-patches <at> gnu.org
Cc: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>
Subject: [PATCH 0/1] Fix Julia package.
Date: Tue, 17 Jul 2018 13:20:22 +0200
Hi Guix !

This fix work for some computers, but some test will fail on other computers,
I'm not sure why.

Rouby Pierre-Antoine (1):
  gnu: julia: Fix 'llvm' version.

 gnu/packages/julia.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#32185; Package guix-patches. (Tue, 17 Jul 2018 11:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 32185 <at> debbugs.gnu.org (full text, mbox):

From: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>
To: 32185 <at> debbugs.gnu.org
Cc: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>
Subject: [PATCH 1/1] gnu: julia: Fix 'llvm' version.
Date: Tue, 17 Jul 2018 13:22:42 +0200
* gnu/packages/julia.scm: Fix 'llvm' version to 3.9.1.
---
 gnu/packages/julia.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 6fb1eee6c..39e232273 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)
 
        ;; The bundled version is 3.3.0 so stick to that version.  With other
        ;; versions, we get test failures in 'linalg/arnoldi' as described in
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#32185; Package guix-patches. (Tue, 17 Jul 2018 22:21:01 GMT) Full text and rfc822 format available.

Message #11 received at 32185 <at> debbugs.gnu.org (full text, mbox):

From: ludovic.courtes <at> inria.fr (Ludovic Courtès)
To: Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>
Cc: 32185 <at> debbugs.gnu.org
Subject: Re: [bug#32185] [PATCH 0/1] Fix Julia package.
Date: Wed, 18 Jul 2018 00:20:07 +0200
Hello!

Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr> skribis:

> This fix work for some computers, but some test will fail on other computers,
> I'm not sure why.

You were looking at test failures, not build failures, right?

In the end do you think changing LLVM versions had an effect at all?

Thanks for investigating.  :-)
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#32185; Package guix-patches. (Wed, 18 Jul 2018 11:35:02 GMT) Full text and rfc822 format available.

Message #14 received at 32185 <at> debbugs.gnu.org (full text, mbox):

From: Pierre-Antoine Rouby <pierre-antoine.rouby <at> inria.fr>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: 32185 <at> debbugs.gnu.org
Subject: Re: [bug#32185] [PATCH 0/1] Fix Julia package.
Date: Wed, 18 Jul 2018 13:34:21 +0200 (CEST)
Hi Ludo,

----- Original Message -----
> From: "Ludovic Courtès" <ludovic.courtes <at> inria.fr>
> You were looking at test failures, not build failures, right?

Yes, tests could failed at execution.

> In the end do you think changing LLVM versions had an effect at all?

Yes, 'llvm' has been update to 6.0.1, but Julia need llvm on version 3.9.
With 'llvm <at> 3.9.1' I'm able to build Julia but with 'llvm <at> 6.0.1' the build phase
failed.

--
Pierre-Antoine Rouby





Information forwarded to guix-patches <at> gnu.org:
bug#32185; Package guix-patches. (Wed, 18 Jul 2018 19:42:02 GMT) Full text and rfc822 format available.

Message #17 received at 32185 <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr.public12 <at> thebird.nl>
To: Pierre-Antoine Rouby <pierre-antoine.rouby <at> inria.fr>
Cc: Ludovic Courtès <ludovic.courtes <at> inria.fr>,
 32185 <at> debbugs.gnu.org
Subject: Re: [bug#32185] [PATCH 0/1] Fix Julia package.
Date: Wed, 18 Jul 2018 21:41:16 +0200
On Wed, Jul 18, 2018 at 01:34:21PM +0200, Pierre-Antoine Rouby wrote:
> Hi Ludo,
> 
> ----- Original Message -----
> > From: "Ludovic Courtès" <ludovic.courtes <at> inria.fr>
> > You were looking at test failures, not build failures, right?
> 
> Yes, tests could failed at execution.
> 
> > In the end do you think changing LLVM versions had an effect at all?
> 
> Yes, 'llvm' has been update to 6.0.1, but Julia need llvm on version 3.9.
> With 'llvm <at> 3.9.1' I'm able to build Julia but with 'llvm <at> 6.0.1' the build phase
> failed.

Julia compiler development is on older LLVM's. There are few languages that
keep up with LLVM (Clang is core, and Dlang being one of the exceptions).

Pj.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 19 Jul 2018 09:29:02 GMT) Full text and rfc822 format available.

Notification sent to Rouby Pierre-Antoine <pierre-antoine.rouby <at> inria.fr>:
bug acknowledged by developer. (Thu, 19 Jul 2018 09:29:02 GMT) Full text and rfc822 format available.

Message #22 received at 32185-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Pierre-Antoine Rouby <pierre-antoine.rouby <at> inria.fr>
Cc: 32185-done <at> debbugs.gnu.org
Subject: Re: [bug#32185] [PATCH 0/1] Fix Julia package.
Date: Thu, 19 Jul 2018 11:28:22 +0200
Hello,

Pierre-Antoine Rouby <pierre-antoine.rouby <at> inria.fr> skribis:

> ----- Original Message -----
>> From: "Ludovic Courtès" <ludovic.courtes <at> inria.fr>
>> You were looking at test failures, not build failures, right?
>
> Yes, tests could failed at execution.

And still do.

>> In the end do you think changing LLVM versions had an effect at all?
>
> Yes, 'llvm' has been update to 6.0.1, but Julia need llvm on version 3.9.
> With 'llvm <at> 3.9.1' I'm able to build Julia but with 'llvm <at> 6.0.1' the build phase
> failed.

Understood.  I’ve applied the patch.

For posterity, using ‘llvm’ (version 6.0), Julia failed to build with:

--8<---------------cut here---------------start------------->8---
    [34mCC[0m [33msrc/codegen.o[0m
/tmp/guix-build-julia-0.6.0.drv-0/julia-0.6.0/src/codegen.cpp:39:45: fatal error: llvm/Target/TargetSubtargetInfo.h: No such file or directory
compilation terminated.
make[1]: *** [Makefile:144: codegen.o] Error 1
--8<---------------cut here---------------end--------------->8---

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 16 Aug 2018 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.