Summary: | sci-libs/cantera-2.6.0-r2 fails to compile (PYTHON-3.12-SYSTEM): func1.pyx:89:38: Cannot assign type double (double, void , void ) except? -1 to callback_wrapper | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Sergey Torokhov <torokhov-s-a> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/32595 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 897934 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 868855 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Cython.Compiler.Errors.CompileError: build/python/cantera/_cantera.pyx build/python/cantera/func1.pyx:89:38: Cannot assign type 'double (double, void *, void **) except? -1' to 'callback_wrapper'. Exception values are incompatible. Suggest adding 'noexcept' to type 'double (double, void *, void **) except? -1'. Cantera 3.0.0 was released resently. I didn't check beta with python 3.12 but maybe it's fixed there. If issue is present for 3.0.0 I will report to upstream. This is Cython-3.0.x related issue (not Python 3.12). New Cantera 3.0.0 recent release (it takes place on last week) isn't affected this issue. I will bump it's version after some additional testing. But Cantera-2.6.0 seems should be restricted with "<dev-python/cython-3.0.0" (i.e. <=dev-python/cython-0.29.36). The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e9a1de3acf6e766bc86f39084c7b38d13f5d95 commit c9e9a1de3acf6e766bc86f39084c7b38d13f5d95 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-28 22:56:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-28 22:56:22 +0000 sci-libs/cantera: depend on <cython-3 Fixed in new upstream release which will be packaged soon. Bug: https://bugs.gentoo.org/913141 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/cantera/cantera-2.6.0-r2.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) The sci-libs/cantera-3.0.0 version bump pull request is ready. New version resolves this issue. (In reply to Sergey Torokhov from comment #6) > The sci-libs/cantera-3.0.0 version bump pull request is ready. New version > resolves this issue. Sorry Sergey, I have been quite busy IRL. I will get to this today. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406802a99084b8c9bf57e9b5f7bad816e86ad821 commit 406802a99084b8c9bf57e9b5f7bad816e86ad821 Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2023-09-03 20:43:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-27 02:30:38 +0000 sci-libs/cantera: 3.0.0 version bump New release is compatible with cython-3. The USE="cti" is dropped due to supplied converters have restricted functionality or doesn't work (yaml2ck) without full python support. Python examples aren't provided within tarball since this release. USE="lapack" support is still restricted using >=sundials-6.5.0. Closes: https://bugs.gentoo.org/913141 Bug: https://bugs.gentoo.org/888667 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Sam James <sam@gentoo.org> sci-libs/cantera/Manifest | 1 + sci-libs/cantera/cantera-3.0.0.ebuild | 139 +++++++++++++++++++++++++ sci-libs/cantera/files/cantera-3.0.0_env.patch | 25 +++++ sci-libs/cantera/metadata.xml | 3 +- 4 files changed, 167 insertions(+), 1 deletion(-) |