Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - oclint

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: oclint 0.10.3-1

Git Clone URL: https://aur-dev.archlinux.org/oclint.git (read-only)
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: BSD
Submitter: mlq
Maintainer: mlq
Last Packager: mlq
Votes: 11
Popularity: 0.149088
First Submitted: 2013-05-28 15:40
Last Updated: 2016-06-20 14:51

Latest Comments

cjbayliss commented 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
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().

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.