Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476686 - dev-ruby/mecab-ruby : does not respect CXX
Summary: dev-ruby/mecab-ruby : does not respect CXX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: CJK Team
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-07-13 06:29 UTC by Agostino Sarubbo
Modified: 2013-07-16 11:38 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-07-13 06:29:28 UTC
You receive this bug because this package does not respect my system's CXX (x86_64-pc-linux-gnu-g++) and calls directly /usr/bin/g++(or similar)
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export CXX
3)inherit toolchain-funcs and use emake CXX="$(tc-getCXX)"

From the build log :

g++ -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_MECAB_H    -fPIC -march=native -O2 -g0 
-pipe -fno-strict-aliasing  -fPIC     -c MeCab_wrap.cpp
Comment 1 Naohiro Aota gentoo-dev 2013-07-16 11:38:57 UTC
mkmf.rb on ruby18 lacks CXX support. I've added tc-export CXX to ruby18 capable ebuilds.