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

Bug 708994

Summary: app-shells/mpibash-1.3 : init.c:80:3: error: static assertion failed: MPI_Errhandler_set was removed in MPI-3.0. Use MPI_Comm_set_errhandler instead.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Christoph Junghans (RETIRED) <junghans>
Status: RESOLVED FIXED    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/lanl/MPI-Bash/issues/17
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-shells:mpibash-1.3:20200210-075645.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-10 17:13:46 UTC
                 from init.c:7:
init.c: In function ‘mpi_init_builtin’:
init.c:80:3: error: static assertion failed: "MPI_Errhandler_set was removed in MPI-3.0.  Use MPI_Comm_set_errhandler instead."
   80 |   MPI_Errhandler_set (MPI_COMM_WORLD, MPI_ERRORS_RETURN);
      |   ^~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:528: mpibash_la-init.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200208-141802

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 10 Feb 2020 06:27:15 +0000

emerge -qpvO app-shells/mpibash
[ebuild  N    ] app-shells/mpibash-1.3  USE="examples"
Comment 1 Toralf Förster gentoo-dev 2020-02-10 17:13:48 UTC
Created attachment 613200 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-10 17:13:51 UTC
Created attachment 613202 [details]
app-shells:mpibash-1.3:20200210-075645.log
Comment 3 Toralf Förster gentoo-dev 2020-02-10 17:13:54 UTC
Created attachment 613204 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-10 17:13:57 UTC
Created attachment 613206 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-10 17:14:00 UTC
Created attachment 613208 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-10 17:14:03 UTC
Created attachment 613210 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-10 17:14:06 UTC
Created attachment 613212 [details]
temp.tbz2
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2020-02-19 20:47:33 UTC
Here is the fix: https://github.com/lanl/MPI-Bash/commit/0b396b62ac314ae509ac3ca5fa9d5119e862be51
Comment 9 Larry the Git Cow gentoo-dev 2020-02-19 21:10:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6

commit 2273e31dabc5ca216d1ca8e7c68406b0ad3e5ab6
Author:     Christoph Junghans <junghans@gentoo.org>
AuthorDate: 2020-02-19 21:09:04 +0000
Commit:     Christoph Junghans <junghans@gentoo.org>
CommitDate: 2020-02-19 21:09:59 +0000

    app-shells/mpibash: fix build with mpi-3
    
    Closes: https://bugs.gentoo.org/656422
    Closes: https://bugs.gentoo.org/708994
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Christoph Junghans <junghans@gentoo.org>

 app-shells/mpibash/Manifest                        |  1 -
 app-shells/mpibash/files/mpi-3.patch               | 24 +++++++++++++
 app-shells/mpibash/mpibash-1.2.ebuild              | 42 ----------------------
 .../{mpibash-1.3.ebuild => mpibash-1.3-r1.ebuild}  |  8 +++--
 app-shells/mpibash/mpibash-9999.ebuild             |  6 ++--
 5 files changed, 32 insertions(+), 49 deletions(-)