[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1045688: FTBFS: Could NOT find zstd (missing: zstd_LIBRARY zstd_INCLUDE_DIR)



Source: rocm-device-libs
Version: 5.2.3-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear maintainer,

rocm-device-libs fails to build from source. From my build log on amd64:

| -- Found Terminfo: /usr/lib/x86_64-linux-gnu/libtinfo.so  
| -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.13")  
| -- Could NOT find zstd (missing: zstd_LIBRARY zstd_INCLUDE_DIR) 
| -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.14") 
| -- Could NOT find zstd (missing: zstd_LIBRARY zstd_INCLUDE_DIR) 
| -- Linker detection: GNU ld
| CMake Deprecation Warning at cmake/OCL.cmake:12 (cmake_policy):
|   The OLD behavior for policy CMP0053 will be removed from a future version
|   of CMake.
| 
|   The cmake-policies(7) manual explains that the OLD behaviors of all
|   policies are deprecated and that a policy should be set to OLD only under
|   specific short-term circumstances.  Projects should be ported to the NEW
|   behavior and not rely on setting a policy to OLD.
| Call Stack (most recent call first):
|   CMakeLists.txt:60 (include)
| 
| 
| -- Running constant fold tests
| device-libs CPACK_RPM_PACKAGE_RELEASE now is local
| -- Configuring done (0.6s)
| CMake Error at /usr/lib/llvm-15/lib/cmake/llvm/LLVMExports.cmake:73 (set_target_properties):
|   The link interface of target "LLVMSupport" contains:
| 
|     zstd::libzstd_shared
| 
|   but the target was not found.  Possible reasons include:
| 
|     * There is a typo in the target name.
|     * A find_package call is missing for an IMPORTED target.
|     * An ALIAS target is missing.
| 
| Call Stack (most recent call first):
|   /usr/lib/llvm-15/cmake/LLVMConfig.cmake:336 (include)
|   CMakeLists.txt:38 (find_package)
| 
| 
| -- Generating done (0.0s)

The full build log on riscv64 is available there:
https://buildd.debian.org/status/fetch.php?pkg=rocm-device-libs&arch=riscv64&ver=5.2.3-2&stamp=1691809795&raw=0

Regards
Aurelien


Reply to: