Summary: | =media-gfx/mandelbulber-2.12-r1 missing dependency -> USE=opencl - In file included from src/algebra.hpp:51, from src/algebra.cpp:40: src/include_header_wrapper.hpp:62:10: fatal error: CL/cl.hpp: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Till Schäfer <till2.schaefer> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, m_gentoobug |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/22495 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 722890 | ||
Bug Blocks: | |||
Attachments: | build.log |
Description
Till Schäfer
2019-06-20 20:02:25 UTC
it only happens with USE="opencl" I can confirm the issue. It's because app-eselect/eselect-opencl-1.1.0-r4 no longer installs cl.hpp properly like older versions did. Instead of restoring the old behavior a new package for the OpenCL C++ headers has been added to the tree. See bug 669368 for details. So it looks like mandelbulber should add "opencl? ( dev-libs/clhpp )" to DEPEND (or something else in the OpenCL stack needs to pull it in). After manually installing dev-libs/clhpp I could successfully emerge media-gfx/mandelbulber-2.12-r1. I added a dependency to opencl? ( dev-libs/clhpp ) like suggest in Comment 2. But it now installs CL/cl2.hpp, so I added to src_prepare: sed -i 's:\<CL/cl.hpp:CL/cl2.hpp:' src/include_header_wrapper.hpp src/clew-cl.hpp || die Something maybe changed in the API, or just modern gcc are more picky: src/opencl_engine.cpp:106:95: error: no matching function for call to _std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >::push_back(std::pair<const char*, long unsigned int>)_ I'll try to fix it later, but I still add the comment here as latest step may help some other people, like the one in comment 2 really help Take a look at #722890, I just added an ebuild version bump patch for 2.24. Latest release is compatible with CL/cl2.hpp The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60495b58afdd5336195a0edd74812ba0c3360fcd commit 60495b58afdd5336195a0edd74812ba0c3360fcd Author: Alexander Miller <alex.miller@gmx.de> AuthorDate: 2021-10-04 17:47:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-06 03:32:26 +0000 media-gfx/mandelbulber: Bump to version 2.26 * EAPI=8, * IUSE+=joystick (needs dev-qt/qtgamepad), * add missing dependency on opencl? (dev-libs/clhpp ), * add github SRC_URI. Some changes taken from the patch by Samuel Bauer in bug #722890. Closes: https://bugs.gentoo.org/688410 Closes: https://bugs.gentoo.org/722890 Signed-off-by: Alexander Miller <alex.miller@gmx.de> Signed-off-by: Sam James <sam@gentoo.org> media-gfx/mandelbulber/Manifest | 1 + media-gfx/mandelbulber/mandelbulber-2.26.ebuild | 86 +++++++++++++++++++++++++ 2 files changed, 87 insertions(+) |