Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Suite: `make -C <repo> test` fails [137] because print-SRC_V_asan-gfx output includes make's "Entering directory" banner

Abierto Apto para principiantes
#1,340 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
88/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
c, shell

Línea de trabajo

Comienza con tests/test_asan_gfx.sh y tests/test_leak_guard.sh, especialmente con los lectores print-*, y reproduce el problema con MAKEFLAGS=w. Verifica que ambos lectores reciban únicamente nombres de archivos fuente, luego ejecuta make -C test y confirma que la sección [137] pasa; añade la comprobación solicitada para la salida de directory-banner.

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

Descripción

area:lint-tooling bug

tests/test_asan_gfx.sh (suite section [137]) reads its source list with

SRCS=$(make -C "$ROOT" -s print-SRC_V_asan-gfx 2>/dev/null)

When the suite itself was started as make -C /path/to/EigenScript test, the outer make puts w (--print-directory) into MAKEFLAGS. The nested make inherits it, and -s does not suppress the banner, which goes to stdout. SRCS then contains make[1]: Entering directory '/path' / Leaving directory words, and the compile fails at link time:

/usr/bin/ld: cannot find make[1]:: No such file or directory
/usr/bin/ld: cannot find Entering: No such file or directory
/usr/bin/ld: cannot find '/home/user/wt1243': No such file or directory
...
  FAIL: asan-gfx build failed
  FAIL: test_asan_gfx.sh exited 1 without completing — section verdict is not trustworthy (#988)

The nested call in isolation, measured on main 38a20d5:

$ make -s print-SRC_V_asan-gfx | head -c 60
src/eigenscript.c src/lexer.c src/parser.c src/builtins.c
$ MAKEFLAGS=w make -C . -s print-SRC_V_asan-gfx | head -c 60
make: Entering directory '/home/user/wt1243'
src/eigens

cd <repo> && make test passes [137] (15/15). make -C <repo> test fails it deterministically (twice in a row), and the reported failure points at the gfx corpus rather than at the invocation. Found while gating an unrelated PR (#1330) from a different working directory.

tests/test_leak_guard.sh:51 reads make -s print-SOURCES the same way; it is exposed to the same inherited flag whenever it runs under a make that has w set.

Done when

  • Both readers get a clean list whatever MAKEFLAGS the suite inherits: pass --no-print-directory, or clear MAKEFLAGS/MAKELEVEL for that call.
  • make -C <repo> test passes [137] on a tree where cd <repo> && make test passes.
  • A check that fails if a print-* reader's output contains Entering directory. For example, run the reader with MAKEFLAGS=w in the environment and assert that every word ends in .c.
Lenguaje dominante
C
Estrellas
3
Forks
7
Merge medio
4 h 15 min
PR fusionados (30 d)
106

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de InauguralSystems/EigenScript

Todos los issues de InauguralSystems/EigenScript

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.