Jeremy Bicha <jbi...@debian.org> writes:

> Source: chezscheme
> Version: 9.5+dfsg-1
> Severity: serious
>
> chezscheme fails to build from source with glibc 2.26.
>
> Specifically, #include <xlocale.h> won't work starting with that
> version of glibc.
>
> This can be clearly seen in the reproducible builds logs:
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/chezscheme.html

Thanks for your report.

Upstream has fixed this for the next release, which I suspect will be
out quite soon. I'll see about backporting it.


diff --git a/c/expeditor.c b/c/expeditor.c
index a103fa2..84c3897 100644
--- a/c/expeditor.c
+++ b/c/expeditor.c
@@ -546,7 +546,9 @@ static void s_ee_write_char(wchar_t c) {
 #include <sys/ioctl.h>
 #include <wchar.h>
 #include <locale.h>
+#ifndef __GLIBC__
 #include <xlocale.h>
+#endif
 
 #if defined(TIOCGWINSZ) && defined(SIGWINCH) && defined(EINTR)
 #define HANDLE_SIGWINCH


-- 
Göran Weinholt <go...@weinholt.se>
73 de SA6CJK

Attachment: signature.asc
Description: PGP signature

Reply via email to