Ludovic Courtès <[email protected]> writes:
> Hello Guilers!
>
> (Cc’ing packagers I know; feel free to ping other packagers!)
I dropped the CC as I suspect all are on guile-devel.
> Please report any issues you may find. I’m particularly interested in
> portability regressions (NetBSD and other BSDs, macOS, MinGW, as well as
> architectures other than x86_64).
Thanks for being welcoming to portability issues.
I am building from git via autogen first. I'll try the tarball next.
(We do have a JIT/PaX issue on NetBSD which is worked around in
packaging, but that's not new and I don't want to ask you to hold this
micro over it. I'll write a more coherent note about that separately.)
The build failed with:
----------------------------------------
make all-recursive
Making all in lib
make all-recursive
Making all in meta
Making all in libguile
make all-am
CC libguile_3.0_la-posix.lo
In file included from ../config.h:3293:0,
from ../../libguile/posix.c:24:
../../libguile/posix.c:109:9: error: lvalue required as unary '&' operand
verify (WEXITSTATUS (W_EXITCODE (127, 0)) == 127);
^
../../lib/verify.h:305:20: note: in expansion of macro '_GL_VERIFY'
# define verify(R) _GL_VERIFY (R, "verify (" #R ")", -)
^~~~~~~~~~
../../libguile/posix.c:109:1: note: in expansion of macro 'verify'
verify (WEXITSTATUS (W_EXITCODE (127, 0)) == 127);
^~~~~~
../../libguile/posix.c:109:9: error: expression in static assertion is not an
integer
verify (WEXITSTATUS (W_EXITCODE (127, 0)) == 127);
^
../../lib/verify.h:305:20: note: in expansion of macro '_GL_VERIFY'
# define verify(R) _GL_VERIFY (R, "verify (" #R ")", -)
^~~~~~~~~~
../../libguile/posix.c:109:1: note: in expansion of macro 'verify'
verify (WEXITSTATUS (W_EXITCODE (127, 0)) == 127);
^~~~~~
*** Error code 1
Stop.
make[3]: stopped in /home/n0/gdt/SOFTWARE/GUILE/guile/BUILD/libguile
*** Error code 1
Stop.
make[2]: stopped in /home/n0/gdt/SOFTWARE/GUILE/guile/BUILD/libguile
*** Error code 1
Stop.
make[1]: stopped in /home/gdt/SOFTWARE/GUILE/guile/BUILD
*** Error code 1
Stop.
make: stopped in /home/gdt/SOFTWARE/GUILE/guile/BUILD
----------------------------------------
NetBSD has:
/usr/include/sys/wait.h:#define WEXITSTATUS(x) ((int)(((unsigned
int)_W_INT(x)) >> 8) & 0xff)
which looks similar enough at first glance.
Next I'll try the tarball in pkgsrc.