[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: core-updates on Hurd
From: |
Ludovic Courtès |
Subject: |
Re: core-updates on Hurd |
Date: |
Fri, 30 Jun 2017 11:58:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hi rennes,
rennes <address@hidden> skribis:
> currently the guix core-updates branch on GNU/Hurd, after start
> guix-daemon and issue the command './pre-inst-env guix build hello'
> fails with:
> --
> guix build: error: lstat: No such file or directory:
> "/home/jin/guix/gnu/packages/zation.scm"
It could be a portability bug in a new ‘scandir*’ procedure (see commit
fa73c1937364872560c509f02b3d7648a5bed006).
Could you either print the names that ‘scandir*’ 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---
… and/or run ‘./pre-inst-env rpctrace guix build hello’ to see what’s
going on?
HTH!
Ludo’.