Test failure in GNU M4 1.4.18 with musl libc

Cody Logan <[email protected]>
Newsgroups gmane.comp.gnu.m4.bugs
Message-ID <[email protected]>
Hello,

I'm attempting to cross-compile M4 1.4.18 with musl libc instead of
glibc. The build completes, but when I run `make check`, I get two test
failures. I'm running Arch Linux x86-64 on Linux 5.2.13 and
cross-compiling with GCC 9.2.0 (targeting x86_64-pc-linux-musl).FWIW,
the same failures occur on Alpine Linux with native GCC 8.3.0.

The full log is pasted below.

Thanks,
Cody

=========================================
   GNU M4 1.4.18: tests/test-suite.log
=========================================

# TOTAL: 170
# PASS:  148
# SKIP:  20
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: test-btowc1.sh
====================

Skipping test: no traditional french locale is installed
SKIP test-btowc1.sh (exit status: 77)

SKIP: test-btowc2.sh
====================

Skipping test: no french Unicode locale is installed
SKIP test-btowc2.sh (exit status: 77)

SKIP: test-c-stack2.sh
======================

cannot tell stack overflow from crash; consider installing libsigsegv
SKIP test-c-stack2.sh (exit status: 77)

FAIL: test-localename
=====================

test-localename.c:183: assertion 'strcmp (name, "fr_FR.UTF-8") == 0' failed
FAIL test-localename (exit status: 134)

SKIP: test-mbrtowc1.sh
======================

Skipping test: no traditional french locale is installed
SKIP test-mbrtowc1.sh (exit status: 77)

SKIP: test-mbrtowc2.sh
======================

Skipping test: no french Unicode locale is installed
SKIP test-mbrtowc2.sh (exit status: 77)

SKIP: test-mbrtowc3.sh
======================

Skipping test: no traditional japanese locale is installed
SKIP test-mbrtowc3.sh (exit status: 77)

SKIP: test-mbrtowc4.sh
======================

Skipping test: no transitional chinese locale is installed
SKIP test-mbrtowc4.sh (exit status: 77)

FAIL: test-mbrtowc5.sh
======================

test-mbrtowc.c:106: assertion 'wc == c' failed
./test-mbrtowc5.sh: line 4: 789048 Aborted                 (core dumped)
LC_ALL=C ./test-mbrtowc${EXEEXT} 5
FAIL test-mbrtowc5.sh (exit status: 134)

SKIP: test-mbrtowc-w32-1.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-1.sh (exit status: 77)

SKIP: test-mbrtowc-w32-2.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-2.sh (exit status: 77)

SKIP: test-mbrtowc-w32-3.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-3.sh (exit status: 77)

SKIP: test-mbrtowc-w32-4.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-4.sh (exit status: 77)

SKIP: test-mbrtowc-w32-5.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-5.sh (exit status: 77)

SKIP: test-mbsinit.sh
=====================

Skipping test: no french Unicode locale is installed
SKIP test-mbsinit.sh (exit status: 77)

SKIP: test-setlocale1.sh
========================

Skipping test: no locale for testing is installed
SKIP test-setlocale1.sh (exit status: 77)

SKIP: test-vc-list-files-cvs.sh
===============================

test-vc-list-files-cvs.sh: skipped test: cvs not found in PATH
SKIP test-vc-list-files-cvs.sh (exit status: 77)

SKIP: test-wcrtomb-w32-1.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-1.sh (exit status: 77)

SKIP: test-wcrtomb-w32-2.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-2.sh (exit status: 77)

SKIP: test-wcrtomb-w32-3.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-3.sh (exit status: 77)

SKIP: test-wcrtomb-w32-4.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-4.sh (exit status: 77)

SKIP: test-wcrtomb-w32-5.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-5.sh (exit status: 77)
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE7bZPoveQZ3qQpf2ONsNWpabqZnYFAl15UewACgkQNsNWpabq
ZnaQJQ/9E729J3hxaQmr9KH1vfcs1MJHdMBX6U0CiyRr5de4Ywi1V2Wh0yh7kaKM
PdBPtKzxSwsCqWT7NJmAxNuAKc6IafxiQJEZkOk80nwyWcJFJoGJz2KetQ1g5nOQ
VX+JsdDNePd4o7arwswV27awkgU88aGMJtGxh61sMQ953M2pJkZaQpPAaFf8mV4Y
6UKR6+1ieZBEVTkCpC3kT5TIyeo2fQWUFTEZLazWCsv7lnMgT8NxoS74o3z0i8zS
l30SdFW+PRLq2rC85Esj+XFxjeKjHqbFKYaO7w7ObV36wF/jp0bzbtoYZp5Zso6F
BPzvwvNPM1RM1nzA5gLDiW98EsRmjyRQEZFV+ISdl4n3V6SLBlXX6OdtF2ySa+g2
WOMXciRf5WuGV3VxrQsrHCB8cqpjgP0GdpcOcvbLjhvU9/Clkw2aWVKsf7/WzciM
AtJR37Z0C3Bya8dl6axVOwW2XKiY5pdxpXipTFtKTLEiR+E4QUj0jmUdRSDikjhw
ReF9vBpNkhHuC78mGd9xguC/T06FdxmtZmuPdh23TK6HfOphgUSg16PjaLmko0Pk
2R3kS1Sc87K9fsAO8MyqalN2cZ6i3iItVr290ywOkUyK+qHttAshPBBMWGDF1Ck3
h2cG1a1gz82RAqLWzbVsdaUPTW4XV77+Wa94AZb8Wp8QwVZRWgg=
=30RN
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.