* Package: app-i18n/sunpinyin-2.0.3-r1  * Repository: gentoo  * Maintainer: qiaomuf@gentoo.org cjk@gentoo.org  * USE: amd64 elibc_glibc kernel_linux multilib selinux userland_GNU  * FEATURES: preserve-libs sandbox selinux sesandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking sunpinyin-2.0.3.tar.gz to /var/tmp/portage/app-i18n/sunpinyin-2.0.3-r1/work * Applying sunpinyin-2.0.3-force-switch.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/app-i18n/sunpinyin-2.0.3-r1/work >>> Compiling source in /var/tmp/portage/app-i18n/sunpinyin-2.0.3-r1/work/sunpinyin-2.0.3 ... scons -j1 --prefix=/usr [?1034hscons: Reading SConscript files ... Warning: you've set CFLAGS in the environmental variable! Warning: you've set CXXFLAGS in the environmental variable! Warning: you've set LDFLAGS in the environmental variable! Checking for pkg-config... yes Checking for sqlite3... yes Checking for C header file assert.h... yes Checking for C function bind_textdomain_codeset()... yes Checking for C function dcgettext()... yes Checking for C header file dlfcn.h... yes Checking for C function exp2()... no Checking for C header file fcntl.h... yes Checking for C header file getopt.h... yes Checking for C function getopt_long()... yes Checking for C function getpagesize()... yes Checking for C function get_opt()... no Checking for C header file iconv.h... yes Checking for C header file inttypes.h... yes Checking for C header file locale.h... yes Checking for C header file libintl.h... yes Checking for C header file limits.h... yes Checking for C header file locale.h... yes Checking for C function log2()... no Checking for C header file memory.h... yes Checking for C function memset()... yes Checking for C function mmap()... yes Checking for C function munmap()... yes Checking for C function setlocale()... yes Checking for C function strndup()... yes Checking for C header file sys/mman.h... yes Checking for C header file sys/param.h... yes Checking for C header file sys/stat.h... yes Checking for C header file sys/types.h... yes Checking for C header file unistd.h... yes Checking for C header file wchar.h... yes scons: done reading SConscript files. scons: Building targets ... scons: Configure: creating config.h g++ -o src/portability.o -c -Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/lib/sunpinyin/data"' -I. -Isrc -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/tslmendian -Isrc/slm/slmprune -Isrc/slm/slmbuild -Isrc/slm/thread -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/slminfo -Isrc/slm/tslmpack -Isrc/slm/tslminfo -Isrc/slm/tools -Isrc/slm/mmseg -Isrc/slm/ids2ngram src/portability.cpp g++ -o src/slm/slm.o -c -Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/lib/sunpinyin/data"' -I. -Isrc -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/tslmendian -Isrc/slm/slmprune -Isrc/slm/slmbuild -Isrc/slm/thread -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/slminfo -Isrc/slm/tslmpack -Isrc/slm/tslminfo -Isrc/slm/tools -Isrc/slm/mmseg -Isrc/slm/ids2ngram src/slm/slm.cpp src/slm/slm.cpp: In member function ‘bool CThreadSlm::load(const char*, bool)’: src/slm/slm.cpp:122:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] g++ -o src/slm/tslmendian/writer.o -c -Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/lib/sunpinyin/data"' -I. -Isrc -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/tslmendian -Isrc/slm/slmprune -Isrc/slm/slmbuild -Isrc/slm/thread -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/slminfo -Isrc/slm/tslmpack -Isrc/slm/tslminfo -Isrc/slm/tools -Isrc/slm/mmseg -Isrc/slm/ids2ngram src/slm/tslmendian/writer.cpp g++ -o src/lexicon/trie_writer.o -c -Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/lib/sunpinyin/data"' -I. -Isrc -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/tslmendian -Isrc/slm/slmprune -Isrc/slm/slmbuild -Isrc/slm/thread -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/slminfo -Isrc/slm/tslmpack -Isrc/slm/tslminfo -Isrc/slm/tools -Isrc/slm/mmseg -Isrc/slm/ids2ngram src/lexicon/trie_writer.cpp In file included from src/lexicon/pytrie.h:9:0, from src/lexicon/trie_writer.h:5, from src/lexicon/trie_writer.cpp:1: src/pinyin/syllable.h: In constructor ‘TSyllable::TSyllable(int, int, int)’: src/pinyin/syllable.h:61:25: warning: ‘TSyllable::initial’ will be initialized after [-Wreorder] src/pinyin/syllable.h:60:25: warning: ‘unsigned char TSyllable::final’ [-Wreorder] src/pinyin/syllable.h:67:5: warning: when initialized here [-Wreorder] src/pinyin/syllable.h:60:25: warning: ‘TSyllable::final’ will be initialized after [-Wreorder] src/pinyin/syllable.h:59:25: warning: ‘unsigned char:4 TSyllable::tone’ [-Wreorder] src/pinyin/syllable.h:67:5: warning: when initialized here [-Wreorder] In file included from src/lexicon/trie_writer.h:5:0, from src/lexicon/trie_writer.cpp:1: src/lexicon/pytrie.h: At global scope: src/lexicon/pytrie.h:38:9: warning: unused parameter ‘len’ [-Wunused-parameter] g++ -o src/lexicon/genPYT.o -c -Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/lib/sunpinyin/data"' -I. -Isrc -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/tslmendian -Isrc/slm/slmprune -Isrc/slm/slmbuild -Isrc/slm/thread -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/slminfo -Isrc/slm/tslmpack -Isrc/slm/tslminfo -Isrc/slm/tools -Isrc/slm/mmseg -Isrc/slm/ids2ngram src/lexicon/genPYT.cpp In file included from src/lexicon/pytrie.h:9:0, from src/lexicon/genPYT.cpp:41: src/pinyin/syllable.h: In constructor ‘TSyllable::TSyllable(int, int, int)’: src/pinyin/syllable.h:61:25: warning: ‘TSyllable::initial’ will be initialized after [-Wreorder] src/pinyin/syllable.h:60:25: warning: ‘unsigned char TSyllable::final’ [-Wreorder] src/pinyin/syllable.h:67:5: warning: when initialized here [-Wreorder] src/pinyin/syllable.h:60:25: warning: ‘TSyllable::final’ will be initialized after [-Wreorder] src/pinyin/syllable.h:59:25: warning: ‘unsigned char:4 TSyllable::tone’ [-Wreorder] src/pinyin/syllable.h:67:5: warning: when initialized here [-Wreorder] In file included from src/lexicon/genPYT.cpp:41:0: src/lexicon/pytrie.h: At global scope: src/lexicon/pytrie.h:38:9: warning: unused parameter ‘len’ [-Wunused-parameter] src/lexicon/genPYT.cpp: In member function ‘virtual bool CUnigramSorter::isSeen(unsigned int)’: src/lexicon/genPYT.cpp:77:12: warning: unused variable ‘logpr’ [-Wunused-variable] src/lexicon/genPYT.cpp: In function ‘int main(int, char**)’: src/lexicon/genPYT.cpp:117:50: error: ‘getopt’ was not declared in this scope src/lexicon/genPYT.cpp:120:28: error: ‘optarg’ was not declared in this scope scons: *** [src/lexicon/genPYT.o] Error 1 scons: building terminated because of errors. * ERROR: app-i18n/sunpinyin-2.0.3-r1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 1971: Called die * The specific snippet of code: * escons --prefix="/usr" || die * * If you need support, post the output of 'emerge --info =app-i18n/sunpinyin-2.0.3-r1', * the complete build log and the output of 'emerge -pqv =app-i18n/sunpinyin-2.0.3-r1'. * The complete build log is located at '/var/log/portage/build/app-i18n/sunpinyin-2.0.3-r1:20120417-174530.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/sunpinyin-2.0.3-r1/temp/environment'. * S: '/var/tmp/portage/app-i18n/sunpinyin-2.0.3-r1/work/sunpinyin-2.0.3'