Menu

misra check crash after update to 2.8

2022-05-22
2022-05-24
  • Patrick Oppenlander

    Please let me know if there's any more information I can provide to assist with debugging this:

    Failed to execute 'python3 /usr/share/cppcheck/addons/runaddon.py /usr/share/cppcheck/addons/misra.py --cli --suppress-rules 15.5 --file-list cppcheck/cppcheck-addon-ctu-file-list'. Traceback (most recent call last):
    File "/usr/share/cppcheck/addons/runaddon.py", line 8, in <module>
    runpy.run_path(addon, run_name='main')
    File "/usr/lib/python3.10/runpy.py", line 269, in run_path
    return _run_module_code(code, init_globals, run_name,
    File "/usr/lib/python3.10/runpy.py", line 96, in _run_module_code
    _run_code(code, mod_globals, init_globals,
    File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
    File "/usr/share/cppcheck/addons/misra.py", line 4704, in <module>
    main()
    File "/usr/share/cppcheck/addons/misra.py", line 4661, in main
    checker.analyse_ctu_info(ctu_info_files)
    File "/usr/share/cppcheck/addons/misra.py", line 4420, in analyse_ctu_info
    for line in open(filename, 'rt'):
    FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck/CRC.c.analyzerinfo.ctu-info'</module></module>

     
  • Daniel Marjamäki

    how do you execute cppcheck? do you use --addon or --dump?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.