[Pkg-ime-devel] Bug#617753: sunpinyin:FTBFS: sh4: ./config.h:125:3: error: #error can not detect the endianness!

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Fri Mar 11 05:13:44 UTC 2011


Source: sunpinyin
Version: 2.0.3-1
Severity: wishlist
Tags: patch
User: debian-sh4 at superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh at lists.debian.org

Hi,

sunpinyin FTBFS on sh4.
  http://buildd.debian-ports.org/fetch.php?pkg=sunpinyin&arch=sh4&ver=2.0.3-1&stamp=1299807591&file=log&as=raw

-----
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/portability.os -c -g -O2 -pipe -DHAVE_CONFIG_H
-DSUNPINYIN_DATA_DIR='"/usr/lib/sunpinyin/data"' -fPIC -I. -Isrc
-Isrc/slm -Isrc/slm/slmbuild -Isrc/slm/tslmendian -Isrc/slm/tools
-Isrc/slm/tslmpack -Isrc/slm/slmseg -Isrc/slm/thread
-Isrc/slm/slmprune -Isrc/slm/getWordFreq -Isrc/slm/slminfo
-Isrc/slm/mmseg -Isrc/slm/ids2ngram -Isrc/slm/tslminfo -Isrc/lexicon
-Isrc/ime-core -Isrc/pinyin src/portability.cpp
In file included from src/portability.cpp:39:
./config.h:125:3: error: #error can not detect the endianness!
scons: *** [src/portability.os] Error 1
scons: building terminated because of errors.
make: [install-stamp] Error 2 (ignored)
-----

SConstruct of sunpinyin does not support Renesas SuperH.
I made patch to support SH. Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sunpinyin-2.0.3_sh4.patch
Type: text/x-patch
Size: 806 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20110311/c8d1519f/attachment.bin>


More information about the Pkg-ime-devel mailing list