CMake Error at CMakeLists.txt:817 (find_package): By not providing "FindImmer.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Immer", but CMake did not find one. Could not find a package configuration file provided by "Immer" with any of the following names: ImmerConfig.cmake immer-config.cmake Add the installation prefix of "Immer" to CMAKE_PREFIX_PATH or set "Immer_DIR" to a directory containing one of the above files. If "Immer" provides a separate development package or SDK, be sure it has been installed. Reproducible: Always Steps to Reproduce: 1. build it 2. 3. Actual Results: see above Expected Results: merge libimmer is not in gentoo.
See https://krita-artists.org/t/build-break-at-find-package-immer-required/64305/8
I actually tried fixing this in my local overlay, but even after adding ebuilds for immer, lager, and zug, fftw3 seems to be broken.
Can you show me the error for fftw? I have a suspicion.
Yeah I found the relevant bug #913518 As long as FFTW3LibraryDepends.cmake won't be installed, Krita 5.2.0 will not build. The current fix I did is to manually cmake -Bbuild and edit the FFTW3LibraryDepends.cmake file to point to the .so in /usr/lib64 and then install this file into /usr/lib/cmake/fftw/FFTW3LibraryDepends.cmake manually.
Oh and another thing, Krita 5.2.0 seem to #include <openjpeg.h>, but obviously, gentoo doesn't store openjpeg.h directly in /usr/include. Instead, it's stored in /usr/include/openjpeg-2.5/openjpeg.h, so in order to build Krita 5.2.0, you must ln -s /usr/include/openjpeg-2.5/openjpeg.h /usr/include/openjpeg.h, or figure out how to add /usr/include/openjpeg-2.5 to CMAKE_INCLUDE_PATH or CMAKE_SYSTEM_INCLUDE_PATH in the ebuild, and I'm not sure how to do that
I had a go at updating the krita ebuild to be able to build krita 5.2.1: https://projects.blender.org/ZedDB/blender-studio-overlay/commit/a37bfde86b694a6f3f1a671147eb0aa1de19d950 To get fftw and openjpeg to build, I had to change 1-3 lines of the respective "FindX.cmake" file. As krita is already using the pkgconf files if it can't find the .cmake files for the library, I only had to commend the respective "findpackage" commands. It seems to build and run correctly to me. I know this is a report for the live ebuild, but the same fix should also apply there. How do I go about getting these changes merged? Is there any special procedure in place for the KDE related packages?
I've created a new PR from krita 5.2.2 with the immer,lager, and zug ebuild: https://github.com/gentoo/gentoo/pull/34736
(In reply to Sebastian Parborg from comment #6) > I know this is a report for the live ebuild, but the same fix should also > apply there. > > How do I go about getting these changes merged? Is there any special > procedure in place for the KDE related packages? Sorry, I'd missed this at the time. Changes go to ::kde first if possible.