bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56503: Poor error message on missing file using substitute*


From: Ludovic Courtès
Subject: bug#56503: Poor error message on missing file using substitute*
Date: Mon, 18 Jul 2022 14:57:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hi,

Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de> skribis:

> It prints:
>
> #<&compound-exception components: (#<&external-error> #<&origin origin: 
> "mkstemp"> #<&message message: "~A"> #<&irritants irritants: ("Datei oder 
> Verzeichnis nicht gefunden")> #<&exception-with-kind-and-args kind: 
> system-error args: ("mkstemp" "~A" ("Datei oder Verzeichnis nicht gefunden") 
> (2))>)>
>
> So maybe this is a bug in Guile? Shouldn’t ‘mkstemp!’ list the path in
> the irritants?

Yes, it should, but it’s a change that’s probably not safe to do within
a Guile stable series.

For the record, (guix ui) works around this for selected procedures—look
for ‘error-reporting-wrapper’.  These are not used (and cannot be used)
in (guix build utils) though.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]