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

Package:
src:rdma-core
Source:
src:rdma-core
Submitter:
Sebastian Ramacher
Date:
2026-06-26 20:39:03 UTC
Severity:
normal
Tags:
#1140611#5
Date:
2026-06-23 13:20:56 UTC
From:
To:
Source: rdma-core
Version: 63.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-arm@lists.debian.org, sramacher@debian.org
User: debian-arm@lists.debian.org
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=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/rdma-core-63.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 -MD -MT infiniband-diags/CMakeFiles/ibping.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=1 -DRDMA_PRELOAD_SENDFILE64_IN_HEADER=1 -DRDMA_PRELOAD_WRAP_LFS64=1 -Drspreload_EXPORTS -I/build/reproducible-path/rdma-core-63.0/build-deb/include -I/usr/include/libnl3 -I/usr/include/drm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/rdma-core-63.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 -MD -MT librdmacm/CMakeFiles/rspreload.dir/preload.c.o -MF librdmacm/CMakeFiles/rspreload.dir/preload.c.o.d -o librdmacm/CMakeFiles/rspreload.dir/preload.c.o -c /build/reproducible-path/rdma-core-63.0/librdmacm/preload.c
FAILED: [code=1] librdmacm/CMakeFiles/rspreload.dir/preload.c.o
/usr/bin/cc -DRDMA_PRELOAD_FCNTL64_IN_HEADER=1 -DRDMA_PRELOAD_SENDFILE64_IN_HEADER=1 -DRDMA_PRELOAD_WRAP_LFS64=1 -Drspreload_EXPORTS -I/build/reproducible-path/rdma-core-63.0/build-deb/include -I/usr/include/libnl3 -I/usr/include/drm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/rdma-core-63.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 -MD -MT librdmacm/CMakeFiles/rspreload.dir/preload.c.o -MF librdmacm/CMakeFiles/rspreload.dir/preload.c.o.d -o librdmacm/CMakeFiles/rspreload.dir/preload.c.o -c /build/reproducible-path/rdma-core-63.0/librdmacm/preload.c
/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=rdma-core&arch=armhf&ver=63.0-1&stamp=1778084331&raw=0
for details.

Cheers

#1140611#10
Date:
2026-06-24 07:45:24 UTC
From:
To:
Hi Sebastian,

[...]
Sascha's patch and it works:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139198#30

#1140611#19
Date:
2026-06-24 20:06:59 UTC
From:
To:
Control: tags 1139198 + patch
Control: tags 1139198 + pending
Control: tags 1140611 + pending

Dear maintainer,

I've prepared an NMU for rdma-core (versioned as 63.0-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

Cheers

#1140611#24
Date:
2026-06-26 20:37:19 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rdma-core, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1140611@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated rdma-core package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 24 Jun 2026 22:02:48 +0200
Source: rdma-core
Architecture: source
Version: 63.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Drung <bdrung@ubuntu.com>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 1139198 1140611
Changes:
 rdma-core (63.0-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload
 .
   [ Sascha Steinbiss ]
   * Fix duplicate symbols for fcntl64/sendfile64 when building for ARM
     with _TIME_BITS=64 (Closes: #1139198, #1140611).
Checksums-Sha1:
 546a31799793bb277dd091f84a8f0a1ebb6e87e1 2761 rdma-core_63.0-1.1.dsc
 53b98eacabf503d47d6f4797adaecf7f62cbaec4 25516 rdma-core_63.0-1.1.debian.tar.xz
 e8750622af2b25bc5438001765ed2e2d59b9e3a9 7935 rdma-core_63.0-1.1_source.buildinfo
Checksums-Sha256:
 a95dbb42f0e4feb858e41e8187cd23594b15d88c48642b0e2b88f415d7ed5053 2761 rdma-core_63.0-1.1.dsc
 5672d2a3b6d011cdfd9c6f47b4dbbc1dd2fdee1d543f5b91b1d9ed7f7f03b807 25516 rdma-core_63.0-1.1.debian.tar.xz
 3c528e1921f0a486d79f8fbbdebea05ccfa60183016a5425b67390d2faae68f3 7935 rdma-core_63.0-1.1_source.buildinfo
Files:
 560b836a375a2a91eb447d9d529f515a 2761 net optional rdma-core_63.0-1.1.dsc
 76b3d474ef0f7822f1d9914ec90bfe90 25516 net optional rdma-core_63.0-1.1.debian.tar.xz
 a91a8671ad559ff44a92c2ef10520206 7935 net optional rdma-core_63.0-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

wr0EARYKAG8Fgmo8OOYJECGTazZgD82JRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z
LnNlcXVvaWEtcGdwLm9yZ+i/CbgIQMk/vBlkxUTD4TcexgM4xXqbKWiFkDBAWEBC
FiEEQmJ+hB2ZZ9qD4fqQIZNrNmAPzYkAALdAAP9hT6sDZOM1PFzoTchzwEQkiNCx
x0/CjiFe2d04lHBLxgEA7W2a5BCgfJEzIHNX/XiUHMUGvlum1jgx449EeQ8HUQM=
=KXX7
-----END PGP SIGNATURE-----