GNU bug report logs -
#50441
Wrong build directory number shown in environment-variables file
Previous Next
Full log
View this message in rfc822 format
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.