Bug 257513 - www/uwsgi: Fails to link with Python 3.10: ld: error: undefined symbol: PyParser_SimpleParseString | ld: error: undefined symbol: PyNode_Compile
Summary: www/uwsgi: Fails to link with Python 3.10: ld: error: undefined symbol: PyPar...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-07-30 23:28 UTC by John W. O'Brien
Modified: 2023-01-02 22:07 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (eugene)


Attachments
www/uwsgi@py310 poudriere build log as of git c6c6359b96 (946.42 KB, text/plain)
2021-07-30 23:28 UTC, John W. O'Brien
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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')
Comment 4 John W. O'Brien 2023-01-02 22:07:45 UTC
The www/uwsgi port appears to have gained unofficial support for Python 3.10 as of

https://cgit.freebsd.org/ports/commit/?id=587d9f21a81754578a3bf7140ed585fc29518717

commit 587d9f21a81754578a3bf7140ed585fc29518717
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
Date:   Wed Nov 24 20:43:59 2021 +0300

    www/uwsgi: update to 2.0.20

    PR:             260028
    Approved by:    maintainer timeout (eugene@zhegan.in, 2 weeks)

Upstream shipped with 2.0.21 with official support up to Python 3.11 on 2022-10-24

https://github.com/unbit/uwsgi/commit/c6025c5ca7e3175bcfeff37f840c8f7578295e04
https://github.com/unbit/uwsgi/releases/tag/2.0.21

2.0.21 landed in the ports tree via

https://cgit.freebsd.org/ports/commit/?id=ef6dbd4fb4c2cb640223dacf4f39b88b33dcca34

commit ef6dbd4fb4c2cb640223dacf4f39b88b33dcca34
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
Date:   Wed Nov 2 20:23:32 2022 +0300

    www/uwsgi: update 2.0.20 → 2.0.21, take maintainership

    - Update to 2.0.11 which brings in Python 3.11 support
    - Take maintainership after 3 (or more) consequential maintainer timeouts
    - Switch to fetching from GitHub
    - Drop deprecated USE_PYTHON=optsuffix