Pacman

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.
Tasklist

FS#43280 - makepkg can't report error correctly in Chinese.

Attached to Project: Pacman
Opened by Peifeng Yu (Aetf) - Wednesday, 31 December 2014, 08:13 GMT
Last edited by Allan McRae (Allan) - Saturday, 14 February 2015, 09:05 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 4.2.0
Due in Version 4.2.1
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Summary and Info:
makepkg can't report error correctly in Chinese. It complains about invalid format character in line 125 in the script.
However, in C locale, it works correctly.

Steps to Reproduce:
a) use a PKGBUILD that triggers an error, i.e. missing package() function. An example is unzip-iconv from AUR
b) run makepkg

Result:
$> env LC_ALL='C' makepkg
==> ERROR: Missing package() function in /home/aetf/LocalPackages/unzip-iconv/PKGBUILD
$> makepkg
/usr/bin/makepkg: 第 125 行:printf: `$': 无效格式字符 # line 125:printf: `$': invalid format character
==> 错误:
$>
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 14 February 2015, 09:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 5baec6d5
Comment by Allan McRae (Allan) - Thursday, 01 January 2015, 02:16 GMT
makepkg --help fails too.

I'll contact the translators.

Loading...