Package Details: cppcheck-nox 1.89-1

Git Clone URL: https://aur.archlinux.org/cppcheck-nox.git (read-only, click to copy)
Package Base: cppcheck-nox
Description: A tool for static C/C++ code analysis without the GUI
Upstream URL: http://cppcheck.sourceforge.net/
Licenses: GPL
Conflicts: cppcheck
Provides: cppcheck
Submitter: None
Maintainer: mpento
Last Packager: mpento
Votes: 8
Popularity: 0.87
First Submitted: 2015-02-14 10:36
Last Updated: 2019-11-17 22:35

Dependencies (3)

Required by (10)

Sources (1)

Latest Comments

1 2 3 Next › Last »

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. https://packages.debian.org/sid/cppcheck

So they recently fixed some of their patches, see

https://metadata.ftp-master.debian.org/changelogs//main/c/cppcheck/cppcheck_1.89-4_changelog

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 https://pastebin.com/X346dZ60

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

@TheAifam5:

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?

TheAifam5 commented on 2019-11-20 15:38

Weird, still getting error about missing std.cfg:

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]

mpento commented on 2019-11-17 22:37

Updated to version 1.89

Added compiler optimizations in build() and FILESDIR in package() for install target.

mpento commented on 2019-08-17 14:15

@dithpri, Good catch, fixed in rev 2.

dithpri commented on 2019-08-16 01:34

The 'conflicts' line in PKGBUILD is wrong, it's 'ccpcheck' but should be 'cppcheck'

mpento commented on 2019-07-01 19:53

Updated to 1.88

mpento commented on 2019-05-22 00:54

Update to 1.87

mpento commented on 2019-02-09 21:11

Update to 1.86, added lines as requested by gustawho.