FTBFS on powerpc due to endianness issues

Bug #892219 reported by Michael Terry
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgooglepinyin
Unknown
Unknown
libgooglepinyin (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When building its dictionary, libgooglepinyin fails on powerpc. This is because the data files it uses are little endian and it doesn't support big endian systems.

Either the code can byte swap, or the build could swap the order of the files using "iconv -f utf16le -t utf16be"?

I'll link the upstream bug; the Debian maintainer is aware of the problem too (he reported upstream bug).

Tags: ftbfs
Michael Terry (mterry)
tags: added: ftbfs
Revision history for this message
Aron Xu (happyaron) wrote :

Please sync libgooglepinyin 0.1.1+hg20111109-1 from Debian, which has fixed the endianness problem.

On the other hand, please make sure new fcitx-googlepinyin and ibus-googlepinyin are synced to Ubuntu once new libgooglepinyin hits the archive because the data file's path has changed in this version.

DSC: http://cdn.debian.net/debian/pool/main/libg/libgooglepinyin/libgooglepinyin_0.1.1+hg20111109-1.dsc

Revision history for this message
Colin Watson (cjwatson) wrote :

2011-11-28 12:38:06 INFO Creating lockfile: /var/lock/launchpad-sync-source.lock
Getting binaries for precise...
[Updating] fcitx-googlepinyin (0.1.3-1build1 [Ubuntu] < 0.1.3-2 [Debian])
 * Trying to add fcitx-googlepinyin...
2011-11-28 12:38:25 INFO fcitx-googlepinyin_0.1.3.orig.tar.bz2: already in distro - downloading from librarian
2011-11-28 12:38:25 INFO - <fcitx-googlepinyin_0.1.3-2.debian.tar.gz: downloading from http://ftp.debian.org/debian/>
2011-11-28 12:38:25 INFO - <fcitx-googlepinyin_0.1.3-2.dsc: downloading from http://ftp.debian.org/debian/>
2011-11-28 12:38:25 INFO - <fcitx-googlepinyin_0.1.3.orig.tar.bz2: cached>
I: fcitx-googlepinyin [universe] -> fcitx-googlepinyin_0.1.3-1build1 [universe].
[Updating] ibus-googlepinyin (0.1.1-1 [Ubuntu] < 0.1.1-2 [Debian])
 * Trying to add ibus-googlepinyin...
2011-11-28 12:38:26 INFO ibus-googlepinyin_0.1.1.orig.tar.bz2: already in distro - downloading from librarian
2011-11-28 12:38:26 INFO - <ibus-googlepinyin_0.1.1-2.debian.tar.gz: downloading from http://ftp.debian.org/debian/>
2011-11-28 12:38:26 INFO - <ibus-googlepinyin_0.1.1-2.dsc: downloading from http://ftp.debian.org/debian/>
2011-11-28 12:38:26 INFO - <ibus-googlepinyin_0.1.1.orig.tar.bz2: cached>
I: ibus-googlepinyin [universe] -> ibus-googlepinyin_0.1.1-1 [universe].
[Updating] libgooglepinyin (0.1.1-1 [Ubuntu] < 0.1.1+hg20111109-1 [Debian])
 * Trying to add libgooglepinyin...
2011-11-28 12:38:27 INFO - <libgooglepinyin_0.1.1+hg20111109-1.debian.tar.gz: downloading from http://ftp.debian.org/debian/>
2011-11-28 12:38:27 INFO - <libgooglepinyin_0.1.1+hg20111109.orig.tar.bz2: downloading from http://ftp.debian.org/debian/>
2011-11-28 12:38:27 INFO - <libgooglepinyin_0.1.1+hg20111109-1.dsc: downloading from http://ftp.debian.org/debian/>
I: libgooglepinyin [universe] -> libgooglepinyin0-dev_0.1.1-1 [universe].
I: libgooglepinyin [universe] -> libgooglepinyin0_0.1.1-1 [universe].
I: libgooglepinyin [universe] -> libgooglepinyin0-dbg_0.1.1-1 [universe].

Changed in libgooglepinyin (Ubuntu):
status: New → Confirmed
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.