GNU bug report logs - #49653
[PATCH] gnu: Fix broken links to Arch Linux git repositories

Previous Next

Package: guix-patches;

Reported by: Milkey Mouse <milkeymouse <at> meme.institute>

Date: Tue, 20 Jul 2021 04:03: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 49653 in the body.
You can then email your comments to 49653 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#49653; Package guix-patches. (Tue, 20 Jul 2021 04:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Milkey Mouse <milkeymouse <at> meme.institute>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 20 Jul 2021 04:03:02 GMT) Full text and rfc822 format available.

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

From: Milkey Mouse <milkeymouse <at> meme.institute>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Fix broken links to Arch Linux git repositories
Date: Mon, 19 Jul 2021 21:02:01 -0700
* gnu/packages/crypto.scm (libsecp256k1): Update comment patch link.
* gnu/packages/engineering.scm (freehdl): Update patch link.
* gnu/packages/tex.scm (texlive-bin): Update arch-patch base URL.
---
Arch recently retired git.archlinux.org and now hosts SVN mirrors on
GitLab and GitHub. This caused builds of packages which downloaded
patches from git.archlinux.org to fail. This was mentioned on IRC a few
days ago and I encountered it myself when building texlive-bin without
substitutes. This commit points links to where the patches now live.

 gnu/packages/crypto.scm      | 2 +-
 gnu/packages/engineering.scm | 9 +++++----
 gnu/packages/tex.scm         | 6 +++---
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index fe2cec045d..c545f47fcf 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1118,7 +1118,7 @@ trivial to build for local use.  Portability is emphasized over performance.")
          ("automake" ,automake)
          ("libtool" ,libtool)))
       ;; WARNING: This package might need additional configure flags to run properly.
-      ;; See https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/libsecp256k1.
+      ;; See https://github.com/archlinux/svntogit-community/blob/packages/libsecp256k1/trunk/PKGBUILD.
       (synopsis "C library for EC operations on curve secp256k1")
       (description
        "Optimized C library for EC operations on curve secp256k1.
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index fc932ddb28..33c124a2ea 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1949,11 +1949,12 @@ parallel computing platforms.  It also supports serial execution.")
               (patches
                (list (origin
                        ;; Fix build with GCC 7.  Patch taken from Arch Linux:
-                       ;; https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/freehdl
+                       ;; https://github.com/archlinux/svntogit-community/tree/packages/freehdl/trunk
                        (method url-fetch)
-                       (uri "https://git.archlinux.org/svntogit/community.git\
-/plain/trunk/build-fix.patch?h=packages/freehdl\
-&id=3bb90d64dfe6883e26083cd1fa96226d0d59175a")
+                       (uri (string-append "https://raw.githubusercontent.com"
+                                           "/archlinux/svntogit-community"
+                                           "/3bb90d64dfe6883e26083cd1fa96226d0d59175a"
+                                           "/trunk/build-fix.patch"))
                        (file-name "freehdl-c++-namespace.patch")
                        (sha256
                         (base32
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b404ca8ff1..3013b1e8b5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -252,9 +252,9 @@ files from LOCATIONS with expected checksum HASH.  CODE is not currently in use.
               (lambda (name revision hash)
                 (origin
                   (method url-fetch)
-                  (uri (string-append "https://git.archlinux.org/svntogit/packages.git"
-                                      "/plain/trunk/" name "?h=packages/texlive-bin"
-                                      "&id=" revision))
+                  (uri (string-append "https://raw.githubusercontent.com"
+                                      "/archlinux/svntogit-packages/" revision
+                                      "/repos/extra-x86_64/" name))
                   (file-name (string-append "texlive-bin-" name))
                   (sha256 (base32 hash)))))
              (arch-revision "49d7fe25e5ea63f136ebc20270c1d8fc9b00041c"))
-- 
2.32.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 04 Aug 2021 15:22:02 GMT) Full text and rfc822 format available.

Notification sent to Milkey Mouse <milkeymouse <at> meme.institute>:
bug acknowledged by developer. (Wed, 04 Aug 2021 15:22:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Milkey Mouse <milkeymouse <at> meme.institute>
Cc: 49653-done <at> debbugs.gnu.org
Subject: Re: bug#49653: [PATCH] gnu: Fix broken links to Arch Linux git
 repositories
Date: Wed, 04 Aug 2021 17:20:47 +0200
Hi,

Milkey Mouse <milkeymouse <at> meme.institute> skribis:

> * gnu/packages/crypto.scm (libsecp256k1): Update comment patch link.
> * gnu/packages/engineering.scm (freehdl): Update patch link.
> * gnu/packages/tex.scm (texlive-bin): Update arch-patch base URL.
> ---
> Arch recently retired git.archlinux.org and now hosts SVN mirrors on
> GitLab and GitHub. This caused builds of packages which downloaded
> patches from git.archlinux.org to fail. This was mentioned on IRC a few
> days ago and I encountered it myself when building texlive-bin without
> substitutes. This commit points links to where the patches now live.

Good catch.  Applied, thanks!

Ludo’.




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

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

Previous Next


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