Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 549018

Summary: =dev-util/cmake-3.2.2 error: undefined reference to Json::Value::Value
Product: Gentoo Linux Reporter: Petros <petros_20>
Component: [OLD] DevelopmentAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

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.