[PATCH] gnu: emacs-circe: Update to 2.12.

  • Done
  • quality assurance status badge
Details
3 participants
  • jgart
  • Ludovic Courtès
  • Maxim Cournoyer
Owner
unassigned
Submitted by
jgart
Severity
normal
J
J
jgart wrote on 2 May 2022 04:31
(address . guix-patches@gnu.org)(name . jgart)(address . jgart@dismail.de)
20220502023126.22534-1-jgart@dismail.de
* gnu/packages/emacs-xyz.scm (emacs-circe): Update to 2.12.
---
gnu/packages/emacs-xyz.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (21 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d0851a480e..0723639b8f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16227,11 +16227,11 @@ (define-public emacs-auth-source-xoauth2
(define-public emacs-circe
;; The latest stable release is two years old, and some important fixes have
;; landed since then.
- (let ((commit "d6f1fa18646f6ed2a1c0f06a4888130bd694ff19")
- (revision "0"))
+ (let ((commit "710f057fedae6e9b820cce9336fef24b7d057e4c")
+ (revision "1"))
(package
(name "emacs-circe")
- (version (git-version "2.11" revision commit))
+ (version (git-version "2.12" revision commit))
(source
(origin
(method git-fetch)
--
2.35.1
L
L
Ludovic Courtès wrote on 6 May 2022 10:23
(name . jgart)(address . jgart@dismail.de)(address . 55215@debbugs.gnu.org)
871qx75asu.fsf@gnu.org
jgart <jgart@dismail.de> skribis:

Toggle quote (22 lines)
> * gnu/packages/emacs-xyz.scm (emacs-circe): Update to 2.12.
> ---
> gnu/packages/emacs-xyz.scm | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index d0851a480e..0723639b8f 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -16227,11 +16227,11 @@ (define-public emacs-auth-source-xoauth2
> (define-public emacs-circe
> ;; The latest stable release is two years old, and some important fixes have
> ;; landed since then.
> - (let ((commit "d6f1fa18646f6ed2a1c0f06a4888130bd694ff19")
> - (revision "0"))
> + (let ((commit "710f057fedae6e9b820cce9336fef24b7d057e4c")
> + (revision "1"))
> (package
> (name "emacs-circe")
> - (version (git-version "2.11" revision commit))
> + (version (git-version "2.12" revision commit))

Looks like you forgot to update the hash. Could you send an updated
patch?

TIA!

Ludo’.
J
J
jgart wrote on 6 May 2022 18:30
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 55215@debbugs.gnu.org)
20220506163033.GE5675@gac
On Fri, 06 May 2022 10:23:45 +0200 Ludovic Courtès <ludo@gnu.org> wrote:
Toggle quote (27 lines)
> jgart <jgart@dismail.de> skribis:
>
> > * gnu/packages/emacs-xyz.scm (emacs-circe): Update to 2.12.
> > ---
> > gnu/packages/emacs-xyz.scm | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> > index d0851a480e..0723639b8f 100644
> > --- a/gnu/packages/emacs-xyz.scm
> > +++ b/gnu/packages/emacs-xyz.scm
> > @@ -16227,11 +16227,11 @@ (define-public emacs-auth-source-xoauth2
> > (define-public emacs-circe
> > ;; The latest stable release is two years old, and some important fixes have
> > ;; landed since then.
> > - (let ((commit "d6f1fa18646f6ed2a1c0f06a4888130bd694ff19")
> > - (revision "0"))
> > + (let ((commit "710f057fedae6e9b820cce9336fef24b7d057e4c")
> > + (revision "1"))
> > (package
> > (name "emacs-circe")
> > - (version (git-version "2.11" revision commit))
> > + (version (git-version "2.12" revision commit))
>
> Looks like you forgot to update the hash. Could you send an updated
> patch?

Hi Ludo,

Thanks for the review.

I've run into this issue before that no matter what I do to try to get
guix to detect the faulty hash it happily builds the package in question
successfully without failing.

For example, I tried changing the first character of the hash to 1
if 0 in order to cause it to fail but guix does not complain and builds
it nonetheless.

Is this because of some caching going on? What should I do?

all best,

jgart
L
L
Ludovic Courtès wrote on 9 May 2022 10:29
(name . jgart)(address . jgart@dismail.de)(address . 55215@debbugs.gnu.org)
87a6brt8g6.fsf@gnu.org
Hi,

jgart <jgart@dismail.de> skribis:

Toggle quote (4 lines)
> I've run into this issue before that no matter what I do to try to get
> guix to detect the faulty hash it happily builds the package in question
> successfully without failing.

Since ‘origin’ has a ‘file-name’ field that is a function of the version
string, Guix will try to redownload the source if you change the version
string, and at that point it should fail with a wrong hash error, as it
did for me.

Let me know if you observe something different.

HTH,
Ludo’.
M
M
Maxim Cournoyer wrote on 24 Jun 2022 17:17
control message for bug #55215
(address . control@debbugs.gnu.org)
87k096yttc.fsf@gmail.com
tags 55215 + moreinfo
quit
M
M
Maxim Cournoyer wrote on 7 Jul 2022 22:30
Re: bug#55215: [PATCH] gnu: emacs-circe: Update to 2.12.
(name . jgart)(address . jgart@dismail.de)(address . 55215-done@debbugs.gnu.org)
87let4wtrk.fsf@gmail.com
Hello,

jgart <jgart@dismail.de> writes:

Toggle quote (25 lines)
> * gnu/packages/emacs-xyz.scm (emacs-circe): Update to 2.12.
> ---
> gnu/packages/emacs-xyz.scm | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index d0851a480e..0723639b8f 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -16227,11 +16227,11 @@ (define-public emacs-auth-source-xoauth2
> (define-public emacs-circe
> ;; The latest stable release is two years old, and some important fixes have
> ;; landed since then.
> - (let ((commit "d6f1fa18646f6ed2a1c0f06a4888130bd694ff19")
> - (revision "0"))
> + (let ((commit "710f057fedae6e9b820cce9336fef24b7d057e4c")
> + (revision "1"))
> (package
> (name "emacs-circe")
> - (version (git-version "2.11" revision commit))
> + (version (git-version "2.12" revision commit))
> (source
> (origin
> (method git-fetch)

Obsoleted by commit 96eb2337b5, which updated emacs-circe to 2.12.

Thanks,

Maxim
Closed
?