Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857606 - sci-mathematics/cadabra-2.3.8 fails to build with Python 3.10
Summary: sci-mathematics/cadabra-2.3.8 fails to build with Python 3.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: py310, python3.10-compat
  Show dependency tree
 
Reported: 2022-07-11 12:14 UTC by Helmut Jarausch
Modified: 2022-07-12 21:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-mathematics_cadabra-2.3.8_build.log (build.log,330.69 KB, text/x-log)
2022-07-12 20:55 UTC, Maciej Barć
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2022-07-11 12:14:57 UTC
I have cadabra-2.3.8 install for Python3.9 here.
But trying to build is with Pytheon3.10 I get

/var/tmp/portage/sci-mathematics/cadabra-2.3.8/work/cadabra2-2.3.8/core/cadabra2-cli.cc: In member function 'void Shell::handle_error(pybind11::error_already_set&)':
/var/tmp/portage/sci-mathematics/cadabra-2.3.8/work/cadabra2-2.3.8/core/cadabra2-cli.cc:505:35: error: '_Py_Identifier' {aka 'struct _Py_Identifier'} has no member named 'next'
  505 |                         PyId_code.next = 0;
      |                                   ^~~~
/var/tmp/portage/sci-mathematics/cadabra-2.3.8/work/cadabra2-2.3.8/core/cadabra2-cli.cc:507:35: error: '_Py_Identifier' {aka 'struct _Py_Identifier'} has no member named 'object'
  507 |                         PyId_code.object = 0;
      |                                   ^~~~~~

The build log is quite long.
Comment 1 Maciej Barć gentoo-dev 2022-07-12 20:54:12 UTC
I reproduced the failure.

Also, upstream bug: https://github.com/kpeeters/cadabra2/issues/236

I will see what we can do about this.
Comment 2 Maciej Barć gentoo-dev 2022-07-12 20:55:34 UTC
Created attachment 791255 [details]
sci-mathematics_cadabra-2.3.8_build.log
Comment 4 Maciej Barć gentoo-dev 2022-07-12 21:19:27 UTC
(In reply to Sam James from comment #3)
> https://github.com/kpeeters/cadabra2/commit/
> 7e8fc70b0df067c7f07204ccead74a6f3ef70469
> https://github.com/kpeeters/cadabra2/commit/
> 59430432297fceef20751f64dd2f08de27afeae4

Thx for finding the exact commit.
Comment 5 Larry the Git Cow gentoo-dev 2022-07-12 21:50:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1e661d62d55e3060649681417416b3596f98b7

commit 4a1e661d62d55e3060649681417416b3596f98b7
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-07-12 21:24:01 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-07-12 21:39:59 +0000

    sci-mathematics/cadabra: bump to 2.3.9.3
    
    Closes: https://bugs.gentoo.org/857606
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 sci-mathematics/cadabra/Manifest               |  1 +
 sci-mathematics/cadabra/cadabra-2.3.9.3.ebuild | 99 ++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)