Closed
Description
Description of the issue
I am unable to run queries for a project written in C. The queries keep failing with the same error: Compiled CodeQL packs cannot reference another pack from one of its query suites.
$ codeql database analyze c-lang ~/.codeql/packages/codeql/cpp-queries/0.0.10/codeql-suites/cpp-code-scanning.qls --format=sarifv2.1.0 --output=c-lang.sarif
Running queries.
A fatal error occurred: Compiled CodeQL packs cannot reference another pack from one of its query suites. 'codeql/cpp-queries@0.0.10' references 'codeql/cpp-queries'.
CodeQL CLI version:
codeql --version
CodeQL command-line toolchain release 2.8.2.
Copyright (C) 2019-2022 GitHub, Inc.
I was unable to find anything regarding the issue in the documentation. What are Compiled CodeQL packs? Why do I get this error?