unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 48325@debbugs.gnu.org
Cc: zimon.toutoune@gmail.com, "Jean-Baptiste Volatier" <jbv@pm.me>,
	"Nicolò Balzarotti" <anothersms@gmail.com>
Subject: [bug#48325] [PATCH v3 0/5] DRAFT: Update julia to 1.6.1.
Date: Thu, 13 May 2021 16:08:18 +0200	[thread overview]
Message-ID: <20210513140818.10217-1-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <To5xE-KO2rEvaVw0ua4LA3k6uVXhNaulSKlW2xy7nOSNwVGMK4RrOGWJegbXwRTec-5cGikmOmq2vn8Brx7aEA==@pm.me>

Hi,

Here a patch set after two reviews.  Everything builds, although it is a
bit log.  It is not ready to merge and two points still need to be
addressed––aside the move of patches from ’source’ to ’arguments’.

Julia v1.6.1 requires the update of 2 core-updates packages: pcre2 and
utf8proc.  Therefore, 2 new variables are added waiting the soon
core-updates merge.  And their update in the core-updates branch will be
done in a separate patch submission.

The patch 4/5 really updating Julia is still a “draft” because the
commit message is not complete.  The real reason is twofold:

 1) an error at runtime about curl
 2) several julia packages are broken because of julia-staticarrays

About #1, it looks like:

--8<---------------cut here---------------start------------->8---
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /tmp/guix-build-julia-1.6.1.drv-0/julia-1.6.1/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
--8<---------------cut here---------------end--------------->8---

and it is maybe related to bug#48238 [1].  Even if the example of
bug#48238 about installing the package GZip now works:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix environment --pure --ad-hoc julia \
    -- julia -e 'using Pkg; Pkg.add("GZip"); using GZip'
WARNING: failed to select UTF-8 encoding, using ASCII
  Installing known registries into `~/.julia`
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /tmp/guix-build-julia-1.6.1.drv-0/julia-1.6.1/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36

[...]

   Added registry `General` to `~/.julia/registries/General`
   Resolving package versions...

[...]

   Installed GZip ─ v0.5.1
    Updating `~/.julia/environments/v1.6/Project.toml`
  [92fee26a] + GZip v0.5.1
    Updating `~/.julia/environments/v1.6/Manifest.toml`
  [92fee26a] + GZip v0.5.1
  [8f399da3] + Libdl
Precompiling project...
  Progress [>                                        ]  0/1
  ◐ GZip
  ◓ GZip
  ◑ GZip
  1 dependency successfully precompiled in 2 seconds
--8<---------------cut here---------------end--------------->8---


About #2, it looks like; even after updating StaticArrays.jl to the
lastest tagged version).

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build julia-staticarrays

[...]

Test Summary:     | Pass  Total
SHermitianCompact |  903    903
Skipping Base.active_repl
Skipping Base.active_repl_backend
Skipping Base.active_repl
Skipping Base.active_repl_backend
Test Failed at /gnu/store/nhwk8rnix0wdbpx0w92z4yfh2n70nh9r-julia-staticarrays-1.2.0/share/julia/packages/StaticArrays/test/ambiguities.jl:19
  Expression: length(detect_ambiguities(Base, LinearAlgebra, StaticArrays)) <= allowable_ambiguities
   Evaluated: 61 <= 0
ERROR: LoadError: LoadError: There was an error during testing
in expression starting at /gnu/store/nhwk8rnix0wdbpx0w92z4yfh2n70nh9r-julia-staticarrays-1.2.0/share/julia/packages/StaticArrays/test/ambiguities.jl:13
in expression starting at /gnu/store/nhwk8rnix0wdbpx0w92z4yfh2n70nh9r-julia-staticarrays-1.2.0/share/julia/packages/StaticArrays/test/runtests.jl:38
command "julia" "--depwarn=yes" "/gnu/store/nhwk8rnix0wdbpx0w92z4yfh2n70nh9r-julia-staticarrays-1.2.0/share/julia/packages/StaticArrays/test/runtests.jl" failed with status 1
builder for `/gnu/store/98zpvhky62m64f5xfvfna4zdriggv5l8-julia-staticarrays-1.2.0.drv' failed with exit code 1
build of /gnu/store/98zpvhky62m64f5xfvfna4zdriggv5l8-julia-staticarrays-1.2.0.drv failed
View build log at '/var/log/guix/drvs/98/zpvhky62m64f5xfvfna4zdriggv5l8-julia-staticarrays-1.2.0.drv.bz2'.
guix build: error: build of `/gnu/store/98zpvhky62m64f5xfvfna4zdriggv5l8-julia-staticarrays-1.2.0.drv' failed
--8<---------------cut here---------------end--------------->8---

And I do not have an idea why it fails… Input welcome. :-)

