Enabling setupci in build.zig leads to compilation error
まだ誰も着手していません。
評価
- 難易度
- 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 はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
conda-forge/spacy-feedstock#177 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
area:jail bug security severity:low track:open-source
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
micro-ROS/micro_ros_setup#837 ·