GNU bug report logs - #57979
[PATCH 0/1] gnu: emacs-lua-mode: Fix build.

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Wed, 21 Sep 2022 13:37: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 57979 in the body.
You can then email your comments to 57979 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 mail <at> nicolasgoaziou.fr, guix-patches <at> gnu.org:
bug#57979; Package guix-patches. (Wed, 21 Sep 2022 13:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to mail <at> nicolasgoaziou.fr, guix-patches <at> gnu.org. (Wed, 21 Sep 2022 13:37:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 0/1] gnu: emacs-lua-mode: Fix build.
Date: Wed, 21 Sep 2022 15:36:24 +0200
Hi,

The update of emacs-buttercup by commit f5b51a621238ff325794e79019d2dbfc018e63bf

breaks the package emacs-lua-mode.  As see in

    https://ci.guix.gnu.org/build/1204944/details

or

    https://data.guix.gnu.org/repository/1/branch/master/package/emacs-lua-mode/output-history


The package reintroduces emacs-buttercup <at> 1.25 (not defined public) and uses it.


Cheers,
simon


zimoun (1):
  gnu: emacs-lua-mode: Fix build.

 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)


base-commit: 6885f22375b093c08d69bbed6aa42d2e8c11a168
-- 
2.36.0





Information forwarded to guix-patches <at> gnu.org:
bug#57979; Package guix-patches. (Wed, 21 Sep 2022 13:39:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: 57979 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 1/1] gnu: emacs-lua-mode: Fix build.
Date: Wed, 21 Sep 2022 15:38:35 +0200
* gnu/packages/emacs-xyz.scm (emacs-buttercup-1.25): New variable.
(emacs-lua-mode): Use it.
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 32e4c33f16..0cdcb42404 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -95,7 +95,7 @@
 ;;; Copyright © 2021 Alexey Abramov <levenson <at> mmer.org>
 ;;; Copyright © 2021 Xinglu Chen <public <at> yoctocell.xyz>
 ;;; Copyright © 2021, 2022 Stefan Reichör <stefan <at> xsteve.at>
-;;; Copyright © 2021 Simon Tournier <zimon.toutoune <at> gmail.com>
+;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune <at> gmail.com>
 ;;; Copyright © 2021 Eugene Klimov <lipklim <at> mailbox.org>
 ;;; Copyright © 2021 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2021 David Dashyan <mail <at> davie.li>
@@ -12816,7 +12816,7 @@ (define-public emacs-lua-mode
      `(#:tests? #t
        #:test-command '("buttercup" "-l" "lua-mode.el")))
     (native-inputs
-     (list emacs-buttercup lua))
+     (list emacs-buttercup-1.25 lua))
     (synopsis "Major mode for lua")
     (description
      "This Emacs package provides a mode for @uref{https://www.lua.org/,
@@ -24678,6 +24678,23 @@ (define-public emacs-buttercup
 functions to ensure they are called with the right arguments during testing.")
     (license license:gpl3+)))
 
+;;; Required by emacs-lua-mode
+(define emacs-buttercup-1.25
+  (package
+    (inherit emacs-buttercup)
+    (name "emacs-buttercup")
+    (version "1.25")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jorgenschaefer/emacs-buttercup")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0fsysvsypda6b7azc15bpaprq3bwx4gb6rlq2mj6f8rgwdqc8153"))))))
+
 (define-public emacs-cort
   (package
     (name "emacs-cort")
-- 
2.36.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sat, 24 Sep 2022 15:47:02 GMT) Full text and rfc822 format available.

Notification sent to zimoun <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Sat, 24 Sep 2022 15:47:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 57979-done <at> debbugs.gnu.org
Subject: Re: bug#57979: [PATCH 0/1] gnu: emacs-lua-mode: Fix build.
Date: Sat, 24 Sep 2022 17:46:48 +0200
Hi,

zimoun <zimon.toutoune <at> gmail.com> skribis:

> * gnu/packages/emacs-xyz.scm (emacs-buttercup-1.25): New variable.
> (emacs-lua-mode): Use it.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 23 Oct 2022 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 185 days ago.

Previous Next


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