From unknown Wed Aug 20 01:21:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44004 <44004@debbugs.gnu.org> To: bug#44004 <44004@debbugs.gnu.org> Subject: Status: [PATCH] gnu: julia: Update to 1.5.2. Reply-To: bug#44004 <44004@debbugs.gnu.org> Date: Wed, 20 Aug 2025 08:21:18 +0000 retitle 44004 [PATCH] gnu: julia: Update to 1.5.2. reassign 44004 guix-patches submitter 44004 Tim Howes severity 44004 normal tag 44004 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 03:43:50 2020 Received: (at submit) by debbugs.gnu.org; 15 Oct 2020 07:43:50 +0000 Received: from localhost ([127.0.0.1]:54067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSxvK-0005Ki-Kr for submit@debbugs.gnu.org; Thu, 15 Oct 2020 03:43:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:45838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSxvF-0005KW-Er for submit@debbugs.gnu.org; Thu, 15 Oct 2020 03:43:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSxvF-00022u-6Z for guix-patches@gnu.org; Thu, 15 Oct 2020 03:43:37 -0400 Received: from 66-38.147.122.lavabit.com ([38.147.122.66]:26310 helo=lavabit.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSxvA-0005GW-Hi for guix-patches@gnu.org; Thu, 15 Oct 2020 03:43:34 -0400 Received: from localhost.localdomain (158-51-80-100.pool.common.net [158.51.80.100]) by lavabit.com with ESMTP id HGD7A1YNZKZU for ; Thu, 15 Oct 2020 02:35:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lavabit.com; s=bazinga; t=1602747315; bh=g5yhq4MCZDhFg6VmkmdAeHzJcGytJ7ExxEXqUM17o8g=; h=User-agent:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=VQolTcgJ23ICMWXnOngtMTQu9YvN2r9vqgcNODmH7lze+fss4YrZX9AZtbR+x7mzH grCMTIqYE0TXdrqEBxq9kee5bu8BYjtYvJg35agexqOrqOEQq3PvtlKEMLxFhKAeek Drx8wzo4/VPZ/TcCra4eB+Qqax1Abhjc8rfnWs+mu7j70cccEtGLl3MbRvEgXSu99K f44hEg1M+obegYb+GZ9n73GQUJQXxAzV1TEegUSWXOI/fVyl9fZG7Z9eVF2PNa/hux RieOso5ERR5Cr+YGS8PInuOGwInR90tkHEn/I5EpkAeMYQkcOxM/dnN7kshhIgQNx+ H6HbHkaASOC6Q== User-agent: mu4e 1.4.13; emacs 27.1 From: Tim Howes To: guix-patches@gnu.org Subject: [PATCH] gnu: julia: Update to 1.5.2. Date: Thu, 15 Oct 2020 00:35:14 -0700 Message-ID: <87tuuw3psd.fsf@lavabit.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=38.147.122.66; envelope-from=timhowes@lavabit.com; helo=lavabit.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/15 03:33:06 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Spam_score_int: 9 X-Spam_score: 0.9 X-Spam_bar: / X-Spam_report: (0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_OTHER_BAD_TLD=1.999, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, This patch updates julia to version 1.5.2 and makes corresponding changes to llvm-julia so that it now uses llvm-9. I used the list of llvm patches for version 9 found at https://github.com/JuliaLang/julia/blob/v1.5.2/deps/llvm.mk#L399-L414 Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=timhowes%40lavabit.com;ip=209.51.188.17;r=debbugs.gnu.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: nixo.xyz (xyz)] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Hello, This patch updates julia to version 1.5.2 and makes corresponding changes to llvm-julia so that it now uses llvm-9. I used the list of llvm patches for version 9 found at https://github.com/JuliaLang/julia/blob/v1.5.2/deps/llvm.mk#L399-L414 I added fixes for broken tests and removed fixes that were no longer necessary. It appears to build correctly, but please let me know if any additional changes are needed. Thanks, Tim --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-julia-Update-to-1.5.2.patch Content-Transfer-Encoding: quoted-printable >From 1acf702e2a221d039a727e9d7b8fe8213264626d Mon Sep 17 00:00:00 2001 From: Tim Howes Date: Wed, 14 Oct 2020 20:05:28 -0700 Subject: [PATCH] gnu: julia: Update to 1.5.2. * gnu/packages/julia.scm (libuv-julia): No change to libuv.version. (julia-patch): Update to 1.5.2. (llvm-julia)[inherit]: Update to use llvm-9. [source]: Apply patches for llvm-9 from deps/llvm.mk. (julia): Update to 1.5.2. [source]: Remove substitutions for precompile.jl and cmdlineargs.jl. Add a substitution for Dates/io tests. Set --depwarn=3Derror for tests. [arguments]: Set LLVM_VER=3D9.0.1. --- gnu/packages/julia.scm | 113 ++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 64 deletions(-) diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index 78488a4e99..65fa726d92 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2015, 2016, 2017 Ricardo Wurmus ;;; Copyright =C2=A9 2016, 2020 Efraim Flashner ;;; Copyright =C2=A9 2020 Nicol=C3=B2 Balzarotti +;;; Copyright =C2=A9 2020 Tim Howes ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,7 +54,7 @@ (let ((commit "35b1504507a7a4168caae3d78db54d1121b121e1") (revision "1")) ;; When upgrading Julia, also upgrade this. Get the commit from - ;; https://github.com/JuliaLang/julia/blob/v1.4.1/deps/libuv.version + ;; https://github.com/JuliaLang/julia/blob/v1.5.2/deps/libuv.version (package (inherit libuv) (name "libuv-julia") @@ -103,7 +104,7 @@ "/deps/patches/" name ".patch")) =20 (define (julia-patch name sha) - (let ((version "1.4.1")) + (let ((version "1.5.2")) (origin (method url-fetch) (uri (julia-patch-url version name)) (sha256 (base32 sha)) @@ -111,63 +112,52 @@ =20 (define llvm-julia (package - (inherit llvm-8) + (inherit llvm-9) (name "llvm-julia") (source (origin - (inherit (package-source llvm-8)) + (inherit (package-source llvm-9)) ;; Those patches are inside the Julia source repo. ;; They are _not_ Julia specific (https://github.com/juliala= ng/julia#llvm) ;; but they are required to build Julia. ;; Discussion: https://bugs.debian.org/cgi-bin/bugreport.cgi= ?bug=3D919628 (patches - (map (match-lambda - ((name hash) - (julia-patch name hash))) - (list - '("llvm-7.0-D44650" - "1h55kkmkiisfj6sk956if2bcj9s0v6n5czn8dxb870vp5ncc= j3ir") - '("llvm-6.0-DISABLE_ABI_CHECKS" - "014fawd1ba7yckalypfld22zgic87x9nx3cim42zrwygywd3= 6pyg") - '("llvm-6.0-NVPTX-addrspaces" - "1qdi2zmrjsrj0h84zv2vyly2hjcn4f67mfy0s1q353g4v4jk= scqc") - '("llvm-D27629-AArch64-large_model_6.0.1" - "1qrshmlqvnasdyc158vfn3hnbigqph3lsq7acb9w8lwkpnnm= 2j4z") - '("llvm8-D34078-vectorize-fdiv" - "19spqc3xsazn1xs9gpcgv9ldadfkv49rmc5khl7sf1dlmhgi= 4602") - '("llvm7-D50010-VNCoercion-ni" - "18scg6aa036xa1508s7q93w9dvc5gp69fz6yl6fkh4yffw4g= ymw6") - '("llvm-8.0-D50167-scev-umin" - "0g9w2x8yryjdkihnrf18x0yi5bi14c5p8wffda1w732dr5ck= zk94") - '("llvm-D57118-powerpc" - "0vxz5s0s9b625v1rv8lg1566yhxh1i91ydzmvy5s7njvzc7p= 19aw") - '("llvm8-WASM-addrspaces" - "1176agj9hh7csdm2lnklb42zcdsb3q6lx9jiyp2shn4p2678= y76q") - '("llvm-exegesis-mingw" - "0ph1cj1j7arvf1xq2xcr7qf9g0cpdl14fincgr67vpi520zv= d3vp") - '("llvm-test-plugin-mingw" - "12z738cnahbf6n381im7i0hxp1m6k9hrnfjlmq9sac46nxly= 9gnj") - '("llvm-8.0-D66401-mingw-reloc" - "15v3p5sznn979cfnd7gdn3nd701fd7xd5aks6lnj1mslvljl= q3ls") - '("llvm7-revert-D44485" - "0f59kq3p3mpwsbmskypbi4zn01l6ig0x7v2rjp08k2r8z8m6= fa8n") - '("llvm-8.0-D63688-wasm-isLocal" - "0i9wi5n63ip3802z6m7aj3p07hkqjlmp4vg4wq3xkf9f6w9r= ksab") - '("llvm-8.0-D55758-tablegen-cond" - "1l08mg7qigravi7plsq3yzya80fljnp95n8faddr29wbr2qr= 0655") - '("llvm-8.0-D59389-refactor-wmma" - "0rgrwk4xlwpk7yai2j7xadcfws93rmk2hhh44fysa88imvrb= p478") - '("llvm-8.0-D59393-mma-ptx63-fix" - "094jcsxbcx9fljj623mgmc0rjpk12s2rs0di0ck0hakzhr8m= bv5n") - '("llvm-8.0-D66657-codegen-degenerate" - "1n1ddx19h90bbpimdyd9dh8fsm6gb93xxyqm4ljkxa1k3cx2= vm72") - '("llvm-8.0-D71495-vectorize-freduce" - "1zff08wvji9lnpskk4b3p5zyjsy5hhy23ynxjqlj9dw7jvvf= rf0p") - '("llvm-8.0-D75072-SCEV-add-type" - "0amlyyndsc90ml2k6prdahf24q0j23nfmlbqf8gcqcxpl5sq= q3i6") - '("llvm-8.0-D65174-limit-merge-stores" - "1ls5114fhgip9rbqabqc16mi367ra0k75ngc1vyqqhq1ghm9x= 7y9")))))) + (map (match-lambda + ((name hash) + (julia-patch name hash))) + (list + '("llvm-D27629-AArch64-large_model_6.0.1" + "1qrshmlqvnasdyc158vfn3hnbigqph3lsq7acb9w8lwkpnnm2j= 4z") + '("llvm8-D34078-vectorize-fdiv" + "19spqc3xsazn1xs9gpcgv9ldadfkv49rmc5khl7sf1dlmhgi46= 02") + '("llvm-7.0-D44650" + "1h55kkmkiisfj6sk956if2bcj9s0v6n5czn8dxb870vp5nccj3= ir") + '("llvm9-D50010-VNCoercion-ni" + "1s1d3sjsiq4vxg7ncy5cz56zgy5vcq6ls3iqaiqkvr23wyryqm= dx") + '("llvm-exegesis-mingw" + "0ph1cj1j7arvf1xq2xcr7qf9g0cpdl14fincgr67vpi520zvd3= vp") + '("llvm-test-plugin-mingw" + "12z738cnahbf6n381im7i0hxp1m6k9hrnfjlmq9sac46nxly9g= nj") + '("llvm7-revert-D44485" + "0f59kq3p3mpwsbmskypbi4zn01l6ig0x7v2rjp08k2r8z8m6fa= 8n") + '("llvm-8.0-D66657-codegen-degenerate" + "1n1ddx19h90bbpimdyd9dh8fsm6gb93xxyqm4ljkxa1k3cx2vm= 72") + '("llvm-8.0-D71495-vectorize-freduce" + "1zff08wvji9lnpskk4b3p5zyjsy5hhy23ynxjqlj9dw7jvvfrf= 0p") + '("llvm-D75072-SCEV-add-type" + "029a3fywsm233vf48mscina24idd50dc75wr70lmimrhwnw27p= 0z") + '("llvm-9.0-D65174-limit-merge-stores" + "04bff1mnblfj9mxfdwr1qdnw3i3szmp60gnhxwas5y68qg33z6= j0") + '("llvm9-D71443-PPC-MC-redef-symbol" + "1c93nv7rgc9jg5mqrnvv08xib1789qvlql94fwggh18mp3b9hb= gy") + '("llvm-9.0-D78196" + "08a43hyg7yyqjq2vmfsmppf34xcz60wq6y9zw5fdyhw2h1mcnm= ns") + '("llvm-julia-tsan-custom-as" + "0awh40kf6lm4wn1nsjd1bmhfwq7rqj811szanp2xkpspykw9hg= 9s") + '("llvm-9.0-D85499" + "0vxlr35srvbvihlgrxq15v6dylp90vgi0qahj22j01jgqmdasj= km")))) + (patch-flags '("-p1")))) (arguments - (substitute-keyword-arguments (package-arguments llvm-8) + (substitute-keyword-arguments (package-arguments llvm-9) ((#:configure-flags flags) `(list ;; Taken from NixOS. Only way I could get libLLVM-6.0.so "-DCMAKE_BUILD_TYPE=3DRelease" @@ -231,7 +221,7 @@ libraries. It is also a bit like @code{ldd} and @code{= otool -L}.") (define-public julia (package (name "julia") - (version "1.4.1") + (version "1.5.2") (source (origin (method url-fetch) (uri (string-append @@ -239,7 +229,7 @@ libraries. It is also a bit like @code{ldd} and @code{= otool -L}.") version "/julia-" version ".tar.gz")) (sha256 (base32 - "030aza3qj5zcinxbrbqgi7p64q6klwq2bhwccraarx7l0hg9lw3i")) + "08wazf3f1lb2c2c5s700kyak8llfqwki8xlnqyrbwmwxjj801p2n")) (patches (search-patches "julia-SOURCE_DATE_EPOCH-mtime.patch")))) (build-system gnu-build-system) @@ -344,16 +334,6 @@ libraries. It is also a bit like @code{ldd} and @code= {otool -L}.") "tests =3D filter(e->!in(e,[\"backtrace\",\"exceptions\",\= "precompile\", \"client\",\"stacktraces\"]), testnames)")) - ;; precompile test is broken, fixed in - ;; fed29f893544d1dc8f86444c65d632c68168d0f3 - (substitute* "test/precompile.jl" - (("@test !isdefined\\(Base.Nothing.name.mt") - "# @test !isdefined(Base.Nothing.name.mt")) - ;; When HOME is not set, julia calls uv_os_homedir, which in - ;; turns call getpwuid_r. Add the HOME env variable to the - ;; external julia call to fix this - (substitute* "test/cmdlineargs.jl" - (("\"JULIA_PROJECT\"") "\"HOME\"=3D>\"/tmp\", \"JULIA_PROJE= CT\"")) ;; Marking the test as broken as it's a known bug: ;; https://github.com/JuliaLang/julia/issues/32377 (substitute* "stdlib/REPL/test/replcompletions.jl" @@ -361,11 +341,16 @@ libraries. It is also a bit like @code{ldd} and @cod= e{otool -L}.") ;; Dates has a similar bug: ;; https://github.com/JuliaLang/julia/issues/34655 (substitute* "stdlib/Dates/test/io.jl" + (("\"Dates.Date") "\"Date") (("\"Dates.Time") "\"Time")) ;; Upstream bug I found when packaging ;; https://github.com/JuliaLang/julia/issues/35785 (substitute* "test/file.jl" (("@test dirname\\(t\\) =3D=3D d") "@test_broken dirname(t)= =3D=3D d")) + ;; Deprecation test fails with --depwarn=3Dno + ;; https://github.com/JuliaLang/julia/issues/37673 + (substitute* "test/Makefile" + (("./runtests.jl") "--depwarn=3Derror ./runtests.jl")) #t)) (add-after 'install 'make-wrapper (lambda* (#:key inputs outputs #:allow-other-keys) @@ -416,7 +401,7 @@ libraries. It is also a bit like @code{ldd} and @code{= otool -L}.") (assoc-ref %build-inputs "utf8proc") "/include") "USE_SYSTEM_LLVM=3D1" - "LLVM_VER=3D8.0.0" + "LLVM_VER=3D9.0.1" =20 "USE_LLVM_SHLIB=3D1" "USE_SYSTEM_LIBUNWIND=3D1" --=20 2.28.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 16 09:11:37 2020 Received: (at 44004-done) by debbugs.gnu.org; 16 Oct 2020 13:11:37 +0000 Received: from localhost ([127.0.0.1]:58077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTPWC-0000UX-EY for submit@debbugs.gnu.org; Fri, 16 Oct 2020 09:11:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTPW5-0000U4-8f for 44004-done@debbugs.gnu.org; Fri, 16 Oct 2020 09:11:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60165) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTPVz-0005kW-Rt; Fri, 16 Oct 2020 09:11:23 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35556 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kTPVw-0003sn-OI; Fri, 16 Oct 2020 09:11:21 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tim Howes Subject: Re: [bug#44004] [PATCH] gnu: julia: Update to 1.5.2. References: <87tuuw3psd.fsf@lavabit.com> Date: Fri, 16 Oct 2020 15:11:18 +0200 In-Reply-To: <87tuuw3psd.fsf@lavabit.com> (Tim Howes's message of "Thu, 15 Oct 2020 00:35:14 -0700") Message-ID: <87y2k65n9l.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44004-done Cc: 44004-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Tim Howes skribis: >>>From 1acf702e2a221d039a727e9d7b8fe8213264626d Mon Sep 17 00:00:00 2001 > From: Tim Howes > Date: Wed, 14 Oct 2020 20:05:28 -0700 > Subject: [PATCH] gnu: julia: Update to 1.5.2. > > * gnu/packages/julia.scm (libuv-julia): No change to libuv.version. > (julia-patch): Update to 1.5.2. > (llvm-julia)[inherit]: Update to use llvm-9. > [source]: Apply patches for llvm-9 from deps/llvm.mk. > (julia): Update to 1.5.2. > [source]: Remove substitutions for precompile.jl and cmdlineargs.jl. > Add a substitution for Dates/io tests. Set --depwarn=3Derror for tests. > [arguments]: Set LLVM_VER=3D9.0.1. Awesome. Applied, thanks! Ludo=E2=80=99. PS: It=E2=80=99s more than 3h to build LLVM, Julia, and run its test suite. From unknown Wed Aug 20 01:21:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Nov 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator