Subject: bug#32836: closed (Re: bug#32836: emacs-magit is broken (and probably others) due to package renaming)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 26 Sep 2018 09:39:03 +0000

Your bug report

#32836: emacs-magit is broken (and probably others) due to package renaming

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
32836: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32836
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#32836: emacs-magit is broken (and probably others) due to package renaming
From: [email-masked] (Ludovic Courtès)
To: Pierre Neidhardt <[email-masked]>
Cc: Björn Höfling<[email-masked]>, Taylan Kammer <[email-masked]>, [email-masked]
Date: Wed, 26 Sep 2018 11:38:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Pierre Neidhardt <[email-masked]> skribis:

> OK, I'll add this recommendation to the Guix packaging tutorial.

Sounds good.

> I've pushed the fix upstream.  Only magit and groovy-modes were affected.

Thanks for the quick fix!

Ludo’.

Subject: emacs-magit is broken (and probably others) due to package renaming
From: Björn Höfling <[email-masked]>
To: <[email-masked]>
Cc: Pierre Neidhardt <[email-masked]>
Date: Tue, 25 Sep 2018 15:54:42 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Commit

5c8031ff7382ec9079040d08ae5a05b4dd2352b7

mass-renamed emacs-packages from "foo" to "emacs-foo". Unfortunately,
some package definitions use the package-name for building the URL.
That is for example the case in emacs-magit:

(define-public emacs-magit
  (package
    (name "emacs-magit")
    (version "2.13.0")
    (source (origin
             (method url-fetch)
             (uri (string-append
                   "https://github.com/magit/magit/releases/download/"
                   version "/" name "-" version ".tar.gz"))

Thus, it can no longer be built:

Starting download of /gnu/store/h01ag9sr8nxiqbnlblmxplnv43a2005j-emacs-magit-2.13.0.tar.gz
From https://github.com/magit/magit/releases/download/2.13.0/emacs-magit-2.13.0.tar.gz...
ERROR: download failed "https://github.com/magit/magit/releases/download/2.13.0/emacs-magit-2.13.0.tar.gz" 404 "Not Found"

Pierre, could you have a look into it?

Thanks

Björn