Source: rdma-core
Version: 65.0-1
Severity: serious
Tags: ftbfs patch
Forwarded: https://github.com/linux-rdma/rdma-core/pull/1803

https://buildd.debian.org/status/fetch.php?pkg=rdma-core&arch=armhf&ver=65.0-1&stamp=1789466365&raw=0

...
FAILED: [code=1] 
pyverbs/CMakeFiles/comp_cntr.cpython-314-arm-linux-gnueabihf.dir/comp_cntr.c.o 
/usr/bin/arm-linux-gnueabihf-gcc 
-Dcomp_cntr_cpython_314_arm_linux_gnueabihf_EXPORTS 
-I/build/reproducible-path/rdma-core-65.0/build-deb/include 
-I/usr/include/libnl3 -I/usr/include/drm -I/usr/include/python3.14 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/rdma-core-65.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -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 -O3 -DNDEBUG -std=gnu11 -fPIC -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/rdma-core-65.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -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-redundant-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/comp_cntr.cpython-314-arm-linux-gnueabihf.dir/comp_cntr.c.o 
-MF 
pyverbs/CMakeFiles/comp_cntr.cpython-314-arm-linux-gnueabihf.dir/comp_cntr.c.o.d
 -o 
pyverbs/CMakeFiles/comp_cntr.cpython-314-arm-linux-gnueabihf.dir/comp_cntr.c.o 
-c /build/reproducible-path/rdma-core-65.0/build-deb/pyverbs/comp_cntr.c
/build/reproducible-path/rdma-core-65.0/build-deb/pyverbs/comp_cntr.c: In 
function ‘__pyx_pf_7pyverbs_9comp_cntr_8CompCntr_14read’:
/build/reproducible-path/rdma-core-65.0/build-deb/pyverbs/comp_cntr.c:5168:61: 
error: passing argument 2 of ‘ibv_read_comp_cntr’ from incompatible pointer 
type [-Wincompatible-pointer-types]
 5168 |   __pyx_v_rc = ibv_read_comp_cntr(__pyx_v_self->comp_cntr, 
(&__pyx_v_value));
      |                                                            
~^~~~~~~~~~~~~~~
      |                                                             |
      |                                                             long 
unsigned int *
In file included from 
/build/reproducible-path/rdma-core-65.0/build-deb/pyverbs/comp_cntr.c:1133:
/build/reproducible-path/rdma-core-65.0/build-deb/include/infiniband/verbs.h:3128:67:
 note: expected ‘uint64_t *’ {aka ‘long long unsigned int *’} but argument is 
of type ‘long unsigned int *’
 3128 | int ibv_read_comp_cntr(struct ibv_comp_cntr *comp_cntr, uint64_t 
*value);
      |                                                         ~~~~~~~~~~^~~~~
/build/reproducible-path/rdma-core-65.0/build-deb/pyverbs/comp_cntr.c: In 
function ‘__pyx_pf_7pyverbs_9comp_cntr_8CompCntr_16read_err’:
/build/reproducible-path/rdma-core-65.0/build-deb/pyverbs/comp_cntr.c:5345:65: 
error: passing argument 2 of ‘ibv_read_err_comp_cntr’ from incompatible pointer 
type [-Wincompatible-pointer-types]
 5345 |   __pyx_v_rc = ibv_read_err_comp_cntr(__pyx_v_self->comp_cntr, 
(&__pyx_v_value));
      |                                                                
~^~~~~~~~~~~~~~~
      |                                                                 |
      |                                                                 long 
unsigned int *
/build/reproducible-path/rdma-core-65.0/build-deb/include/infiniband/verbs.h:3135:71:
 note: expected ‘uint64_t *’ {aka ‘long long unsigned int *’} but argument is 
of type ‘long unsigned int *’
 3135 | int ibv_read_err_comp_cntr(struct ibv_comp_cntr *comp_cntr, uint64_t 
*value);
      |                                                             
~~~~~~~~~~^~~~~
...

Reply via email to