Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#16983 - Error in Chinese translation causing makepkg fails
Attached to Project:
Pacman
Opened by Chen Xing (chenxing) - Tuesday, 03 November 2009, 01:48 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 10 November 2009, 17:58 GMT
Opened by Chen Xing (chenxing) - Tuesday, 03 November 2009, 01:48 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 10 November 2009, 17:58 GMT
|
DetailsSummary and Info:
A information string: "Extracting %s with %s" is wrongly translated into: "正在使用 %2$s 解压缩 %1$s" which causes "makepkg" fails at about line 106: printf "\033[1;34m ->\033[1;0m\033[1;1m ${mesg}\033[1;0m\n" "$@" >&2 giving an error when building packages: /usr/bin/makepkg: line 107: printf: `$': invalid format character The problem can be solved by changing the translation into: "正在使用 %2 解压缩 %1", deleting the "$s" from the translation string. This is a critical bug because makepkg doesn't work almost at all in Chinese locales. Steps to Reproduce: 1. Switch to zh_CN.UTF-8 locale 2. build a package needs unzipping source files, such as "yaourt -S qtop" |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 10 November 2009, 17:58 GMT
Reason for closing: Fixed
Additional comments about closing: Commit 5ffc1ad3cdb1ec252739c62c9d614aba468bb22c
Tuesday, 10 November 2009, 17:58 GMT
Reason for closing: Fixed
Additional comments about closing: Commit 5ffc1ad3cdb1ec252739c62c9d614aba468bb22c
http://projects.archlinux.org/pacman.git/commit/?h=maint&id=5ffc1ad3cdb1ec252739c62c9d614aba468bb22c
Until the next pacman bug fix release, you can use "LC_LANG=C makepkg" as a workaround.