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

Bug 602246

Summary: dev-util/cmake-3.7.1 Could NOT find LibLZMA
Product: Gentoo Linux Reporter: EoD <EoD>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cmake-3.7.1.log
emerge --info

Description EoD 2016-12-10 13:09:27 UTC
Created attachment 455742 [details]
cmake-3.7.1.log

I just tried to upgrade from cmake-3.4.2 to the current version 3.7.1 in order to build llvm, but I it fails with the following message:

> -- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
> -- Found CURL: /usr/lib/libcurl.so (found version "7.51.0")
> -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.6")
> -- Looking for BZ2_bzCompressInit
> -- Looking for BZ2_bzCompressInit - not found
> -- Looking for lzma_auto_decoder in /usr/lib/liblzma.so
> -- Looking for lzma_auto_decoder in /usr/lib/liblzma.so - not found
> -- Looking for lzma_easy_encoder in /usr/lib/liblzma.so
> -- Looking for lzma_easy_encoder in /usr/lib/liblzma.so - not found
> -- Looking for lzma_lzma_preset in /usr/lib/liblzma.so
> -- Looking for lzma_lzma_preset in /usr/lib/liblzma.so - not found
> -- Could NOT find LibLZMA (missing:  LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) (found version "5.2.2")
> CMake Error at CMakeLists.txt:384 (message):
>  CMAKE_USE_SYSTEM_LIBLZMA is ON but LibLZMA is not found!
> Call Stack (most recent call first):
>  CMakeLists.txt:636 (CMAKE_BUILD_UTILITIES)

I have app-arch/xz-utils-5.2.2 installed.
Comment 1 EoD 2016-12-10 13:10:33 UTC
Created attachment 455744 [details]
emerge --info
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-12-11 18:52:57 UTC

*** This bug has been marked as a duplicate of bug 595508 ***
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-06-24 15:04:18 UTC

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