unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix build: error: gcry_md_hash_buffer: Function not implemented
@ 2023-05-06  2:41 jgart
  2023-05-07 10:24 ` Mekeor Melire
  0 siblings, 1 reply; 13+ messages in thread
From: jgart @ 2023-05-06  2:41 UTC (permalink / raw)
  To: help-guix

Look what I saw today:

guix build: error: gcry_md_hash_buffer: Function not implemented

WDYT

I was trying to do the following:

make -j5 && ./pre-inst-env guix build nnn

TMI?

help2man: can't get `--help' info from guix home
Try `--no-discard-stderr' if option outputs to stderr
make[2]: [Makefile:7023: doc/guix-home.1] Error 1 (ignored)


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-06  2:41 guix build: error: gcry_md_hash_buffer: Function not implemented jgart
@ 2023-05-07 10:24 ` Mekeor Melire
  2023-05-07 10:31   ` Mekeor Melire
  2023-05-07 14:55   ` jgart
  0 siblings, 2 replies; 13+ messages in thread
From: Mekeor Melire @ 2023-05-07 10:24 UTC (permalink / raw)
  To: jgart; +Cc: help-guix

2023-05-06 02:41 jgart@dismail.de:

> guix build: error: gcry_md_hash_buffer: Function not implemented

I also run into this error, when I checkout the latest master 
branch of the Guix repository (commit 
fccb48d2cec6bcf47647c82914f31e2dff617f9c) and then run:

  guix shell -D guix
  ./bootstrap
  ./configure
  make


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-07 10:24 ` Mekeor Melire
@ 2023-05-07 10:31   ` Mekeor Melire
  2023-05-07 14:55   ` jgart
  1 sibling, 0 replies; 13+ messages in thread
From: Mekeor Melire @ 2023-05-07 10:31 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: jgart, help-guix

2023-05-07 10:24 mekeor@posteo.de:

> 2023-05-06 02:41 jgart@dismail.de:
>
> > guix build: error: gcry_md_hash_buffer: Function not 
> > implemented
>
> I also run into this error, when I checkout the latest master 
> branch
> of the Guix repository (commit
> fccb48d2cec6bcf47647c82914f31e2dff617f9c) and then run:
>
>  guix shell -D guix
>  ./bootstrap
>  ./configure

Sorry. I meant "./configure --localstatedir=/var 
--sysconfdir=/etc".

>  make


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-07 10:24 ` Mekeor Melire
  2023-05-07 10:31   ` Mekeor Melire
@ 2023-05-07 14:55   ` jgart
  2023-05-07 16:17     ` Efraim Flashner
                       ` (2 more replies)
  1 sibling, 3 replies; 13+ messages in thread
From: jgart @ 2023-05-07 14:55 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: help-guix

> Sorry. I meant "./configure --localstatedir=/var --sysconfdir=/etc".

Hi, thanks.

Is the --sysconfdir necessary? 

I've never used that. What does it mean or where should I get the TLDR/RTFM(L) on it?


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-07 14:55   ` jgart
@ 2023-05-07 16:17     ` Efraim Flashner
  2023-05-07 17:14     ` Mekeor Melire
  2023-05-07 19:26     ` jgart
  2 siblings, 0 replies; 13+ messages in thread
From: Efraim Flashner @ 2023-05-07 16:17 UTC (permalink / raw)
  To: jgart; +Cc: Mekeor Melire, help-guix

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

On Sun, May 07, 2023 at 02:55:59PM +0000, jgart wrote:
> > Sorry. I meant "./configure --localstatedir=/var --sysconfdir=/etc".
> 
> Hi, thanks.
> 
> Is the --sysconfdir necessary? 
> 
> I've never used that. What does it mean or where should I get the TLDR/RTFM(L) on it?

It's strongly encouraged. It means you'll use /etc/guix instead of
/usr/local/etc/guix when it comes to checking for substitute keys and
whatnot.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-07 14:55   ` jgart
  2023-05-07 16:17     ` Efraim Flashner
