FS#42523 - [cppcheck] Can't find std.cfg

Attached to Project: Community Packages
Opened by CP (Lord Aro) - Friday, 24 October 2014, 13:26 GMT
Last edited by Dave Reisner (falconindy) - Friday, 24 October 2014, 13:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Any attempt to use cppcheck (1.67-1) fails due to:
`
(information) Failed to load std.cfg. Your Cppcheck installation is broken, please re-install. The Cppcheck binary was compiled with CFGDIR set to "/usr/share/cppcheck/cfg" and will therefore search for std.cfg in that path.
`

despite that file being available and readable

strace reveals that it is not actually looking for the file in the right place:

open("std.cfg", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./cfg/std.cfg", O_RDONLY) = -1 ENOENT (No such file or directory)
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 24 October 2014, 13:37 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#42524 

Loading...