Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-15 Thread Maxim Cournoyer
Hi!

"jgart"  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



Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-14 Thread jgart
Hi,

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

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

all best,

jgart



Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-09 Thread Maxim Cournoyer
Hi Simon,

Simon Tournier  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



Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-09 Thread Simon Tournier
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@gmail.com
https://yhetil.org/guix/86eehycjre@gmail.com

Cheers,
simon



Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-07 Thread jgart
Hi Maxim,

I just read 26a788ae06.

That reads great! 

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

all best,

jgart



Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-07 Thread Maxim Cournoyer
Hi,

Mekeor Melire  writes:

> 2023-05-07 14:55 jg...@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



Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-07 Thread jgart
> 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



Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-07 Thread Mekeor Melire

2023-05-07 14:55 jg...@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.




Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-07 Thread Efraim Flashner
On Sun, May 07, 2023 at 02:55:59PM +, 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  אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted


signature.asc
Description: PGP signature


Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-07 Thread jgart
> 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?



Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-07 Thread Mekeor Melire

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


2023-05-06 02:41 jg...@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




Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-07 Thread Mekeor Melire

2023-05-06 02:41 jg...@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