Created attachment 490862 [details] -r1 ebuild Hi. It seems that dev-libs/opencl-clhpp-2.0.10::science needs a custom src_install() at it installs headers in /usr/CL rather than in /usr/include/CL. $ equery f opencl-clhpp * Searching for opencl-clhpp ... * Contents of dev-libs/opencl-clhpp-2.0.10: /usr /usr/CL /usr/CL/cl.hpp /usr/CL/cl2.hpp /usr/share /usr/share/doc /usr/share/doc/opencl-clhpp-2.0.10 /usr/share/doc/opencl-clhpp-2.0.10/README.txt.bz2 I don't know much about c++ or cmake build systems, but with little a searching I managed to work out the problem by adding one line to src_configure(): src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_PREFIX="/usr/include" -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF ) cmake-utils_src_configure } The whole ebuild attached to this message. I hope that is all.
Oops. Wrong title. Should have been: [science-overlay] dev-libs/opencl-clhpp-2.0.10: Wrong install path Anyways. I created an issue also on github: https://github.com/gentoo/sci/issues/808 For future reports... Which one is the preferred way?
This package should be removed from the science overlay if it's still there. dev-util/clhpp has been in the tree for a while.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/sci.git/commit/?id=b631136324c895af14944a58564eefc92d5d30bc commit b631136324c895af14944a58564eefc92d5d30bc Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2020-03-16 00:29:27 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2020-03-16 00:31:18 +0000 dev-libs/opencl-clhpp: migrated to gentoo repo as clhpp. Reported-By: Ilja ”Zucca” Sara Closes: https://bugs.gentoo.org/629052 Closes: https://github.com/gentoo/sci/issues/808 Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-libs/opencl-clhpp/Manifest | 1 - dev-libs/opencl-clhpp/metadata.xml | 15 ------------- dev-libs/opencl-clhpp/opencl-clhpp-2.0.10.ebuild | 28 ------------------------ 3 files changed, 44 deletions(-)
Thanks. :) I can now remove the package in question from my overlay.