Slib and tls not usable as both are only partially configured in the PKGBUILD
Hi, there are two problems with the configuration in the package build. I would say, that none of them is directly a bug, but the current state of the PKGBUILD is misleading, as neither slib, nor tls are usable.
- Slib
Slib is defined as a dependency, but it is cannot be used, because the catalog file is not build. This file is necessary to use slib, s.a. https://github.com/shirok/Gauche/blob/master/lib/Makefile.in#L191
Something like make slibcat-in-place
would be necessary in the build step of the PKGBUILD.
- TLS Support
As far as I can tell tls support is not enabled, although --with-tls
is set. Looking at the source, it seems to be necessary to specify which tls library to use explicitly (maybe this changed in the latest release, when mbedtls-internal was added). The options are mbedtls
, which requires an additional dependency, mbedtls-internal
to use mbedtls compiled with Gauche or axtls
, also compiled with Gauche, but removal of this one is planned. I would vote to use mbedtls
.
I fixed both of these problems recently for the gauche-git
package in the aur: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gauche-git
Of course in both cases you could also opt for removing the misleading part in the PKGBUILD. But I would be happy, if the official gauche package also supports slib and tls.