Bug 56336 - Требует для сборки файл, который удаляется и не пакуется
Summary: Требует для сборки файл, который удаляется и не пакуется
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libphonenumber (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-10 15:56 MSK by Sergey V Turchin
Modified: 2025-10-13 09:12 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 Sergey V Turchin 2025-10-10 15:56:47 MSK
rm -f %buildroot%_libdir/*.a
теперь зачастую не прокатывает с пакетами, собранными cmake, т.к. их надо вырезать ещё и из cmake-файлов в devel пакете, иначе при помощи cmake ничего не собирается с сообщением:

CMake Error at /usr/lib64/cmake/libphonenumber/libphonenumber-targets.cmake:117 (message):
  The imported target "libphonenumber::phonenumber" references the file
     "/usr/lib64/libphonenumber.a

. Скорее всего поможет 
-DBUILD_STATIC_LIB=OFF
Comment 1 Yuri N. Sedunov 2025-10-10 17:36:13 MSK
https://packages.altlinux.org/ru/tasks/396725/
Comment 2 Sergey V Turchin 2025-10-13 09:12:58 MSK
Спасибо!