@ 2023-05-07 17:14     ` Mekeor Melire
  2023-05-08  1:53       ` Maxim Cournoyer
                         ` (2 more replies)
  2023-05-07 19:26     ` jgart
  2 siblings, 3 replies; 13+ messages in thread
From: Mekeor Melire @ 2023-05-07 17:14 UTC (permalink / raw)
  To: jgart; +Cc: help-guix

2023-05-07 14:55 jgart@dismail.de:

> > Sorry. I meant "./configure --localstatedir=/var 
> > --sysconfdir=/etc".
>
> Hi, thanks.
>
> Is the --sysconfdir necessary?
>
> I've never used that. What does it mean or where should I get 
> the TLDR/RTFM(L) on it?

The only thing I know is that this command is instructed in info 
node "(guix) Building from Git", i.e. in Guix' manual's chapter 
"22.1 Building from Git". Unfortunately, in the manual as a whole, 
there is no documentation that explains what this argument does.


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-07 14:55   ` jgart
  2023-05-07 16:17     ` Efraim Flashner
  2023-05-07 17:14     ` Mekeor Melire
@ 2023-05-07 19:26     ` jgart
  2 siblings, 0 replies; 13+ messages in thread
From: jgart @ 2023-05-07 19:26 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: help-guix, Efraim Flashner

> Unfortunately, in the manual as a whole,
> there is no documentation that explains what this argument does.

Mekeor,

That's why I was asking because I never saw it explained in the Guix manual.

Maybe it is some GNU tribal knowledge that we are expected to eventually learn? dunno.

But, Efraim just gave a nice TLDR.

I'll try to find sometime to rework what he said into the docs unless someone else gets to it first ;()

all best,

jgart


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-07 17:14     ` Mekeor Melire
@ 2023-05-08  1:53       ` Maxim Cournoyer
  2023-05-09 14:49         ` Simon Tournier
  2023-05-08  2:08       ` jgart
  2023-05-14 14:49       ` jgart
  2 siblings, 1 reply; 13+ messages in thread
From: Maxim Cournoyer @ 2023-05-08  1:53 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: jgart, help-guix

Hi,

Mekeor Melire <mekeor@posteo.de> writes:

> 2023-05-07 14:55 jgart@dismail.de:
>
>> > Sorry. I meant "./configure --localstatedir=/var  >
>> --sysconfdir=/etc".
>>
>> Hi, thanks.
>>
>> Is the --sysconfdir necessary?
>>
>> I've never used that. What does it mean or where should I get the
>> TLDR/RTFM(L) on it?
>
> The only thing I know is that this command is instructed in info node
> "(guix) Building from Git", i.e. in Guix' manual's chapter "22.1
> Building from Git". Unfortunately, in the manual as a whole, there is
> no documentation that explains what this argument does.

I just pushed a small doc commit,

"26a788ae06 doc: Add some information/recommendation regarding
--sysconfdir."

that I hope rectifies this!

Let me know if something can be improved still.

-- 
Thanks,
Maxim


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-07 17:14     ` Mekeor Melire
  2023-05-08  1:53       ` Maxim Cournoyer
@ 2023-05-08  2:08       ` jgart
  2023-05-14 14:49       ` jgart
  2 siblings, 0 replies; 13+ messages in thread
From: jgart @ 2023-05-08  2:08 UTC (permalink / raw)
  To: Maxim Cournoyer, Mekeor Melire; +Cc: help-guix

Hi Maxim,

I just read 26a788ae06.

That reads great! 

Thank you for improving the documentation on that. It is much appreciated.

all best,

jgart


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-08  1:53       ` Maxim Cournoyer
@ 2023-05-09 14:49         ` Simon Tournier
  2023-05-10  0:32           ` Maxim Cournoyer
  0 siblings, 1 reply; 13+ messages in thread
From: Simon Tournier @ 2023-05-09 14:49 UTC (permalink / raw)
  To: Maxim Cournoyer, Mekeor Melire; +Cc: jgart, help-guix

Hi,

> "26a788ae06 doc: Add some information/recommendation regarding
> --sysconfdir."
>
> that I hope rectifies this!
>
> Let me know if something can be improved still.

