unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Cully via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: 62936@debbugs.gnu.org
Subject: bug#62936: [core-updates] pre-inst-env no longer works
Date: Wed, 19 Apr 2023 07:29:31 -0400	[thread overview]
Message-ID: <87wn28umx8.fsf@psyduck.jhoto.kublai.com> (raw)
In-Reply-To: <86a5z4jluo.fsf@gmail.com>


Simon Tournier <zimon.toutoune@gmail.com> writes:

>> ~/src/guix-core-updates $ ./pre-inst-env -- guix build zsh
>
> Are you sure about the dash-dash (--) with ./pre-inst-env?
>
> I get this:
>
> $ ./pre-inst-env guix describe
> Git checkout:
>   repository: /home/simon/src/guix/wk/core-updates/
>   branch: core-updates
>   commit: 1c86be2fd69d84f536518cc5e4a32c067e851709
>
> $ ./pre-inst-env -- guix describe
> ./pre-inst-env: 55: exec: --: not found

Odd. I didn't think it made a difference (though I don't currently 
have a working ‘pre-inst-env’) to check with. Do note that the 
error you're seeing is different from the one I posted, and 
explicable.

If I try without the double dash, there's no difference for me:

--8<---------------cut here---------------start------------->8---
~/src/guix-core-updates $ ./pre-inst-env guix build emacs-magit
hint: Consider installing the `glibc-locales' package and defining 
`GUIX_LOCPATH', along these lines:

     guix install glibc-locales
     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

guix build: error: gcry_md_hash_buffer: Function not implemented
--8<---------------cut here---------------end--------------->8---

As a fun aside, using ‘guix describe’ also fails, though at a 
different C binding point:

--8<---------------cut here---------------start------------->8---
~/src/guix-core-updates $ ./pre-inst-env guix describe
hint: Consider installing the `glibc-locales' package and defining 
`GUIX_LOCPATH', along these lines:

     guix install glibc-locales
     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

Backtrace:
In ice-9/threads.scm:
    390:8 19 (_ _)
In ice-9/boot-9.scm:
  3253:13 18 (_)
In ice-9/threads.scm:
    390:8 17 (_ _)
In ice-9/boot-9.scm:
  3544:20 16 (_)
   2836:4 15 (save-module-excursion _)
  3564:26 14 (_)
In unknown file:
          13 (primitive-load-path "guix/channels" #<procedure 
          7f7677c326e0 at ice-9/boot-9.scm:3551?>)
In ice-9/boot-9.scm:
  3923:23 12 (_)
   3411:4 11 (define-module* _ #:filename _ #:pure _ #:version _ 
   #:imports _ #:exports _ # _ # _ # _ ?)
  3424:24 10 (_)
   222:17  9 (map1 (((git)) ((guix git)) ((guix git-authenticate)) 
   ((guix openpgp) #:select (?)) # ?))
  3327:17  8 (resolve-interface (git) #:select _ #:hide _ #:prefix 
  _ #:renamer _ #:version _)
In ice-9/threads.scm:
    390:8  7 (_ _)
In ice-9/boot-9.scm:
  3253:13  6 (_)
In ice-9/threads.scm:
    390:8  5 (_ _)
In ice-9/boot-9.scm:
  3544:20  4 (_)
   2836:4  3 (save-module-excursion #<procedure 7f7677c206f0 at 
   ice-9/boot-9.scm:3545:21 ()>)
  3564:26  2 (_)
In unknown file:
           1 (primitive-load-path "git" #<procedure 7f7677c32460 
           at ice-9/boot-9.scm:3551:37 ()>)
In git/bindings.scm:
     66:8  0 (_ . _)

git/bindings.scm:66:8: In procedure git_libgit2_init: Function not 
implemented
--8<---------------cut here---------------end--------------->8---


-bjc




  reply	other threads:[~2023-04-19 11:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 14:51 bug#62936: [core-updates] pre-inst-env no longer works Brian Cully via Bug reports for GNU Guix
2023-04-19  8:51 ` Simon Tournier
2023-04-19 11:29   ` Brian Cully via Bug reports for GNU Guix [this message]
2023-04-19 13:41     ` Ludovic Courtès
2023-04-19 14:14       ` Brian Cully via Bug reports for GNU Guix
2023-04-19 16:28 ` bug#62949: libgcrypt version in core-updates Andreas Enge
2023-04-19 16:37   ` Ludovic Courtès
2023-04-19 18:19     ` Andreas Enge
2023-04-19 20:40       ` Ludovic Courtès
2023-04-19 19:51   ` bug#62936: [core-updates] pre-inst-env no longer works Brian Cully via Bug reports for GNU Guix
2023-04-24  8:34     ` Josselin Poiret via Bug reports for GNU Guix
2023-04-24 14:44       ` Brian Cully via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wn28umx8.fsf@psyduck.jhoto.kublai.com \
    --to=bug-guix@gnu.org \
    --cc=62936@debbugs.gnu.org \
    --cc=bjc@spork.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).