Bug 1808321
Summary: | python-cvxopt fails to build with Python 3.9: src/C/lapack.c:6910:28: error: expected ‘;’ before ‘a’ | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-cvxopt | Assignee: | Jerry James <loganjerry> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cstratak, loganjerry, mhroncok, mplch, pviktori |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-01 16:42:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1785415 |
Description
Miro Hrončok
2020-02-28 09:21:34 UTC
In C, `if` expressions should be parenthesized, so that line should read: if (PyLong_Check(result)) a = (int) PyLong_AsLong(result); I guess PyLong_Check happened to expand to a parenthesized expression before, but that's not API to rely on. Thanks, Petr. Upstream pull request: https://github.com/cvxopt/cvxopt/pull/164 I have added that patch and built for Rawhide. |