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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Robert Vollmert <rob@HIDDEN>; dated Tue, 25 Jun 2019 13:13:02 UTC; Maintainer for guile is bug-guile@HIDDEN.
bug reassigned from package 'guix' to 'guile'. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 36373 <at> debbugs.gnu.org:


Received: (at 36373) by debbugs.gnu.org; 27 Jun 2019 14:58:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 27 10:58:22 2019
Received: from localhost ([127.0.0.1]:39217 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hgVqw-0005Zz-1E
	for submit <at> debbugs.gnu.org; Thu, 27 Jun 2019 10:58:22 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49290)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hgVqu-0005ZP-21
 for 36373 <at> debbugs.gnu.org; Thu, 27 Jun 2019 10:58:20 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51822)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hgVqo-00067k-3u; Thu, 27 Jun 2019 10:58:14 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=45670 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hgVql-0006qG-Ie; Thu, 27 Jun 2019 10:58:13 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Robert Vollmert <rob@HIDDEN>
Subject: Re: bug#36373: failed copy-file should print path
References: <5BAECCE3-19F6-482B-9095-FEE99D6A5A8D@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 9 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 27 Jun 2019 16:58:10 +0200
In-Reply-To: <5BAECCE3-19F6-482B-9095-FEE99D6A5A8D@HIDDEN> (Robert
 Vollmert's message of "Tue, 25 Jun 2019 15:12:22 +0200")
Message-ID: <87ef3fyt19.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36373
Cc: 36373 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Robert Vollmert <rob@HIDDEN> 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
=E2=80=98error-reporting-wrapper=E2=80=99 that we use to =E2=80=9Cfix=E2=80=
=9D several functions such as
=E2=80=98copy-file=E2=80=99 that would otherwise fail to provide the releva=
nt info.

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

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#36373; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Jun 2019 13:12:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 25 09:12:34 2019
Received: from localhost ([127.0.0.1]:58926 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hflFR-000270-OJ
	for submit <at> debbugs.gnu.org; Tue, 25 Jun 2019 09:12:33 -0400
Received: from lists.gnu.org ([209.51.188.17]:36023)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rob@HIDDEN>) id 1hflFP-00026l-Os
 for submit <at> debbugs.gnu.org; Tue, 25 Jun 2019 09:12:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52252)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <rob@HIDDEN>) id 1hflFN-0004fG-PF
 for bug-guix@HIDDEN; Tue, 25 Jun 2019 09:12:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rob@HIDDEN>) id 1hflFM-00033Y-ML
 for bug-guix@HIDDEN; Tue, 25 Jun 2019 09:12:29 -0400
Received: from mx2.mailbox.org ([80.241.60.215]:65332)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hflFM-000315-Ff
 for bug-guix@HIDDEN; Tue, 25 Jun 2019 09:12:28 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
 (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
 (No client certificate requested)
 by mx2.mailbox.org (Postfix) with ESMTPS id 2FAE1A1925
 for <bug-guix@HIDDEN>; Tue, 25 Jun 2019 15:12:25 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
 by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de
 [80.241.56.117]) (amavisd-new, port 10030)
 with ESMTP id xyG_PI56kKsl for <bug-guix@HIDDEN>;
 Tue, 25 Jun 2019 15:12:23 +0200 (CEST)
From: Robert Vollmert <rob@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: failed copy-file should print path
Message-Id: <5BAECCE3-19F6-482B-9095-FEE99D6A5A8D@HIDDEN>
Date: Tue, 25 Jun 2019 15:12:22 +0200
To: bug-guix@HIDDEN
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 80.241.60.215
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

I just ran into this error while trying to build a go package. There=E2=80=
=99s no
obvious way to figure out which file caused =E2=80=9Cpermission =
denied=E2=80=9D. I=E2=80=99d 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=E2=80=A6")
In ice-9/eval.scm:
   191:35  9 (_ _)
In srfi/srfi-1.scm:
   863:16  8 (every1 #<procedure 65a360 at /gnu/store/zmc0hcmdfg5n4=E2=80=A6=
> =E2=80=A6)
In =
/gnu/store/zmc0hcmdfg5n4kl32vcla4cg9c9bspfg-module-import/guix/build/gnu-b=
uild-system.scm:
   799:28  7 (_ _)
In =
/gnu/store/zmc0hcmdfg5n4kl32vcla4cg9c9bspfg-module-import/guix/build/go-bu=
ild-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 =E2=80=A6=
) =E2=80=A6)
In srfi/srfi-1.scm:
   466:18  4 (fold #<procedure 7a4d80 at ice-9/ftw.scm:452:38 (subd=E2=80=A6=
> =E2=80=A6)
In unknown file:
           3 (_ #<procedure 870c60 at ice-9/ftw.scm:454:44 ()> #<pr=E2=80=A6=
> =E2=80=A6)
In ice-9/ftw.scm:
   482:39  2 (loop _ _ #(2050 1721126 16749 2 0 0 0 4096 # 1 # # 8 =E2=80=A6=
) =E2=80=A6)
In =
/gnu/store/zmc0hcmdfg5n4kl32vcla4cg9c9bspfg-module-import/guix/build/utils=
.scm:
   312:27  1 (_ "/gnu/store/69hmclpsln83ldh9c94c0iygj4ajiyrl-go-x-t=E2=80=A6=
" =E2=80=A6)
In unknown file:
           0 (copy-file "/gnu/store/69hmclpsln83ldh9c94c0iygj4ajiyr=E2=80=A6=
" =E2=80=A6)

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





Acknowledgement sent to Robert Vollmert <rob@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36373; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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