From patchwork Thu May 13 14:08:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 108 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B5E5327BC81; Thu, 13 May 2021 15:11:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2A14F27BC78 for ; Thu, 13 May 2021 15:11:42 +0100 (BST) Received: from localhost ([::1]:59292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhC3x-0006X5-92 for patchwork@mira.cbaines.net; Thu, 13 May 2021 10:11:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhC1P-0002eA-Io for guix-patches@gnu.org; Thu, 13 May 2021 10:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhC1O-0006XH-MC for guix-patches@gnu.org; Thu, 13 May 2021 10:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhC1O-0004N7-Hv for guix-patches@gnu.org; Thu, 13 May 2021 10:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48325] [PATCH v3 0/5] DRAFT: Update julia to 1.6.1. References: In-Reply-To: Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 May 2021 14:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48325 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48325@debbugs.gnu.org Cc: zimon.toutoune@gmail.com, Jean-Baptiste Volatier , =?utf-8?q?Nicol=C3=B2?= Balzarotti Received: via spool by 48325-submit@debbugs.gnu.org id=B48325.162091492016762 (code B ref 48325); Thu, 13 May 2021 14:09:02 +0000 Received: (at 48325) by debbugs.gnu.org; 13 May 2021 14:08:40 +0000 Received: from localhost ([127.0.0.1]:43988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhC11-0004ME-OE for submit@debbugs.gnu.org; Thu, 13 May 2021 10:08:40 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:41881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhC0v-0004Ln-WC for 48325@debbugs.gnu.org; Thu, 13 May 2021 10:08:35 -0400 Received: by mail-wr1-f54.google.com with SMTP id d11so27006597wrw.8 for <48325@debbugs.gnu.org>; Thu, 13 May 2021 07:08:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=emobcX274paV4TD87U+63lWIIPzPD8O+ezqrLimZQG0=; b=tvhBKgGRGKCwYWEpD95pwCmkoymvdZJkwBxapFmYMUEdWHygpNKPl5Hq9QY13TG1Ej //fgS4zKsn95krzR9OveonobdTShuiNoFvO4TdvmdhB2MxGL9MmFSud81YpQSpVkjceb UUlmCppWdyXYrmpxec6+B4Q9abDtsAX9+UGwZzYNHwMLTF7idwFAC2gA6TZq7D+OnPRV 5d6DW07f67szFaOHxE6r6A6q1o8jQ8QI8zekMMw0EJnZKpSk4ylemlGQA4KAZleelUim T447Xiu3YnFKSMbLm8p+Zlx9W56IsOl4J3Erro+kpJLQVzT3rfOXFE8YixNQRBrvWT6l 5GWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=emobcX274paV4TD87U+63lWIIPzPD8O+ezqrLimZQG0=; b=NfwnYxKcGKRipPy1/aRpgOe81aUhXkXWs6o1PSMa37Eh1UznBDlDzO5j1d+PVkee2X XWju6mFVEE0qlwJEGkERdd2gzUzPGBxlWnGsC8BK/YDW+b8KxLktM7EfukVFVkTUoAnl S9Ut2KPiMMZ3Vj1AvagKunZxTotJD0VI6DOnda/3RqAGHL257/KMO2zxBCW9LaAzz9aL V/i+Xgw/MJCXnI9+N+AYMjwioL10ATq88b5Z86jOwxVJ5FUxXUEFTSfN8vj1lPNKNOD9 FQmSPOhCB/E9iCQ7UhEDK5SpYnUfdqScABNADNUvm0LdjbxP+tcGYCU3GSy958HhyvuF MyZA== X-Gm-Message-State: AOAM530QM0xgVIMvhEGn8ePfo5xHj7PRfapdUKlB1e3bM275u8PR1P6S 6luPYqFyPuF8Mgva3bBMpzNy2QZ//O8= X-Google-Smtp-Source: ABdhPJxar3OUXOVF1aMUoo5vtZCOHYtgiiwD+acKdTB8W9JHF6r5bE7I7E5AYTEFPewAkF4jEqDGLQ== X-Received: by 2002:adf:bc46:: with SMTP id a6mr14426286wrh.232.1620914908197; Thu, 13 May 2021 07:08:28 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id h8sm2945918wrw.85.2021.05.13.07.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 07:08:27 -0700 (PDT) From: zimoun Date: Thu, 13 May 2021 16:08:18 +0200 Message-Id: <20210513140818.10217-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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: 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