Building libunistring-0.9.3 on OpenIndiana, oi_151a5
proceeds well, but the test suite delivers four failures.
1. unicase/test-locale-language.sh
This contains a subtest
./test-locale-language ''
which throws a segmentation fault on OpenSolaris/OpenIndiana.
The reason is that
/bin/sh --> /usr/bin/i86/ksh83
fails to pass the idiom
exec ./prog ${1+"$@"}
in the expected POSIX conformant manner, instead giving a NULL
argument as a legacy SVR4 shell. This failure can be circumvented:
./configure SHELL=/usr/gnu/bin/sh or /usr/bin/bash.
2. test-u8-strcoll
throws a segmentation fault in the comparison between ASCII and
non-ASCII character arrays. The cause is most certainly that
OpenIndiana already provides a call u8_strcmp(), of completely
different signature, and which presumably is given priority
over the corresponding function in libunistring.
3. test-u16-strcoll
4. test-u32-strcoll
throw segmentation faults. The exact cause has yet to be
investigated.
Best regards,
Mats Erik Andersson