FS#64481 - [mod_wsgi] 4.5.24-3 can't be loaded into apache, undefined symbol PyObject_SetItem

Attached to Project: Community Packages
Opened by Ng Oon-Ee (ngoonee) - Wednesday, 13 November 2019, 02:22 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 13 November 2019, 03:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Apache chokes on loading mod_wsgi when it's updated:-
Nov 13 10:14:00 ngoonee-laptop httpd[9214]: httpd: Syntax error on line 545 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_wsgi.so into server: /etc/httpd/modules/mod_wsgi.so: undefined symbol: PyObject_SetItem

python was just upgraded to py3.8

Additional info:
* package version(s)
mod_wsgi 4.5.24-3

Steps to reproduce:
Just update and apache will fail to start

Description:


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 13 November 2019, 03:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  mod_wsgi 4.5.24-4
Comment by Eli Schwartz (eschwartz) - Wednesday, 13 November 2019, 02:53 GMT
Broken by  FS#27432 , which was "solved" by overwriting the LDLIBS from the package. Seven years later, upstream long since supported python3, and this python-config --libs hack broke due to https://bugs.python.org/issue36721

Removing the hack makes this work again. I'm in the process of rebuilding this...
Comment by Eli Schwartz (eschwartz) - Wednesday, 13 November 2019, 03:03 GMT
Please confirm that mod_wsgi 4.5.24-4 works.

Loading...