Paul Eggert <[email protected]> writes:

> On 9/19/26 03:05, Bahram Alinezhad wrote:
>> Also this fails on some tests. log attached.
>> I hope you fix this.Regards.
>
> Thanks. Your environment is old enough that I don't have a platform to
> reproduce it on, and I'll need help from you to debug. Let's start by
> investigating the first failure. Please apply the attached patch to
> gltests/test-c32isalnum.c, rerun 'make-check', and reply with the
> output that should be in gltests/test-c32isalnum.sh.log. Since this is
> a Gnulib issue, please cc to <[email protected]>.
>
> Which version of glibc are you using? Or, if you're using musl, which
> version of that?
>
> If you can use a debugger to see why gltests/test-c32alsnum is
> failing, that would help to find the bug faster.
>
> I am also cc'ing this email to [email protected]. For bug-gnulib
> readers: This is following up
> <https://lists.gnu.org/r/bug-m4/2026-09/msg00001.html>. The Gnulib
> test case was made with "./gnulib-tool --create-testdir -h --dir
> m4gnulib-test c32isalnum c32isalpha c32isblank c32iscntrl c32isdigit
> c32isgraph c32islower c32isprint c32ispunct c32isspace c32isupper
> c32isxdigit c32rtomb c32tolower mbrtoc32 mbrtowc" and the test failure
> occurs on an old system with "System information (uname -a): Linux
> 2.6.27.7 #2 Thu Nov 20 23:19:39 CST 2008 i586 05/04 AuthenticAMD".

Testing on Linux 2.x is relatively easy, but it is a bit annoying. You
can setup Debian 6 VM, for example, but you will have to do some
configuring you get 'apt' to ignore expired signatures. Then, you won't
be able to SSH into it because of the insecure algorithms that it uses.
If you are like me and don't want to mess with those configurations on
your host system, you could use a container with an old SSH client.
However, it sort of defeats the purpose.

Regarding those specific tests, though, is it really worth making them
pass on old platforms like this, which are using very old Unicode data
files? Certainly, these tests should be the least of your concerns if
you are using Linux 2.6.

Collin


Reply via email to