[Pkg-ime-devel] Bug#873860: ibus-anthy FTBFS: UnicodeDecodeError: 'euc_jp' codec can't decode byte 0xe5 in position 46: illegal multibyte sequence

Adrian Bunk bunk at debian.org
Thu Aug 31 18:24:02 UTC 2017


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



More information about the Pkg-ime-devel mailing list