Bug 38203 - libopenjpeg2.0-devel должен иметь зависимость на openjpeg-tools2.0
Summary: libopenjpeg2.0-devel должен иметь зависимость на openjpeg-tools2.0
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: libopenjpeg2.0-devel (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-10 16:48 MSK by Aleksei Nikiforov
Modified: 2020-03-10 16:48 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".