CXX ibus_engine_pinyin-PYEngine.o CXX ibus_engine_pinyin-PYFallbackEditor.o In file included from PYEditor.h:27:0, from PYPhoneticEditor.h:25, from PYPinyinEditor.h:24, from PYDoublePinyinEditor.h:24, from PYDoublePinyinEditor.cc:21: PYUtil.h:46:18: error: ‘shared_ptr’ is already declared in this scope In file included from PYEditor.h:27:0, from PYEditor.cc:22: PYUtil.h:46:18: error: ‘shared_ptr’ is already declared in this scope In file included from PYEditor.h:27:0, from PYEngine.h:29, from PYBopomofoEngine.h:25, from PYBopomofoEngine.cc:22: PYUtil.h:46:18: error: ‘shared_ptr’ is already declared in this scope In file included from PYEditor.h:27:0, from PYPhoneticEditor.h:25, from PYBopomofoEditor.h:25, from PYBopomofoEditor.cc:22: PYUtil.h:46:18: error: ‘shared_ptr’ is already declared in this scope make[3]: *** [ibus_engine_pinyin-PYDoublePinyinEditor.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [ibus_engine_pinyin-PYEditor.o] Error 1 In file included from PYEditor.h:27:0, from PYEngine.h:29, from PYEngine.cc:23: PYUtil.h:46:18: error: ‘shared_ptr’ is already declared in this scope make[3]: *** [ibus_engine_pinyin-PYBopomofoEditor.o] Error 1 make[3]: *** [ibus_engine_pinyin-PYBopomofoEngine.o] Error 1 make[3]: *** [ibus_engine_pinyin-PYEngine.o] Error 1 In file included from PYEditor.h:27:0, from PYFallbackEditor.h:25, from PYFallbackEditor.cc:21: PYUtil.h:46:18: error: ‘shared_ptr’ is already declared in this scope make[3]: *** [ibus_engine_pinyin-PYFallbackEditor.o] Error 1 make[3]: Leaving directory `/var/build/portage/app-i18n/ibus-pinyin-1.3.99.20101029/work/ibus-pinyin-1.3.99.20101029/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/build/portage/app-i18n/ibus-pinyin-1.3.99.20101029/work/ibus-pinyin-1.3.99.20101029/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/build/portage/app-i18n/ibus-pinyin-1.3.99.20101029/work/ibus-pinyin-1.3.99.20101029' make: *** [all] Error 2 emake failed Reproducible: Always
Created attachment 272153 [details] build log while emerge fail
What is your gcc version, CFLAGS and CXXFLAGS?
Created attachment 272285 [details] emerge --info
I'm using overlay openoffice-geki, which pull very new boost. But I have another server which also compile fail, which using boost from official portage, may post log laster...
Seems something wrong with "configure" or gcc. Could you provide the following? - output of "cpp -dM -x c++ /dev/null -std=c++0x|grep __GXX_EXPERIMENTAL_CXX0X__" - /var/build/portage/app-i18n/ibus-pinyin-1.3.99.20101029/work/ibus-pinyin-1.3.99.20101029/config.log - /var/build/portage/app-i18n/ibus-pinyin-1.3.99.20101029/work/ibus-pinyin-1.3.99.20101029/src/Makefile
# cpp -dM -x c++ /dev/null -std=c++0x|grep __GXX_EXPERIMENTAL_CXX0X__ #define __GXX_EXPERIMENTAL_CXX0X__ 1
I've commit 20110217 version and patch for disabling boost build. Please try it.
Hi, here still exists a error on latest version 20110217. make[3]: Entering directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/src' CXX ibus_engine_pinyin-PYBopomofoEditor.o In file included from PYEditor.h:27:0, from PYPhoneticEditor.h:25, from PYBopomofoEditor.h:25, from PYBopomofoEditor.cc:22: PYUtil.h:46:18: error: ‘shared_ptr’ is already declared in this scope make[3]: *** [ibus_engine_pinyin-PYBopomofoEditor.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-i18n/ibus-pinyin-1.3.99.20110217/work/ibus-pinyin-1.3.99.20110217' make: *** [all] Error 2 emake failed
(In reply to comment #8) > Hi, here still exists a error on latest version 20110217. What USE flags are you using for this package? (emerge -pv ibus-pinyin) and what boost version are you using?
I've add 1.3.99.20110702. Maybe you can try it with USE='-boost'
On my stable system it compiles fine with boost disabled.
Mars fixed as it work with USE=-boost.