Subject: bug#73113: closed (Re: [bug#73235] [PATCH] gnu: gauche: Fix build, enable TLS, and use gexps.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 25 Sep 2024 16:08:03 +0000

Your bug report

#73113: Gauche 0.9.15 fails to build (test failure)

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
73113: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73113
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#73235] [PATCH] gnu: gauche: Fix build, enable TLS, and use gexps.
From: Ludovic Courtès <[email-masked]>
To: Antero Mejr <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 25 Sep 2024 18:06:31 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Antero Mejr <[email-masked]> skribis:

> There is a known test issue that will be fixed next release:
> https://github.com/shirok/Gauche/issues/1044
>
> * gnu/packages/scheme.scm (gauche): Fix build failure and enable TLS.
> [arguments]: Set #:tests? to #f until next release, and add --with-tls
> configure flag.
> [inputs]: Add mbedtls.
>
> Change-Id: Iceacb882e74f5a8e3e11d663cca51baafbcbeb69
> ---
> Resolves https://issues.guix.gnu.org/73113

Applied, thanks!

Subject: Gauche 0.9.15 fails to build (test failure)
From: Antero Mejr <[email-masked]>
To: [email-masked]
Date: Sat, 07 Sep 2024 18:39:29 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

It appears the FFI test is failing (at least for x86_64 target):

```
Testing ffitest ...                                              failed.
9 discrepancies found:
test load-foreign: expects (#t (f_i () i) (f_i_i (i) i)) => got #<<error> ": no matching clause for (.struct _IO_cookie_io_functions_t () ((read (.pointer () (.type cookie_read_function_t () (.function () (.type __ssize_t () (long ())) ((__cookie (.pointer () (void ()))) (__buf (.pointer () (char ()))) (__nbytes (.type size_t () (u-long ())))))))) (write (.pointer () (.type cookie_write_function_t () (.function () (.type __ssize_t () (long ())) ((__cookie (.pointer () (void ()))) (__buf (.pointer () (char (const)))) (__nbytes (.type size_t () (u-long ())))))))) (seek (.pointer () (.type cookie_seek_function_t () (.function () (int ()) ((__cookie (.pointer () (void ()))) (__pos (.pointer () (.type __off64_t () (long ())))) (__w (int ()))))))) (close (.pointer () (.type cookie_close_function_t () (.function () (int ()) ((__cookie (.pointer () (void ()))))))))))">
test call-foreign f_c: expects 9 => got #<<error> "flib is supposed to be of type #<class <foreign-library>>, but got #f">
test call-foreign f_i: expects 42 => got #<<error> "flib is supposed to be of type #<class <foreign-library>>, but got #f">
test call-foreign f_f: expects 1.25 => got #<<error> "flib is supposed to be of type #<class <foreign-library>>, but got #f">
test call-foreign f_d: expects 3.14 => got #<<error> "flib is supposed to be of type #<class <foreign-library>>, but got #f">
test call-foreign f_v: expects #<undef> => got #<<error> "flib is supposed to be of type #<class <foreign-library>>, but got #f">
test call-foreign f_i_i: expects 99 => got #<<error> "flib is supposed to be of type #<class <foreign-library>>, but got #f">
test call-foreign f_f_f: expects 0.125 => got #<<error> "flib is supposed to be of type #<class <foreign-library>>, but got #f">
test call-foreign f_d_d: expects 1.0 => got #<<error> "flib is supposed to be of type #<class <foreign-library>>, but got #f">
```