Bug 257513

Summary: www/uwsgi: Fails to link with Python 3.10: ld: error: undefined symbol: PyParser_SimpleParseString | ld: error: undefined symbol: PyNode_Compile
Product: Ports & Packages Reporter: John W. O'Brien <john>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Some People CC: eugene, python
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (eugene)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
www/uwsgi@py310 poudriere build log as of git c6c6359b96 none

Description John W. O'Brien 2021-07-30 23:28:58 UTC
Created attachment 226810 [details]
www/uwsgi@py310 poudriere build log as of git c6c6359b96

www/uwsgi@py310 fails (on 12.2R amd64) in the poudriere build phase upon "*** uWSGI linking ***".
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-31 00:19:33 UTC
Does upstream support and test against Python 3.10 yet?
Comment 2 John W. O'Brien 2021-07-31 00:36:19 UTC
(In reply to Kubilay Kocak from comment #1)
Evidently not as of this moment [0].

[0] https://github.com/unbit/uwsgi/blob/a04820f092aafc8a8807769fe179757ee8337b5b/setup.py#L136-L150
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-31 00:40:40 UTC
(In reply to John W. O'Brien from comment #2)

If there's no a) upstream tests against 3.10, and its not declared as supported, and there's no existing issues and patches (merged or not) to address the issue, we should cap version-spec to only the declared supported versions (this is an 'across the python ports board problem')