I'm opening this bug mainly for tracking, since it depend on #466136 Reproducible: Always
is there anyone from cjk, or proxy-maint team can help me? I'd like to bump following ebuilds 1) librime-0.9.9 (also update librime-0.9.8 deps) 2) rime-data-0.22 3) ibus-rime-0.9.9 git://github.com/dlanx/proxy-maint.git , the branch is 'for-yngwin-ibus'
Created attachment 349416 [details] librime-0.9.9-build.log librime-0.9.9 ran test suites in compile phase and failed here. Could you take a look at it please? Test should be in src_test() phase and if possible please include some fix to pass the test. build.log attached
Created attachment 349706 [details] origianl librime-0.9.9 ebuild this ebuild have problem with test
Created attachment 349708 [details, diff] librime cmake patch, to make test feature optional (also configurable)
Created attachment 349710 [details, diff] fix the ebuild, to introduce USE=test to handle test
@naota I've updated librime-0.9.8/0.9.9 ebuilds, put the real testing into src_test() stage, but even with USE=test enabled, the testing source code still compile in src_compile() stage, is this ok? I'm not familiar with cmake system. for the test error issue, I have no problem with version 0.9.8, but do have same issue as yours in 0.9.9, I think I will file a bug upstream.. for our convinice, you can pull my repository from github.com (branch for-yngwin-ibus) to check the detail changes, I have updated there thanks.
open two issue in upstream https://code.google.com/p/rimeime/issues/detail?id=428 https://code.google.com/p/rimeime/issues/detail?id=429
Created attachment 349716 [details, diff] backport upstream patch, to make test feature optional
Created attachment 349718 [details, diff] fix test run time error upstream alreay slove this two problem. @naota, can you pull my repo from github.com? thanks
Please run "repoman full" to catch these issues - Unquoted FILESDIR - test? depend in RDEPEND. Should it be in DEPEND? Also you may need yaml-cpp stricter dependency? I've failed to build librime with dev-cpp/yaml-cpp-0.3.0. (worked well with yaml-cpp-0.5.1) Please check which version of yaml-cpp should work. [ 13%] Building CXX object src/CMakeFiles/rime.dir/menu.cc.o cd /dev/shm/portage/app-i18n/librime-0.9.9/work/librime-0.9.9_build/src && /usr/lib64/ccache/bin/c++ -DRIME_EXPORTS -O2 -ggdb -pipe -fomit-frame-pointer -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -frecord-gcc-switches -fPIC -I/dev/shm/portage/app-i18n/librime-0.9.9/work/librime/include -I/dev/shm/portage/app-i18n/librime-0.9.9/work/librime/thirdparty/include -o CMakeFiles/rime.dir/menu.cc.o -c /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/menu.cc /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc: In member function 'bool rime::ConfigData::LoadFromFile(const string&)': /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:556:22: error: 'LoadFile' is not a member of 'YAML' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc: In static member function 'static rime::ConfigItemPtr rime::ConfigData::ConvertFromYaml(const YAML::Node&)': /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:604:49: error: 'const class YAML::Node' has no member named 'as' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:604:63: error: expected primary-expression before '>' token /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:604:65: error: expected primary-expression before ')' token /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:608:5: error: 'const_iterator' is not a member of 'YAML' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:608:26: error: expected ';' before 'it' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:609:5: error: 'const_iterator' is not a member of 'YAML' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:609:26: error: expected ';' before 'end' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:610:13: error: 'it' was not declared in this scope /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:610:19: error: 'end' was not declared in this scope /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:610:19: note: suggested alternatives: /usr/include/boost/range/end.hpp:106:47: note: 'boost::range_adl_barrier::end' /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: 'boost::mpl::end' /usr/include/boost/range/end.hpp:106:47: note: 'boost::range_adl_barrier::end' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:617:5: error: 'const_iterator' is not a member of 'YAML' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:617:26: error: expected ';' before 'it' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:618:5: error: 'const_iterator' is not a member of 'YAML' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:618:26: error: expected ';' before 'end' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:619:13: error: 'it' was not declared in this scope /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:619:19: error: 'end' was not declared in this scope /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:619:19: note: suggested alternatives: /usr/include/boost/range/end.hpp:106:47: note: 'boost::range_adl_barrier::end' /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: 'boost::mpl::end' /usr/include/boost/range/end.hpp:106:47: note: 'boost::range_adl_barrier::end' /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:620:49: error: expected primary-expression before '>' token /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:620:51: error: expected primary-expression before ')' token make[2]: *** [src/CMakeFiles/rime.dir/config.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/dev/shm/portage/app-i18n/librime-0.9.9/work/librime-0.9.9_build' make[1]: *** [src/CMakeFiles/rime.dir/all] Error 2 make[1]: Leaving directory `/dev/shm/portage/app-i18n/librime-0.9.9/work/librime-0.9.9_build' make: *** [all] Error 2
Created attachment 349942 [details, diff] ebuild fix patch (In reply to Naohiro Aota from comment #10) > Please run "repoman full" to catch these issues > - Unquoted FILESDIR > - test? depend in RDEPEND. Should it be in DEPEND? > oh, sorry, I will fix those two > Also you may need yaml-cpp stricter dependency? I've failed to build librime > with dev-cpp/yaml-cpp-0.3.0. (worked well with yaml-cpp-0.5.1) Please check > which version of yaml-cpp should work. > No, version 0.9.9 won't compile with yaml-cpp-0.3.0, upstream release notes says it require >=yaml-cpp-0.5 And I'm not sure about what you mean of "stricter dependency", since I've already put >=dev-cpp/yaml-cpp-0.5.0 in RDEPEND/DEPEND?! > [ 13%] Building CXX object src/CMakeFiles/rime.dir/menu.cc.o > cd /dev/shm/portage/app-i18n/librime-0.9.9/work/librime-0.9.9_build/src && > /usr/lib64/ccache/bin/c++ -DRIME_EXPORTS -O2 -ggdb -pipe > -fomit-frame-pointer -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt > -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param > l2-cache-size=8192 -mtune=generic -frecord-gcc-switches -fPIC > -I/dev/shm/portage/app-i18n/librime-0.9.9/work/librime/include > -I/dev/shm/portage/app-i18n/librime-0.9.9/work/librime/thirdparty/include > -o CMakeFiles/rime.dir/menu.cc.o -c > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/menu.cc > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc: In > member function 'bool rime::ConfigData::LoadFromFile(const string&)': > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:556:22: > error: 'LoadFile' is not a member of 'YAML' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc: In > static member function 'static rime::ConfigItemPtr > rime::ConfigData::ConvertFromYaml(const YAML::Node&)': > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:604:49: > error: 'const class YAML::Node' has no member named 'as' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:604:63: > error: expected primary-expression before '>' token > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:604:65: > error: expected primary-expression before ')' token > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:608:5: > error: 'const_iterator' is not a member of 'YAML' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:608:26: > error: expected ';' before 'it' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:609:5: > error: 'const_iterator' is not a member of 'YAML' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:609:26: > error: expected ';' before 'end' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:610:13: > error: 'it' was not declared in this scope > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:610:19: > error: 'end' was not declared in this scope > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:610:19: > note: suggested alternatives: > /usr/include/boost/range/end.hpp:106:47: note: > 'boost::range_adl_barrier::end' > /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: 'boost::mpl::end' > /usr/include/boost/range/end.hpp:106:47: note: > 'boost::range_adl_barrier::end' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:617:5: > error: 'const_iterator' is not a member of 'YAML' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:617:26: > error: expected ';' before 'it' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:618:5: > error: 'const_iterator' is not a member of 'YAML' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:618:26: > error: expected ';' before 'end' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:619:13: > error: 'it' was not declared in this scope > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:619:19: > error: 'end' was not declared in this scope > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:619:19: > note: suggested alternatives: > /usr/include/boost/range/end.hpp:106:47: note: > 'boost::range_adl_barrier::end' > /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: 'boost::mpl::end' > /usr/include/boost/range/end.hpp:106:47: note: > 'boost::range_adl_barrier::end' > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:620:49: > error: expected primary-expression before '>' token > /dev/shm/portage/app-i18n/librime-0.9.9/work/librime/src/config.cc:620:51: > error: expected primary-expression before ')' token > make[2]: *** [src/CMakeFiles/rime.dir/config.cc.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory > `/dev/shm/portage/app-i18n/librime-0.9.9/work/librime-0.9.9_build' > make[1]: *** [src/CMakeFiles/rime.dir/all] Error 2 > make[1]: Leaving directory > `/dev/shm/portage/app-i18n/librime-0.9.9/work/librime-0.9.9_build' > make: *** [all] Error 2
(In reply to Dennis 'dlan' Lan from comment #11) > > Also you may need yaml-cpp stricter dependency? I've failed to build librime > > with dev-cpp/yaml-cpp-0.3.0. (worked well with yaml-cpp-0.5.1) Please check > > which version of yaml-cpp should work. > > > > No, version 0.9.9 won't compile with yaml-cpp-0.3.0, upstream release notes > says it require >=yaml-cpp-0.5 > > And I'm not sure about what you mean of "stricter dependency", since I've > already put >=dev-cpp/yaml-cpp-0.5.0 in RDEPEND/DEPEND?! This was my mistake. I was copying different file. Now all ebuild commited to the tree. Thanks!