[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36443: Canonicalized build directory name in container leads to conf
From: |
Robert Vollmert |
Subject: |
bug#36443: Canonicalized build directory name in container leads to confusion (was guix build mixes build dirs?) |
Date: |
Tue, 2 Jul 2019 15:41:00 +0200 |
> On 2. Jul 2019, at 15:37, Ludovic Courtès <address@hidden> wrote:
>
>> /* In a sandbox, for determinism, always use the same temporary
>> directory. */
>> - tmpDirInSandbox = useChroot ? canonPath("/tmp", true) + "/guix-build-"
>> + drvName + "-0" : tmpDir;
>> + tmpDirInSandbox = useChroot ? canonPath("/tmp", true) + "/guix-build-"
>> + drvName : tmpDir;
>
> The result would be that the temporary directory would always have a
> different name inside and outside the container. Consequently,
> debugging along the lines of what the manual suggests (info "(guix)
> Debugging Build Failures") would become pretty much impossible.
Why do you think it would become impossible?