-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.0
-
None
-
bpftrace-0.21.1-3.el10
-
No
-
Moderate
-
2
-
rhel-sst-kernel-tps
-
ssg_core_kernel
-
11
-
15
-
1
-
False
-
-
None
-
CK-October-2024, CK-November-2024
-
Pass
-
bpftrace-0.21.1-3.el10
-
None
-
None
bpftrace-0.21.1-1.el10.src.rpm fails to build from source at CMake configure with the following error:
CMake Error at CMakeLists.txt:155 (message): Unsupported LLVM version found via /usr/include: 19 CMake Error at CMakeLists.txt:156 (message): Only versions between 6 and 18 are supported CMake Error at CMakeLists.txt:157 (message): Specify an LLVM major version using LLVM_REQUESTED_VERSION=<major version> -- Found LLVM 19.1.1: /usr/lib64/cmake/llvm -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) -- Found LLDB: /usr/lib64/liblldb.so -- Using SYSTEM_INCLUDE_PATHS=auto -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.cp5xKF (%build) Bad exit status from /var/tmp/rpm-tmp.cp5xKF (%build)
This is caused by the CMakeLists file sets MAX_LLVM_MAJOR to 18: https://github.com/bpftrace/bpftrace/blob/v0.21.2/CMakeLists.txt#L152
We would need this value to be bumped to 19.
- links to
-
RHBA-2024:141850 bpftrace update