From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: core-updates on Hurd Date: Fri, 30 Jun 2017 11:58:48 +0200 Message-ID: <87mv8pokyv.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQshT-0006m0-1L for guix-devel@gnu.org; Fri, 30 Jun 2017 05:58:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQshP-0006LW-5V for guix-devel@gnu.org; Fri, 30 Jun 2017 05:58:55 -0400 In-Reply-To: (rennes@openmailbox.org's message of "Thu, 22 Jun 2017 21:45:39 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: rennes Cc: guix-devel@gnu.org Hi rennes, rennes skribis: > currently the guix core-updates branch on GNU/Hurd, after start=20=20 > guix-daemon and issue the command './pre-inst-env guix build hello'=20=20 > fails with: > -- > guix build: error: lstat: No such file or directory:=20=20 > "/home/jin/guix/gnu/packages/zation.scm" It could be a portability bug in a new =E2=80=98scandir*=E2=80=99 procedure= (see commit fa73c1937364872560c509f02b3d7648a5bed006). Could you either print the names that =E2=80=98scandir*=E2=80=99 returns at= its call site in (guix discovery) like this: --8<---------------cut here---------------start------------->8--- diff --git a/guix/discovery.scm b/guix/discovery.scm index 292df2bd9..2d7a1ffdb 100644 --- a/guix/discovery.scm +++ b/guix/discovery.scm @@ -50,7 +50,7 @@ DIRECTORY is not accessible." ;; Use 'scandir*' so we can avoid an extra 'lstat' for each entry, as ;; opposed to Guile's 'scandir' or 'file-system-fold'. (fold-right (lambda (entry result) - (match entry + (match (pk entry) (("." . _) result) ((".." . _) --8<---------------cut here---------------end--------------->8--- =E2=80=A6 and/or run =E2=80=98./pre-inst-env rpctrace guix build hello=E2= =80=99 to see what=E2=80=99s going on? HTH! Ludo=E2=80=99.