Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471580 - dev-util/oclint - a tool for static code analysis
Summary: dev-util/oclint - a tool for static code analysis
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://oclint.org/
Whiteboard:
Keywords: EBUILD
: 505256 (view as bug list)
Depends on: 425844
Blocks:
  Show dependency tree
 
Reported: 2013-05-28 09:05 UTC by Peter Asplund
Modified: 2023-03-03 19:57 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
oclint-0.6.ebuild (oclint-0.6.ebuild,611 bytes, text/plain)
2013-05-28 09:49 UTC, Mario Kicherer
Details
oclint-0.10.2.ebuild (oclint-0.10.2.ebuild,608 bytes, text/plain)
2016-05-09 20:29 UTC, Peter Asplund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Asplund 2013-05-28 09:05:30 UTC
OCLint is a static code analysis tool for improving quality and reducing defects by inspecting C, C++ and Objective-C code and looking for potential problems in code.

Dependent on LLVM/Clang.

http://oclint.org/
Comment 1 Mario Kicherer 2013-05-28 09:49:25 UTC
Created attachment 349426 [details]
oclint-0.6.ebuild

I started an ebuild but it is missing the LLVMConfig.cmake file. I guess the LLVM ebuild must be changed to install this file.
Comment 2 Bartosz Brachaczek 2013-06-03 00:36:22 UTC
(In reply to Mario Kicherer from comment #1)
> Created attachment 349426 [details]
> oclint-0.6.ebuild
> 
> I started an ebuild but it is missing the LLVMConfig.cmake file. I guess the
> LLVM ebuild must be changed to install this file.

See bug #425844. I guess it blocks this request.
Comment 3 Peter Asplund 2013-12-09 21:07:31 UTC
You could work around the LLVMConfig.cmake issue by supplying your own version of the file inside a directory called cmake in the base folder.

At least that's what's being done for dev-util/apitrace and it's lack of a FindSNAPPY.cmake. I don't know if it's the exact same issue, but it's possible.
Comment 4 Peter Asplund 2015-01-22 19:28:41 UTC
0.7 has been released in 2013.
Comment 5 David Flogeras 2015-10-20 16:00:51 UTC
*** Bug 505256 has been marked as a duplicate of this bug. ***
Comment 6 Peter Asplund 2016-05-09 19:53:39 UTC
OCLint 0.10.2, available since Jan 12, 2016. The project is still in active development.

Dependent bugs have been solved. Perhaps somebody would like to look into this now?
Comment 7 Peter Asplund 2016-05-09 20:29:20 UTC
Created attachment 433792 [details]
oclint-0.10.2.ebuild

New ebuild for 0.10.2 with new path to source tarball
Comment 8 Peter Asplund 2016-09-23 18:27:05 UTC
oclint 0.11 has been released.

http://oclint.org/news/2016/09/18/release-0-11.html
Comment 9 Peter Asplund 2017-03-11 11:53:44 UTC
New version released: Releasing OCLint 0.11.1 Jan 20, 2017 

http://oclint.org/news/2017/01/20/release-0-11-1.html
Comment 10 Judge Dredd 2022-08-18 18:25:08 UTC
Would be great to have this.
Are there any updates?
Comment 11 Peter Asplund 2023-03-03 19:57:12 UTC
I just saw your message, and I have not maintained this ebuild.

I just tried updating the ebuild for the newest release, 22.02, but it was a lot more complex than I thought.
It seems their build fetches submodules from github, and I have no idea how to handle that (and don't have time to learn right now...)

So sadly I'm not able to help. I hope somebody else wants to have a look at this. It would still be a nice package to have in the gentoo repo.