You are not logged in.
After a recent upgrade I notice that makepkg won't work for any package building. It looks like
that printf complaints the syntax of /usr/bin/makepkg:
declare -x LANG="zh_CN.utf8"
declare -x LC_COLLATE="C"
$ makepkg
==> 正在创建软件包:rxvt-unicode 9.06-3 x86_64 (2009年 10月 16日 星期五 10:45:06 EDT)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系...
==> 获取源代码...
-> 在创建目录中找到 rxvt-unicode-9.06.tar.bz2
-> 在创建目录中找到 rxvt-unicode.desktop
-> 在创建目录中找到 rxvt-unicode.png
-> 在创建目录中找到 rxvt-unicode-9.06-glibc-2.10.patch
-> 在创建目录中找到 popup-menu-hang.diff
-> 在创建目录中找到 fontspac.patch
==> 正在验证源代码文件 md5sums...
rxvt-unicode-9.06.tar.bz2 ... 通过
rxvt-unicode.desktop ... 通过
rxvt-unicode.png ... 通过
rxvt-unicode-9.06-glibc-2.10.patch ... 通过
popup-menu-hang.diff ... 通过
fontspac.patch ... 通过
==> 正在验证源代码文件 sha1sums...
rxvt-unicode-9.06.tar.bz2 ... 通过
rxvt-unicode.desktop ... 通过
rxvt-unicode.png ... 通过
rxvt-unicode-9.06-glibc-2.10.patch ... 通过
popup-menu-hang.diff ... 通过
fontspac.patch ... 通过
==> 解压缩源码...
/usr/bin/makepkg: line 105: printf: `$': invalid format character
-> 正在使用
This line is where the trouble occurs:
/usr/bin/makepkg: line 105: printf: `$': invalid format character
Anyway, everything works smoothly when using en_US.utf8 or C locales. Maybe it's a bad idea
to build in a non standardized locale?
Last edited by eirika (2009-10-16 14:55:46)
Offline
Hmm... looks like a repeat of bug http://bugs.archlinux.org/task/12812 . I will get this fixed.
Offline
FYI, there is a patch here:
http://projects.archlinux.org/?p=pacman … ba468bb22c
This will be in a future pacman 3.3.3 release
Offline