GNU bug report logs - #57324
[PATCH] gnu: julia: update to 1.6.7

Previous Next

Package: guix-patches;

Reported by: Jean-Baptiste Volatier <jbv <at> pm.me>

Date: Sun, 21 Aug 2022 17:51:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 57324 in the body.
You can then email your comments to 57324 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#57324; Package guix-patches. (Sun, 21 Aug 2022 17:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean-Baptiste Volatier <jbv <at> pm.me>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 21 Aug 2022 17:51:02 GMT) Full text and rfc822 format available.

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

From: Jean-Baptiste Volatier <jbv <at> pm.me>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: julia: update to 1.6.7
Date: Sun, 21 Aug 2022 17:49:37 +0000
* gnu/packages/julia.scm (julia): Update to 1.6.7

Hello,
This updates julia to 1.6.7. I did not have time to run the full test suite
(and I only have access to x86_64) yet but it seems to run fine.

I also have another WIP variant of this patch that builds against the git
checkout and where the stdlibs are de-vendored and have their own guix packages.
Personally I find it a bit more elegant than the current tarball
release that we are using and its bundled tarballs of out-of-tree dependencies.

If this is of interest I can finish it up and send it. Otherwise I'll 
continue to work on julia 1.8.

Best regards,
JB

---
 gnu/packages/julia.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 0bdac66175..3b254f937a 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -139,7 +139,7 @@ (define-public libwhich
 (define-public julia
   (package
     (name "julia")
-    (version "1.6.3")
+    (version "1.6.7")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -147,7 +147,7 @@ (define-public julia
                     version "/julia-" version ".tar.gz"))
               (sha256
                (base32
-                "1515x8fs25l3f9csbmd1v4nm041zvjnvigy6s5iidy4yrkwdx4r5"))
+                "0q9xgdpvdkskpzl294w215f6c15c5jk276c9dah5f5w4np3ivbvl"))
               (patches
                (search-patches "julia-SOURCE_DATE_EPOCH-mtime.patch"
                                "julia-allow-parallel-build.patch"))))
@@ -206,6 +206,10 @@ (define-public julia
              (substitute* "base/Makefile"
                (("\\$\\$\\(build_depsbindir\\)/libwhich")
                 (search-input-file inputs "/bin/libwhich")))))
+         (add-after 'unpack 'activate-gnu-source-for-loader
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "cli/Makefile"
+                          (("LOADER_CFLAGS =") "LOADER_CFLAGS = -D_GNU_SOURCE"))))
          (add-after 'unpack 'change-number-of-precompile-statements
            (lambda _
              ;; Remove nss-certs drops the number of statements below 1200,
@@ -447,6 +451,7 @@ (define-public julia
                      ("" "$JULIA_DEPOT_PATH"))))))))
        #:make-flags
        (list
+        "VERBOSE=1" ;; more helpful logging of what make is doing
         (string-append "prefix=" (assoc-ref %outputs "out"))
 
          ;; Passing the MARCH or JULIA_CPU_TARGET flag is necessary to build

base-commit: 706b3ef38b2f7ce9f05aa56e2eaaaf1c19e25f90
-- 
2.37.1






Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 23 Aug 2022 18:51:02 GMT) Full text and rfc822 format available.

Notification sent to Jean-Baptiste Volatier <jbv <at> pm.me>:
bug acknowledged by developer. (Tue, 23 Aug 2022 18:51:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Jean-Baptiste Volatier <jbv <at> pm.me>
Cc: 57324-done <at> debbugs.gnu.org
Subject: Re: [bug#57324] [PATCH] gnu: julia: update to 1.6.7
Date: Tue, 23 Aug 2022 21:47:26 +0300
[Message part 1 (text/plain, inline)]
On Sun, Aug 21, 2022 at 05:49:37PM +0000, Jean-Baptiste Volatier via Guix-patches via wrote:
> * gnu/packages/julia.scm (julia): Update to 1.6.7
> 
> Hello,
> This updates julia to 1.6.7. I did not have time to run the full test suite
> (and I only have access to x86_64) yet but it seems to run fine.
> 
> I also have another WIP variant of this patch that builds against the git
> checkout and where the stdlibs are de-vendored and have their own guix packages.
> Personally I find it a bit more elegant than the current tarball
> release that we are using and its bundled tarballs of out-of-tree dependencies.
> 
> If this is of interest I can finish it up and send it. Otherwise I'll 
> continue to work on julia 1.8.
> 
> Best regards,
> JB
> 

I adjusted some of the phases to help the tests pass and I rounded out
the commit message. Now that 1.8 is released we can start finishing up
that patch too :)

Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Sep 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 333 days ago.

Previous Next


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