Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 828894

Summary: sys-cluster/rdma-core-38.0 - /.../assert.h: error: redefinition of parameter _assert_fail
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/linux-rdma/rdma-core/pull/1134
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-cluster:rdma-core-38.0:20211211-070013.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-11 10:01:35 UTC
In file included from /var/tmp/portage/sys-cluster/rdma-core-38.0/work/rdma-core-38.0_build/include/infiniband/cmd_ioctl.h:39,
                 from /var/tmp/portage/sys-cluster/rdma-core-38.0/work/rdma-core-38.0_build/include/infiniband/driver.h:42,
                 from /var/tmp/portage/sys-cluster/rdma-core-38.0/work/rdma-core-38.0/libibverbs/ibverbs.h:39,
                 from /var/tmp/portage/sys-cluster/rdma-core-38.0/work/rdma-core-38.0/libibverbs/neigh.c:37:
/usr/include/assert.h:19:16: error: redefinition of parameter '__assert_fail'
   19 | _Noreturn void __assert_fail (const char *, const char *, int, const char *);
      |                ^~~~~~~~~~~~~
In file included from /var/tmp/portage/sys-cluster/rdma-core-38.0/work/rdma-core-38.0_build/include/infiniband/kern-abi.h:39,
                 from /var/tmp/portage/sys-cluster/rdma-core-38.0/work/rdma-core-38.0_build/include/infiniband/driver.h:41,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211210-222208

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  (none found)
php cli:

  HEAD of ::gentoo
commit 3c1bd7a78c20a7350fcc53603035d5bd261e4704
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 11 06:36:44 2021 +0000

    2021-12-11 06:36:42 UTC

emerge -qpvO sys-cluster/rdma-core
[ebuild  N    ] sys-cluster/rdma-core-38.0  USE="-neigh -python -static-libs (-systemd) (-valgrind)" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-12-11 10:01:36 UTC
Created attachment 758400 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-11 10:01:38 UTC
Created attachment 758401 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-11 10:01:39 UTC
Created attachment 758402 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-11 10:01:40 UTC
Created attachment 758403 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-11 10:01:41 UTC
Created attachment 758404 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-11 10:01:43 UTC
Created attachment 758405 [details]
sys-cluster:rdma-core-38.0:20211211-070013.log
Comment 7 Toralf Förster gentoo-dev 2021-12-11 10:01:44 UTC
Created attachment 758406 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-01-29 11:02:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c64f758812d6989adc97939863b41178e48348

commit 59c64f758812d6989adc97939863b41178e48348
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-01-29 11:02:18 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-01-29 11:02:18 +0000

    sys-cluster/rdma-core: fix build on musl
    
    Closes: https://bugs.gentoo.org/828894
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../rdma-core/files/rdma-core-38.0-musl.patch      | 30 ++++++++++++++++++++++
 sys-cluster/rdma-core/rdma-core-38.0.ebuild        |  2 ++
 2 files changed, 32 insertions(+)