Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1419949 - mozc doesn't work on the big endian architectures
Summary: mozc doesn't work on the big endian architectures
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mozc
Version: rawhide
Hardware: ppc64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-ExcludeArch-ppc64, F-ExcludeArch-ppc64 ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2017-02-07 13:40 UTC by Akira TAGOH
Modified: 2017-06-19 06:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Akira TAGOH 2017-02-07 13:40:55 UTC
Description of problem:
mozc doesn't support the big endian architectures at this moment. so it has to have ExcludeArch: ppc ppc64.

Comment 1 Mamoru TASAKA 2017-06-19 06:11:45 UTC
From https://koji.fedoraproject.org/koji/taskinfo?taskID=20011859 , the failing part is not char array subscript issue but:


[659/811] cd ../../rewriter; ../out_linux/Release/gen_usage_rewriter_dictionary_main "--usage_data_file=../third_party/japanese_usage_dictionary/usage_dict.txt" "--cforms_file=../data/rules/cforms.def" "--output_base_conjugation_suffix=../out_linux/Release/gen/rewriter/usage_base_conj_suffix.data" "--output_conjugation_suffix=../out_linux/Release/gen/rewriter/usage_conj_suffix.data" "--output_conjugation_index=../out_linux/Release/gen/rewriter/usage_conj_index.data" "--output_usage_item_array=../out_linux/Release/gen/rewriter/usage_item_array.data" "--output_string_array=../out_linux/Release/gen/rewriter/usage_string_array.data"
FAILED: gen/rewriter/usage_base_conj_suffix.data gen/rewriter/usage_conj_index.data gen/rewriter/usage_conj_suffix.data gen/rewriter/usage_item_array.data gen/rewriter/usage_string_array.data 

And ./rewriter/gen_usage_rewriter_dictionary_main.cc has a comment:
    30  // * Usage
    31  // % gen_usage_rewriter_dictionary_main
    32  //    --usage_data_file=usage_data.txt
    33  //    --cforms_file=cforms.def
    34  //    --output_base_conjugation_suffix=base_conj_suffix.data
    35  //    --output_conjugation_suffix=conj_suffix.data
    36  //    --output_conjugation_index=conj_index.data
    37  //    --output_usage_item_array=usage_item_array.data
    38  //    --output_string_array=string_array.data
    39  //
    40  // * Prerequisite
    41  // Little endian is assumed. <=================

Comment 2 Mamoru TASAKA 2017-06-19 06:14:44 UTC
(In reply to Mamoru TASAKA from comment #1)
> And ./rewriter/gen_usage_rewriter_dictionary_main.cc has a comment:
>     30  // * Usage
>     31  // % gen_usage_rewriter_dictionary_main
>     32  //    --usage_data_file=usage_data.txt
>     33  //    --cforms_file=cforms.def
>     34  //    --output_base_conjugation_suffix=base_conj_suffix.data
>     35  //    --output_conjugation_suffix=conj_suffix.data
>     36  //    --output_conjugation_index=conj_index.data
>     37  //    --output_usage_item_array=usage_item_array.data
>     38  //    --output_string_array=string_array.data
>     39  //
>     40  // * Prerequisite
>     41  // Little endian is assumed. <=================

The line 251 has;
   250  void Convert() {
   251    CHECK(Util::IsLittleEndian());

Comment 3 Akira TAGOH 2017-06-19 06:56:29 UTC
(In reply to Mamoru TASAKA from comment #1)
> From https://koji.fedoraproject.org/koji/taskinfo?taskID=20011859 , the
> failing part is not char array subscript issue but:

Right. so reverted the change and added s390x to ExcludeArch then.


Note You need to log in before you can comment on or make changes to this bug.