I think the “make install” part means here “./pre-inst-env guix pull”.
Well, that’s the only case where I had troubles because this value is
recorded and can be propagated.  Consider,

    ./bootstrap && ./configure --localstatedir=/var && make
    ./pre-inst-env guix pull
    guix pull --commit=1234abc

and compared to the sequence without ./pre-inst-env:

    guix pull
    guix pull -- commit=1234abc

then it does not lead to the exact same Guix.  For examples:

        https://yhetil.org/guix/8635nkshpy.fsf@gmail.com
        https://yhetil.org/guix/86eehycjre.fsf@gmail.com

Cheers,
simon


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-09 14:49         ` Simon Tournier
@ 2023-05-10  0:32           ` Maxim Cournoyer
  0 siblings, 0 replies; 13+ messages in thread
From: Maxim Cournoyer @ 2023-05-10  0:32 UTC (permalink / raw)
  To: Simon Tournier; +Cc: Mekeor Melire, jgart, help-guix

Hi Simon,

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

> Hi,
>
>> "26a788ae06 doc: Add some information/recommendation regarding
>> --sysconfdir."
>>
>> that I hope rectifies this!
>>
>> Let me know if something can be improved still.
>
> I think the “make install” part means here “./pre-inst-env guix pull”.
> Well, that’s the only case where I had troubles because this value is
> recorded and can be propagated.  Consider,
>
>     ./bootstrap && ./configure --localstatedir=/var && make
>     ./pre-inst-env guix pull
>     guix pull --commit=1234abc
>
> and compared to the sequence without ./pre-inst-env:
>
>     guix pull
>     guix pull -- commit=1234abc
>
> then it does not lead to the exact same Guix.

'sudo -E ./pre-inst-env guix system reconfigure ...' would be another
such incantation that requires --sysconfdir to be set to /etc.  Since we
now recommend it to always be used, it is covered should these
"advanced" commands be used, I think.

-- 
Thanks,
Maxim


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-07 17:14     ` Mekeor Melire
  2023-05-08  1:53       ` Maxim Cournoyer
  2023-05-08  2:08       ` jgart
@ 2023-05-14 14:49       ` jgart
  2023-05-15 13:40         ` Maxim Cournoyer
  2 siblings, 1 reply; 13+ messages in thread
From: jgart @ 2023-05-14 14:49 UTC (permalink / raw)
  To: Maxim Cournoyer, Mekeor Melire; +Cc: help-guix

Hi,

Can this be closed now given the recent mention of --sysconfdir?

https://issues.guix.gnu.org/47401#1

all best,

jgart


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

* Re: guix build: error: gcry_md_hash_buffer: Function not implemented
  2023-05-14 14:49       ` jgart
@ 2023-05-15 13:40         ` Maxim Cournoyer
  0 siblings, 0 replies; 13+ messages in thread
From: Maxim Cournoyer @ 2023-05-15 13:40 UTC (permalink / raw)
  To: jgart; +Cc: Mekeor Melire, help-guix, 47401-done

Hi!

"jgart" <jgart@dismail.de> writes:

> Hi,
>
> Can this be closed now given the recent mention of --sysconfdir?
>
> https://issues.guix.gnu.org/47401#1

I think so.  Done!

-- 
Thanks,
Maxim


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

end of thread, other threads:[~2023-05-15 13:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06  2:41 guix build: error: gcry_md_hash_buffer: Function not implemented jgart
2023-05-07 10:24 ` Mekeor Melire
2023-05-07 10:31   ` Mekeor Melire
2023-05-07 14:55   ` jgart
2023-05-07 16:17     ` Efraim Flashner
2023-05-07 17:14     ` Mekeor Melire
2023-05-08  1:53       ` Maxim Cournoyer
2023-05-09 14:49         ` Simon Tournier
2023-05-10  0:32           ` Maxim Cournoyer
2023-05-08  2:08       ` jgart
2023-05-14 14:49       ` jgart
2023-05-15 13:40         ` Maxim Cournoyer
2023-05-07 19:26     ` jgart

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).