github / github/codeql-cli-binaries
ERROR: Could not detect a suitable build command for the source checkout
- 主要語言
- 沒有語言資料
- 星號
- 1k
- 分支
- 184
- PR 合併指標
- 30 天內沒有已合併 PR
描述
1. `codeql database create java_db1 --language=java --source-root Java/
3. Initializing database at /home/prakash/java_db1.
4. Running build command: [/home/prakash/codeql/java/tools/autobuild.sh]
5. [2022-11-11 11:29:36] [build-stderr] ERROR: Could not detect a suitable build command for the source checkout.
6. [2022-11-11 11:29:36] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/home/prakash/codeql/tools/linux64/preload_tracer, /home/prakash/codeql/java/tools/autobuild.sh])
7. A fatal error occurred: Exit status 1 from command: [/home/prakash/codeql/java/tools/autobuild.sh] `
Above log is generated while executing database create command. I was simply trying to create codeql database for java with single java file named TestClass.java inside the Java directory but I am not being able to create database successfully.
For your reference I am attaching the java source code here : [https://www.dropbox.com/sh/q1t648a3imvmesk/AAAxoRWnihrO2oYiBrDQICWQa?dl=0](url)
Anyone can help ASAP?
貢獻指南
研究方向
Reproduce the reported `codeql database create java_db1 --language=java --source-root Java/` command with the single `TestClass.java` source checkout. Start by examining the output from `java/tools/autobuild.sh` and the supplied build log; done means identifying whether this is expected build behavior or a reproducible CLI defect and documenting the required next step or fix.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100