pythongssapi / pythongssapi/python-gssapi
python-gssapi incompatible With Cython 3.1
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 116
- Forks
- 55
- Merge moyen
- 1 j 24 min
- PR mergées (30 j)
- 2
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez l’installation sous Linux avec Cython 3.1+ et examinez le chemin de build généré gssapi/raw/misc.c indiqué dans l’erreur. Vérifiez la configuration de Cython et du compilateur concernée ; c’est terminé lorsque python-gssapi s’installe correctement sous Linux avec la version de Cython affectée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- c, python
- Domaine
- build-system
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100