rpmbuild failed for cmake version
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
+ cmake .. -DCMAKE_BUILD_TYPE=Release '-DLLVM_TARGETS_TO_BUILD=X86;BPF' -DCMAKE_INSTALL_PREFIX=/usr
CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
CMake 3.4.3 or higher is required. You are running version 2.8.12.2
error: Bad exit status from /var/tmp/rpm-tmp.d9yTov (%build)
Bad exit status from /var/tmp/rpm-tmp.d9yTov (%build)
SPECS/bcc+clang.spec using cmake, however, bcc project building with cmake3 check failed.
Just replace cmake with cmake3
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with SPECS/bcc+clang.spec and inspect the CMake command used by the RPM build. Verify the build uses cmake3 rather than cmake, then run the RPM build; it is done when the CMake minimum-version check passes without the reported build failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100