<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>38203</bug_id>
          
          <creation_ts>2020-03-10 16:48:23 +0300</creation_ts>
          <short_desc>libopenjpeg2.0-devel должен иметь зависимость на openjpeg-tools2.0</short_desc>
          <delta_ts>2026-04-19 11:09:23 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libopenjpeg2.0-devel</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aleksei Nikiforov">darktemplaralt</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>aris</cc>
    
    <cc>lakostis</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>188451</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksei Nikiforov">darktemplaralt</who>
    <bug_when>2020-03-10 16:48:23 +0300</bug_when>
    <thetext>Иначе при попытке использовать libopenjpeg2.0-devel с помощью стандартных средств cmake при отсутствии пакета openjpeg-tools2.0 в системе получается следующая ошибка (на примере сборки новой версии blender):

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

     &quot;/usr/bin/opj2_decompress&quot;

  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

     &quot;/usr/lib64/openjpeg-2.3/OpenJPEGTargets.cmake&quot;

  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 &quot;/usr/src/RPM/BUILD/blender-2.82/BUILD/CMakeFiles/CMakeOutput.log&quot;.
See also &quot;/usr/src/RPM/BUILD/blender-2.82/BUILD/CMakeFiles/CMakeError.log&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286000</commentid>
    <comment_count>1</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2026-04-19 11:09:23 +0300</bug_when>
    <thetext>ping. Проблема все еще актуальна. Если этот файл (/usr/bin/opj2_decompress) для разработки не нужен, то можно просто его удалить из cmake targets.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>