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

cmake ARCHIVE_EXTRACT command

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cmake
領域
build-system

調査の方向性

参照されている linux/CMakeLists.txt と windows/CMakeLists.txt から始め、次にプロジェクトが必要な CMake のバージョンをどのように宣言しているかを確認します。CMake 3.16 で失敗を再現し、Linux と Windows で選択した最小バージョンの動作を検証します。サポートされていない CMake バージョンで明確な結果が生成され、文書化された要件が使用したコマンドと一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

Used a CMake ARCHIVE_EXTRACT command that supports only from CMake 3.18.
But required cmake version is 3.10 ( for linux ) or 3.14 ( for windows ).

This leads to embarrassing errors ( ubuntu 20.04 with out-of-box cmake version 3.16 ):

CMake Error at 
flutter/ephemeral/.plugin_symlinks/serious_python_linux/linux/CMakeLists.txt:25 
(file):
  file does not recognize sub-command ARCHIVE_EXTRACT


Unable to generate build files

Error building Flet app - see the log of failed command above.

CMake docs about ARCHIVE_EXTRACT:
https://cmake.org/cmake/help/latest/command/file.html#archive-extract

ARCHIVE_EXTRACT usage:
https://github.com/flet-dev/serious-python/blob/e44dff11516019060d4e37e7a4ab900750c0243c/src/serious_python_linux/linux/CMakeLists.txt#L25
https://github.com/flet-dev/serious-python/blob/e44dff11516019060d4e37e7a4ab900750c0243c/src/serious_python_windows/windows/CMakeLists.txt#L24

I suggest increase requirement version of cmake to 3.18.
There will be a clearer error message.
And it will also allow to learn the list_prepend function. Because list(TRANSFORM ..) and list(PREPEND..) will already be supported in cmake 3.18.
E.g. here https://github.com/flet-dev/serious-python/blob/e44dff11516019060d4e37e7a4ab900750c0243c/src/serious_python/example/run_example/linux/flutter/CMakeLists.txt#L14

主要言語
Dart
スター
325
フォーク
46
平均マージ
15時間 47分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

flet-dev/serious-python のほかの issue

flet-dev/serious-python の issue をすべて見る

似ている issue

Dart の issue をもっと見る

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

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