Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468970 - app-i18n/librime-0.9.9 version bump
Summary: app-i18n/librime-0.9.9 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on: 466136
Blocks:
  Show dependency tree
 
Reported: 2013-05-08 01:50 UTC by Yixun Lan
Modified: 2013-06-05 00:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
librime-0.9.9-build.log (build.log,115.76 KB, text/plain)
2013-05-28 05:06 UTC, Naohiro Aota
Details
origianl librime-0.9.9 ebuild (librime-0.9.9.ebuild,850 bytes, text/plain)
2013-05-31 05:34 UTC, Yixun Lan
Details
librime cmake patch, to make test feature optional (also configurable) (librime-test.patch,1.33 KB, patch)
2013-05-31 05:35 UTC, Yixun Lan
Details | Diff
fix the ebuild, to introduce USE=test to handle test (librime-fix-test.patch,1.18 KB, patch)
2013-05-31 05:36 UTC, Yixun Lan
Details | Diff
backport upstream patch, to make test feature optional (librime-test.patch,1.37 KB, patch)
2013-05-31 07:27 UTC, Yixun Lan
Details | Diff
fix test run time error (librime-dictionary.patch,409 bytes, patch)
2013-05-31 07:30 UTC, Yixun Lan
Details | Diff
ebuild fix patch (librime-fix.patch,1.22 KB, patch)
2013-06-03 01:50 UTC, Yixun Lan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2013-05-08 01:50:14 UTC
I'm opening this bug mainly for tracking, since it depend on #466136

Reproducible: Always
Comment 1 Yixun Lan archtester gentoo-dev 2013-05-24 10:31:30 UTC
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'
Comment 2 Naohiro Aota gentoo-dev 2013-05-28 05:06:58 UTC
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
Comment 3 Yixun Lan archtester gentoo-dev 2013-05-31 05:34:01 UTC
Created attachment 349706 [details]
origianl librime-0.9.9 ebuild


this ebuild have problem with test
Comment 4 Yixun Lan archtester gentoo-dev 2013-05-31 05:35:31 UTC
Created attachment 349708 [details, diff]
librime cmake patch, to make test feature optional (also configurable)
Comment 5 Yixun Lan archtester gentoo-dev 2013-05-31 05:36:10 UTC
Created attachment 349710 [details, diff]
fix the ebuild, to introduce USE=test to handle test
Comment 6 Yixun Lan archtester gentoo-dev 2013-05-31 05:48:46 UTC
@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.
Comment 8 Yixun Lan archtester gentoo-dev 2013-05-31 07:27:49 UTC
Created attachment 349716 [details, diff]
backport upstream patch, to make test feature optional
Comment 9 Yixun Lan archtester gentoo-dev 2013-05-31 07:30:01 UTC
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
Comment 10 Naohiro Aota gentoo-dev 2013-06-02 22:51:06 UTC
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
Comment 11 Yixun Lan archtester gentoo-dev 2013-06-03 01:50:31 UTC
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
Comment 12 Naohiro Aota gentoo-dev 2013-06-05 00:49:35 UTC
(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!