Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2226395 - rdma-core: FTBFS in Fedora rawhide/f39: rdma-core-46.0/redhat-linux-build/pyverbs/cq.c:7566:18: error: redefinition of '__Pyx_Enum_ibv_wc_status_to_py'
Summary: rdma-core: FTBFS in Fedora rawhide/f39: rdma-core-46.0/redhat-linux-build/pyv...
Alias: None
Product: Fedora
Classification: Fedora
Component: rdma-core
Version: 39
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Honggang Li
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2023-07-25 20:03 UTC by Fedora Release Engineering
Modified: 2024-04-17 11:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2024-04-17 11:10:19 UTC
Type: ---

Attachments (Terms of Use)
build.log (deleted)
2023-07-25 20:03 UTC, Fedora Release Engineering
no flags Details
root.log (deleted)
2023-07-25 20:03 UTC, Fedora Release Engineering
no flags Details
state.log (deleted)
2023-07-25 20:03 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2023-07-25 20:03:09 UTC
rdma-core failed to build from source in Fedora rawhide/f39

For details on the mass rebuild see:
Please fix rdma-core at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
rdma-core will be orphaned. Before branching of Fedora 40,
rdma-core will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:

Comment 1 Fedora Release Engineering 2023-07-25 20:03:16 UTC
Created attachment 1979564 [details]

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2023-07-25 20:03:20 UTC
Created attachment 1979565 [details]

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2023-07-25 20:03:23 UTC
Created attachment 1979566 [details]

Comment 4 Petr Pisar 2023-07-27 06:36:19 UTC
From build.log:

FAILED: pyverbs/CMakeFiles/cq.cpython-312-x86_64-linux-gnu.dir/cq.c.o 
/usr/bin/gcc -Dcq_cpython_312_x86_64_linux_gnu_EXPORTS -I/builddir/build/BUILD/rdma-core-46.0/redhat-linux-build/include -I/usr/include/libnl3 -I/usr/include/drm -I/usr/include/python3.12 -O2 -flto=auto -ffat-l
to-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-pr
otector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64   -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wa
ll -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -Wstrict-
prototypes -Wold-style-definition -Wredundant-decls -DNDEBUG -std=gnu11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_
FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64   -mtune=generic -fasynchronous-unwind-tabl
es -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings
 -Wformat=2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -fPIC -fno-strict-aliasing -Wno-unused-function -Wno-redun
dant-decls -Wno-shadow -Wno-cast-function-type -Wno-implicit-fallthrough -Wno-unknown-warning -Wno-unknown-warning-option -Wno-deprecated-declarations  -fno-var-tracking-assignments -MD -MT pyverbs/CMakeFiles/c
q.cpython-312-x86_64-linux-gnu.dir/cq.c.o -MF pyverbs/CMakeFiles/cq.cpython-312-x86_64-linux-gnu.dir/cq.c.o.d -o pyverbs/CMakeFiles/cq.cpython-312-x86_64-linux-gnu.dir/cq.c.o -c /builddir/build/BUILD/rdma-core-46.0/redhat-linux-build/pyverbs/cq.c
/builddir/build/BUILD/rdma-core-46.0/redhat-linux-build/pyverbs/cq.c:7566:18: error: redefinition of '__Pyx_Enum_ibv_wc_status_to_py'
 7566 | static PyObject *__Pyx_Enum_ibv_wc_status_to_py(enum ibv_wc_status __pyx_v_c_val) {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/rdma-core-46.0/redhat-linux-build/pyverbs/cq.c:5653:18: note: previous definition of '__Pyx_Enum_ibv_wc_status_to_py' with type 'PyObject *(enum ibv_wc_status)' {aka 'struct _object *(enum ibv_wc_status)'}
 5653 | static PyObject *__Pyx_Enum_ibv_wc_status_to_py(enum ibv_wc_status __pyx_v_c_val) {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A difference between passing and failing build roots is at <>. An replacement of python3-Cython-0.29.35-2.fc39 with python3-cython-3.0.0-1.fc39 looks suspicious.

Comment 5 Fedora Release Engineering 2023-08-16 08:04:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 6 Fedora Admin user for bugzilla script actions 2024-02-23 12:09:50 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Note You need to log in before you can comment on or make changes to this bug.