GNU bug report logs - #59836
[PATCH 0/1] Fix julia-documenter and so many Julia packages

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Mon, 5 Dec 2022 15:38:02 UTC

Severity: normal

Tags: patch

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

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 59836 in the body.
You can then email your comments to 59836 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 ludo <at> gnu.org, efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#59836; Package guix-patches. (Mon, 05 Dec 2022 15:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to ludo <at> gnu.org, efraim <at> flashner.co.il, guix-patches <at> gnu.org. (Mon, 05 Dec 2022 15:38:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 0/1] Fix julia-documenter and so many Julia packages
Date: Mon,  5 Dec 2022 16:37:10 +0100
Hi,

Commit 83ede5a02e1fc531d912eb92eb0a22a4b897997c updating Git from 2.38.0 to
2.38.1 fixes several securtity issues.  But it changes the default behaviour
of "git submodule", hence breaking the test suite of julia-documenter.

This patch backports the fix from upstream.  This fix has not been released
yet.  An update to lastest Julia Documenter implies other updates.  I am
working on it but it is ~160 patches (from new packages to updates) and it is
not ready yet.

Therefore, this patch allows to have again all the Julia packages instead of
the current: 77.4% substitutes available (243 out of 314).


Cheers,
simon


zimoun (1):
  gnu: julia-documenter: Fix test suite regression.

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


base-commit: 48329575c87bbee7166eedf10b1699599e67c49d
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#59836; Package guix-patches. (Mon, 05 Dec 2022 15:40:01 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: 59836 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 1/1] gnu: julia-documenter: Fix test suite regression.
Date: Mon,  5 Dec 2022 16:38:51 +0100
* gnu/packages/julia-xyz.scm (julia-documenter)[arguments]<#:phases>:
Substitute a work around to fix the change of 'git submodule' default
behaviour introduced by Git v2.38.1.
---
 gnu/packages/julia-xyz.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 28c759a5c0..ac6584825b 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1472,6 +1472,15 @@ (define-public julia-documenter
                 (("pip install")
                  (string-append (search-input-file inputs "bin/pip")
                                 " install")))))
+          (add-after 'link-depot 'fix-test-git-submodule
+            ;; Git v2.38.1 fixes security issues and changes the default
+            ;; behaviour of `git submodule`.  This substitution is a backport
+            ;; of the upstream patch, not yet released, fixing the test suite.
+            ;; https://github.com/JuliaDocs/Documenter.jl/commit/b5a5c65d02d136743e7c18ffebf8baba900484fc
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* "test/utilities.jl"
+                (("submodule add")
+                 "-c protocol.file.allow=always submodule add"))))
           (add-after 'link-depot 'remove-javascript-downloads
             (lambda _
               (substitute* "src/Writers/HTMLWriter.jl"
-- 
2.38.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 05 Dec 2022 15:59:02 GMT) Full text and rfc822 format available.

Notification sent to zimoun <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Mon, 05 Dec 2022 15:59:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 59836-done <at> debbugs.gnu.org
Subject: Re: bug#59836: [PATCH 0/1] Fix julia-documenter and so many Julia
 packages
Date: Mon, 05 Dec 2022 16:58:19 +0100
Hi,

zimoun <zimon.toutoune <at> gmail.com> skribis:

> * gnu/packages/julia-xyz.scm (julia-documenter)[arguments]<#:phases>:
> Substitute a work around to fix the change of 'git submodule' default
> behaviour introduced by Git v2.38.1.

Well done; applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Jan 2023 12:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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