Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549018 - =dev-util/cmake-3.2.2 error: undefined reference to Json::Value::Value
Summary: =dev-util/cmake-3.2.2 error: undefined reference to Json::Value::Value
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-09 15:34 UTC by Petros
Modified: 2015-05-11 18:03 UTC (History)
0 users

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


Attachments
build.log (dev-util:cmake-3.2.2:20150509-151204.log,812.14 KB, text/plain)
2015-05-09 15:35 UTC, Petros
Details
emerge --info (info,28.81 KB, text/plain)
2015-05-09 15:36 UTC, Petros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petros 2015-05-09 15:34:18 UTC
cmake doesn't cooperate with GCC-5.1 and LTO. I am using git binutils (9999) and I want to recompile my KF5 with it, but cmake is getting in the way. So I am pretty much stuck here with a non-working cmake.

Reproducible: Always

Steps to Reproduce:
1. emerge cmake
2.
3.
Actual Results:  
/var/tmp/portage/dev-util/cmake-3.2.2/temp/ccary0lH.ltrans14.ltrans.o:<artificial>:function cmGlobalGenerator::WriteSummary(cmTarget*): error: undefined reference to 'Json::Value::Value(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'


I am trying to recompile everything with json in it's name with no success. For example dev-libs/jsoncpp-0.10.2 rants about cmake and stuff when linking. In another report more about this.
Comment 1 Petros 2015-05-09 15:35:10 UTC
Created attachment 402898 [details]
build.log
Comment 2 Petros 2015-05-09 15:36:01 UTC
Created attachment 402900 [details]
emerge --info
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-05-09 15:42:06 UTC
It's probably an ABI issue - try rebuilding with USE="internal-jsoncpp".
Comment 4 Petros 2015-05-09 17:14:31 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> It's probably an ABI issue - try rebuilding with USE="internal-jsoncpp".

Yep cmake emerged fine. =dev-libs/jsoncpp-0.10.2 too.

Let's find out what about KF5.