Bug 38203

Summary: libopenjpeg2.0-devel должен иметь зависимость на openjpeg-tools2.0
Product: Sisyphus Reporter: Aleksei Nikiforov <darktemplaralt>
Component: libopenjpeg2.0-develAssignee: Yuri N. Sedunov <aris>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: aris
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Aleksei Nikiforov 2020-03-10 16:48:23 MSK
Иначе при попытке использовать libopenjpeg2.0-devel с помощью стандартных средств cmake при отсутствии пакета openjpeg-tools2.0 в системе получается следующая ошибка (на примере сборки новой версии blender):

CMake Error at /usr/lib64/openjpeg-2.3/OpenJPEGTargets.cmake:87 (message):
  The imported target "opj2_decompress" references the file

     "/usr/bin/opj2_decompress"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib64/openjpeg-2.3/OpenJPEGTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib64/openjpeg-2.3/OpenJPEGConfig.cmake:28 (include)
  build_files/cmake/platform/platform_unix.cmake:67 (find_package)
  build_files/cmake/platform/platform_unix.cmake:110 (find_package_wrapper)
  CMakeLists.txt:804 (include)


-- Configuring incomplete, errors occurred!
See also "/usr/src/RPM/BUILD/blender-2.82/BUILD/CMakeFiles/CMakeOutput.log".
See also "/usr/src/RPM/BUILD/blender-2.82/BUILD/CMakeFiles/CMakeError.log".