github / codeql-action

Actions for running CodeQL analysis
MIT License
1.17k stars 329 forks source link

"codeql/cpp-all is found in 3 same-priority locations" upon extraction of latest codeql-bundle #1983

Open huornlmj opened 1 year ago

huornlmj commented 1 year ago

After downloading https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.15.2/codeql-bundle-linux64.tar.gz and $ tar xvzf codeql-bundle-linux64.tar.gz I set my $PATH to the extracted dir like so:

$ export PATH=$PATH:~/downloads/codeql-bundles/codeql/

When I run codeql resolve qlpacks I get the following error:

$ codeql resolve qlpacks
codeql/controlflow is found in 5 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/controlflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/controlflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0/.codeql/libraries/codeql/controlflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/controlflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/controlflow/0.1.2
codeql/cpp-all is found in 3 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-all/0.11.0
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-examples/0.0.0/.codeql/libraries/codeql/cpp-all/0.11.0
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2/.codeql/libraries/codeql/cpp-all/0.11.0
codeql/cpp-examples (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-examples/0.0.0)
codeql/cpp-queries (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2)
codeql/csharp-all is found in 3 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/csharp-all/0.8.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0/.codeql/libraries/codeql/csharp-all/0.8.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-all/0.8.2
codeql/csharp-examples (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0)
codeql/csharp-queries (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2)
codeql/dataflow is found in 14 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-examples/0.0.0/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-examples/0.0.0/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2/.codeql/libraries/codeql/dataflow/0.1.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2/.codeql/libraries/codeql/dataflow/0.1.2
codeql/go-all is found in 3 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-examples/0.0.0/.codeql/libraries/codeql/go-all/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-all/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2/.codeql/libraries/codeql/go-all/0.7.2
codeql/go-examples (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-examples/0.0.0)
codeql/go-queries (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2)
codeql/java-all is found in 3 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/java-all/0.8.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/java-all/0.8.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-all/0.8.2
codeql/java-examples (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0)
codeql/java-queries (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2)
codeql/javascript-all is found in 3 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-examples/0.0.0/.codeql/libraries/codeql/javascript-all/0.8.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-all/0.8.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2/.codeql/libraries/codeql/javascript-all/0.8.2
codeql/javascript-examples (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-examples/0.0.0)
codeql/javascript-queries (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2)
codeql/mad is found in 14 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-examples/0.0.0/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-examples/0.0.0/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/mad/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2/.codeql/libraries/codeql/mad/0.2.2
codeql/python-all is found in 3 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/python-all/0.11.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/python-all/0.11.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-all/0.11.2
codeql/python-examples (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0)
codeql/python-queries (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2)
codeql/rangeanalysis is found in 5 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-examples/0.0.0/.codeql/libraries/codeql/rangeanalysis/0.0.1
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/rangeanalysis/0.0.1
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/rangeanalysis/0.0.1
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2/.codeql/libraries/codeql/rangeanalysis/0.0.1
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/rangeanalysis/0.0.1
codeql/regex is found in 10 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-examples/0.0.0/.codeql/libraries/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2/.codeql/libraries/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/regex/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/regex/0.2.2
codeql/ruby-all is found in 3 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/ruby-all/0.8.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-all/0.8.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/ruby-all/0.8.2
codeql/ruby-examples (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0)
codeql/ruby-queries (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2)
codeql/ssa is found in 14 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-examples/0.0.0/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-examples/0.0.0/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2/.codeql/libraries/codeql/ssa/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2/.codeql/libraries/codeql/ssa/0.2.2
codeql/suite-helpers is found in 9 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/suite-helpers/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/suite-helpers/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/suite-helpers/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/suite-helpers/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/suite-helpers/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2/.codeql/libraries/codeql/suite-helpers/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/suite-helpers/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2/.codeql/libraries/codeql/suite-helpers/0.7.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2/.codeql/libraries/codeql/suite-helpers/0.7.2
codeql/swift-all is found in 2 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/swift-all/0.3.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-all/0.3.2
codeql/swift-queries (/home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2)
codeql/threat-models is found in 3 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/threat-models/0.0.1
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/threat-models/0.0.1
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/threat-models/0.0.1
codeql/tutorial is found in 16 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-examples/0.0.0/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-examples/0.0.0/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-examples/0.0.0/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2/.codeql/libraries/codeql/tutorial/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2/.codeql/libraries/codeql/tutorial/0.2.2
codeql/typetracking is found in 14 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-examples/0.0.0/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-examples/0.0.0/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2/.codeql/libraries/codeql/typetracking/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2/.codeql/libraries/codeql/typetracking/0.2.2
codeql/typos is found in 2 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/typos/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2/.codeql/libraries/codeql/typos/0.2.2
codeql/util is found in 16 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-examples/0.0.0/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-queries/0.8.2/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-examples/0.0.0/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-examples/0.0.0/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-queries/0.8.2/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/swift-queries/0.3.2/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/csharp-examples/0.0.0/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/ruby-examples/0.0.0/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-examples/0.0.0/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/java-queries/0.8.2/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/cpp-queries/0.8.2/.codeql/libraries/codeql/util/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/go-queries/0.7.2/.codeql/libraries/codeql/util/0.2.2
codeql/yaml is found in 5 same-priority locations, so attempts to resolve it will fail:
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/yaml/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-examples/0.0.0/.codeql/libraries/codeql/yaml/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-examples/0.0.0/.codeql/libraries/codeql/yaml/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/python-queries/0.9.2/.codeql/libraries/codeql/yaml/0.2.2
   /home/user/downloads/codeql-bundles/codeql/qlpacks/codeql/javascript-queries/0.8.2/.codeql/libraries/codeql/yaml/0.2.2
legacy-upgrades (/home/user/downloads/codeql-bundles/codeql/legacy-upgrades)

What could be wrong? Should I ignore the errors and proceed?

aeisenberg commented 1 year ago

This is a quirk around codeql resolve qlpacks interacts with the codeql bundle. It is not recognizing that each of the locations is distinct and in all regular use cases of codeql the qlpacks will be resolved correctly.

eacmen commented 2 months ago

This is a quirk around codeql resolve qlpacks interacts with the codeql bundle. It is not recognizing that each of the locations is distinct and in all regular use cases of codeql the qlpacks will be resolved correctly.

May I suggest updating the docs here to reflect that quirk? https://docs.github.com/en/code-security/codeql-cli/getting-started-with-the-codeql-cli/setting-up-the-codeql-cli

aeisenberg commented 2 months ago

We're working on fixing this.

Chakit22 commented 2 months ago

@aeisenberg I am getting the same kind of error. Could you please explain what does the error exactly mean ? Is it that it is not able to distinguish similar files ? So, I can't currently use codeql for my project ?

Chakit22 commented 2 months ago

Is there any other workaround that ?

aeisenberg commented 2 months ago

You can safely ignore the error. There is nothing wrong with your installation.