Note that,

  ./pre-inst-env guix environment --pure --ad-hoc julia
     -- julia -e 'using Pkg; Pkg.add("StaticArrays"); using StaticArrays'

works fine.


All the best,
simon

1: <http://issues.guix.gnu.org/48238>

Jean-Baptiste Volatier (5):
  gnu: Add utf8proc-2.6.1.
  gnu: Add pcre2-10.36.
  gnu: openlibm: Update to 0.7.4.
  DRAFT gnu: julia: Update to 1.6.1.
  gnu: julia-benchmarktools: Update to 0.7.0.

 gnu/packages/julia-xyz.scm |   4 +-
 gnu/packages/julia.scm     | 292 +++++++++++++++++++++++++------------
 gnu/packages/maths.scm     |   6 +-
 gnu/packages/pcre.scm      |  14 ++
 gnu/packages/textutils.scm |  41 ++++++
 5 files changed, 257 insertions(+), 100 deletions(-)


base-commit: bddad00bffc5837e89942756fa5b7234f63f1f47
--
2.30.1




  reply	other threads:[~2021-05-13 14:11 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09 21:53 [bug#48325] update of julia to 1.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-05-13 14:08 ` zimoun [this message]
2021-05-13 14:11   ` [bug#48325] [PATCH v3 1/5] gnu: Add utf8proc-2.6.1 zimoun
2021-05-13 14:11     ` [bug#48325] [PATCH v3 2/5] gnu: Add pcre2-10.36 zimoun
2021-05-13 14:11     ` [bug#48325] [PATCH v3 3/5] gnu: openlibm: Update to 0.7.4 zimoun
2021-05-14 18:15       ` Maxime Devos
2021-05-13 14:11     ` [bug#48325] [PATCH v3 4/5] DRAFT gnu: julia: Update to 1.6.1 zimoun
2021-05-13 14:11     ` [bug#48325] [PATCH v3 5/5] gnu: julia-benchmarktools: Update to 0.7.0 zimoun
2021-05-13 14:13   ` [bug#48325] [PATCH v3 0/5] DRAFT: Update julia to 1.6.1 Nicolò Balzarotti
2021-06-05 21:38     ` [bug#48325] update of " Ludovic Courtès
2021-06-06 21:26       ` Nicolò Balzarotti
2021-06-13 20:37         ` Jean-Baptiste Volatier via Guix-patches via
2021-06-13 20:54           ` Jean-Baptiste Volatier via Guix-patches via
2021-06-16  5:06             ` [bug#48325] [PATCH v3b 4/5] julia: Update to 1.6.1: where apply upstream patches? zimoun
2021-06-29 13:22               ` [bug#48325] [PATCH 0/4 v4] DRAFT gnu: julia: Update to 1.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-06-29 13:23                 ` [bug#48325] [PATCH 1/4] gnu: Add utf8proc-2.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-07-01  8:18                   ` Maxime Devos
2021-06-29 13:23                 ` [bug#48325] [PATCH 2/4] gnu: Add pcre2-10.36 Jean-Baptiste Volatier via Guix-patches via
2021-06-29 13:23                 ` [bug#48325] [PATCH 3/4] gnu: openlibm: Update to 0.7.4 Jean-Baptiste Volatier via Guix-patches via
2021-07-01  8:22                   ` Maxime Devos
2021-07-03 17:41                     ` [bug#48325] [PATCH v5 0/5] DRAFT: Update julia to 1.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 1/5] gnu: Add utf8proc-2.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 2/5] gnu: Add pcre2-10.36 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 3/5] gnu: openlibm: Update to 0.7.4 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 4/5] gnu: julia-staticarrays: Update to 1.2.5 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 5/5] DRAFT gnu: julia: Update to 1.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 19:40                         ` Maxime Devos
2021-07-03 19:54                         ` Maxime Devos
2021-07-04  7:17                           ` Jean-Baptiste Volatier via Guix-patches via
2021-07-04 11:43                             ` Maxime Devos
2021-07-04 17:47                               ` Jean-Baptiste Volatier via Guix-patches via
2021-07-04 21:01                                 ` Maxime Devos
2021-07-09 16:12                         ` Efraim Flashner
2021-06-29 13:23                 ` [bug#48325] [PATCH 4/4] " Jean-Baptiste Volatier via Guix-patches via
2021-06-16  4:52           ` [bug#48325] update of julia " zimoun
2021-05-23 20:30   ` [bug#48325] [PATCH v3 0/5] DRAFT: Update " Jean-Baptiste Volatier via Guix-patches via
2021-08-04  8:07 ` bug#48325: update of " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210513140818.10217-1-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=48325@debbugs.gnu.org \
    --cc=anothersms@gmail.com \
    --cc=jbv@pm.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).