Package Details: cppcheck-nox 2.3-1

Git Clone URL: (read-only, click to copy)
Package Base: cppcheck-nox
Description: A tool for static C/C++ code analysis without the GUI
Upstream URL:
Licenses: GPL
Conflicts: cppcheck
Provides: cppcheck
Submitter: None
Maintainer: mpento
Last Packager: mpento
Votes: 8
Popularity: 0.000000
First Submitted: 2015-02-14 10:36
Last Updated: 2021-02-12 01:52

Dependencies (3)

Required by (16)

Sources (1)

Latest Comments

1 2 3 Next › Last »

mpento commented on 2021-02-12 01:53

Update to 2.3

mpento commented on 2020-12-02 18:49

Update to 2.2

mpento commented on 2020-03-07 15:26

Update to 1.90

mpento commented on 2019-12-15 22:36

I removed cppcheck-nox and installed cppcheck from the official repo and I am seeing the same weird formatting:


CPPCHECK(1) cppcheck User Manual

.SH "NAME" cppcheck - Tool for static C/C++ code analysis


.HP 216u



I verified that the manpage for -nox was gone before installing the official package.

Can someone verify that the manpage for the official package is formatting correctly on their machine and comment?

mpento commented on 2019-12-15 15:36

Also, fixed SRCDIR warnings from make.

Still looking into man page formatting problems.

mpento commented on 2019-12-15 15:31


Make command line was missing FILESDIR=/usr/share/cppcheck. Used a simple test:

int main() { char a[10]; a[10] = 0; return 0; }

Before addition of FILESDIR:

cppcheck: Failed to load library configuration file 'std.cfg'. File not found nofile:0:0: information: Failed to load std.cfg. Your Cppcheck installation is broken, please re-install. The Cppcheck binary was compiled without FILESDIR set. Either the std.cfg should be available in cfg or the FILESDIR should be configured. [failedToLoadCfg]


Checking test.cpp ... test.cpp:3:3: error: Array 'a[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] a[10] = 0; ^

Please try the latest package and let me know if this works for you as well.

mpento commented on 2019-12-15 14:21


I see both the man page issue and the issues running cppcheck that you describe.

Looking into it, I'll also take a look at the Debian package and patches as you suggest.

archangel commented on 2019-11-25 11:51

@mpento: Have you tried a test run? Because there's really no problem with building or installing, I don't even see warnings. Only running cppcheck then fails with said error, apparently it can't find its data. This "nofile:0:0" bit is also wrong, we'd expect the name of the checked source file(s) there, but currently I have this even in the version in community--same with the manpage, try "man cppcheck". On my machine it's improperly formatted, though the file itself is ok.

Debian also ships a colorless package, or rather they provide the gui-version separately, it always worked for me, incl. this version.

So they recently fixed some of their patches, see

You can download Debian's changes only, it seems to me the relevant patch is in patches/fix-default-settings.

TheAifam5 commented on 2019-11-24 22:48

@mpento here

I use yay. I will try to download the snapshot and check if that fixes the issue.

EDIT: Same case with makepkg and removing the package and installing again.

EDIT2: The official package works.

mpento commented on 2019-11-22 15:18


I saw the same problem that you are seeing when I updated the version recently. I changed the make command line in PKGBUILD to address it.

I just downloaded the snapshot and tried it clean and it built without problems. Would it be possible for you to provide the output of of makepkg for this?