unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55466] [PATCH 0/2] Fix emacs packages failing to build
@ 2022-05-16 23:45 luishgh
  2022-05-16 23:45 ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: luishgh @ 2022-05-16 23:45 UTC (permalink / raw)
  To: 55466; +Cc: luishgh

Hi guix,

this patch series fix a couple of emacs packages that are currently failing to build.

luishgh (2):
  gnu: emacs-racer: Update to 1e63e98.
  gnu: emacs-explain-pause-mode: Fix failing tests.

 gnu/packages/emacs-xyz.scm | 96 +++++++++++++++++++++-----------------
 1 file changed, 52 insertions(+), 44 deletions(-)

-- 
2.36.0





^ permalink raw reply	[flat|nested] 16+ messages in thread

* [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98.
  2022-05-16 23:45 [bug#55466] [PATCH 0/2] Fix emacs packages failing to build luishgh
@ 2022-05-16 23:45 ` luishgh
  2022-05-16 23:50   ` [bug#55467] Apologies Luis Henrique Gomes Higino
  2022-05-17  7:19   ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 Nicolas Goaziou
  2022-05-16 23:45 ` [bug#55468] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests luishgh
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 16+ messages in thread
From: luishgh @ 2022-05-16 23:45 UTC (permalink / raw)
  To: 55467; +Cc: luishgh

From: luishgh <51053603+luishgh@users.noreply.github.com>

* gnu/packages/emacs-xyz.scm (emacs-racer): Update to 1e63e98.
---
 gnu/packages/emacs-xyz.scm | 87 +++++++++++++++++++-------------------
 1 file changed, 44 insertions(+), 43 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8d66278b8f..590330ac4f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22487,52 +22487,53 @@ (define-public emacs-adoc-mode
     (license license:gpl2+)))
 
 (define-public emacs-racer
-  (package
-    (name "emacs-racer")
-    (version "1.2")
-    (source
-     (origin
-       (method git-fetch)
-       (uri
-        (git-reference
-         (url "https://github.com/racer-rust/emacs-racer")
-         (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0xj5iki10cg8j8vvqjlw6lfx97k3agwirhchcjnzbnkry48x9qi6"))))
-    (arguments
-     `(#:tests? #t
-       #:test-command '("make" "test")
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'fix-makefile
-           (lambda _
-             (substitute* "Makefile"
-               (("\\$\\{CASK\\} exec ") ""))
-             #t))
-         ;; Two tests are failing with Emacs 27, as reported here:
-         ;; <https://github.com/racer-rust/emacs-racer/issues/136>.  Disable
-         ;; them.
-         (add-before 'check 'fix-failing-tests
-           (lambda _
-             (substitute* "test/racer-test.el"
-               (("`Write`") "Write")
-               (("^\\\\\\[`str\\]:.*") "")
-               ((" \\[`str`\\]") " str"))
-             #t)))))
-    (native-inputs
-     (list emacs-ert-runner emacs-undercover))
-    (propagated-inputs
-     (list emacs-dash emacs-f emacs-pos-tip emacs-rust-mode emacs-s))
-    (build-system emacs-build-system)
-    (home-page "https://github.com/racer-rust/emacs-racer")
-    (synopsis "Racer support for Emacs")
-    (description
-     "This is the official Emacs package for Racer.  It supports code
+  (let ((commit "1e63e98626737ea9b662d4a9b1ffd6842b1c648c")
+        (revision "0"))
+    (package
+      (name "emacs-racer")
+      (version (git-version "1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/racer-rust/emacs-racer")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "12a429lajk09qp1jxgig54p8z6wndfgr4jwdmgkc9s2df9sw02d3"))))
+      (arguments
+       `(#:tests? #t
+         #:test-command '("ert-runner")
+         #:phases
+         (modify-phases %standard-phases
+           ;; Two tests are failing with Emacs 27, as reported here:
+           ;; <https://github.com/racer-rust/emacs-racer/issues/136>.  Disable
+           ;; them.
+           (add-before 'check 'fix-failing-tests
+             (lambda _
+               (substitute* "test/racer-test.el"
+                 (("`Write`") "Write")
+                 (("^\\\\\\[`str\\]:.*") "")
+                 ((" \\[`str`\\]") " str"))
+               #t))
+           ;; Added to replicate original behavior of "make test"
+           (add-after 'build 'test-after-build
+             (lambda _
+               (invoke "ert-runner"))))))
+      (native-inputs
+       (list emacs-ert-runner emacs-undercover))
+      (propagated-inputs
+       (list emacs-dash emacs-f emacs-pos-tip emacs-rust-mode emacs-s))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/racer-rust/emacs-racer")
+      (synopsis "Racer support for Emacs")
+      (description
+       "This is the official Emacs package for Racer.  It supports code
 completion of variables, functions and modules.  It can also jump to
 definition of functions and types, and show a help buffer based on the
 docstring of the thing at point.")
-    (license license:expat)))
+      (license license:expat))))
 
 (define-public emacs-rust-mode
   (package
-- 
2.36.0





^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [bug#55468] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
  2022-05-16 23:45 [bug#55466] [PATCH 0/2] Fix emacs packages failing to build luishgh
  2022-05-16 23:45 ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
@ 2022-05-16 23:45 ` luishgh
  2022-05-17  7:19   ` Nicolas Goaziou
  2022-05-16 23:49 ` [bug#55466] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 16+ messages in thread
From: luishgh @ 2022-05-16 23:45 UTC (permalink / raw)
  To: 55468; +Cc: luishgh

From: luishgh <51053603+luishgh@users.noreply.github.com>

* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): Fix failing tests.
---
 gnu/packages/emacs-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 590330ac4f..8fc1d38193 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4709,7 +4709,7 @@ (define-public emacs-explain-pause-mode
         (revision "0"))
     (package
       (name "emacs-explain-pause-mode")
-      (version (git-version "0.1" revision commit))
+      (version (git-version "0.2" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -4724,6 +4724,13 @@ (define-public emacs-explain-pause-mode
        (list emacs-buttercup))
       (arguments
        '(#:tests? #t
+         #:phases
+         (modify-phases %standard-phases
+           ;; This causes the byte-compilation before unit-tests to fail
+           (add-after 'unpack 'remove-error-on-warn
+             (lambda _
+               (substitute* "Makefile"
+                 (("--eval '\\(setq byte-compile-error-on-warn t\\)'") "")))))
          ;; Don't run case-tests as they will fail to create sockets because
          ;; the path is too long
          #:test-command '("make" "byte-compile" "unit-tests")
-- 
2.36.0





^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98.
  2022-05-16 23:45 [bug#55466] [PATCH 0/2] Fix emacs packages failing to build luishgh
  2022-05-16 23:45 ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
  2022-05-16 23:45 ` [bug#55468] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests luishgh
@ 2022-05-16 23:49 ` luishgh
  2022-05-16 23:49   ` [bug#55466] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests luishgh
  2022-05-17  1:48 ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Luis Henrique Gomes Higino
  2022-05-17  7:18 ` bug#55466: [PATCH 0/2] Fix emacs packages failing to build Nicolas Goaziou
  4 siblings, 1 reply; 16+ messages in thread
From: luishgh @ 2022-05-16 23:49 UTC (permalink / raw)
  To: 55466; +Cc: luishgh

From: luishgh <51053603+luishgh@users.noreply.github.com>

* gnu/packages/emacs-xyz.scm (emacs-racer): Update to 1e63e98.
---
 gnu/packages/emacs-xyz.scm | 87 +++++++++++++++++++-------------------
 1 file changed, 44 insertions(+), 43 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8d66278b8f..590330ac4f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22487,52 +22487,53 @@ (define-public emacs-adoc-mode
     (license license:gpl2+)))
 
 (define-public emacs-racer
-  (package
-    (name "emacs-racer")
-    (version "1.2")
-    (source
-     (origin
-       (method git-fetch)
-       (uri
-        (git-reference
-         (url "https://github.com/racer-rust/emacs-racer")
-         (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0xj5iki10cg8j8vvqjlw6lfx97k3agwirhchcjnzbnkry48x9qi6"))))
-    (arguments
-     `(#:tests? #t
-       #:test-command '("make" "test")
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'fix-makefile
-           (lambda _
-             (substitute* "Makefile"
-               (("\\$\\{CASK\\} exec ") ""))
-             #t))
-         ;; Two tests are failing with Emacs 27, as reported here:
-         ;; <https://github.com/racer-rust/emacs-racer/issues/136>.  Disable
-         ;; them.
-         (add-before 'check 'fix-failing-tests
-           (lambda _
-             (substitute* "test/racer-test.el"
-               (("`Write`") "Write")
-               (("^\\\\\\[`str\\]:.*") "")
-               ((" \\[`str`\\]") " str"))
-             #t)))))
-    (native-inputs
-     (list emacs-ert-runner emacs-undercover))
-    (propagated-inputs
-     (list emacs-dash emacs-f emacs-pos-tip emacs-rust-mode emacs-s))
-    (build-system emacs-build-system)
-    (home-page "https://github.com/racer-rust/emacs-racer")
-    (synopsis "Racer support for Emacs")
-    (description
-     "This is the official Emacs package for Racer.  It supports code
+  (let ((commit "1e63e98626737ea9b662d4a9b1ffd6842b1c648c")
+        (revision "0"))
+    (package
+      (name "emacs-racer")
+      (version (git-version "1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/racer-rust/emacs-racer")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "12a429lajk09qp1jxgig54p8z6wndfgr4jwdmgkc9s2df9sw02d3"))))
+      (arguments
+       `(#:tests? #t
+         #:test-command '("ert-runner")
+         #:phases
+         (modify-phases %standard-phases
+           ;; Two tests are failing with Emacs 27, as reported here:
+           ;; <https://github.com/racer-rust/emacs-racer/issues/136>.  Disable
+           ;; them.
+           (add-before 'check 'fix-failing-tests
+             (lambda _
+               (substitute* "test/racer-test.el"
+                 (("`Write`") "Write")
+                 (("^\\\\\\[`str\\]:.*") "")
+                 ((" \\[`str`\\]") " str"))
+               #t))
+           ;; Added to replicate original behavior of "make test"
+           (add-after 'build 'test-after-build
+             (lambda _
+               (invoke "ert-runner"))))))
+      (native-inputs
+       (list emacs-ert-runner emacs-undercover))
+      (propagated-inputs
+       (list emacs-dash emacs-f emacs-pos-tip emacs-rust-mode emacs-s))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/racer-rust/emacs-racer")
+      (synopsis "Racer support for Emacs")
+      (description
+       "This is the official Emacs package for Racer.  It supports code
 completion of variables, functions and modules.  It can also jump to
 definition of functions and types, and show a help buffer based on the
 docstring of the thing at point.")
-    (license license:expat)))
+      (license license:expat))))
 
 (define-public emacs-rust-mode
   (package
-- 
2.36.0





^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
  2022-05-16 23:49 ` [bug#55466] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
@ 2022-05-16 23:49   ` luishgh
  0 siblings, 0 replies; 16+ messages in thread
From: luishgh @ 2022-05-16 23:49 UTC (permalink / raw)
  To: 55466; +Cc: luishgh

From: luishgh <51053603+luishgh@users.noreply.github.com>

* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): Fix failing tests.
---
 gnu/packages/emacs-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 590330ac4f..8fc1d38193 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4709,7 +4709,7 @@ (define-public emacs-explain-pause-mode
         (revision "0"))
     (package
       (name "emacs-explain-pause-mode")
-      (version (git-version "0.1" revision commit))
+      (version (git-version "0.2" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -4724,6 +4724,13 @@ (define-public emacs-explain-pause-mode
        (list emacs-buttercup))
       (arguments
        '(#:tests? #t
+         #:phases
+         (modify-phases %standard-phases
+           ;; This causes the byte-compilation before unit-tests to fail
+           (add-after 'unpack 'remove-error-on-warn
+             (lambda _
+               (substitute* "Makefile"
+                 (("--eval '\\(setq byte-compile-error-on-warn t\\)'") "")))))
          ;; Don't run case-tests as they will fail to create sockets because
          ;; the path is too long
          #:test-command '("make" "byte-compile" "unit-tests")
-- 
2.36.0





^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [bug#55467] Apologies
  2022-05-16 23:45 ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
@ 2022-05-16 23:50   ` Luis Henrique Gomes Higino
  2022-05-17  7:19   ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 Nicolas Goaziou
  1 sibling, 0 replies; 16+ messages in thread
From: Luis Henrique Gomes Higino @ 2022-05-16 23:50 UTC (permalink / raw)
  To: 55467; +Cc: 55468


Hi guix,

sent the patches as separate issues :/. The right one is 
https://issues.guix.gnu.org/55466. Sorry for the inconvenience.

Regards,
-- 
Luis H. Higino




^ permalink raw reply	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98.
  2022-05-16 23:45 [bug#55466] [PATCH 0/2] Fix emacs packages failing to build luishgh
                   ` (2 preceding siblings ...)
  2022-05-16 23:49 ` [bug#55466] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
@ 2022-05-17  1:48 ` Luis Henrique Gomes Higino
  2022-05-17  1:48   ` [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests Luis Henrique Gomes Higino
  2022-05-17  7:16   ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Nicolas Goaziou
  2022-05-17  7:18 ` bug#55466: [PATCH 0/2] Fix emacs packages failing to build Nicolas Goaziou
  4 siblings, 2 replies; 16+ messages in thread
From: Luis Henrique Gomes Higino @ 2022-05-17  1:48 UTC (permalink / raw)
  To: 55466; +Cc: luishgh

From: luishgh <51053603+luishgh@users.noreply.github.com>

* gnu/packages/emacs-xyz.scm (emacs-racer): Update to 1e63e98.
---

I noticed that this comment above the `fix-failing-tests' build phase
suggests it is not necessary with Emacs 28, so I removed it and the
package built just fine.

 gnu/packages/emacs-xyz.scm | 77 +++++++++++++++++---------------------
 1 file changed, 34 insertions(+), 43 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8d66278b8f..c8a19e5e9e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22487,52 +22487,43 @@ (define-public emacs-adoc-mode
     (license license:gpl2+)))
 
 (define-public emacs-racer
-  (package
-    (name "emacs-racer")
-    (version "1.2")
-    (source
-     (origin
-       (method git-fetch)
-       (uri
-        (git-reference
-         (url "https://github.com/racer-rust/emacs-racer")
-         (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0xj5iki10cg8j8vvqjlw6lfx97k3agwirhchcjnzbnkry48x9qi6"))))
-    (arguments
-     `(#:tests? #t
-       #:test-command '("make" "test")
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'fix-makefile
-           (lambda _
-             (substitute* "Makefile"
-               (("\\$\\{CASK\\} exec ") ""))
-             #t))
-         ;; Two tests are failing with Emacs 27, as reported here:
-         ;; <https://github.com/racer-rust/emacs-racer/issues/136>.  Disable
-         ;; them.
-         (add-before 'check 'fix-failing-tests
-           (lambda _
-             (substitute* "test/racer-test.el"
-               (("`Write`") "Write")
-               (("^\\\\\\[`str\\]:.*") "")
-               ((" \\[`str`\\]") " str"))
-             #t)))))
-    (native-inputs
-     (list emacs-ert-runner emacs-undercover))
-    (propagated-inputs
-     (list emacs-dash emacs-f emacs-pos-tip emacs-rust-mode emacs-s))
-    (build-system emacs-build-system)
-    (home-page "https://github.com/racer-rust/emacs-racer")
-    (synopsis "Racer support for Emacs")
-    (description
-     "This is the official Emacs package for Racer.  It supports code
+  (let ((commit "1e63e98626737ea9b662d4a9b1ffd6842b1c648c")
+        (revision "0"))
+    (package
+      (name "emacs-racer")
+      (version (git-version "1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/racer-rust/emacs-racer")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "12a429lajk09qp1jxgig54p8z6wndfgr4jwdmgkc9s2df9sw02d3"))))
+      (arguments
+       `(#:tests? #t
+         #:test-command '("ert-runner")
+         #:phases
+         (modify-phases %standard-phases
+           ;; Added to replicate original behavior of "make test"
+           (add-after 'build 'test-after-build
+             (lambda _
+               (invoke "ert-runner"))))))
+      (native-inputs
+       (list emacs-ert-runner emacs-undercover))
+      (propagated-inputs
+       (list emacs-dash emacs-f emacs-pos-tip emacs-rust-mode emacs-s))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/racer-rust/emacs-racer")
+      (synopsis "Racer support for Emacs")
+      (description
+       "This is the official Emacs package for Racer.  It supports code
 completion of variables, functions and modules.  It can also jump to
 definition of functions and types, and show a help buffer based on the
 docstring of the thing at point.")
-    (license license:expat)))
+      (license license:expat))))
 
 (define-public emacs-rust-mode
   (package
-- 
2.36.0





^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
  2022-05-17  1:48 ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Luis Henrique Gomes Higino
@ 2022-05-17  1:48   ` Luis Henrique Gomes Higino
  2022-05-17  7:17     ` Nicolas Goaziou
  2022-05-17  7:16   ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Nicolas Goaziou
  1 sibling, 1 reply; 16+ messages in thread
From: Luis Henrique Gomes Higino @ 2022-05-17  1:48 UTC (permalink / raw)
  To: 55466; +Cc: luishgh

From: luishgh <51053603+luishgh@users.noreply.github.com>

* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): Fix failing tests.
---
 gnu/packages/emacs-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c8a19e5e9e..6dfb1ea3a1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4709,7 +4709,7 @@ (define-public emacs-explain-pause-mode
         (revision "0"))
     (package
       (name "emacs-explain-pause-mode")
-      (version (git-version "0.1" revision commit))
+      (version (git-version "0.2" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -4724,6 +4724,13 @@ (define-public emacs-explain-pause-mode
        (list emacs-buttercup))
       (arguments
        '(#:tests? #t
+         #:phases
+         (modify-phases %standard-phases
+           ;; This causes the byte-compilation before unit-tests to fail
+           (add-after 'unpack 'remove-error-on-warn
+             (lambda _
+               (substitute* "Makefile"
+                 (("--eval '\\(setq byte-compile-error-on-warn t\\)'") "")))))
          ;; Don't run case-tests as they will fail to create sockets because
          ;; the path is too long
          #:test-command '("make" "byte-compile" "unit-tests")
-- 
2.36.0





^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98.
  2022-05-17  1:48 ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Luis Henrique Gomes Higino
  2022-05-17  1:48   ` [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests Luis Henrique Gomes Higino
@ 2022-05-17  7:16   ` Nicolas Goaziou
  1 sibling, 0 replies; 16+ messages in thread
From: Nicolas Goaziou @ 2022-05-17  7:16 UTC (permalink / raw)
  To: Luis Henrique Gomes Higino; +Cc: luishgh, 55466

Hello,

Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com> writes:

> * gnu/packages/emacs-xyz.scm (emacs-racer): Update to 1e63e98.

I added more information in the commit message (i.e., the phases being
removed).
> +         #:phases
> +         (modify-phases %standard-phases
> +           ;; Added to replicate original behavior of "make test"
> +           (add-after 'build 'test-after-build
> +             (lambda _
> +               (invoke "ert-runner"))))))

I removed the phase above because it forces running tests and it is
a duplicate of #:test-command.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
  2022-05-17  1:48   ` [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests Luis Henrique Gomes Higino
@ 2022-05-17  7:17     ` Nicolas Goaziou
  2022-05-17 14:38       ` Luis Henrique Gomes Higino
  0 siblings, 1 reply; 16+ messages in thread
From: Nicolas Goaziou @ 2022-05-17  7:17 UTC (permalink / raw)
  To: Luis Henrique Gomes Higino; +Cc: luishgh, 55466

Hello,

Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com> writes:

>      (package
>        (name "emacs-explain-pause-mode")
> -      (version (git-version "0.1" revision commit))
> +      (version (git-version "0.2" revision commit))

I removed this ninja version bump. The main file still references "0.1".

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#55466: [PATCH 0/2] Fix emacs packages failing to build
  2022-05-16 23:45 [bug#55466] [PATCH 0/2] Fix emacs packages failing to build luishgh
                   ` (3 preceding siblings ...)
  2022-05-17  1:48 ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Luis Henrique Gomes Higino
@ 2022-05-17  7:18 ` Nicolas Goaziou
  4 siblings, 0 replies; 16+ messages in thread
From: Nicolas Goaziou @ 2022-05-17  7:18 UTC (permalink / raw)
  To: luishgh; +Cc: 55466-done

Hello,

luishgh <luishenriquegh2701@gmail.com> writes:

> this patch series fix a couple of emacs packages that are currently
> failing to build.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 16+ messages in thread

* [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98.
  2022-05-16 23:45 ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
  2022-05-16 23:50   ` [bug#55467] Apologies Luis Henrique Gomes Higino
@ 2022-05-17  7:19   ` Nicolas Goaziou
  1 sibling, 0 replies; 16+ messages in thread
From: Nicolas Goaziou @ 2022-05-17  7:19 UTC (permalink / raw)
  To: luishgh; +Cc: luishgh, 55467-close

luishgh <luishenriquegh2701@gmail.com> writes:

> From: luishgh <51053603+luishgh@users.noreply.github.com>
>
> * gnu/packages/emacs-xyz.scm (emacs-racer): Update to 1e63e98.

Closing, as a duplicate of bug#55466




^ permalink raw reply	[flat|nested] 16+ messages in thread

* [bug#55468] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
  2022-05-16 23:45 ` [bug#55468] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests luishgh
@ 2022-05-17  7:19   ` Nicolas Goaziou
  0 siblings, 0 replies; 16+ messages in thread
From: Nicolas Goaziou @ 2022-05-17  7:19 UTC (permalink / raw)
  To: luishgh; +Cc: luishgh, 55468-close

luishgh <luishenriquegh2701@gmail.com> writes:

> From: luishgh <51053603+luishgh@users.noreply.github.com>
>
> * gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): Fix failing
> tests.

Closing, as a duplicate of bug#55466.




^ permalink raw reply	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
  2022-05-17  7:17     ` Nicolas Goaziou
@ 2022-05-17 14:38       ` Luis Henrique Gomes Higino
  2022-05-17 20:02         ` Nicolas Goaziou
  0 siblings, 1 reply; 16+ messages in thread
From: Luis Henrique Gomes Higino @ 2022-05-17 14:38 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 55466


Hi Nicolas,

thanks for your feedback and for enhancing my patches before 
applying them! I just have one question:

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com> 
> writes:
>
>>      (package
>>        (name "emacs-explain-pause-mode")
>> -      (version (git-version "0.1" revision commit))
>> +      (version (git-version "0.2" revision commit))
>
> I removed this ninja version bump. The main file still 
> references "0.1".
>
> Regards,

That's funny, because in the README [0] it says the development 
version is 0.2, that's why I bumped it. Which should we use?

0: 
https://github.com/lastquestion/explain-pause-mode/blob/master/README.md#explain-pause-mode

Regards,
-- 
Luis H. Higino




^ permalink raw reply	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
  2022-05-17 14:38       ` Luis Henrique Gomes Higino
@ 2022-05-17 20:02         ` Nicolas Goaziou
  2022-05-17 20:24           ` Luis Henrique Gomes Higino
  0 siblings, 1 reply; 16+ messages in thread
From: Nicolas Goaziou @ 2022-05-17 20:02 UTC (permalink / raw)
  To: Luis Henrique Gomes Higino; +Cc: 55466

Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com> writes:

> That's funny, because in the README [0] it says the development
> version is 0.2, that's why I bumped it. Which should we use?

We usually refer to the Version keyword in main file when there is no
tag. Note that (git-version "0.2" revision commit) is actually a greater
version than "0.2", so it could be confusing when "0.2" is eventually
released.




^ permalink raw reply	[flat|nested] 16+ messages in thread

* [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
  2022-05-17 20:02         ` Nicolas Goaziou
@ 2022-05-17 20:24           ` Luis Henrique Gomes Higino
  0 siblings, 0 replies; 16+ messages in thread
From: Luis Henrique Gomes Higino @ 2022-05-17 20:24 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 55466


Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com> 
> writes:
>
>> That's funny, because in the README [0] it says the development
>> version is 0.2, that's why I bumped it. Which should we use?
>
> We usually refer to the Version keyword in main file when there 
> is no
> tag. Note that (git-version "0.2" revision commit) is actually a 
> greater
> version than "0.2", so it could be confusing when "0.2" is 
> eventually
> released.

Makes sense, thanks again Nicolas!

Regards,
-- 
Luis H. Higino




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-05-17 20:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-16 23:45 [bug#55466] [PATCH 0/2] Fix emacs packages failing to build luishgh
2022-05-16 23:45 ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
2022-05-16 23:50   ` [bug#55467] Apologies Luis Henrique Gomes Higino
2022-05-17  7:19   ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 Nicolas Goaziou
2022-05-16 23:45 ` [bug#55468] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests luishgh
2022-05-17  7:19   ` Nicolas Goaziou
2022-05-16 23:49 ` [bug#55466] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
2022-05-16 23:49   ` [bug#55466] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests luishgh
2022-05-17  1:48 ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Luis Henrique Gomes Higino
2022-05-17  1:48   ` [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests Luis Henrique Gomes Higino
2022-05-17  7:17     ` Nicolas Goaziou
2022-05-17 14:38       ` Luis Henrique Gomes Higino
2022-05-17 20:02         ` Nicolas Goaziou
2022-05-17 20:24           ` Luis Henrique Gomes Higino
2022-05-17  7:16   ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Nicolas Goaziou
2022-05-17  7:18 ` bug#55466: [PATCH 0/2] Fix emacs packages failing to build Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).