Re: GNU/Hurd update

2019-02-17 Thread Rene


trace-xz.log
Description: Binary data

Hello,

In addition to the problem with static guile in Hurd, the static binary `xz`
shows the following message when trying to check the version. 


--8<---cut here---start->8---
jin@Hurd:~/glibc-2.28/bin$ ./xz --version
./xz: Error creating a pipe: Function not implemented
--8<---cut here---end--->8---

The binarie was generated from current Guix (master branch) in Linux,
with `./pre-inst-env guix build bootstrap-tarballs --target=i586-pc-gnu`.

I attach the rpctrace.

-- 

Rene


Re: GNU/Hurd update

2019-01-23 Thread Ricardo Wurmus


Hi Manolis,

> Hello Ludo,
>
> On 12/16/18 5:42 PM, Ludovic Courtès wrote:
>> 
>> For comparison, this is what it looks like on GNU/Linux:
>> 
>> --8<---cut here---start->8---
>> stat("/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2/ccache/ice-9/command-line.go",
>>  {st_mode=S_IFREG|0444, st_size=81741, ...}) = 0
>> openat(AT_FDCWD, 
>> "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2/ccache/ice-9/command-line.go",
>>  O_RDONLY|O_CLOEXEC) = 7
>> lseek(7, 0, SEEK_END)   = 81741
>> mmap(NULL, 81741, PROT_READ, MAP_PRIVATE, 7, 0) = 0x7fd08126d000
>> close(7)= 0
>> mprotect(0x7fd08127d000, 8128, PROT_READ|PROT_WRITE) = 0
>> openat(AT_FDCWD, 
>> "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/share/locale/en_US.utf8/LC_MESSAGES/messages.mo",
>>  O_RDONLY) = -1 ENOENT (No such file or directory)
>> openat(AT_FDCWD, 
>> "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/share/locale/en_US/LC_MESSAGES/messages.mo",
>>  O_RDONLY) = -1 ENOENT (No such file or directory)
>> openat(AT_FDCWD, 
>> "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/share/locale/en.utf8/LC_MESSAGES/messages.mo",
>>  O_RDONLY) = -1 ENOENT (No such file or directory)
>> openat(AT_FDCWD, 
>> "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/share/locale/en/LC_MESSAGES/messages.mo",
>>  O_RDONLY) = -1 ENOENT (No such file or directory)
>> write(1, "guile", 5guile)= 5
>> write(1, " (", 2 ()   = 2
>> write(1, "GNU Guile", 9GNU Guile)= 9
>> write(1, ") ", 2) )   = 2
>> write(1, "2.2.4", 52.2.4)= 5
>> […]
>> --8<---cut here---end--->8---
>> 
>> We can recognize th stat/seek/mmap/mprotect sequence, but then the
>> GNU/Linux version keeps going instead of exiting.
>> 
>> Rene, Manolis: any ideas?  :-)
>> 
>
> I don't seem to have access to darnassus any more. I will rebuild the
> bootstrap tarballs and on the weekend I will try them on a local debian
> hurd vm.

Have you been able to track this down yet?

FWIW from my earlier experiments I have a bunch of bootstrap binaries
on berlin.guixsd.org:

rekado@berlin ~$ ls -la /var/www/guix/bootstrap/i586-gnu/20180908/
total 39296
drwxr-xr-x 2 root  root  4096 Sep  8 22:40 ./
drwxr-xr-x 3 nginx users 4096 Sep  8 22:40 ../
-rw-r--r-- 1 nginx users  2210784 Sep  8 11:43 
binutils-static-stripped-2.30-i586-pc-gnu.tar.xz
-rw-r--r-- 1 nginx users 19777232 Sep  8 11:41 
gcc-stripped-5.5.0-i586-pc-gnu.tar.xz
-rw-r--r-- 1 nginx users  4406880 Sep  8 11:38 
glibc-stripped-2.23-i586-pc-gnu.tar.xz
-rw-r--r-- 1 nginx users  5800276 Sep  8 11:37 
guile-static-stripped-2.2.3-i586-pc-gnu.tar.xz
-rw-r--r-- 1 nginx users  8013184 Sep  8 11:42 
static-binaries-0-i586-pc-gnu.tar.xz

This was with glibc 2.23, so before the great merge.  I don’t know if
these might be useful for you.

-- 
Ricardo




Re: GNU/Hurd update

2018-12-19 Thread Manolis Ragkousis
Hello Ludo,

On 12/16/18 5:42 PM, Ludovic Courtès wrote:
> 
> For comparison, this is what it looks like on GNU/Linux:
> 
> --8<---cut here---start->8---
> stat("/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2/ccache/ice-9/command-line.go",
>  {st_mode=S_IFREG|0444, st_size=81741, ...}) = 0
> openat(AT_FDCWD, 
> "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/guile/2.2/ccache/ice-9/command-line.go",
>  O_RDONLY|O_CLOEXEC) = 7
> lseek(7, 0, SEEK_END)   = 81741
> mmap(NULL, 81741, PROT_READ, MAP_PRIVATE, 7, 0) = 0x7fd08126d000
> close(7)= 0
> mprotect(0x7fd08127d000, 8128, PROT_READ|PROT_WRITE) = 0
> openat(AT_FDCWD, 
> "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/share/locale/en_US.utf8/LC_MESSAGES/messages.mo",
>  O_RDONLY) = -1 ENOENT (No such file or directory)
> openat(AT_FDCWD, 
> "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/share/locale/en_US/LC_MESSAGES/messages.mo",
>  O_RDONLY) = -1 ENOENT (No such file or directory)
> openat(AT_FDCWD, 
> "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/share/locale/en.utf8/LC_MESSAGES/messages.mo",
>  O_RDONLY) = -1 ENOENT (No such file or directory)
> openat(AT_FDCWD, 
> "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/share/locale/en/LC_MESSAGES/messages.mo",
>  O_RDONLY) = -1 ENOENT (No such file or directory)
> write(1, "guile", 5guile)= 5
> write(1, " (", 2 ()   = 2
> write(1, "GNU Guile", 9GNU Guile)= 9
> write(1, ") ", 2) )   = 2
> write(1, "2.2.4", 52.2.4)= 5
> […]
> --8<---cut here---end--->8---
> 
> We can recognize th stat/seek/mmap/mprotect sequence, but then the
> GNU/Linux version keeps going instead of exiting.
> 
> Rene, Manolis: any ideas?  :-)
> 

I don't seem to have access to darnassus any more. I will rebuild the
bootstrap tarballs and on the weekend I will try them on a local debian
hurd vm.

Manolis