#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-07-03 15:57:07 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-----

#1140611#29
Date:
2026-07-03 15:55:07 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.
Benjamin Drung <bdrung@ubuntu.com> (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: Fri, 03 Jul 2026 17:26:47 +0200
Source: rdma-core
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 63.0-2
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Drung <bdrung@ubuntu.com>
Changed-By: Benjamin Drung <bdrung@ubuntu.com>
Closes: 1139198 1140611
Changes:
 rdma-core (63.0-2) unstable; urgency=medium
 .
   [ Andreas Tille ]
   * Migrate packaging repository to Debian team on Salsa
   * d/watch: version=5
 .
   [ Benjamin Drung ]
   * librdmacm/preload.c: fix duplicate LFS symbols definitions
     (Closes: #1139198, #1140611)
Checksums-Sha1:
 c8bec8b302075ff166fe56f4793bab6322cf71dc 3245 rdma-core_63.0-2.dsc
 23ba495b05244158a1ba6ffd38b3ecb7893c2fff 25796 rdma-core_63.0-2.debian.tar.xz
 35b6feecf57f5fb9d7a0cf3bbb6de7509020b7f1 10449 rdma-core_63.0-2_source.buildinfo
Checksums-Sha256:
 aed35f1b49d7422fc98ff15ce5756c015f05ff3647707cc3ff38702313eb2420 3245 rdma-core_63.0-2.dsc
 1ae9959e68ef44b4dec4ed3d008c7321a7b93fec1ea49a50a9bf1b66a9f647cd 25796 rdma-core_63.0-2.debian.tar.xz
 48d7c449d558df182d734c76ccd3b8275ba62f2c8dd152a0ac1a09c90d5a1112 10449 rdma-core_63.0-2_source.buildinfo
Files:
 1385e3dadb8740b2e6d211874962602e 3245 net optional rdma-core_63.0-2.dsc
 d75490c199118896fdc356756f9deea0 25796 net optional rdma-core_63.0-2.debian.tar.xz
 1d01717bec6bb2c2ee2fdfa55ba2c272 10449 net optional rdma-core_63.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpi0s+9ULm1vzYNVLFZ61xO/Id0wFAmpH1dcACgkQFZ61xO/I
d0xx1w/7B1I3wa9ha7WoCNd20BI455rSzgRtIFnCZwyWDq4kVKNg+9kAIq4b9v54
tQzKKzaNK5ghpHixm9/gL3u9Y5S+Ftlpl5oLf0u+XytX1aM60mxOO+F2fbGJlx7g
aC1BnCA3Urt4nAaUYDvjyt3Fs+T2uVGK73ol+tkQQpBlV520mspS3qxLcGtB0gvl
1HKA4ahNrHl84+5JTyoUwemMySUXfY1YG78aGjA8zJUYurePV4UNnfP0O/2qG4nD
ptV9OiqqzwOYCwcq0EOn82vBw2lBBtJ0HfrpRC1m/9aEQKUZJIeEudr/5M7cBI58
Ax4uIb1dJjjhcP0/70gF+6jzVVlpqs3IUYCOCgkB79SRzKvCrh+gsrF4MthPZakb
WtRTrRWpsFFZz+AXUgNaKdRYeIh+SMGOzgtyqr6FMQ09e8UfhsdZOMcvqiOzqpio
pX5s8whJQXewW+sFaK/pvySzvLlpCoWmdHx5SeSyQX7jRoHNH4+gWFNC2C0U3DHm
AwdhiXQgHNVhgwflK2MBuZfLHDnv7cFSuhE2PSQ4MgYrIYatEQJSt6e4+l36uwFV
Prj5AzNaHOzWFKkV46EALasSiVj0lNv0WWmgSoO6S0azRlObwFzwPYXEgNebRsQ8
0tp44ReGKVRo7FEaGT8mC10z0GKbjqzj4MQN8MJ6Q8f1h5tt1X4=
=BX6s
-----END PGP SIGNATURE-----