GNU bug report logs - #32836
emacs-magit is broken (and probably others) due to package renaming

Previous Next

Package: guix;

Reported by: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Date: Tue, 25 Sep 2018 13:55:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#32836: closed (emacs-magit is broken (and probably others)
 due to package renaming)
Date: Wed, 26 Sep 2018 09:39:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 26 Sep 2018 11:38:02 +0200
with message-id <875zys4n0l.fsf <at> gnu.org>
and subject line Re: bug#32836: emacs-magit is broken (and probably others) due to package renaming
has caused the debbugs.gnu.org bug report #32836,
regarding emacs-magit is broken (and probably others) due to package renaming
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
32836: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32836
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: <bug-guix <at> gnu.org>
Cc: Pierre Neidhardt <mail <at> ambrevar.xyz>
Subject: emacs-magit is broken (and probably others) due to package renaming
Date: Tue, 25 Sep 2018 15:54:42 +0200
[Message part 3 (text/plain, inline)]
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
[Message part 4 (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: Björn Höfling
 <bjoern.hoefling <at> bjoernhoefling.de>, Taylan Kammer <taylanbayirli <at> gmail.com>,
 32836-done <at> debbugs.gnu.org
Subject: Re: bug#32836: emacs-magit is broken (and probably others) due to
 package renaming
Date: Wed, 26 Sep 2018 11:38:02 +0200
Pierre Neidhardt <mail <at> ambrevar.xyz> 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’.


This bug report was last modified 6 years and 234 days ago.

Previous Next


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