Search Criteria
Package Details: oclint 20.11-0
Git Clone URL: | https://aur.archlinux.org/oclint.git (read-only, click to copy) |
---|---|
Package Base: | oclint |
Description: | A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C |
Upstream URL: | http://oclint.org/ |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | mlq |
Maintainer: | mlq (thodnev) |
Last Packager: | mlq |
Votes: | 13 |
Popularity: | 0.000000 |
First Submitted: | 2013-05-28 15:40 |
Last Updated: | 2020-12-18 19:05 |
Dependencies (17)
- clang (clang-pypy-stm, clang39, clang38, llvm-tce, clang8, llvm-git, llvm-minimal-git, llvm-toolchain-nightly-bin)
- gcc-libs (gcc-libs-multilib-x32, fastgcc, gcc-libs-multilib-git, gcc-libs-git)
- glibc (glibc-git)
- icu (icu-git, icu-git-static)
- libedit
- libffi (libffi-git, fedora-firefox-wayland-bin, libffi-minimal-git)
- libxml2 (libxml2-linenum, libxml2-git)
- llvm-libs (llvm-libs-pypy-stm, llvm39-libs, llvm-asserts-libs, llvm-libs38, llvm-tce-libs, llvm11, llvm11-libs, llvm11-ocaml, llvm-libs-git, llvm-libs-minimal-git)
- xz (xz-git, xz-static-git)
- zlib (zlib-static, zlib-git, zlib-asm, minizip-asm, zlib-ng-git)
- binutils (binutils-tune-bfd-hash, binutils-git) (make)
- cmake (cmake-git) (make)
- gcc (gcc-multilib-x32, fastgcc, gcc-multilib-git, gcc-git) (make)
- git (git-git) (make)
- make (make3, make-git, make-without-guile) (make)
- ninja (ninja-git, ninja-samurai, ninja-mem, ninja-kitware, ninja-bin) (make)
- python (python-dbg) (make)
Latest Comments
thodnev commented on 2020-12-17 20:46
Bumped version to v20.11. Also made it build with system (arch official) version of LLVM PKGBUILD with everything needed is on GitHub repo: https://github.com/thodnev/oclint-arch
Would be nice, if someone will update current AUR repo (I'll write the maintainer too, of course)
thodnev commented on 2018-07-11 22:45
I've fixed it and uploaded PKGBUILD (and the patch) for latest OCLint release version to github: https://github.com/thodnev/oclint-aur
spider-mario commented on 2017-11-04 15:27
This package has stopped building for me:
[15/15] Linking CXX executable bin/oclint-0.13
FAILED: bin/oclint-0.13
[big command]
/usr/lib/libLLVMSupport.a(Process.cpp.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x92): undefined reference to `setupterm'
(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0xb9): undefined reference to `tigetnum'
(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0xc3): undefined reference to `set_curterm'
(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0xcc): undefined reference to `del_curterm
Edit: the last update to ncurses (https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ncurses&id=987faeb8442d44e76a7a58642e8e6432eb220c25 ) seems to have fixed it.
peperunas commented on 2017-06-07 17:17
Fails to build.
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
LLVM_ROOT: /usr
CMake Error at cmake/OCLintConfig.cmake:49 (INCLUDE):
include could not find load file:
LLVMConfig
Call Stack (most recent call first):
CMakeLists.txt:9 (INCLUDE)
CMake Error at cmake/OCLintConfig.cmake:58 (STRING):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:9 (INCLUDE)
-- Found LLVM LLVM_PACKAGE_VERSION: - LLVM_VERSION_RELEASE:
-- Using LLVMConfig.cmake in: /usr/share/llvm/cmake
CMake Error at cmake/OCLintConfig.cmake:62 (LLVM_MAP_COMPONENTS_TO_LIBNAMES):
Unknown CMake command "LLVM_MAP_COMPONENTS_TO_LIBNAMES".
Call Stack (most recent call first):
CMakeLists.txt:9 (INCLUDE)
Anonymous comment on 2016-05-03 05:14
Please update to OCLint 0.10.2 and fix the PKGBUILD script to something like this one: http://cjbayliss.com/public/oclint/PKGBUILD
@orestisf the PKGBUILD script I provide above should solve your problem. :)
orestisf commented on 2015-11-30 11:41
I am getting:
-- The C compiler identification is Clang 3.7.0
-- The CXX compiler identification is Clang 3.7.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake/OCLintConfig.cmake:42 (MESSAGE):
LLVM_ROOT (/usr) is not a valid LLVM install. Could not find
/usr/include/llvm
Call Stack (most recent call first):
CMakeLists.txt:9 (INCLUDE)
axper commented on 2014-04-09 18:30
Still fails to build:
[100%] Building CXX object CMakeFiles/oclint-0.7.dir/main.cpp.o
/media/storage/packages/makepkg/oclint/src/oclint-0.7-src/oclint-clang-tooling/main.cpp:21:10: fatal error: 'clang/Driver/OptTable.h' file not found
#include <clang/Driver/OptTable.h>
^
1 error generated.
CMakeFiles/oclint-0.7.dir/build.make:57: recipe for target 'CMakeFiles/oclint-0.7.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/oclint-0.7.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:63: recipe for target 'CMakeFiles/oclint-0.7.dir/all' failed
make[1]: *** [CMakeFiles/oclint-0.7.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
justinzane commented on 2013-10-21 18:05
Fails to build as is. Also, I would appreciate the inclusion of the patches by aljen.
Anonymous comment on 2013-07-26 04:29
Here are two patches, one for PKGBUILD and one for oclint to reuse system llvm/clang instead of rebuilding them.
http://hitomi.pl/PKGBUILD.patch
http://hitomi.pl/nollvm.patch