[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hello-2.11 fails multibyte-1 and atexit-1 on musl
From: |
Sergei Trofimovich |
Subject: |
hello-2.11 fails multibyte-1 and atexit-1 on musl |
Date: |
Wed, 26 Jan 2022 07:58:08 +0000 |
Hi hello maintainers!
I attempted to package hello-2.11 in NixOS and stumbled on
two test failures on x86_64-unknown-linux-musl:
FAIL: tests/atexit-1
FAIL: tests/multibyte-1
Detailed log:
FAIL: tests/atexit-1
====================
1c1
< hello: write error: No space left on device
---
> hello: write error
FAIL tests/atexit-1 (exit status: 1)
FAIL: tests/multibyte-1
=======================
1c1
< hello: conversion to a multibyte string failed: Invalid or incomplete
multibyte or wide character
---
> hello 世界
FAIL tests/multibyte-1 (exit status: 1)
>From what I understand at
https://wiki.musl-libc.org/functional-differences-from-glibc.html#Character-sets-and-locale
musl deliberately supports any char -> wchar_t (and back) conversion for
any char in LC_CTYPE=C. And thus the multibyte-1 test will always fail
there.
Not sure why atexit-1 fails. It seems to rely on
close_stdout_set_file_name() call in atexit(), but I don't see where in
code it's registered to call.
Thanks!
--
Sergei
- hello-2.11 fails multibyte-1 and atexit-1 on musl,
Sergei Trofimovich <=