Build of symengine currently fails missing /usr/lib64/libpthread.so this is probably just misconfigured as it probably just should use -pthread of gcc Reproducible: Always Steps to Reproduce: 1. emerge dev-python/symengine-0.9.2-r1 Actual Results: Build fails Expected Results: emerge of symengine finish successful
Created attachment 782918 [details] emerge --info
Created attachment 782921 [details] build log
Please run: grep -rsin "pthread" /usr/lib64/cmake.
Here is the output of: grep -rsin "pthread" /usr/lib64/cmake /usr/lib64/cmake/Gpgmepp/GpgmeppConfig.cmake:66: INTERFACE_LINK_LIBRARIES "pthread;/usr/lib64/libgpgme.so;-L/usr/lib64 -lassuan" /usr/lib64/cmake/openjpeg-2.4/OpenJPEGTargets-gentoo.cmake:11: IMPORTED_LINK_INTERFACE_LIBRARIES_GENTOO "m;-lpthread" /usr/lib64/cmake/OpenEXR/OpenEXRConfig.cmake:41: set(THREADS_PREFER_PTHREAD_FLAG ON) /usr/lib64/cmake/symengine/SymEngineConfig.cmake:79:set(SYMENGINE_PTHREAD_LIBRARIES /usr/lib64/libpthread.so) /usr/lib64/cmake/symengine/SymEngineConfig.cmake:80:set(SYMENGINE_PTHREAD_INCLUDE_DIRS /usr/include) /usr/lib64/cmake/symengine/SymEngineConfig.cmake:81:set(HAVE_SYMENGINE_PTHREAD True) /usr/lib64/cmake/symengine/SymEngineConfig.cmake:107:foreach(PKG FLINT;MPC;CEREAL;PTHREAD;MPFR;GMP) /usr/lib64/cmake/symengine/SymEngineTargets.cmake:67: INTERFACE_LINK_LIBRARIES "flint;mpc;pthread;mpfr;gmp" /usr/lib64/cmake/SDL2/sdl2-config.cmake:24: string(REPLACE "-lSDL2 " "" SDL2_EXTRA_LINK_FLAGS_STATIC " -lm -lasound -lm -lpthread -lX11 -lXext -lXcursor -lXi -lXfixes -lXrandr -lXxf86vm -lpthread -lrt ") /usr/lib64/cmake/log4cplus/log4cplusTargets.cmake:67: INTERFACE_LINK_LIBRARIES "-lpthread;/usr/lib64/librt.so;/usr/lib64/libnsl.so"
Can you try rebuilding dev-libs/symengine please? (emerge -v1 ...)
running emerge -v1 sci-libs/symengine prior running emerge -v1 dev-python/symengine allows to emerge the package. Maybe this should be triggered by dev-python/symengine, in order not to break system updates ?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95cae20e05d591fbb744f6e4921e46f996811b40 commit 95cae20e05d591fbb744f6e4921e46f996811b40 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-08 05:05:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-08 05:06:05 +0000 sci-libs/symengine: fix pthread detection Closes: https://bugs.gentoo.org/849803 Signed-off-by: Sam James <sam@gentoo.org> .../files/symengine-0.9.0-pthread-cmake.patch | 63 ++++++++++++++ sci-libs/symengine/symengine-0.9.0-r1.ebuild | 98 ++++++++++++++++++++++ sci-libs/symengine/symengine-0.9.0.ebuild | 1 + 3 files changed, 162 insertions(+)