Find a better way to detect the build environment architecture
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- bash, linux
- 領域
- build-system
調査の方向性
まず、PR #49で導入されたアーキテクチャチェックを調査し、Ubuntu 22.04とAlpineでその出力を再現します。検出されたアーキテクチャをloaderパスのマッチングおよびunameの動作と比較します。build環境のアーキテクチャが、移植性のないloaderパスやサポートされていないbusyboxの出力に依存せず、一貫して検出されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The architecture check introduced in https://github.com/AppImage/type2-runtime/pull/49 breaks the detection on OSes other than Alpine because of them using busybox. On Ubuntu 22.04, file returns the following:
> file -L /bin/bash
/bin/bash: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=7a6408ba82a2d86dd98f1f75ac8edcb695f6fd60, for GNU/Linux 3.2.0, stripped
The output does not match x86_64, the string probed by the bash script. Edit: to clarify: the issue here is that it probes against the loader path, not the architecture reported by file.
Please note that this is not an imminent problem since I need to use the Alpine containerized build environment anyway due to the very simplistic build scripts. However, the chosen solution is not portable in any way.
By the way, x86-64 would be working on both systems. However, I'd rather use a dedicated tool like uname. Unfortunately, busybox's implementation doesn't support -p properly in containers, it returns unknown there.
- 主要言語
- C
- スター
- 74
- フォーク
- 38
- 平均マージ
- 3時間 31分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AppImage/type2-runtime のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
AppImage/type2-runtime#153 ·
-
fusermount3 get's skipped if not setuid, which breaks new fuse implementations対応中かも @probonopd が 21 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
AppImage/type2-runtime#150 · コメント 4 件 ·
-
Some apps can break unless it is run extracted対応中かも @probonopd が 9 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
AppImage/type2-runtime#144 · コメント 2 件 ·
-
Tagged Releasesオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
AppImage/type2-runtime#140 · コメント 17 件 · リアクション 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
AppImage/type2-runtime#133 · コメント 11 件 · リアクション 1 件 ·
AppImage/type2-runtime の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
tmewett/BrogueCE#929 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug : find_key() compares kty against "ocy" instead of "oct", breaking kid-less HS256 verificationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
OpenPrinting/cups#1756 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
SteamGridDB/SGDBoop#147 ·
-
Doc: insert executor and incremental consolidation leave sorted runs, not globally sorted headsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
semantic-reasoning/wirelog#2133 ·
メンテナーはふだん 1 日以内に返信