Subject: bug#38499: [guile-2.2.6] make check error on Solaris 11.4 x86/x64

From: Kiyoshi KANAZAWA <[email-masked]>
Date: Thu, 5 Dec 2019 20:03:48 +0900 (JST)

Hello,

I'm trying to install guile-2.2.6 on Solaris 11.4 x86/x64,
and have make check error which does not occur on Solaris 11.3 x86/x64.

$ uname -a
SunOS hidden 5.11 11.4.0.15.0 i86pc i386 i86pc

$ gcc --version
gcc (GCC) 7.5.0

$ ./configure --prefix=/opt/local --with-libiconv-prefix=/opt/local/locale --with-libunistring-prefix=/opt/local --with-libltdl-prefix=/opt/local --with-libgmp-prefix=/opt/local --with-libintl-prefix=/opt/local/locale --with-libreadline-prefix=/opt/local CC=gcc CXX=g++ 
(GNU software are installed on /opt/local)

$ make
$ make check
  :
Running filesys.test
FAIL: filesys.test: sendfile: file with offset past the end - arguments: (expected-value (146618 ...
(It is too long. Please see attached file.)

FAIL: filesys.test: sendfile: file with offset near the end - arguments: (expected-value (77 . #vu8(101 110 32 40 99 111 109 112 105 108 101 41 32 40 115 101 116 45 99 117 114 114 101 110 116 45 109 111 100 117 108 101 32 116 104 101 45 114 111 111 116 45 109 111 100 117 108 101 41 41 10 10 59 59 59 32 98 111 111 116 45 57 46 115 99 109 32 101 110 100 115 32 104 101 114 101 10)) actual-value (0 . #vu8(101 110 32 40 99 111 109 112 105 108 101 41 32 40 115 101 116 45 99 117 114 114 101 110 116 45 109 111 100 117 108 101 32 116 104 101 45 114 111 111 116 45 109 111 100 117 108 101 41 41 10 10 59 59 59 32 98 111 111 116 45 57 46 115 99 109 32 101 110 100 115 32 104 101 114 101 10)))
Running fluids.test
Running foreign.test

Have the same error with configuring 64 bits, such as
$ ./configure --prefix=/opt/local/amd64 --with-libiconv-prefix=/opt/local/locale/amd64 --with-libunistring-prefix=/opt/local/amd64 --with-libltdl-prefix=/opt/local/amd64 --with-libgmp-prefix=/opt/local/amd64 --with-libintl-prefix=/opt/local/locale/amd64 --with-libreadline-prefix=/opt/local/amd64 CC="gcc -m64" CXX="g++ -m64" 

Regards,

--- Kiyoshi