bug#36373: failed copy-file should print path

2019-06-27 Thread Ludovic Courtès
Hi, Robert Vollmert skribis: > ERROR: In procedure copy-file: > In procedure copy-file: Permission denied Yeah, this is terrible, and really a Guile bug. In (guix ui), we have ‘error-reporting-wrapper’ that we use to “fix” several functions such as ‘copy-file’ that would otherwise fail to prov

bug#36373: failed copy-file should print path

2019-06-25 Thread Robert Vollmert
I just ran into this error while trying to build a go package. There’s no obvious way to figure out which file caused “permission denied”. I’d like to both see the non-truncated filename in the backtrace, as well as in the error message below. Backtrace: 10 (primitive-load "/gnu/store/zg