Building Python 3.12.11 on Linux makes 2 copes of very large libpython3.12.a file
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
Bug report
Bug description:
When I build Python 3.12.11 from source code on Linux, the result includes 2 copies of the libpython3.12.a file which is about 56 megabytes in size!
File locations
- <prefix>/lib/libpython3.12.a
- <prefix>/lib/python3.12/config-3.12-x86_64-linux-gnu/libpython3.12.a
I presume one of those is supposed to be a symbolic link to the other, or maybe the entire <prefix>/lib/python3.12/config-3.12-x86_64-linux-gnu directory is not supposed to be included in the installation?
Is this something that everyone is experiencing, or am I likely doing something wrong that is causing this to happen for me?
CPython versions tested on:
3.12
Operating systems tested on:
Linux
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Linux 上で Python 3.12.11 のソースビルドを再現し、報告されている libpython3.12.a の 2 つの場所、/lib と /lib/python3.12/config-3.12-x86_64-linux-gnu を調べます。インストールされたファイルと、ビルドまたはインストールの動作を比較して、重複が想定されたものかどうかを判断します。問題が説明されるか、インストールによって意図した単一コピーの配置が生成されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100