GNU bug report logs - #50441
Wrong build directory number shown in environment-variables file

Previous Next

Package: guix;

Reported by: Christine Lemmer-Webber <cwebber <at> dustycloud.org>

Date: Mon, 6 Sep 2021 21:25:02 UTC

Severity: normal

Full log


Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christine Lemmer-Webber <cwebber <at> dustycloud.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 50441 <at> debbugs.gnu.org, bug-guix <at> gnu.org
Subject: Re: bug#50441: Wrong build directory number shown in
 environment-variables file
Date: Tue, 07 Sep 2021 10:26:48 -0400
Hi Tobias!

Tobias Geerinckx-Rice <me <at> tobias.gr> writes:

> [[PGP Signed Part:Undecided]]
> Christine,
>
> Christine Lemmer-Webber 写道:
>> I was doing guix build with "--keep-missing" and looking around in a
>> few
>> of the output directories.  I was peeking in:
>>
>>   /tmp/guix-build-u-boot-mnt-reform2-2021.06.drv-4
>>
>> But wait... the "environment-variables" file says:
>>
>> #+BEGIN_SRC sh
>> export TEMP=\
>> "/tmp/guix-build-u-boot-mnt-reform2-2021.06.drv-0"
>
> Part of the build environment isolation/reproducibility is that
> processes inside it always see a build directory ending in ‘-0’, 
> regardless of the file name on the host system.
>
> Kind regards,
>
> T G-R
>
> [[End of PGP Signed Part]]

This makes sense in general, though I wonder if when using --keep-failed
if environment-variables should dump out something different, since
that file is around for debugging, and sourcing it might set up the
wrong paths I guess?  What do you think?




This bug report was last modified 3 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.