您尚未登录。

#1 2021-12-12 14:25:21

jackphil
会员
注册时间: 2020-10-13
帖子: 92

打包 wps 出现错误[已解决]

如题,错误如下(错误信息实际上还有很多,都是相同错误)

-> Generating .MTREE file... -> Compressing package... : Can't translate pathname 'usr/lib/office6/mui/zh_CN/resource/help/etclassics/分析和管理数据/' to UTF-8: Can't translate pathname 'usr/lib/office6/mui/zh_CN/resource/help/etclassics/分析和管理数据/分类汇总/' to UTF-8: Can't translate pathname 'usr/lib/office6/mui/zh_CN/resource/help/etclassics/分析和管理数据/分类汇总/about_subtotal.htm' to UTF-8: Can't translate pathname 'usr/lib/office6/mui/zh_CN/resource/help/etclas sics/分析和管理数据/分类汇总/delete_subtotal.htm' to UTF-8: Can't translate pathname 'usr/lib/office6/mui/zh_CN/resource/help/etclassics/分析和管理数据/分类汇总/insert_subtotal.htm' to UTF-8: Can't translate pat hname 'usr/lib/office6/mui/zh_CN/resource/help/etclassics/分析和管理数据/分级显示/' to UTF-8: Can't translate pathname 'usr/lib/office6/mui/zh_CN/resource/help/etclassics/分析和管理数据/分级显示/about_summarizin gData.htm' to UTF-8: Can't translate pathname 'usr/lib/office6/mui/zh_CN/resource/help/etclassics/分析和管理数据/分级显示/create_summarizingData.htm' to UTF-8: Can't translate pathname 'usr/lib/office6/mui/zh_CN /resource/help/etclassics/分析和管理数据/分级显示/delete_summarizingData.htm' to UTF-8: Can't translate pathname 'usr/lib/office6/mui/zh_CN/resource/help/etclassics/分析和管理数据/分级显示/showOrHidden_summarizi ngData.htm' to UTF-8

我的locale

locale -a
C
en_US.utf8
POSIX
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8

环境变量:

echo $LANG
zh_CN.UTF-8

也尝试过 LANG=en_US.UTF-8 makepkg -s -r -c,都无效

aur上2019年9月2日有人提过类似问题(我的错误信息复制自他),维护者回复说已解决,但没提供问题原因及解决方法

神奇的是 wps-office_11.1.0.10702_amd64.deb 只有 347.4M ,而生成的 wps-office-cn-11.1.0.10702-2-x86_64.pkg.tar.zst 却有 378.6M,还不包括 107.7M 的 wps-office-mui-zh-cn-11.1.0.10702-2-x86_64.pkg.tar.zst

解决: LC_ALL=zh_CN.UTF-8  makepkg

最近编辑记录 jackphil (2021-12-12 23:17:46)

离线

页脚