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

Enabling setupci in build.zig leads to compilation error

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
zig
領域
build-system

調査の方向性

コミット 400b2c9ffa8b7f6a0c7cb4e65a0e4e3ab1217f28 の build.zig から始め、0.16.0-dev.3061+9b1eaad13 を使用する新しい Zig プロジェクトで失敗を再現します。setupCI を有効にした場合と無効にした場合のビルドを比較し、その後、パッケージをインポートしても報告された non-ELF エラーが発生しなくなっていることを確認します。

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

説明

Hi, this commit https://github.com/allyourcodebase/opus/commit/400b2c9ffa8b7f6a0c7cb4e65a0e4e3ab1217f28 leads to the following errors, when I try to import this package into my code:

error: not an ELF file note: while parsing .zig-cache/o/ea3fd2f12b3d88a04dfb277df484ea2e/opus_x86_64_sse2.lib error: not an ELF file note: while parsing .zig-cache/o/ddbae7a6cfc5d6ee694aac391b686508/repacketizer.o error: not an ELF file note: while parsing .zig-cache/o/d107639d944b9dcf5b5c3e50f1b8b141/extensions.o error: not an ELF file (...)

I tried to port it to the release of 0.16 and was able to compile this package as a standalone, but when trying to build awebo I always ran into this error so I thought for hours I did something wrong or missed something... until I tested the above commit in a fresh zig project using 0.16.0-dev.3061+9b1eaad13 where I only import this package and ...it fails aswell, but when I disable setupCI, everything works fine....

主要言語
Zig
スター
7
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

似ている issue

Build System の issue をもっと見る

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

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