-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
Blocks the install of media-libs/opencolorio 2.2.0 and beyond
-
CMAKE autodection of minizip-ng and zlib-ng is not working correctly
During the development of dependencies for compiling media-gfx/blender from source a problematic CMAKE related configure dependency issue was discovered for media-libs/opencolorio.
media-libs/opencolorio v2.2.0 and beyond requires a new library called minizp-ng. PR 2620 has added the minizip-ng and the zlib-ng (dependency of minizip-ng) as autogens.
Below is the error when trying to configure media-libs/opencolorio-2.2.0 with the latest autogenned minizip-ng and zlib-ng.
>>> Emerging (1 of 3) sys-libs/zlib-ng-2.0.6::test-kit >>> Installing (1 of 3) sys-libs/zlib-ng-2.0.6::test-kit >>> Emerging (2 of 3) sys-libs/minizip-ng-3.0.7::test-kit >>> Installing (2 of 3) sys-libs/minizip-ng-3.0.7::test-kit >>> Emerging (3 of 3) media-libs/opencolorio-2.2.0::test-kit >>> Failed to emerge media-libs/opencolorio-2.2.0, Log file: loading initial cache file /var/tmp/portage/media-libs/opencolorio-2.2.0/work/opencolorio-2.2.0_build/gentoo_common_config.cmake -- The CXX compiler identification is GNU 11.3.0 -- The C compiler identification is GNU 11.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Setting C++ version to '14' as none was specified. -- Performing Test COMPILER_SUPPORTS_CXX14 -- Performing Test COMPILER_SUPPORTS_CXX14 - Success -- Performing Test HAVE_SSE2 -- Performing Test HAVE_SSE2 - Success -- Setting SOVERSION to '2.2' as none was specified. -- Found expat: /usr/include (found suitable version "2.4.9", minimum required is "2.4.1") -- Found yaml-cpp: /usr/lib64/libyaml-cpp.so.0.7.0 (found suitable version "0.7.0", minimum required is "0.7.0") -- Found pystring: /usr/include (Required is at least version "1.1.3") -- Found Imath: /usr/lib64/libImath-3_1.so.29.5.0 (found suitable version "3.1.6", minimum required is "3.0") -- Found ZLIB: /usr/lib/libz.so (found version "1.2.13") CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): By not providing "FindZLIBNG.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ZLIBNG", but CMake did not find one. Could not find a package configuration file provided by "ZLIBNG" with any of the following names: ZLIBNGConfig.cmake zlibng-config.cmake Add the installation prefix of "ZLIBNG" to CMAKE_PREFIX_PATH or set "ZLIBNG_DIR" to a directory containing one of the above files. If "ZLIBNG" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/lib64/cmake/minizip-ng/minizip-ng-config.cmake:37 (find_dependency) share/cmake/modules/Findminizip-ng.cmake:21 (find_package) share/cmake/modules/FindExtPackages.cmake:51 (find_package) CMakeLists.txt:261 (include)
We will have to figure what is causing this configuring error to be able to upgrade to media-libs/opencolorio 2.2.0 and future versions. My suspicions are that this has to do with linking aginst zlib-ng:
ldd /usr/lib64/libminizip-ng.so | grep libz libz-ng.so.2 => /usr/lib/libz-ng.so.2 (0x00007f8e59c8e000)
- opened during git code review in
-
FL-10883 next: media-gfx/blender depends on missing ebuild media-libs/oidn
- Closed