Subject: Re: bug#56537: sushi: build failure, bad URI

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 13 Jul 2022 08:45:55 -0400

Hi Christopher,

Christopher Howard <[email-masked]> writes:

> Hello, I am trying to do a system reconfigure to update my system, but eventually gnome dependency "sushi" tries to build and fails. I believe the problem is that Guix is trying to download https://download.gnome.org/sources/sushi/42.0/sushi-42.0.tar.xz but the path is actually https://download.gnome.org/sources/sushi/42/sushi-42.0.tar.xz.

Indeed.  Fixed with this:

--8<---------------cut here---------------start------------->8---
modified   gnu/packages/gnome.scm
@@ -1588,7 +1588,7 @@ (define-public sushi
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
-                                  (version-major+minor version) "/"
+                                  (version-major version) "/"
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
--8<---------------cut here---------------end--------------->8---

Pushed to master as 6d5b3df7afefa6b038c8430ae3e1650af986ad1e.

Sorry for the breakage, and thank you for reporting it!

Maxim