Summary: | games-engines/fheroes2-1.0.5 - msgfmt: present charset "ISO-8859-16" is not a portable encoding name | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Alexey <alexey+gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexey+gentoo, games, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/ihhub/fheroes2/issues/7353 | ||
See Also: | https://github.com/gentoo/gentoo/pull/31730 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 908875 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz games-engines:fheroes2-1.0.5:20230620-002303.log temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 864268 [details]
emerge-info.txt
Created attachment 864269 [details]
emerge-history.txt
Created attachment 864270 [details]
environment
Created attachment 864271 [details]
etc.clang.tar.xz
Created attachment 864272 [details]
etc.portage.tar.xz
Created attachment 864273 [details]
games-engines:fheroes2-1.0.5:20230620-002303.log
Created attachment 864274 [details]
temp.tar.xz
new gettext? Tangentially relevant: https://github.com/ihhub/fheroes2/issues/5735 though that was about some implementations of iconv which failed, which is called before msgfmt. I should check whether it works on musl though. I asked Bruno Haible about this and he said:
>The error message "msgfmt: present charset "ISO-8859-16" is not a portable encoding name" is clear.
>The PO file should be converted to another encoding, e.g. through msgconv.
>Too few platforms support this encoding, see https://www.haible.de/bruno/charsets/conversion-tables/ISO-8859-16.html
They actually convert it from UTF-8 to these encodings, because original game files' fonts use these encodings. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae9e85dc71b138b604bf8491f2de8897ee13b2e commit 0ae9e85dc71b138b604bf8491f2de8897ee13b2e Author: Alexey Sokolov <alexey+gentoo@asokolov.org> AuthorDate: 2023-07-03 19:28:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-06 06:24:02 +0000 games-engines/fheroes2: fix build with gettext 0.22 Closes: https://bugs.gentoo.org/908863 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/31730 Signed-off-by: Sam James <sam@gentoo.org> games-engines/fheroes2/fheroes2-1.0.5.ebuild | 1 + games-engines/fheroes2/files/fheroes2-1.0.5-gettext.patch | 15 +++++++++++++++ 2 files changed, 16 insertions(+) |