GNU bug report logs - #36373
failed copy-file should print path

Previous Next

Package: guile;

Reported by: Robert Vollmert <rob <at> vllmrt.net>

Date: Tue, 25 Jun 2019 13:13:02 UTC

Severity: normal

To reply to this bug, email your comments to 36373 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#36373; Package guix. (Tue, 25 Jun 2019 13:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Vollmert <rob <at> vllmrt.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 25 Jun 2019 13:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: bug-guix <at> gnu.org
Subject: failed copy-file should print path
Date: Tue, 25 Jun 2019 15:12:22 +0200
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/zgwm1vv4vb5i91iphzs8wdqwpxr…")
In ice-9/eval.scm:
   191:35  9 (_ _)
In srfi/srfi-1.scm:
   863:16  8 (every1 #<procedure 65a360 at /gnu/store/zmc0hcmdfg5n4…> …)
In /gnu/store/zmc0hcmdfg5n4kl32vcla4cg9c9bspfg-module-import/guix/build/gnu-build-system.scm:
   799:28  7 (_ _)
In /gnu/store/zmc0hcmdfg5n4kl32vcla4cg9c9bspfg-module-import/guix/build/go-build-system.scm:
    187:8  6 (unpack #:source _ #:import-path _ #:unpack-path _)
In ice-9/ftw.scm:
   452:32  5 (loop _ _ #(2050 670124 16749 19 0 0 0 4096 # 1 # # 8 …) …)
In srfi/srfi-1.scm:
   466:18  4 (fold #<procedure 7a4d80 at ice-9/ftw.scm:452:38 (subd…> …)
In unknown file:
           3 (_ #<procedure 870c60 at ice-9/ftw.scm:454:44 ()> #<pr…> …)
In ice-9/ftw.scm:
   482:39  2 (loop _ _ #(2050 1721126 16749 2 0 0 0 4096 # 1 # # 8 …) …)
In /gnu/store/zmc0hcmdfg5n4kl32vcla4cg9c9bspfg-module-import/guix/build/utils.scm:
   312:27  1 (_ "/gnu/store/69hmclpsln83ldh9c94c0iygj4ajiyrl-go-x-t…" …)
In unknown file:
           0 (copy-file "/gnu/store/69hmclpsln83ldh9c94c0iygj4ajiyr…" …)

ERROR: In procedure copy-file:
In procedure copy-file: Permission denied





Information forwarded to bug-guix <at> gnu.org:
bug#36373; Package guix. (Thu, 27 Jun 2019 14:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 36373 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Robert Vollmert <rob <at> vllmrt.net>
Cc: 36373 <at> debbugs.gnu.org
Subject: Re: bug#36373: failed copy-file should print path
Date: Thu, 27 Jun 2019 16:58:10 +0200
Hi,

Robert Vollmert <rob <at> vllmrt.net> 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 provide the relevant info.

We should really fix it for good in Guile 3.0, though.

Thanks,
Ludo’.




bug reassigned from package 'guix' to 'guile'. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 27 Jun 2019 14:59:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.