Builds that do not fit within the FC's flash should produce a better failure message
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- build-system, tooling
調査の方向性
まず、表示されたリンカーエラーと「Build failed」出力を生成するカスタム build サーバーの Waf/linking の失敗経路を追跡します。flash overflow がどのように報告されるかを確認し、その後、失敗時の説明で選択する feature を減らす必要があることを示すようにして、結果の build 出力を検証します。
索引モデルが issue の本文から書いたものです。
説明
This issue is in response to this 4.6.0-beta1 user report in which the user saw a linker error and was unable to produce a firmware for their autopilot.
The issue turned out to simply be that the build would not fit in the autopilot's flash. We should improve the message so that the user knows they can resolve the issue by de-selecting some features.
The current message is something like this
[1215/1222] Linking ../CubeOrangePlus/bin/arducopter
/home/custom/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld:common.ld:202 cannot move location counter backwards (from 0000000008201e60 to 0000000008200000)
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/mnt/volume_nyc3_01/custom/base/tmp/copter:CubeOrangePlus:4d31a7320a1d2c38e2d742ae63c34f914febaa8f:a440fcafd32cc20580367b5d6fc30a97/CubeOrangePlus'
Build failed
A better message would be something like, "flash overflow, reduce the number of features selected"
- 主要言語
- Python
- スター
- 33
- フォーク
- 73
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ArduPilot/CustomBuild のほかの issue
-
generator issueオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ArduPilot/CustomBuild#259 ·
-
misspellingオープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ArduPilot/CustomBuild#254 ·
-
Defaults for boards when selecting heli include multi copter frames and non compatibly flight modes.オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
ArduPilot/CustomBuild#255 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
ArduPilot/CustomBuild#237 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
ArduPilot/CustomBuild#236 · コメント 2 件 ·
ArduPilot/CustomBuild の issue をすべて見る
似ている issue
-
ui
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
future-agi/future-agi#5070 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
juandresrodca/AdminForge#69 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
deepset-ai/haystack-integrations#817 ·
メンテナーはふだん 12 日以内に返信
-
[Bug]: test_remote_realpath_uses_argument_vector fails on Windows with Python 3.13+ (ntpath.isabs)対応中かも @gouyu-hou が今日担当しました。 オープンtriage/confirmed
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
agentscope-ai/agentscope#4397 ·
メンテナーはふだん 2 日以内に返信