* core-updates on Hurd
@ 2017-06-23 2:45 rennes
2017-06-23 7:15 ` Manolis Ragkousis
2017-06-30 9:58 ` Ludovic Courtès
0 siblings, 2 replies; 13+ messages in thread
From: rennes @ 2017-06-23 2:45 UTC (permalink / raw)
To: guix-devel
Good day,
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"
--
At the moment I only see this error.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-06-23 2:45 rennes
@ 2017-06-23 7:15 ` Manolis Ragkousis
2017-06-23 12:05 ` rennes
2017-06-30 9:58 ` Ludovic Courtès
1 sibling, 1 reply; 13+ messages in thread
From: Manolis Ragkousis @ 2017-06-23 7:15 UTC (permalink / raw)
To: rennes; +Cc: guix-devel
Hey Rene,
On 06/23/17 05:45, rennes wrote:
> Good day,
>
> 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 sounds to me like there is something wrong with your clone of the
repo. Could you run make clean && make ?
Manolis
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-06-23 7:15 ` Manolis Ragkousis
@ 2017-06-23 12:05 ` rennes
0 siblings, 0 replies; 13+ messages in thread
From: rennes @ 2017-06-23 12:05 UTC (permalink / raw)
To: Manolis Ragkousis; +Cc: guix-devel
Hi Manolis,
>
> it sounds to me like there is something wrong with your clone of the
> repo. Could you run make clean && make ?
>
I get the same result, I will continue to review.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-06-23 2:45 rennes
2017-06-23 7:15 ` Manolis Ragkousis
@ 2017-06-30 9:58 ` Ludovic Courtès
1 sibling, 0 replies; 13+ messages in thread
From: Ludovic Courtès @ 2017-06-30 9:58 UTC (permalink / raw)
To: rennes; +Cc: guix-devel
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’.
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
[not found] <ce547c3398ebca401908d81b2c115879@openmailbox.org>
@ 2017-07-07 16:04 ` rennes
2017-07-09 11:23 ` Ricardo Wurmus
2017-07-09 7:15 ` Manolis Ragkousis
1 sibling, 1 reply; 13+ messages in thread
From: rennes @ 2017-07-07 16:04 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 112 bytes --]
On 2017-07-07 10:41, rennes@openmailbox.org wrote:
> Hello,
>
> I attached the output of the command.
> Thanks
[-- Attachment #2: rpc.zip --]
[-- Type: application/zip, Size: 44237 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
[not found] <ce547c3398ebca401908d81b2c115879@openmailbox.org>
2017-07-07 16:04 ` core-updates on Hurd rennes
@ 2017-07-09 7:15 ` Manolis Ragkousis
2017-07-09 8:39 ` Manolis Ragkousis
1 sibling, 1 reply; 13+ messages in thread
From: Manolis Ragkousis @ 2017-07-09 7:15 UTC (permalink / raw)
To: rennes; +Cc: guix-devel
Hey Rene,
There seems to be something really wrong with your installation of guix.
Files are missing. Did you delete something by hand?
105<--153(pid1070)->dir_lookup
("usr/local/share/locale/en_US.UTF-8/LC_MESSAGES/guix.mo" 1 0) =
0x40000002 (No such file or directory)
105<--153(pid1070)->dir_lookup
("usr/local/share/locale/en_US.utf8/LC_MESSAGES/guix.mo" 1 0) =
0x40000002 (No such file or directory)
105<--153(pid1070)->dir_lookup
("usr/local/share/locale/en_US/LC_MESSAGES/guix.mo" 1 0) = 0x40000002
(No such file or directory)
105<--153(pid1070)->dir_lookup
("usr/local/share/locale/en.UTF-8/LC_MESSAGES/guix.mo" 1 0) = 0x40000002
(No such file or directory)
105<--153(pid1070)->dir_lookup
("usr/local/share/locale/en.utf8/LC_MESSAGES/guix.mo" 1 0) = 0x40000002
(No such file or directory)
105<--153(pid1070)->dir_lookup
("usr/local/share/locale/en/LC_MESSAGES/guix.mo" 1 0) = 0x40000002 (No
such file or directory)
168<--167(pid1070)->io_write ("guix build: error: lstat: No such file
or directory: "/home/buzz/guix/gnu/packag" -1) = 0 95
Manolis
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-07-09 7:15 ` Manolis Ragkousis
@ 2017-07-09 8:39 ` Manolis Ragkousis
2017-07-09 10:20 ` Ricardo Wurmus
0 siblings, 1 reply; 13+ messages in thread
From: Manolis Ragkousis @ 2017-07-09 8:39 UTC (permalink / raw)
To: rennes; +Cc: guix-devel
Hello again,
I rebased my guix repo on the latest core-updates and you are correct.
On Hurd while building running make inside guix, something is going
wrong and changes the filenames guix is looking for while trying to
build packages.
For example trying ./pre-inst-env guix build hello it fails with:
166<--165(pid2386)->io_write ("guix build: error: lstat: No such file or
directory: "/home/manolis/repos/guix/g" -1)guix build: error: lstat: No
such file or directory: "/home/manolis/repos/guix/gnu/packages/zation.scm"
= 0 104
Not here that there is no file named
"/home/manolis/repos/guix/gnu/packages/zation.scm". Could it be
something that there is something wrong with the guix build command?
Manolis
On 07/09/17 10:15, Manolis Ragkousis wrote:
> Hey Rene,
>
> There seems to be something really wrong with your installation of guix.
> Files are missing. Did you delete something by hand?
>
>
> 105<--153(pid1070)->dir_lookup
> ("usr/local/share/locale/en_US.UTF-8/LC_MESSAGES/guix.mo" 1 0) =
> 0x40000002 (No such file or directory)
> 105<--153(pid1070)->dir_lookup
> ("usr/local/share/locale/en_US.utf8/LC_MESSAGES/guix.mo" 1 0) =
> 0x40000002 (No such file or directory)
> 105<--153(pid1070)->dir_lookup
> ("usr/local/share/locale/en_US/LC_MESSAGES/guix.mo" 1 0) = 0x40000002
> (No such file or directory)
> 105<--153(pid1070)->dir_lookup
> ("usr/local/share/locale/en.UTF-8/LC_MESSAGES/guix.mo" 1 0) = 0x40000002
> (No such file or directory)
> 105<--153(pid1070)->dir_lookup
> ("usr/local/share/locale/en.utf8/LC_MESSAGES/guix.mo" 1 0) = 0x40000002
> (No such file or directory)
> 105<--153(pid1070)->dir_lookup
> ("usr/local/share/locale/en/LC_MESSAGES/guix.mo" 1 0) = 0x40000002 (No
> such file or directory)
> 168<--167(pid1070)->io_write ("guix build: error: lstat: No such file
> or directory: "/home/buzz/guix/gnu/packag" -1) = 0 95
>
> Manolis
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-07-09 8:39 ` Manolis Ragkousis
@ 2017-07-09 10:20 ` Ricardo Wurmus
2017-07-09 10:53 ` Manolis Ragkousis
0 siblings, 1 reply; 13+ messages in thread
From: Ricardo Wurmus @ 2017-07-09 10:20 UTC (permalink / raw)
To: Manolis Ragkousis; +Cc: guix-devel, rennes
Manolis Ragkousis <manolis837@gmail.com> writes:
> For example trying ./pre-inst-env guix build hello it fails with:
>
> 166<--165(pid2386)->io_write ("guix build: error: lstat: No such file or
> directory: "/home/manolis/repos/guix/g" -1)guix build: error: lstat: No
> such file or directory: "/home/manolis/repos/guix/gnu/packages/zation.scm"
> = 0 104
>
> Not here that there is no file named
> "/home/manolis/repos/guix/gnu/packages/zation.scm". Could it be
> something that there is something wrong with the guix build command?
There is no file called “zation.scm” but “serialization.scm”.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-07-09 10:20 ` Ricardo Wurmus
@ 2017-07-09 10:53 ` Manolis Ragkousis
0 siblings, 0 replies; 13+ messages in thread
From: Manolis Ragkousis @ 2017-07-09 10:53 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel, rennes
On 07/09/17 13:20, Ricardo Wurmus wrote:
>
> Manolis Ragkousis <manolis837@gmail.com> writes:
>
>> For example trying ./pre-inst-env guix build hello it fails with:
>>
>> 166<--165(pid2386)->io_write ("guix build: error: lstat: No such file or
>> directory: "/home/manolis/repos/guix/g" -1)guix build: error: lstat: No
>> such file or directory: "/home/manolis/repos/guix/gnu/packages/zation.scm"
>> = 0 104
>>
>> Not here that there is no file named
>> "/home/manolis/repos/guix/gnu/packages/zation.scm". Could it be
>> something that there is something wrong with the guix build command?
>
> There is no file called “zation.scm” but “serialization.scm”.
>
Exactly Ricardo, for some reason files are getting corrupted.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-07-07 16:04 ` core-updates on Hurd rennes
@ 2017-07-09 11:23 ` Ricardo Wurmus
2017-07-09 22:10 ` Ludovic Courtès
0 siblings, 1 reply; 13+ messages in thread
From: Ricardo Wurmus @ 2017-07-09 11:23 UTC (permalink / raw)
To: rennes; +Cc: guix-devel
rennes@openmailbox.org writes:
> On 2017-07-07 10:41, rennes@openmailbox.org wrote:
>> Hello,
>>
>> I attached the output of the command.
>> Thanks
What is going on here:
201<--198(pid1070)->dir_readdir (0 -1 0) = 0 "\xaad\x01\0\0\0\0\0\x10\0\0\x01.\0\0\0\xf7\xa2\b\0\0\0\0\0\x10\0\0\x02..\0\0+i\x01\0\0\0\0\0\x14\0\0\x05gd.go\0\0\0\xa1h\x01\0\0\0\0\0\x1c\0\0\fvalgrind.scm\0\0\0\0" 760
…
201<--198(pid1070)->dir_readdir (760 -1 0) = 0 "" 0
?
I don’t really understand the output, but it looks like it read nothing
when reading the directory inode. That’s right before it tries this:
105<--153(pid1070)->dir_lookup ("home/buzz/guix/gnu/packages/zation.scm" 64 0) = 0x40000002 (No such file or directory)
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
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
0 siblings, 2 replies; 13+ messages in thread
From: Ludovic Courtès @ 2017-07-09 22:10 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel, rennes
Hello!
Ricardo Wurmus <rekado@elephly.net> skribis:
> 105<--153(pid1070)->dir_lookup ("home/buzz/guix/gnu/packages/zation.scm" 64 0) = 0x40000002 (No such file or directory)
I looked more closely, logged in on darnassus, and commit
1ab9e483391f8b62b873833ea71cb0074efa03e7 fixes it AFAICS.
The problem was that ‘struct dirent64’ is slightly different on GNU/Hurd
than on GNU/Linux.
Rennes, could you confirm that it works for you?
Thank you!
Ludo’.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-07-09 22:10 ` Ludovic Courtès
@ 2017-07-10 5:42 ` Manolis Ragkousis
2017-07-10 21:49 ` rennes
1 sibling, 0 replies; 13+ messages in thread
From: Manolis Ragkousis @ 2017-07-10 5:42 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel, rennes
Hey Ludovic
On 07/10/17 01:10, Ludovic Courtès wrote:
> Hello!
>
> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> 105<--153(pid1070)->dir_lookup ("home/buzz/guix/gnu/packages/zation.scm" 64 0) = 0x40000002 (No such file or directory)
>
> I looked more closely, logged in on darnassus, and commit
> 1ab9e483391f8b62b873833ea71cb0074efa03e7 fixes it AFAICS.
>
> The problem was that ‘struct dirent64’ is slightly different on GNU/Hurd
> than on GNU/Linux.
>
> Rennes, could you confirm that it works for you?
>
It works for me now.
Thank you! :)
Manolis
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: core-updates on Hurd
2017-07-09 22:10 ` Ludovic Courtès
2017-07-10 5:42 ` Manolis Ragkousis
@ 2017-07-10 21:49 ` rennes
1 sibling, 0 replies; 13+ messages in thread
From: rennes @ 2017-07-10 21:49 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Hello,
On 07/09/2017 05:10:47 PM, Ludovic Courtès wrote:
>
> The problem was that ‘struct dirent64’ is slightly different on
> GNU/Hurd
> than on GNU/Linux.
>
> Rennes, could you confirm that it works for you?
>
The solution works, Thanks
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-07-10 21:57 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <ce547c3398ebca401908d81b2c115879@openmailbox.org>
2017-07-07 16:04 ` core-updates on Hurd 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
2017-06-23 2:45 rennes
2017-06-23 7:15 ` Manolis Ragkousis
2017-06-23 12:05 ` rennes
2017-06-30 9:58 ` Ludovic Courtès
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).