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

repro_build_env_declared and repro_deps_pinned overlook native C/C++ build systems and toolchains

オープン
#433 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c, cpp, python
領域
devtools

調査の方向性

Start by locating the implementations of repro_build_env_declared and repro_deps_pinned, then read the referenced evaluation report for context. Check how they detect project files and produce verification guidance. Done means native build declarations and dependency manifests are considered for C/C++ projects, with relevant toolchain and ABI guidance.

索引モデルが issue の本文から書いたものです。

説明

module-reproducibility

Description

For projects containing C or C++ source code, repro_build_env_declared and repro_deps_pinned only look for container/script files and high-level package locks (npm, Python, Cargo). They completely ignore native build declarations (Makefile, CMakeLists.txt, CMakePresets.json) and native dependency manifests (Conan, vcpkg).

What We Did

  1. Audited a repository containing C code built via Makefile with toolchain variables (CC = gcc-13).
  2. Ran darnit audit . --framework reproducibility --show-all.

What It Was Supposed To Do

When C/C++ files are present, the tool should check for C/C++ toolchain declarations and native dependency manifests, or tailor the verification guidance towards compiler version pinning and shared library ABI stability.

What We Got

Both controls returned INCONCLUSIVE (WARN), directing the user only to check for Dockerfiles, Nix files, or language lockfiles like Cargo.lock or uv.lock.

Proposed Enhancement

  1. When native code (.c, .cpp, .h) is detected in project context:
    • Check for CMake toolchain presets (CMakePresets.json) or compiler definitions in Makefiles.
    • Check for C/C++ dependency managers (conan.lock, vcpkg.json).
  2. Provide verification steps relevant to native code (pinning system toolchain and libc versions).

Reference report: https://github.com/Jaydeep869/darnit/blob/reproducibility-evaluation/reports/experiment_2_c_ctypes.md#bug-report-5-repro_build_env_declared-ignores-makefiles-toolchain-files-and-native-cc-compiler-definitions

主要言語
Python
スター
22
フォーク
27
平均マージ
1日 20時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

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

darnitdevorg/darnit のほかの issue

darnitdevorg/darnit の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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