From: ludo@gnu.org (Ludovic Courtès)
To: rennes <rennes@openmailbox.org>
Cc: guix-devel@gnu.org
Subject: Re: core-updates on Hurd
Date: Fri, 30 Jun 2017 11:58:48 +0200 [thread overview]
Message-ID: <87mv8pokyv.fsf@gnu.org> (raw)
In-Reply-To: <iXg4O+74trkW8OfoT4PKYQ@5te4ErEWFDj0psxH7RH2g> (rennes@openmailbox.org's message of "Thu, 22 Jun 2017 21:45:39 -0500")
Hi rennes,
rennes <rennes@openmailbox.org> 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’.
next prev parent reply other threads:[~2017-06-30 9:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-23 2:45 core-updates on Hurd rennes
2017-06-23 7:15 ` Manolis Ragkousis
2017-06-23 12:05 ` rennes
2017-06-30 9:58 ` Ludovic Courtès [this message]
[not found] <ce547c3398ebca401908d81b2c115879@openmailbox.org>
2017-07-07 16:04 ` rennes
2017-07-09 11:23 ` Ricardo Wurmus
2017-07-09 22:10 ` Ludovic Courtès
2017-07-10 5:42 ` Manolis Ragkousis
2017-07-10 21:49 ` rennes
2017-07-09 7:15 ` Manolis Ragkousis
2017-07-09 8:39 ` Manolis Ragkousis
2017-07-09 10:20 ` Ricardo Wurmus
2017-07-09 10:53 ` Manolis Ragkousis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mv8pokyv.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=rennes@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).