zarfld / LinuxCnc_PokeysLibComp

Pokeys comp for LinuxCnc using https://bitbucket.org/mbosnak/pokeyslib.git
MIT License
5 stars 0 forks source link

CodeQL detected code written in C/C++ but could not process any of it #188

Open zarfld opened 1 week ago

zarfld commented 1 week ago
Run github/codeql-action/analyze@v2
  with:
    output: ../results
    upload: always
    cleanup-level: brutal
    add-snippets: false
    skip-queries: false
    checkout_path: /home/runner/work/LinuxCnc_PokeysLibComp/LinuxCnc_PokeysLibComp
    upload-database: true
    wait-for-processing: true
    token: ***
    matrix: {
    "language": "cpp"
  }
    expect-error: false
  env:
    CODEQL_ACTION_FEATURE_MULTI_LANGUAGE: false
    CODEQL_ACTION_FEATURE_SANDWICH: false
    CODEQL_ACTION_FEATURE_SARIF_COMBINE: true
    CODEQL_ACTION_FEATURE_WILL_UPLOAD: true
    CODEQL_ACTION_VERSION: [2](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:2).27.0
    CODEQL_V2_DEPRECATION_WARNING: true
    JOB_RUN_UUID: b046e[3](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:3)b4-6ce7-43d6-ab63-83fe1de3767[4](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:4)
    CODEQL_ACTION_INIT_HAS_RUN: true
    CODEQL_ACTION_ANALYSIS_KEY: .github/workflows/codeql-analysis.yml:analyze
    CODEQL_WORKFLOW_STARTED_AT: 2024-11-03T21:07:26.911Z
    CODEQL_RAM: 14[5](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:5)67
    CODEQL_THREADS: 4
    CODEQL_EXTRACTOR_CPP_TRAP_CACHING: true
    CODEQL_SCRATCH_DIR: /home/runner/work/_temp/codeql_databases/working
    CODEQL_VERBOSITY: warnings
    CODEQL_DIST: /opt/hostedtoolcache/CodeQL/2.19.2/x[6](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:6)4/codeql
    CODEQL_PLATFORM: linux64
    CODEQL_PLATFORM_DLL_EXTENSION: .so
    CODEQL_JAVA_HOME: /opt/hostedtoolcache/CodeQL/2.19.2/x64/codeql/tools/linux64/java
    CODEQL_EXTRACTOR_CPP_ROOT: /opt/hostedtoolcache/CodeQL/2.19.2/x64/codeql/cpp
    CODEQL_EXTRACTOR_CPP_WIP_DATABASE: /home/runner/work/_temp/codeql_databases/cpp
    CODEQL_EXTRACTOR_CPP_DIAGNOSTIC_DIR: /home/runner/work/_temp/codeql_databases/cpp/diagnostic/extractors/cpp
    CODEQL_EXTRACTOR_CPP_LOG_DIR: /home/runner/work/_temp/codeql_databases/cpp/log
    CODEQL_EXTRACTOR_CPP_SCRATCH_DIR: /home/runner/work/_temp/codeql_databases/cpp/working
    CODEQL_EXTRACTOR_CPP_TRAP_DIR: /home/runner/work/_temp/codeql_databases/cpp/trap/cpp
    CODEQL_EXTRACTOR_CPP_SOURCE_ARCHIVE_DIR: /home/runner/work/_temp/codeql_databases/cpp/src
    CODEQL_EXTRACTOR_CPP_THREADS: 4
    CODEQL_EXTRACTOR_CPP_RAM: 1456[7](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:7)
    CODEQL_TRACER_LOG: /home/runner/work/_temp/codeql_databases/log/build-tracer.log
    CODEQL_TRACER_DIAGNOSTICS_DIR: /home/runner/work/_temp/codeql_databases/diagnostic/tracer
    CODEQL_TRACER_LANGUAGES: cpp
    SEMMLE_PRELOAD_libtrace: /opt/hostedtoolcache/CodeQL/2.1[9](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:9).2/x64/codeql/tools/linux64/${LIB}_${PLATFORM}_trace.so
    SEMMLE_PRELOAD_libtrace32: /opt/hostedtoolcache/CodeQL/2.19.2/x64/codeql/tools/linux64/lib32trace.so
    SEMMLE_PRELOAD_libtrace64: /opt/hostedtoolcache/CodeQL/2.19.2/x64/codeql/tools/linux64/lib64trace.so
    CODEQL_RUNNER: /opt/hostedtoolcache/CodeQL/2.19.2/x64/codeql/tools/linux64/runner
    LD_PRELOAD: /opt/hostedtoolcache/CodeQL/2.19.2/x64/codeql/tools/linux64/${LIB}_${PLATFORM}_trace.so
    CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: true
    CODEQL_ACTION_AUTOBUILD_DID_COMPLETE_SUCCESSFULLY: true
While resolving threads, found a cgroup CPUs file with 4 CPUs in /sys/fs/cgroup/cpuset.cpus.effective.
Finalizing cpp
  /opt/hostedtoolcache/CodeQL/2.19.2/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=[14](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:14)567 /home/runner/work/_temp/codeql_databases/cpp
  CodeQL detected code written in C/C++ but could not process any of it. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build .
  Error: Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.[19](https://github.com/zarfld/LinuxCnc_PokeysLibComp/actions/runs/11654684428/job/32448489538#step:5:19).2/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14567 /home/runner/work/_temp/codeql_databases/cpp". Exit code was 32 and last log line was: CodeQL detected code written in C/C++ but could not process any of it. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.