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

kefu chai tchaikov at gmail.com
Mon Mar 14 03:51:47 UTC 2011


Hi Nobuhiro,

> 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?

Thanks for your patch. I just applied it to the upstream repo.




-- 
Regards
Kov Chai





More information about the Pkg-ime-devel mailing list