https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/mpi4py-3.0.3 fails tests. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 661347 [details] build.log build log and emerge --info
Possible context of error(s): ld.lld: error: unable to find library -llmpe
This is related to network-sandbox and also likely something in openmpi commspawn. I reproduced this, but there is something I don't understand. Running `ebuild mpi4py-3.1.3.ebuild test` directly as root, test_spawn fails exactly the same way. Then if I switch to portage user by `bash --shell=/bin/bash portage` and running the same, this test succeeded. Upstream also had this test failure when they were implementing their ci test. Openmpi commspawn is not very stable. Given version 3.0.3 is obsolete and have lots' of tests segfault, I have skipped this test only in 3.1.3 as a workaround. Please test 3.1.3 instead if you would like.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8b09e7454bd679d7ac0ba3f18c693b41dd8e25f commit b8b09e7454bd679d7ac0ba3f18c693b41dd8e25f Author: Alex Fan <alex.fan.q@gmail.com> AuthorDate: 2024-09-01 09:02:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-27 22:52:18 +0000 dev-python/mpi4py: add 4.0.0 use meson-python as builder backend. don't force mpi[romio] and remove all excludes since those tests are skipped by upstream already Closes: https://bugs.gentoo.org/743448 Signed-off-by: Alex Fan <alex.fan.q@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> dev-python/mpi4py/Manifest | 1 + dev-python/mpi4py/files/mpi4py-4-use-mesonpy.patch | 11 +++ dev-python/mpi4py/metadata.xml | 3 +- dev-python/mpi4py/mpi4py-4.0.0.ebuild | 79 ++++++++++++++++++++++ 4 files changed, 93 insertions(+), 1 deletion(-)