github / github/codeql-cli-binaries

create database for cpp projects compiled with ccache failed

Abierto
#72 1 comentario 0 reacciones 0 asignados Ver en GitHub
CLI
Lenguaje dominante
Sin datos de lenguaje
Estrellas
1k
Forks
184
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

[2021-07-13 14:21:43] [build-stdout] cc -g -O2 -DHAVE_CONFIG_H -Wall -I. -DVERSION=\"4.4\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPREFIX=\"/usr\" -c -o md5.o md5.c
[2021-07-13 14:21:43] [build-stdout] ./mksources
[2021-07-13 14:21:43] [build-stdout] cc bftpdutmp.o commands.o commands_admin.o cwd.o dirlist.o list.o login.o logging.o main.o mystring.o options.o md5.o -lcrypt -o bftpd
Finalizing database at /home/user01/result/db-bftpd.
No source code was seen and extracted to /home/user01/result/db-bftpd.
This can occur if the specified build commands failed to compile or process any code.
- Confirm that there is some source code for the specified language in the project.
- For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
an explicit --command.
- For other languages, the --command must specify a "clean" build which compiles
all the source code files without reusing existing build artefacts.

$ which cc
/usr/lib64/ccache/cc

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing database creation for the bftpd build with /usr/lib64/ccache/cc and review the logged compile commands and finalization message. Determine why no source code is extracted when ccache is used, then verify that the resulting /home/user01/result/db-bftpd database contains the project’s source code.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
cpp
Área
build-system, devtools
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.