Bug 50075

Summary: Неполный -devel ломает сборку
Product: Sisyphus Reporter: Konstantin A Lepikhov (L.A. Kostis) <lakostis>
Component: dcmtkAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P5 CC: rider
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Konstantin A Lepikhov (L.A. Kostis) 2024-04-18 23:26:32 MSK
Привет!

В -devel пакете (libdcmtk-devel) отсутствуют файлы, которые есть в cmake:

[00:00:10] CMake Error at /usr/lib64/cmake/dcmtk/DCMTKTargets.cmake:556 (message):
[00:00:10]   The imported target "DCMTK::ofstd_tests" references the file
[00:00:10] 
[00:00:10]      "/usr/bin/ofstd_tests"
[00:00:10] 
[00:00:10]   but this file does not exist.  Possible reasons include:
[00:00:10] 
[00:00:10]   * The file was deleted, renamed, or moved to another location.
[00:00:10] 
[00:00:10]   * An install or uninstall procedure did not complete successfully.
[00:00:10] 
[00:00:10]   * The installation package was faulty and contained
[00:00:10] 
[00:00:10]      "/usr/lib64/cmake/dcmtk/DCMTKTargets.cmake"
[00:00:10] 
[00:00:10]   but not all the files it references.
[00:00:10] 
[00:00:10] Call Stack (most recent call first):
[00:00:10]   /usr/lib64/cmake/dcmtk/DCMTKConfig.cmake:141 (include)
[00:00:10]   src/cmake/checked_find_package.cmake:126 (find_package)
[00:00:10]   src/cmake/externalpackages.cmake:204 (checked_find_package)
[00:00:10]   CMakeLists.txt:176 (include)
[00:00:10] 
[00:00:10] 
[00:00:10] -- Configuring incomplete, errors occurred!
[00:00:10] error: Bad exit status from /usr/src/tmp/rpm-tmp.95661 (%build)

т.е. собрать что-то с текущим пакетом нельзя. Можно конечно добавить dcmtk в сборочные зависимости, но уж лучше исправить -devel.
Comment 1 Konstantin A Lepikhov (L.A. Kostis) 2024-04-21 18:06:39 MSK
Могу также добавить, не хватает еще libxml2-devel, эта библиотека есть в cmake но ее нет в зависимостях.
Comment 2 Repository Robot 2024-05-09 15:00:44 MSK
dcmtk-3.6.8-alt2 -> sisyphus:

 Thu May 09 2024 Anton Farygin <rider@altlinux.ru> 3.6.8-alt2
 - added lost dependencies to the devel package (closes: #50075)