You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the cause is that --use-host-cppcheck assumes that cppcheck installed on the host is linked statically, which is usually not the case on a default Fedora installation. We should improve multiple things:
document the assumption
make store_cppcheck_version_hook() in the cppcheck plug-in print an error message on failure
csmock should tell the user which post-depinst hook actually failed
csmock -t gcc,cppcheck,clang,shellcheck -r fedora-39-aarch64 -o /tmp/tmpodhysnjl/libssh2-1.10.0-7.fc38.tar.xz --use-host-cppcheck --gcc-analyze /tmp/tmpodhysnjl/libssh2-1.10.0-7.fc38.src.rpm'
Note that the scan succeeds if you omit the
--use-host-cppcheck
option.The text was updated successfully, but these errors were encountered: