[pkg-anthy-devel] [Pkg-ime-devel] Bug#873860: ibus-anthy FTBFS: UnicodeDecodeError: 'euc_jp' codec can't decode byte 0xe5 in position 46: illegal multibyte sequence
NOKUBI Takatsugu
knok at daionet.gr.jp
Thu Aug 31 22:41:24 UTC 2017
Hi, all.
anthy package had updated because of new upstream release. The version
policy had changed, so the latest upstream version is 0.3, and
previous version is 9100h, So debian version has the epoch.
ABI and soname are changed so libanthy1 is the newest one. The default
encoding is switched from EUC-JP to UTF-8.
Almost IMEs with anthy support will be required to adopt such changes.
Now I am going to fix uim-anthy for them.
If I can get much more experiment, share them.
On Fri, 01 Sep 2017 03:24:02 +0900,
Adrian Bunk wrote:
>
> Source: ibus-anthy
> Version: 1.5.9-2
> Severity: serious
> Tags: buster sid
>
> Some recent change in unstable makes ibus-anthy FTBFS:
>
> https://tests.reproducible-builds.org/debian/history/ibus-anthy.html
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ibus-anthy.html
>
> ...
> Making all in data
> make[3]: Entering directory '/build/1st/ibus-anthy-1.5.9/data'
> LC_ALL=C /usr/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po ibus-anthy.appdata.xml.in ibus-anthy.appdata.xml
> Generating and caching the translation database
> Merging translations into ibus-anthy.appdata.xml.
> CREATED ibus-anthy.appdata.xml
> Generate emoji.t
> Generate zipcode.t
> Your file is not eucJP? /usr/share/anthy/zipcode.t
> Traceback (most recent call last):
> File "zipcode-textdic.py", line 24, in <module>
> contents = codecs.open(anthy_zipfile, 'r', 'euc_jp').read()
> File "/usr/lib/python3.5/codecs.py", line 698, in read
> return self.reader.read(size)
> UnicodeDecodeError: 'euc_jp' codec can't decode byte 0xe5 in position 46: illegal multibyte sequence
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "zipcode-textdic.py", line 27, in <module>
> contents = open(anthy_zipfile).read()
> File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
> return codecs.ascii_decode(input, self.errors)[0]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 46: ordinal not in range(128)
> Makefile:653: recipe for target 'zipcode.t' failed
> make[3]: *** [zipcode.t] Error 1
>
> _______________________________________________
> Pkg-ime-devel mailing list
> Pkg-ime-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ime-devel
>
More information about the Pkg-anthy-devel
mailing list