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

Failure to build [email protected] crate for ruffle

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust
領域
compilers

調査の方向性

報告された ruffle のコミットで、一覧にある Rust バージョンを使い、cargo build --jobs 1 --keep-going で失敗を再現します。まず、zune-jpeg のコンパイル失敗を rustc_codegen_gcc と libgccjit を通して追跡します。immediate-value エラー、アーカイブの欠落、または abort なしで crate がビルドできれば完了です。

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

説明

bug

Using --keep-going to workaround https://github.com/rust-lang/rustc_codegen_gcc/issues/790.

$ git clone https://github.com/ruffle-rs/ruffle
$ git rev-parse HEAD
1aad9ba00001103b7c1309fff3e7e3f650cd5d17
$ cargo build --jobs 1 --keep-going
   Compiling zune-jpeg v0.4.21
libgccjit.so: error: : the last argument must be an 8-bit immediate
libgccjit.so: error: : the last argument must be an 8-bit immediate
error: failed to build archive at `/tmp/ruffle/target/debug/deps/libzune_jpeg-74f383d3ad5956b7.rlib`: failed to open object file: No such file or directory (os error 2)

fatal runtime error: failed to initiate panic, error 5, aborting
error: could not compile `zune-jpeg` (lib) due to 1 previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name zune_jpeg --edition=2021 /home/sam/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/zune-jpeg-0.4.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=186 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --warn=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --cfg 'feature="default"' --cfg 'feature="neon"' --cfg 'feature="std"' --cfg 'feature="x86"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "log", "neon", "std", "x86"))' -C metadata=03d7898f766feb93 -C extra-filename=-74f383d3ad5956b7 --out-dir /tmp/ruffle/target/debug/deps -L dependency=/tmp/ruffle/target/debug/deps --extern zune_core=/tmp/ruffle/target/debug/deps/libzune_core-5fd43cb02ab9d22a.rmeta --cap-lints allow --cfg=web_sys_unstable_apis` (signal: 6, SIGABRT: process abort signal)
$ rustc -vV
rustc 1.91.0-nightly (21cd82aa6 2025-10-08) (gentoo)
binary: rustc
commit-hash: 21cd82aa6363f7ceaebefafc528e62124267461c
commit-date: 2025-10-08
host: x86_64-unknown-linux-gnu
release: 1.91.0-nightly

This is with the rust 1.91.0 beta from 20251009 and github.com/rust-lang/rust from b93730ce97c738bdb9209aa973d3fc6fd4ce1d81.

主要言語
Rust
スター
1.2k
フォーク
105
平均マージ
5時間 50分
マージ済み PR(30日)
25

環境構築

はじめの一歩

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

rust-lang/rustc_codegen_gcc のほかの issue

rust-lang/rustc_codegen_gcc の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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