Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75192 - [python-pivy] python 3.10 compat (PY_SSIZE_T_CLEAN macro must be defined for '#' formats)

Attached to Project: Community Packages
Opened by Adrian Insaurralde (adrianinsaval) - Wednesday, 29 June 2022, 20:30 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 23 August 2022, 19:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

running one of the the built-in test in freecad-git (FreeCAD --run-test MeshTestsApp.PivyTestCases) this error is displayed:

SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

Please either update pivy to 0.6.7 which is supposed to support python 3.10 https://github.com/coin3d/pivy/releases/tag/0.6.7 or apply this PR as a patch: https://github.com/coin3d/pivy/pull/90
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 23 August 2022, 19:29 GMT
Reason for closing:  Upstream
Additional comments about closing:  upstream issue in pivy
Comment by Adrian Insaurralde (adrianinsaval) - Tuesday, 05 July 2022, 14:39 GMT
if pivy is updated to 0.6.7 apply this patch in FreeCAD please: https://github.com/FreeCAD/FreeCAD/commit/b85e9b1fe4
Comment by Alexander F. Rødseth (xyproto) - Friday, 05 August 2022, 22:58 GMT
python-pivy is at 0.6.7 and FreeCAD is at 0.20, so I assume this patch is no longer needed. Please re-open this bug report if there should be problems with this. Thanks for reporting.
Comment by Adrian Insaurralde (adrianinsaval) - Sunday, 07 August 2022, 06:20 GMT
  • Field changed: Percent Complete (100% → 0%)
the patch is also required for FreeCAD 0.20
Comment by Adrian Insaurralde (adrianinsaval) - Sunday, 07 August 2022, 15:31 GMT
FYI the patch will be included in the soon to be released freecad 0.20.1 but now there is a segfault even with freecad-git so the patch is not enough, this is an upstream issue on pivy though so perhaps it's best to just wait for their fix and close this bug. For more info see https://forum.freecadweb.org/viewtopic.php?p=615759 and the links provided there.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 23 August 2022, 07:40 GMT
Thanks for re-opening. Now that freecad is at 0.20.1, is this still an issue?
Comment by Adrian Insaurralde (adrianinsaval) - Tuesday, 23 August 2022, 14:45 GMT
Kinda, but it is an upstream issue in pivy, nothing to do with the packaging, the patches I mentioned are already included in the current versions of FreeCAD and pivy.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 23 August 2022, 19:28 GMT
I see. Thanks!

Loading...