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

build.sh fails on Mac OS with recent clang (was fixed in MicroPython)

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

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

評価

難易度
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

adafruit/CircuitPython_Community_Bundle のほかの issue

adafruit/CircuitPython_Community_Bundle の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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