https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-emacs/yatex-1.80 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 761053 [details] build.log build log and emerge --info
Please paste the output of "iconv --list". Especially, does it list CP932?
UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, UTF32-LE, UCS-2BE, UCS-2LE, WCHAR_T, US_ASCII, ISO8859-1, ISO8859-2, ISO8859-3, ISO8859-4, ISO8859-5, ISO8859-6, ISO8859-7, ...
(In reply to Agostino Sarubbo from comment #3) > UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, UTF32-LE, UCS-2BE, UCS-2LE, WCHAR_T, > US_ASCII, ISO8859-1, ISO8859-2, ISO8859-3, ISO8859-4, ISO8859-5, > ISO8859-6, ISO8859-7, ... That doesn't answer the question. Does the "..." contain CP932?
With the glibc iconv I get this: $ iconv --list | grep CP932 CP932//
(In reply to Ulrich Müller from comment #5) > With the glibc iconv I get this: > > $ iconv --list | grep CP932 > CP932// I don't think iconv on musl even supports --list, so not sure where ago's list came from: ``` 20211101-musl ~ # iconv --list | grep CP932 iconv: unrecognized option: - 20211101-musl ~ # iconv --list iconv: unrecognized option: - 20211101-musl ~ # iconv ^C 20211101-musl ~ # ``` But note that musl basically has no locale support, it's C.UTF-8 or nothing: https://wiki.musl-libc.org/open-issues.html.
(In reply to Sam James from comment #6) I've just verified, it supports very few charsets, specifically not including CP932. So it's basically unusable. @Prefix team: Can we drop the !elibc_musl? ( ) conditional from virtual/libiconv? Then app-emacs/yatex could depend on it and call a functional /usr/bin/iconv in src_compile.
(In reply to Ulrich Müller from comment #7) > @Prefix team: Can we drop the !elibc_musl? ( ) conditional from > virtual/libiconv? Then app-emacs/yatex could depend on it and call a > functional /usr/bin/iconv in src_compile. Never mind. I'll just package.use.mask l10n_ja in the musl profile.
Created attachment 761139 [details] iconv -l > That doesn't answer the question. Does the "..." contain CP932?
regardless, let's add the musl team to Cc so they stay informed :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=664c8e0fdd3ddbe285ec600b7585d807c46c8552 commit 664c8e0fdd3ddbe285ec600b7585d807c46c8552 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-01-04 11:32:22 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-01-04 11:36:39 +0000 profiles/features/musl: package.use.mask app-emacs/yatex[l10n_ja] Closes: https://bugs.gentoo.org/830436 Signed-off-by: Ulrich Müller <ulm@gentoo.org> profiles/features/musl/package.use.mask | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)