Subject: bug#78919: ^C'ed --keep-failed build leaves directory owned by root

From: Ludovic Courtès <[email-masked]>
Date: Sat, 12 Jul 2025 11:49:03 +0200

Hi,

Ludovic Courtès <[email-masked]> writes:

>   2025-07-08 22:45:06 note: keeping build directory `/tmp/guix-build-hello-2.12.2.drv-0'
>   2025-07-08 22:45:06 error (ignored): file `/tmp/guix-build-hello-2.12.2.drv-0/top/GMfifo3392' has an unsupported type
>   2025-07-08 22:45:06 unexpected build daemon error: interrupted by the user
>
> This comes from the call to ‘secureFilePerms’ added in
> ‘DerivationGoal::deleteTmpDir’ as part of
> ae18b3d9e6bd0c184505a094851448d08555e23e, a commit that supports the
> unprivileged daemon.

Proposed fix:

  https://codeberg.org/guix/guix/pulls/1189

Ludo'.