pythongssapi / pythongssapi/python-gssapi
python-gssapi incompatible With Cython 3.1
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 116
- フォーク
- 55
- 平均マージ
- 1日 24分
- マージ済み PR(30日)
- 2
説明
With the release of Cython, the installment of python-gssapi broke on Linux systems:
building 'gssapi.raw.misc' extension
creating build/temp.linux-x86_64-cpython-38/gssapi/raw
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/opt/rh/rh-python38/root/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/opt/rh/rh-python38/root/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Igssapi/raw -I/opt/rh/rh-python38/root/usr/include/python3.8 -c gssapi/raw/misc.c -o build/temp.linux-x86_64-cpython-38/gssapi/raw/misc.o -DHAS_GSSAPI_EXT_H
gssapi/raw/misc.c: In function ‘__pyx_pw_6gssapi_3raw_4misc_3inquire_names_for_mech’:
gssapi/raw/misc.c:3284:7: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
According to Cython devs, Cython 3.1+ requires C99 compatible C compiler:
https://github.com/cython/cython/issues/6861#issuecomment-2868999325
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Cython 3.1+ を使用して Linux でのインストールを再現し、エラーに示されている生成された gssapi/raw/misc.c のビルドパスを調査します。関係する Cython とコンパイラの構成を確認します。完了の条件は、影響を受ける Cython リリースで Linux 上に python-gssapi が正常にインストールされることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, python
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100