Re: core-updates on Hurd
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
Re: core-updates on Hurd
Hello! Ricardo Wurmusskribis: > 105<--153(pid1070)->dir_lookup ("home/buzz/guix/gnu/packages/zation.scm" 64 > 0) = 0x4002 (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’.
Re: core-updates on Hurd
ren...@openmailbox.org writes: > On 2017-07-07 10:41, ren...@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) = 0x4002 (No such file or directory) -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net
Re: core-updates on Hurd
On 07/09/17 13:20, Ricardo Wurmus wrote: > > Manolis Ragkousiswrites: > >> 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.
Re: core-updates on Hurd
Manolis Ragkousiswrites: > 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
Re: core-updates on Hurd
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) = > 0x4002 (No such file or directory) > 105<--153(pid1070)->dir_lookup > ("usr/local/share/locale/en_US.utf8/LC_MESSAGES/guix.mo" 1 0) = > 0x4002 (No such file or directory) > 105<--153(pid1070)->dir_lookup > ("usr/local/share/locale/en_US/LC_MESSAGES/guix.mo" 1 0) = 0x4002 > (No such file or directory) > 105<--153(pid1070)->dir_lookup > ("usr/local/share/locale/en.UTF-8/LC_MESSAGES/guix.mo" 1 0) = 0x4002 > (No such file or directory) > 105<--153(pid1070)->dir_lookup > ("usr/local/share/locale/en.utf8/LC_MESSAGES/guix.mo" 1 0) = 0x4002 > (No such file or directory) > 105<--153(pid1070)->dir_lookup > ("usr/local/share/locale/en/LC_MESSAGES/guix.mo" 1 0) = 0x4002 (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 >
Re: core-updates on Hurd
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) = 0x4002 (No such file or directory) 105<--153(pid1070)->dir_lookup ("usr/local/share/locale/en_US.utf8/LC_MESSAGES/guix.mo" 1 0) = 0x4002 (No such file or directory) 105<--153(pid1070)->dir_lookup ("usr/local/share/locale/en_US/LC_MESSAGES/guix.mo" 1 0) = 0x4002 (No such file or directory) 105<--153(pid1070)->dir_lookup ("usr/local/share/locale/en.UTF-8/LC_MESSAGES/guix.mo" 1 0) = 0x4002 (No such file or directory) 105<--153(pid1070)->dir_lookup ("usr/local/share/locale/en.utf8/LC_MESSAGES/guix.mo" 1 0) = 0x4002 (No such file or directory) 105<--153(pid1070)->dir_lookup ("usr/local/share/locale/en/LC_MESSAGES/guix.mo" 1 0) = 0x4002 (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
Re: core-updates on Hurd
Hi rennes, rennesskribis: > 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’.
Re: core-updates on Hurd
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.
Re: core-updates on Hurd
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
core-updates on Hurd
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.