Bug 49320 - Проблемы /usr/lib64/cmake/libjpeg-turbo
Summary: Проблемы /usr/lib64/cmake/libjpeg-turbo
Alias: None
Product: Sisyphus
Classification: Development
Component: libjpeg-turbo (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Sergey Bolshakov
QA Contact: qa-sisyphus
Depends on:
Reported: 2024-02-07 14:30 MSK by Ivan A. Melnikov
Modified: 2024-02-07 17:11 MSK (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ivan A. Melnikov 2024-02-07 14:30:17 MSK
Это может привести к ошибкам 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 "libjpeg-turbo::turbojpeg" references the file
[00:00:16]      "/usr/lib64/libturbojpeg.so.0.3.0"
[00:00:16]   but this file does not exist.  Possible reasons include:
[00:00:16]   * The file was deleted, renamed, or moved to another location.
[00:00:16]   * An install or uninstall procedure did not complete successfully.
[00:00:16]   * The installation package was faulty and contained
[00:00:16]      "/usr/lib64/cmake/libjpeg-turbo/libjpeg-turboTargets.cmake"
[00:00:16]   but not all the files it references.
[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)
Comment 1 Repository Robot 2024-02-07 17:10:04 MSK
libjpeg-turbo-2:3.0.2-alt2 -> sisyphus:

 Wed Feb 07 2024 Sergey Bolshakov <sbolshakov@altlinux.ru> 2:3.0.2-alt2
 - merged back devel part of libturbojpeg (closes: 49320)
Comment 2 Sergey Bolshakov 2024-02-07 17:11:10 MSK
справедливости ради, содержимое libjpeg-turboTargets.cmake со времён поменялось примерно никак, но такая ошибка проявилась, насколько я понял, только сейчас -- что-то тут нечисто.