bug#55270: unpack phase randomly changes the cwd

2022-07-12 Thread Liliana Marie Prikler
Am Dienstag, dem 12.07.2022 um 10:11 -0400 schrieb Maxim Cournoyer: > Hi, > > Liliana Marie Prikler writes: > > > Am Donnerstag, dem 05.05.2022 um 11:16 + schrieb Attila > > Lendvai: > > > at the end of the unpack phase, the working directory is changed > > > to a > > > random directory. > >

bug#55270: unpack phase randomly changes the cwd

2022-07-12 Thread Maxim Cournoyer
Hi, Liliana Marie Prikler writes: > Am Donnerstag, dem 05.05.2022 um 11:16 + schrieb Attila Lendvai: >> at the end of the unpack phase, the working directory is changed to a >> random directory. >> >> https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/gnu-build-system.scm#n178 >> >

bug#55270: unpack phase randomly changes the cwd

2022-05-05 Thread Liliana Marie Prikler
Am Donnerstag, dem 05.05.2022 um 11:16 + schrieb Attila Lendvai: > at the end of the unpack phase, the working directory is changed to a > random directory. > > https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/gnu-build-system.scm#n178 > > this is fine *when* the archive contains a

bug#55270: unpack phase randomly changes the cwd

2022-05-05 Thread Attila Lendvai
> It takes the first result 'scandir' -- i.e., the 'smallest' file name > according to string-locale reproducibility problems) fair enough. what i meant to communicate is that it's arbitrary, not random. another potential issue: if the root of the archive contains a file called 'environment-var

bug#55270: unpack phase randomly changes the cwd

2022-05-05 Thread Maxime Devos
Attila Lendvai schreef op do 05-05-2022 om 11:16 [+]: > at the end of the unpack phase, the working directory is changed to a random > directory. > > https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/gnu-build-system.scm#n178 It takes the first result 'scandir' -- i.e., the 'smalles

bug#55270: unpack phase randomly changes the cwd

2022-05-05 Thread Attila Lendvai
at the end of the unpack phase, the working directory is changed to a random directory. https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/gnu-build-system.scm#n178 this is fine *when* the archive contains a single dir... but this DWIM'ness has just burned 15 mintues of my life, and i r