unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59566: Fail ’guix time-machine’ (Nov 2021) because libgit2
@ 2022-11-25  9:16 zimoun
  2022-11-26 16:47 ` bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args jgart via Bug reports for GNU Guix
  0 siblings, 1 reply; 4+ messages in thread
From: zimoun @ 2022-11-25  9:16 UTC (permalink / raw)
  To: 59566

Hi,

Well, I am looking for different past versions of Numpy, so I am trying
commit b9595a7659 from Nov 11, 2021,

    gnu: python-numpy: Update to 1.21.3 and cleanup.

and I just run,

   guix time-machine --commit=b9595a7659 -- help

which returns an error:

--8<---------------cut here---------------start------------->8---
[...]

cannot build derivation `/gnu/store/ss0hz522h5w8bp82d4xz165318qw1yv5-profile.drv': 1 dependencies couldn't be built
guix time-machine: error: build of `/gnu/store/ss0hz522h5w8bp82d4xz165318qw1yv5-profile.drv' failed
--8<---------------cut here---------------end--------------->8---

and the failure is about libgit2. The log reads,

--8<---------------cut here---------------start------------->8---
[...]

refs::rename...........
refs::revparse.................F

  1) Failure:
refs::revparse::date [/tmp/guix-build-libgit2-1.1.0.drv-0/libgit2-1.1.0/tests/refs/revparse.c:31]
  Function call succeeded: error
  no error, expected non-zero return

error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "./libgit2_clar" arguments: ("-v" "-Q") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `check' failed after 11.5 seconds
command "./libgit2_clar" "-v" "-Q" failed with status 1
--8<---------------cut here---------------end--------------->8---

Well, is it specific to my machine?  Or is it reproducible?

Reproduced by Wojtek Kosior, see [1].

1: <https://yhetil.org/guix/20221123221009.06020af5@koszkonutek-tmp.pl.eu.org>


Cheers,
simon

--
Initially sent to guix-devel:
From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Subject: Fail ’guix time-machine’ on Nov 2021 because libgit2





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

* bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args.
  2022-11-25  9:16 bug#59566: Fail ’guix time-machine’ (Nov 2021) because libgit2 zimoun
@ 2022-11-26 16:47 ` jgart via Bug reports for GNU Guix
  2022-11-26 16:47   ` bug#59566: [PATCH v2 2/2] gnu: emacs-lpy: Update to fa95b11 jgart via Bug reports for GNU Guix
  2022-11-26 23:21   ` bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: jgart via Bug reports for GNU Guix @ 2022-11-26 16:47 UTC (permalink / raw)
  To: 59566; +Cc: jgart, Nicolas Goaziou

* gnu/packages/emacs-xyz.scm (emacs-function-args): New variable.

Hi Nicolas,

Thanks for the review! Much appreciated. Here's all your requests added in v2.

all best,

jgart
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8eb4dab077..7eb87b5fe8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11078,6 +11078,32 @@ (define-public emacs-lispyville
 state and will work even without lispy being enabled.")
       (license license:gpl3+))))
 
+(define-public emacs-function-args
+  ;; The latest release is from August 21, 2017.
+  (let ((commit "beba049751fed78666c87bd146a6f1cf149bb819")
+        (revision "0"))
+    (package
+      (name "emacs-function-args")
+      (version (git-version "0.6.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/abo-abo/function-args")
+               (commit commit)))
+         (sha256
+          (base32
+           "1vxrjy6k030hcbclblgcaaw7h6k17kl3n9zla08527525c0gma01"))
+         (file-name (git-file-name name version))))
+      (propagated-inputs (list emacs-ivy))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/abo-abo/function-args")
+      (synopsis "C/C++ completion for GNU Emacs")
+      (description
+"This package provides a way of showing an inline arguments hint for
+the C/C++ function at point.")
+      (license license:gpl3+))))
+
 (define-public emacs-lpy
   ;; There is no proper release/tag.
   (let ((commit "ce78a4613458790cc785c1687af7eed8f0d8d66c")
-- 
2.38.1





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

* bug#59566: [PATCH v2 2/2] gnu: emacs-lpy: Update to fa95b11.
  2022-11-26 16:47 ` bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args jgart via Bug reports for GNU Guix
@ 2022-11-26 16:47   ` jgart via Bug reports for GNU Guix
  2022-11-26 23:21   ` bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: jgart via Bug reports for GNU Guix @ 2022-11-26 16:47 UTC (permalink / raw)
  To: 59566; +Cc: jgart

* gnu/packages/emacs-xyz.scm (emacs-lpy): Update to fa95b11.
[propagated-inputs]: Add missing emacs-function-args.
---
 gnu/packages/emacs-xyz.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7eb87b5fe8..2c6f5d7306 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11106,8 +11106,8 @@ (define-public emacs-function-args
 
 (define-public emacs-lpy
   ;; There is no proper release/tag.
-  (let ((commit "ce78a4613458790cc785c1687af7eed8f0d8d66c")
-        (revision "5"))
+  (let ((commit "fa95b11e1023704510cc7dd2897bf8bcc3027cbb")
+        (revision "6"))
     (package
       (name "emacs-lpy")
       (version (git-version "0.1.0" revision commit))
@@ -11117,13 +11117,13 @@ (define-public emacs-lpy
          (uri (git-reference
                (url "https://github.com/abo-abo/lpy")
                (commit commit)))
+         (file-name (git-file-name name version))
          (sha256
           (base32
-           "1vxrjy6k030hcbclblgcaaw7h6k17kl3n9zla08527525c0gma01"))
-         (file-name (git-file-name name version))))
-      (propagated-inputs
-       (list emacs-zoutline emacs-lispy))
+           "1j92ll2afvcp891fxra3sawxg000cs3ra01wxksiil2dg5zpzzkn"))))
       (build-system emacs-build-system)
+      (propagated-inputs
+       (list emacs-function-args emacs-lispy emacs-zoutline))
       (home-page "https://github.com/abo-abo/lpy")
       (synopsis "Modal editing for Python")
       (description
-- 
2.38.1





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

* bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args.
  2022-11-26 16:47 ` bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args jgart via Bug reports for GNU Guix
  2022-11-26 16:47   ` bug#59566: [PATCH v2 2/2] gnu: emacs-lpy: Update to fa95b11 jgart via Bug reports for GNU Guix
@ 2022-11-26 23:21   ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2022-11-26 23:21 UTC (permalink / raw)
  To: jgart; +Cc: 59566-done

Hello,

jgart <jgart@dismail.de> writes:

> * gnu/packages/emacs-xyz.scm (emacs-function-args): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2022-11-26 23:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25  9:16 bug#59566: Fail ’guix time-machine’ (Nov 2021) because libgit2 zimoun
2022-11-26 16:47 ` bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args jgart via Bug reports for GNU Guix
2022-11-26 16:47   ` bug#59566: [PATCH v2 2/2] gnu: emacs-lpy: Update to fa95b11 jgart via Bug reports for GNU Guix
2022-11-26 23:21   ` bug#59566: [PATCH v2 1/2] gnu: Add emacs-function-args 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).