TL;DR: Line 120 of tbb-2017.20170226.ebuild says: for l in $(find . -name lib\*.so.\*); do and it should probably be: for l in $(find . -name lib\*${libname}.\*); do Observed behavior: emerge -1 tbb completes successfully, but no library files are installed in ${EPREFIX}/usr/lib Correct behavior: libtbb.dylib, libtbbmalloc.dylib, and libtbbmalloc_proxy.dylib are installed into ${EPREFIX}/usr/lib Testing done: emerging a dependent package sci-biology/flexbar from the science overlay. With the original version of tbb ebuild, the compilation of flexbar would fail with at the link phase, complaining that -ltbb could not be found; with the corrected as above version of tbb ebuild, the compilation of flexbar completes successfully. Note: the "corrected" version also installs symlinks: ${EPREFIX}/usr/lib/libtbb -> libtbb.dylib ${EPREFIX}/usr/lib/libtbbmalloc -> libtbbmalloc.dylib ${EPREFIX}/usr/lib/libtbbmalloc_proxy -> libtbbmalloc_proxy.dylib I'm not sure that's intended, but does not seem to hurt either.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfd22c5b483ee6b15d3dfba66b6a8256d7c415e commit 5bfd22c5b483ee6b15d3dfba66b6a8256d7c415e Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2017-12-29 13:34:53 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2017-12-29 13:34:53 +0000 dev-cpp/tbb: use get_libname to deal with the right files, bug #638526 Thanks Anton for the suggestion. Closes: https://bugs.gentoo.org/638526 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-cpp/tbb/tbb-2017.20170226.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)