Bug 40656

Summary: Bad multibyte chars in japanese .po-file
Product: [Retired] Red Hat Raw Hide Reporter: Enrico Scholz <rh-bugzilla>
Component: xmmsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: havardk, rvokal, teg, ynakai
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-16 19:50:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Enrico Scholz 2001-05-15 10:24:42 UTC

Description of Problem:

xmms fails to rebuild because msgfmt fails on po/ja.po.

How Reproducible:


Steps to Reproduce:
1. LANG=C rpm --rebuild xmms-1.2.4-15.src.rpm

Actual Results:
file=./`echo ja | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ja.po
ja.po:1675: invalid multibyte sequence
ja.po:3110: invalid multibyte sequence
ja.po:3167: invalid multibyte sequence
ja.po:3212: invalid multibyte sequence
ja.po:3265: invalid multibyte sequence
found 5 fatal errors
make[2]: *** [ja.gmo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Additional Information:
$ rpm -q gettext glibc

$LINGUAS is unset

Comment 1 Bill Nottingham 2001-05-15 16:10:10 UTC
Hm, it builds fine with the 7.1 gettext. Trond, has gettext changed significantly
in this regard?

Comment 2 Håvard Kvålen 2001-05-16 19:43:12 UTC
The strings it fails on are input strings.  These are in ISO-8859-1 and does
indeed contain sequences that are not legal EUC-JP.

Comment 3 Trond Eivind Glomsrxd 2001-05-16 19:50:10 UTC
Yes, gettext has changed significantly wrt. handling of Japanese (multibyte) -
to use the old style, use  OLD_PO_FILE_INPUT=yes

Comment 4 Bill Nottingham 2001-06-19 20:25:09 UTC
This should be fixed in the current rawhide xmms (1.2.4-16)