Subject: bug#55270: unpack phase randomly changes the cwd

From: Attila Lendvai <[email-masked]>
Date: Thu, 05 May 2022 11:16:29 +0000

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 recommend removing it.

if it is to stay, then at least it should be patched that it only happens when the dir after extraction only contains a single subdir, and no files otherwise.

--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“When men hire themselves out to shoot other men to order, asking nothing about the justice of their cause, I don’t care if they are shot themselves.”
	— Herbert Spencer (1820–1903), during Britain's second Afghan war