Bug#1140611: rdma-core: FTBFS on armhf: /tmp/cc1Pg6ZL.s:11141: Error: symbol `__fcntl_time64' is already defined

Sebastian Ramacher <[email protected]> Tue, 23 Jun 2026 15:20:56 +0200
Newsgroups gmane.linux.debian.ports.arm
Message-ID <ajqIOHHw5-vklfXp__4394.48479316837$1782221007$gmane$org@ramacher.at>
Source: rdma-core
Version: 63.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the pa=
st)
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: armhf

Dear maintainer,

rdma-core FTBFS on armhf:

[232/467] /usr/bin/cc  -I/build/reproducible-path/rdma-core-63.0/build-deb/=
include -I/usr/include/libnl3 -I/usr/include/drm -g -O2 -Werror=3Dimplicit-=
function-declaration -ffile-prefix-map=3D/build/reproducible-path/rdma-core=
-63.0=3D. -fstack-protector-strong -fstack-clash-protection -Wformat -Werro=
r=3Dformat-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_TIME_BI=
TS=3D64 -Wdate-time -D_FORTIFY_SOURCE=3D2 -Wall -Wextra -Wno-sign-compare -=
Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-st=
rings -Wformat=3D2 -Wcast-function-type -Wformat-nonliteral -Wdate-time -Wn=
ested-externs -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredunda=
nt-decls -O3 -DNDEBUG -std=3Dgnu11 -MD -MT infiniband-diags/CMakeFiles/ibpi=
ng.dir/ibping.c.o -MF infiniband-diags/CMakeFiles/ibping.dir/ibping.c.o.d -=
o infiniband-diags/CMakeFiles/ibping.dir/ibping.c.o -c /build/reproducible-=
path/rdma-core-63.0/infiniband-diags/ibping.c
[233/467] /usr/bin/cc -DRDMA_PRELOAD_FCNTL64_IN_HEADER=3D1 -DRDMA_PRELOAD_S=
ENDFILE64_IN_HEADER=3D1 -DRDMA_PRELOAD_WRAP_LFS64=3D1 -Drspreload_EXPORTS -=
I/build/reproducible-path/rdma-core-63.0/build-deb/include -I/usr/include/l=
ibnl3 -I/usr/include/drm -g -O2 -Werror=3Dimplicit-function-declaration -ff=
ile-prefix-map=3D/build/reproducible-path/rdma-core-63.0=3D. -fstack-protec=
tor-strong -fstack-clash-protection -Wformat -Werror=3Dformat-security -D_L=
ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_TIME_BITS=3D64 -Wdate-time -D_F=
ORTIFY_SOURCE=3D2 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wm=
issing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=3D2 -Wcas=
t-function-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -=
Wstrict-prototypes -Wold-style-definition -Wredundant-decls -O3 -DNDEBUG -s=
td=3Dgnu11 -fPIC -MD -MT librdmacm/CMakeFiles/rspreload.dir/preload.c.o -MF=
 librdmacm/CMakeFiles/rspreload.dir/preload.c.o.d -o librdmacm/CMakeFiles/r=
spreload.dir/preload.c.o -c /build/reproducible-path/rdma-core-63.0/librdma=
cm/preload.c
FAILED: [code=3D1] librdmacm/CMakeFiles/rspreload.dir/preload.c.o=20
/usr/bin/cc -DRDMA_PRELOAD_FCNTL64_IN_HEADER=3D1 -DRDMA_PRELOAD_SENDFILE64_=
IN_HEADER=3D1 -DRDMA_PRELOAD_WRAP_LFS64=3D1 -Drspreload_EXPORTS -I/build/re=
producible-path/rdma-core-63.0/build-deb/include -I/usr/include/libnl3 -I/u=
sr/include/drm -g -O2 -Werror=3Dimplicit-function-declaration -ffile-prefix=
-map=3D/build/reproducible-path/rdma-core-63.0=3D. -fstack-protector-strong=
 -fstack-clash-protection -Wformat -Werror=3Dformat-security -D_LARGEFILE_S=
OURCE -D_FILE_OFFSET_BITS=3D64 -D_TIME_BITS=3D64 -Wdate-time -D_FORTIFY_SOU=
RCE=3D2 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-pro=
totypes -Wmissing-declarations -Wwrite-strings -Wformat=3D2 -Wcast-function=
-type -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -Wstrict-pr=
ototypes -Wold-style-definition -Wredundant-decls -O3 -DNDEBUG -std=3Dgnu11=
 -fPIC -MD -MT librdmacm/CMakeFiles/rspreload.dir/preload.c.o -MF librdmacm=
/CMakeFiles/rspreload.dir/preload.c.o.d -o librdmacm/CMakeFiles/rspreload.d=
ir/preload.c.o -c /build/reproducible-path/rdma-core-63.0/librdmacm/preload=
=2Ec
/tmp/cc1Pg6ZL.s: Assembler messages:
/tmp/cc1Pg6ZL.s:11141: Error: symbol `__fcntl_time64' is already defined
/tmp/cc1Pg6ZL.s:12364: Error: symbol `sendfile64' is already defined

See
https://buildd.debian.org/status/fetch.php?pkg=3Drdma-core&arch=3Darmhf&ver=
=3D63.0-1&stamp=3D1778084331&raw=3D0
for details.

Cheers
--=20
Sebastian Ramacher