Bug #64332
échec build bookworm, uwsgi, python 3.10
Début:
20 avril 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://jenkins.entrouvert.org/job/publik-devinst/739/ ok
https://jenkins.entrouvert.org/job/publik-devinst/740/ pas ok
La différence majeure que je vois c'est que bookworm bascule vers python 3.10.
Ensuite dans les logs,
core/metrics.c:706:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 706 | if (value > *um->value) | ^~ In file included from core/metrics.c:1: ./uwsgi.h:436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 436 | #define uwsgi_rwunlock(x) uwsgi.lock_ops.rwunlock(x) | ^~~~~ core/metrics.c:708:9: note: in expansion of macro ‘uwsgi_rwunlock’ 708 | uwsgi_rwunlock(uwsgi.metrics_lock); | ^~~~~~~~~~~~~~ core/metrics.c: In function ‘uwsgi_metric_set_min’: core/metrics.c:714:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 714 | if ((value > um->initial_value || 0) && value < *um->value) | ^~ In file included from core/metrics.c:1: ./uwsgi.h:436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 436 | #define uwsgi_rwunlock(x) uwsgi.lock_ops.rwunlock(x) | ^~~~~ core/metrics.c:716:9: note: in expansion of macro ‘uwsgi_rwunlock’ 716 | uwsgi_rwunlock(uwsgi.metrics_lock); | ^~~~~~~~~~~~~~ [thread 3][x86_64-linux-gnu-gcc -pthread] core/transformations.o [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> uWSGI
Fichiers
Révisions associées
Historique
Mis à jour par Emmanuel Cazenave il y a environ 2 ans
- Statut changé de Nouveau à En cours
- Assigné à mis à Emmanuel Cazenave
Mis à jour par Emmanuel Cazenave il y a environ 2 ans
- Fichier 0001-misc-stop-grabbing-uWSGI-from-pypi-64332.patch 0001-misc-stop-grabbing-uWSGI-from-pypi-64332.patch ajouté
- Statut changé de En cours à Solution proposée
- Patch proposed changé de Non à Oui
C'est revenu à la normale dans https://jenkins.entrouvert.org/job/publik-devinst/741/ sans intervention.
Mais quand même ce patch qui aurait du être inclus dans #50525, parce que :
+- name: create get-uwsgidecorators scripts + template: + src: get-uwsgidecorators.j2 + dest: "{{venv_py3_bin}}/get-uwsgidecorators.sh" + mode: "u=rwx,g=rx,o=rx" + vars: + virtualenv_python: "{{venv_py3_python}}" + system_python: "/usr/bin/python3" + +- name: execute get-uwsgidecorators + command: "{{venv_py3_bin}}/get-uwsgidecorators.sh" +
Donc virer ce package pypi douteux.
Mis à jour par Emmanuel Cazenave il y a environ 2 ans
Le build sur main oscille entre erreur et ok selon les run.
Du coté de ma branche c'est 3/3 ok : https://jenkins.entrouvert.org/job/publik-devinst-wip/job/wip%252F64332-bookworm-py310/.
Mis à jour par Paul Marillonnet il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Ok.
Mis à jour par Emmanuel Cazenave il y a environ 2 ans
- Statut changé de Solution validée à Solution déployée
commit c8d432f19e8ee7f66b3b257d6720968e3813b047 Author: Emmanuel Cazenave <ecazenave@entrouvert.com> Date: Wed Apr 20 10:39:25 2022 +0200 misc: stop grabbing uWSGI from pypi (#64332)
misc: stop grabbing uWSGI from pypi (#64332)