Created attachment 748098 [details] emerge --info I installed dealii-9.3.1 successful, the new revision fail in the configure phase. For details refer to the forum: https://forums.gentoo.org/viewtopic-p-8673453.html#8673453
Created attachment 748101 [details] build.log
Created attachment 748104 [details] CMakeError.log
Created attachment 748107 [details] CMakeOutput.log
Created attachment 748110 [details] environment variables
Can you rebuild libmpi.so for me, just in case please? >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: >/usr/lib64/libmpi.so: undefined reference to `MPIR_being_debugged' Also, you've got GCC 11 selected, but the build here used GCC 10. Please note that downgrading GCC is dangerous and requires you to rebuild everything linked against libstdc++: >sys-devel/gcc: 10.3.0-r2::gentoo, 11.2.0::gentoo See https://wiki.gentoo.org/wiki/Upgrading_GCC#ABI_changes_before_gcc-5.1.
Also, please try *without* distcc.
This is possibly related to https://github.com/dealii/dealii/issues/11478.
This issue is likely not due to the mentioned upstream bug - we do configure mpi support for deal.II "correctly". The issue is really the following: -- Include /var/tmp/portage/sci-libs/dealii-9.3.1-r1/work/dealii-9.3.1/cmake/configure/configure_1_mpi.cmake -- Could NOT find MPI_C (missing: MPI_C_WORKS) -- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS) -- Found MPI_Fortran: /usr/lib64/libmpi_usempif08.so (found version "3.1") It is a bit strange that CMake cannot find at least C support (aka MPI_C_WORKS). Anyway, we need both: C and C++ support. What MPI library are you using? openmpi, or mpich? Would you mind recompiling your MPI library first and ensuring that USE="cxx" is enabled for the MPI library? Looking at the ebuild quickly: mpi? ( virtual/mpi ) This should at least read virtual/mpi[cxx]. Reopening to track the dependency issue.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb880a90ca397087a353609d18c861e780b29218 commit eb880a90ca397087a353609d18c861e780b29218 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2021-11-03 19:12:23 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2021-11-03 19:13:35 +0000 sci-libs/dealii: update dependencies Bug: https://bugs.gentoo.org/821367 Package-Manager: Portage-3.0.24, Repoman-3.0.3 Signed-off-by: Matthias Maier <tamiko@gentoo.org> sci-libs/dealii/dealii-9.3.1-r1.ebuild | 4 ++-- sci-libs/dealii/dealii-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
I recompiled openmpi-4.0.5-r3 with USE="cxx" and GCC 10, next rebuild first level dependecies that caused problems like petsc; now dealii works fine. Maybe is "cxx" missing flag,thank you guys.
Thanks for the testing. It looks like that the fixed dependency resolved the underlying issue - so let's close the bug report for now.