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

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

    <bug>
          <bug_id>49320</bug_id>
          
          <creation_ts>2024-02-07 14:30:17 +0300</creation_ts>
          <short_desc>Проблемы /usr/lib64/cmake/libjpeg-turbo</short_desc>
          <delta_ts>2024-02-07 17:11:10 +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>libjpeg-turbo</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Sergey Bolshakov">sbolshakov</assigned_to>
          <cc>ldv</cc>
    
    <cc>sbolshakov</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>241234</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2024-02-07 14:30:17 +0300</bug_when>
    <thetext>Это может привести к ошибкам CMake, если libjpeg-devel в сборочной среде есть, а libturbojpeg нет. Вот так, например, сломалась сборка audacity:

[00:00:16] -- Probing for libjpeg-turbo 3
[00:00:16] CMake Error at /usr/lib64/cmake/libjpeg-turbo/libjpeg-turboTargets.cmake:96 (message):
[00:00:16]   The imported target &quot;libjpeg-turbo::turbojpeg&quot; references the file
[00:00:16] 
[00:00:16]      &quot;/usr/lib64/libturbojpeg.so.0.3.0&quot;
[00:00:16] 
[00:00:16]   but this file does not exist.  Possible reasons include:
[00:00:16] 
[00:00:16]   * The file was deleted, renamed, or moved to another location.
[00:00:16] 
[00:00:16]   * An install or uninstall procedure did not complete successfully.
[00:00:16] 
[00:00:16]   * The installation package was faulty and contained
[00:00:16] 
[00:00:16]      &quot;/usr/lib64/cmake/libjpeg-turbo/libjpeg-turboTargets.cmake&quot;
[00:00:16] 
[00:00:16]   but not all the files it references.
[00:00:16] 
[00:00:16] Call Stack (most recent call first):
[00:00:16]   /usr/lib64/cmake/libjpeg-turbo/libjpeg-turboConfig.cmake:37 (include)
[00:00:16]   cmake-proxies/cmake-modules/DependenciesList.cmake:5 (find_package)
[00:00:16]   cmake-proxies/cmake-modules/AudacityDependencies.cmake:138 (include)
[00:00:16]   CMakeLists.txt:579 (include)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241252</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-02-07 17:10:04 +0300</bug_when>
    <thetext>libjpeg-turbo-2:3.0.2-alt2 -&gt; sisyphus:

 Wed Feb 07 2024 Sergey Bolshakov &lt;sbolshakov@altlinux.ru&gt; 2:3.0.2-alt2
 - merged back devel part of libturbojpeg (closes: 49320)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241253</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Bolshakov">sbolshakov</who>
    <bug_when>2024-02-07 17:11:10 +0300</bug_when>
    <thetext>справедливости ради, содержимое libjpeg-turboTargets.cmake со времён 2.1.5.1 поменялось примерно никак, но такая ошибка проявилась, насколько я понял, только сейчас -- что-то тут нечисто.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>