Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ 初心者向け
#1,782 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #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分
マージ済み PR(30日)
254

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。