Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

precheck: with no built binary it prints 'cat: .../N.log: No such file or directory'

已关闭 适合新手
#1,782 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #1786 来自 @facelessdevhack —— 已合并

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
85/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
bash

调研方向

这条多余的错误来自 tools/precheck.sh 中的串行循环,它在 run_gate 之后立即调用 cat "$OUT/$i.log"。当 self-test 行因缺少二进制文件而被跳过时,run_gate 只会写入 .st 文件,因此 cat 没有内容可读。在没有已构建二进制文件的情况下运行 bash tools/precheck.sh 以复现该信息,然后让日志仅在文件存在时才打印。完成标准是:该次运行不再出现 cat: 行且该行仍显示 SKIP;带有二进制文件的运行仍会打印 self-test 日志。

由索引模型根据 Issue 内容生成。

描述

area:gates bug good first issue

On a tree with no built eigenscript, bash tools/precheck.sh (or make precheck) prints this before its table:

cat: /tmp/eigs_precheck.XXXXXX/18.log: No such file or directory

Without a binary, run_gate skips the self-test row (selftest|tools/selftests.sh --changed $BASE). It writes only the row's .st status file (SKIP) and no .log. The serial loop that runs that row then prints the log unconditionally: cat "$OUT/$i.log" right after run_gate "$i" "$class" $cmd in tools/precheck.sh.

The table is still right (... 3 skipped), so this is noise. But it is the first line a contributor sees from make precheck on a fresh clone, and it reads like an error.

Done when

  • With no binary, bash tools/precheck.sh prints no cat: error, and the skipped row still reads SKIP ... no eigenscript binary.
  • With a binary, the self-test row's log is still printed.

Generated by Claude Code

主要语言
C
星标
3
派生
7
平均合并
8 小时 41 分钟
30 天内合并 PR
254

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

InauguralSystems/EigenScript 的其他 Issue

查看 InauguralSystems/EigenScript 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。