build.sh fails on Mac OS with recent clang (was fixed in MicroPython)
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- shell
- 領域
- build-system
調査の方向性
まず build.sh を調べて CircuitPython 9.2.4 が選択されている箇所を見つけ、その選択を参照されている MicroPython の修正および CircuitPython 10.0.0 と比較します。最近の macOS clang で mpy-cross をビルドできるようにビルドの選択を更新し、報告されているエラーなしでスクリプトが完了することを確認します。
索引モデルが issue の本文から書いたものです。
説明
I'm trying to add my library to the Community Bundle but when I go to run build.sh I get errors like this while building mpy-cross:
GEN build/genhdr/qstrdefs.generated.h
In file included from ../py/emitnx64.c:16:
../py/emitnative.c:2267:5: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
2267 | MP_STATIC_ASSERT(MP_OBJ_STOP_ITERATION == 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../py/misc.h:57:51: note: expanded from macro 'MP_STATIC_ASSERT'
57 | #define MP_STATIC_ASSERT(cond) ((void)sizeof(char[1 - 2 * !(cond)]))
| ^~~~~~~~~~~~~~~
1 error generated.
-e See https://learn.adafruit.com/building-circuitpython; Adafruit Discord #circuitpython-dev
make: *** [build/py/emitnx64.o] Error 1
This was fixed in MicroPython a couple of weeks ago; see https://github.com/micropython/micropython/issues/18116
and it was fixed by https://github.com/micropython/micropython/commit/33cf1ab3ccabecd156176ceebcd56332e8a5d325
And it was fixed in CircuitPython 10.0.0.
However, it looks like build.sh wants to build CircuitPython 9.2.4 instead of that.
- 主要言語
- Shell
- スター
- 209
- フォーク
- 98
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
adafruit/CircuitPython_Community_Bundle のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
Docs link in the readme is 404再び着手できるかも @joepardue が 511 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
adafruit/CircuitPython_Community_Bundle#255 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
adafruit/CircuitPython_Community_Bundle#253 · コメント 2 件 ·
adafruit/CircuitPython_Community_Bundle の issue をすべて見る
似ている issue
-
rebrand-literal-gutter: uhttpd section-vocabulary check trips on a COMMENT (uhttpd.luci in 92-tollgate-admin-setup:178)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenTollGate/tollgate-module-basic-go#723 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
stephrobert/pavois#390 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
TIBCOSoftware/be-tools#408 ·
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 92/100