Bug 50075 - Неполный -devel ломает сборку
Summary: Неполный -devel ломает сборку
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: dcmtk (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 major
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-18 23:26 MSK by Konstantin A Lepikhov (L.A. Kostis)
Modified: 2024-04-21 18:06 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 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 но ее нет в зависимостях.