This causes me grief in the sage-on-gentoo overlay with sci-mathematics/giac. giac has an automagic dependency on nauty. The presence of libnauty.la causes libtool to insert -Wl,-rpath //usr/lib64 when linking libgiac. This in turns interferes with proper name resolution for blas/lapack prioritising versions in /usr/lib64 over the correct ones in /usr/lib64/$blaslapack_implementation. Reproducible: Always
I am preparing a PR.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cbb51da5625ca7f522fefcfc60485bc974f9d29 commit 9cbb51da5625ca7f522fefcfc60485bc974f9d29 Author: François Bissey <frp.bissey@gmail.com> AuthorDate: 2020-10-22 06:43:11 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2021-06-16 17:50:55 +0000 sci-mathematics/nauty: fix bug #750482 + port to EAPI 7 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Bug: https://bugs.gentoo.org/750482 Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17998 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-mathematics/nauty/nauty-2.6.7-r1.ebuild | 56 +++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+)