wuvt / wuvt-site

Website including a CMS, playlist information, and donation management tools
https://www.wuvt.vt.edu
GNU Affero General Public License v3.0
11 stars 12 forks source link

Dev Docker image build failure #404

Closed mstathers closed 2 years ago

mstathers commented 2 years ago

Following the instructions in the README there is an issue.

Step 7/19 : RUN python uwsgiconfig.py --build wuvt && cp uwsgi /usr/local/bin/ &&         mkdir -p /usr/local/lib/uwsgi/plugins
 ---> Running in 247bb971f78d
/usr/src/uwsgi/uwsgiconfig.py:653: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.
  self.config.readfp(open_profile(filename))
/usr/src/uwsgi/uwsgiconfig.py:772: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.
  iconfig.readfp(open_profile(inherit))
core/emperor.c: In function ‘uwsgi_emperor_vassal_start’:
core/emperor.c:991:15: warning: cast between incompatible function types from ‘void (*)(struct uwsgi_instance *)’ to ‘int (*)(void *)’ [-Wcast-function-type]
  991 |   pid = clone((int (*)(void *)) uwsgi_emperor_spawn_vassal, stack + PTHREAD_STACK_MIN, SIGCHLD | uwsgi.emperor_clone, (void *) n_ui);
      |               ^
core/utils.c: In function ‘uwsgi_substitute’:
core/utils.c:1732:2: warning: ‘strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
 1732 |  strncat(dst, ptr, strlen(ptr));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/emperor.c: In function ‘uwsgi_emperor_blacklist_add’:
core/emperor.c:156:2: warning: ‘strncpy’ specified bound 255 equals destination size [-Wstringop-truncation]
  156 |  strncpy(uebi->id, id, 0xff);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
core/mule.c: In function ‘uwsgi_setup_mules_and_farms’:
core/mule.c:453:4: warning: ‘strncpy’ specified bound 255 equals destination size [-Wstringop-truncation]
  453 |    strncpy(uwsgi.farms[i].name, farm_value, 0xff);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/hash.c: In function ‘murmur2_hash’:
core/hash.c:44:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
   44 |           h ^= key[2] << 16;
      |           ~~^~~~~~~~~~~~~~~
core/hash.c:45:7: note: here
   45 |       case 2:
      |       ^~~~
core/hash.c:46:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
   46 |           h ^= key[1] << 8;
      |           ~~^~~~~~~~~~~~~~
core/hash.c:47:7: note: here
   47 |       case 1:
      |       ^~~~
core/signal.c: In function ‘uwsgi_register_signal’:
core/signal.c:126:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  126 |  strncpy(use->receiver, receiver, strlen(receiver) + 1);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/signal.c:126:35: note: length computed here
  126 |  strncpy(use->receiver, receiver, strlen(receiver) + 1);
      |                                   ^~~~~~~~~~~~~~~~
core/routing.c: In function ‘uwsgi_route_condition_ipv6in’:
core/routing.c:1795:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1795 |  case 0: mask[0] = 0;
      |          ~~~~~~~~^~~
core/routing.c:1796:2: note: here
 1796 |  case 1: mask[1] = 0;
      |  ^~~~
core/routing.c:1796:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1796 |  case 1: mask[1] = 0;
      |          ~~~~~~~~^~~
core/routing.c:1797:2: note: here
 1797 |  case 2: mask[2] = 0;
      |  ^~~~
core/routing.c:1797:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1797 |  case 2: mask[2] = 0;
      |          ~~~~~~~~^~~
core/routing.c:1798:2: note: here
 1798 |  case 3: mask[3] = 0;
      |  ^~~~
plugins/python/pyutils.c: In function ‘uwsgi_python_backtrace’:
plugins/python/pyutils.c:78:2: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
   78 |  PyObject *result = PyEval_CallObject(extract_tb, args);
      |  ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/pyutils.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/pyutils.c: In function ‘python_call’:
plugins/python/pyutils.c:279:2: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  279 |  PyObject *pyret = PyEval_CallObject(callable, args);
      |  ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/pyutils.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_python_reset_random_seed’:
plugins/python/python_plugin.c:316:33: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  316 |                                 PyEval_CallObject(random_seed, random_args);
      |                                 ^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_python_post_fork’:
plugins/python/python_plugin.c:394:3: warning: ‘PyOS_AfterFork’ is deprecated [-Wdeprecated-declarations]
  394 |   PyOS_AfterFork();
      |   ^~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:157,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/intrcheck.h:18:37: note: declared here
   18 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);
      |                                     ^~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_pyimport_by_filename’:
plugins/python/python_plugin.c:463:3: warning: ‘PyParser_SimpleParseFileFlags’ is deprecated [-Wdeprecated-declarations]
  463 |   py_file_node = PyParser_SimpleParseFile(pyfile, real_filename, Py_file_input);
      |   ^~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:152,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/pythonrun.h:91:28: note: declared here
   91 | PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *, int, int);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c:480:4: warning: ‘PyParser_SimpleParseStringFlags’ is deprecated [-Wdeprecated-declarations]
  480 |    py_file_node = PyParser_SimpleParseString(pycontent, Py_file_input);
      |    ^~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:152,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/pythonrun.h:79:28: note: declared here
   79 | PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int, int);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c:489:2: warning: ‘PyNode_Compile’ is deprecated [-Wdeprecated-declarations]
  489 |  py_compiled_node = (PyObject *) PyNode_Compile(py_file_node, real_filename);
      |  ^~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:151,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/compile.h:15:28: note: declared here
   15 | PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
      |                            ^~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_python_enable_threads’:
plugins/python/python_plugin.c:1279:2: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
 1279 |  PyEval_InitThreads();
      |  ^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/ceval.h:130:37: note: declared here
  130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_python_set_thread_name’:
plugins/python/python_plugin.c:1323:33: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
 1323 |                                 PyObject *current_thread = PyEval_CallObject(threading_current, (PyObject *)NULL);
      |                                 ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_python_setup_thread’:
plugins/python/python_plugin.c:1407:33: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
 1407 |                                 PyObject *current_thread = PyEval_CallObject(threading_current, (PyObject *)NULL);
      |                                 ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_python_mule’:
plugins/python/python_plugin.c:1836:4: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
 1836 |    result = PyEval_CallObject(callable, arglist);
      |    ^~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_python_logger’:
plugins/python/python_plugin.c:1926:17: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
 1926 |                 ul->data = (void *) PyEval_CallObject(py_getLogger, py_getLogger_args);
      |                 ^~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/python_plugin.c: In function ‘uwsgi_python_worker’:
plugins/python/python_plugin.c:1957:3: warning: ‘PyOS_AfterFork’ is deprecated [-Wdeprecated-declarations]
 1957 |   PyOS_AfterFork();
      |   ^~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:157,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/python_plugin.c:1:
/usr/local/include/python3.9/intrcheck.h:18:37: note: declared here
   18 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void);
      |                                     ^~~~~~~~~~~~~~
plugins/python/pyloader.c: In function ‘uwsgi_pecan_loader’:
plugins/python/pyloader.c:661:2: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  661 |  pecan_app = PyEval_CallObject(pecan_deploy, pecan_arg);
      |  ^~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/pyloader.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/pyloader.c: In function ‘uwsgi_paste_loader’:
plugins/python/pyloader.c:725:2: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  725 |  paste_app = PyEval_CallObject(paste_loadapp, paste_arg);
      |  ^~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/pyloader.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/pyloader.c: In function ‘uwsgi_eval_loader’:
plugins/python/pyloader.c:743:2: warning: ‘PyParser_SimpleParseStringFlags’ is deprecated [-Wdeprecated-declarations]
  743 |  wsgi_eval_node = PyParser_SimpleParseString(code, Py_file_input);
      |  ^~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:152,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/pyloader.c:1:
/usr/local/include/python3.9/pythonrun.h:79:28: note: declared here
   79 | PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int, int);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/pyloader.c:750:2: warning: ‘PyNode_Compile’ is deprecated [-Wdeprecated-declarations]
  750 |  wsgi_compiled_node = (PyObject *) PyNode_Compile(wsgi_eval_node, "uwsgi_eval_config");
      |  ^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:151,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/pyloader.c:1:
/usr/local/include/python3.9/compile.h:15:28: note: declared here
   15 | PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
      |                            ^~~~~~~~~~~~~~
plugins/python/wsgi_subhandler.c: In function ‘uwsgi_python_consume_file_wrapper_read’:
plugins/python/wsgi_subhandler.c:95:10: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
   95 |          PyObject *read_method_output = PyEval_CallObject(read_method, read_method_args);
      |          ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/wsgi_subhandler.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/wsgi_subhandler.c: In function ‘uwsgi_response_subhandler_wsgi’:
plugins/python/wsgi_subhandler.c:339:25: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  339 |                         PyObject *close_method_output = PyEval_CallObject(close_method, close_method_args);
      |                         ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/wsgi_subhandler.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cloning into 'uwsgi-sse-offload'...
plugins/python/uwsgi_pymodule.c:2557:22: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
 2557 |  {"send_to_spooler", (PyCFunction) py_uwsgi_send_spool, METH_VARARGS | METH_KEYWORDS, ""},
      |                      ^
plugins/python/uwsgi_pymodule.c:2558:12: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
 2558 |  {"spool", (PyCFunction) py_uwsgi_send_spool, METH_VARARGS | METH_KEYWORDS, ""},
      |            ^
plugins/python/uwsgi_pymodule.c:2659:19: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
 2659 |  {"mule_get_msg", (PyCFunction) py_uwsgi_mule_get_msg, METH_VARARGS|METH_KEYWORDS, ""},
      |                   ^
plugins/python/tracebacker.c: In function ‘uwsgi_python_get_thread_name’:
plugins/python/tracebacker.c:17:2: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
   17 |  PyObject *threads_list = PyEval_CallObject(threading_enumerate, (PyObject *)NULL);
      |  ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/tracebacker.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/tracebacker.c: In function ‘uwsgi_python_tracebacker_thread’:
plugins/python/tracebacker.c:109:3: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  109 |   PyObject *current_frames = PyEval_CallObject(_current_frames, (PyObject *)NULL);
      |   ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/tracebacker.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/tracebacker.c:115:3: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  115 |   PyObject *frames_ret = PyEval_CallObject(current_frames_items, (PyObject *)NULL);
      |   ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/tracebacker.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/tracebacker.c:137:4: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  137 |    PyObject *stacktrace = PyEval_CallObject( extract_stack, arg_tuple);
      |    ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/tracebacker.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/python/raw.c: In function ‘uwsgi_request_python_raw’:
plugins/python/raw.c:67:2: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
   67 |  wsgi_req->async_result = PyEval_CallObject(up.raw_callable, args);
      |  ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/python/uwsgi_python.h:2,
                 from plugins/python/raw.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/gevent/gevent.c: In function ‘py_uwsgi_gevent_ctrl_gl’:
plugins/gevent/gevent.c:36:17: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
   36 |                 PyObject *gswitch = PyEval_CallObject(ugevent.greenlet_switch, gevent_sleep_args);
      |                 ^~~~~~~~
In file included from /usr/local/include/python3.9/Python.h:154,
                 from plugins/gevent/../python/uwsgi_python.h:2,
                 from plugins/gevent/gevent.h:1,
                 from plugins/gevent/gevent.c:1:
/usr/local/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/router_basicauth/router_basicauth.c: In function ‘htpasswd_check’:
plugins/router_basicauth/router_basicauth.c:73:5: error: ‘struct crypt_data’ has no member named ‘current_salt’
   73 |   cd.current_salt[0] = ~cpwd[0];
      |     ^
The command '/bin/sh -c python uwsgiconfig.py --build wuvt && cp uwsgi /usr/local/bin/ &&         mkdir -p /usr/local/lib/uwsgi/plugins' returned a non-zero code: 1
mutantmonkey commented 2 years ago

Looks like #405 fixes this; let us know if not and we can reopen.