Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913936 - sys-cluster/rdma-core-47.0 fails to compile with cython 3 => "Exception values are incompatible" errors for pd.pyx
Summary: sys-cluster/rdma-core-47.0 fails to compile with cython 3 => "Exception valu...
Status: RESOLVED DUPLICATE of bug 898734
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-09-10 12:53 UTC by Adrien Dessemond
Modified: 2023-09-10 13:41 UTC (History)
0 users

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


Attachments
build.log (compressed) (build.log.xz,23.55 KB, application/x-xz)
2023-09-10 12:53 UTC, Adrien Dessemond
Details
emerge --info (emerge-info,7.87 KB, text/plain)
2023-09-10 12:55 UTC, Adrien Dessemond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Dessemond 2023-09-10 12:53:25 UTC
Created attachment 870255 [details]
build.log (compressed)

Error compiling Cython file:
------------------------------------------------------------
...
        """
        super().__init__()
        self.pd = pd
        self.init_attr.pd = <v.ibv_pd*>pd.pd
        if pd_context:
            self.init_attr.alloc = pd_alloc
                                   ^
------------------------------------------------------------

/var/tmp/portage/sys-cluster/rdma-core-47.0/work/rdma-core-47.0/pyverbs/pd.pyx:230:35: Cannot assign type 'void *(ibv_pd *, void *, size_t, size_t, uint64_t) except? NULL' to 'void *(*)(ibv_pd *, void *, size_t, size_t, uint64_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void *(ibv_pd *, void *, size_t, size_t, uint64_t) except? NULL'.


Error compiling Cython file:
------------------------------------------------------------
...
        super().__init__()
        self.pd = pd
        self.init_attr.pd = <v.ibv_pd*>pd.pd
        if pd_context:
            self.init_attr.alloc = pd_alloc
            self.init_attr.free = pd_free
                                  ^
------------------------------------------------------------

/var/tmp/portage/sys-cluster/rdma-core-47.0/work/rdma-core-47.0/pyverbs/pd.pyx:231:34: Cannot assign type 'void (ibv_pd *, void *, void *, uint64_t) except *' to 'void (*)(ibv_pd *, void *, void *, uint64_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (ibv_pd *, void *, void *, uint64_t) except *'

Full build log and info attached.
Comment 1 Adrien Dessemond 2023-09-10 12:55:44 UTC
Created attachment 870256 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-10 13:41:16 UTC

*** This bug has been marked as a duplicate of bug 898734 ***