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

Bug 595508

Summary: dev-util/cmake ABI=x32 "Could NOT find LibLZMA" "/usr/lib64/liblzma.so: error adding symbols: File in wrong format"
Product: Gentoo Linux Reporter: Pavel Riha <pavel.riha>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: EoD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
CMakeError
CMakeOutput
emerge info
emerge -pqv '=dev-util/cmake-3.5.2-r1::gentoo'

Description Pavel Riha 2016-09-29 10:16:29 UTC
Created attachment 448400 [details]
build.log

just trying new X32 install, from stage3-x32-20160922.tar.bz2
and I was stoped at cmake emerge.
the first visible error says "Could NOT find LibLZMA" but the real problem is hidden in the CMakeError.log and is:
/usr/lib64/liblzma.so: error adding symbols: File in wrong format

I tried all version of cmake in portage and reemerge the only version of xz-utils but with no luck.


My gues is, that it's looking at bad place and shoud be /libx32/liblzma.so so I make a temporaly symlink and than it compile ok.
But I dont know how to fix it a proper way
Comment 1 Pavel Riha 2016-09-29 10:17:00 UTC
Created attachment 448402 [details]
CMakeError
Comment 2 Pavel Riha 2016-09-29 10:17:14 UTC
Created attachment 448404 [details]
CMakeOutput
Comment 3 Pavel Riha 2016-09-29 10:17:35 UTC
Created attachment 448406 [details]
emerge info
Comment 4 Pavel Riha 2016-09-29 10:18:35 UTC
Created attachment 448408 [details]
emerge -pqv '=dev-util/cmake-3.5.2-r1::gentoo'
Comment 5 Michael Palimaka (kensington) gentoo-dev 2016-09-29 10:22:47 UTC
I think this is fixed in 3.6.1-r1 and later.
Comment 6 Pavel Riha 2016-09-29 13:18:36 UTC
sorry, but isn't.
I tried both masked version in portage
cmake-3.6.1-r1
cmake-3.6.2
and with the exactly same result :(
Comment 7 Michael Palimaka (kensington) gentoo-dev 2016-12-11 18:52:57 UTC
*** Bug 602246 has been marked as a duplicate of this bug. ***
Comment 8 EoD 2016-12-12 13:32:17 UTC
Reported upstream: https://gitlab.kitware.com/cmake/cmake/issues/16497
Comment 9 EoD 2016-12-12 16:03:44 UTC
I can confirm that cmake 3.5 can be build with the patch from bug 426936, hence I assume this is a duplicate of bug 426936.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2017-06-24 15:03:55 UTC

*** This bug has been marked as a duplicate of bug 426936 ***