Bug 29844 - qt5-base-devel: incomplete dependencies or broken .cmake files
Summary: qt5-base-devel: incomplete dependencies or broken .cmake files
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: qt5-base-devel (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 17:57 MSK by Yuri N. Sedunov
Modified: 2014-02-26 17:09 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 Yuri N. Sedunov 2014-02-24 17:57:17 MSK
Qt5SqlConfig.cmake явно требует все qsql-плугины, однако зависимостей у qt5-base-devel на пакеты с ними нет.
Comment 1 Sergey V Turchin 2014-02-24 18:44:43 MSK
> явно
Буква '*' означает неявно.
Comment 2 Sergey V Turchin 2014-02-24 18:45:04 MSK
В чем проблема-то?
Comment 3 Sergey V Turchin 2014-02-24 18:46:20 MSK
Ааа, понял. cmake-файлы от каждого присутствуют.

Все-таки, можно подробности?
Comment 4 Yuri N. Sedunov 2014-02-24 18:52:15 MSK
CMake Error at /usr/lib/cmake/Qt5Sql/Qt5SqlConfig.cmake:15 (message):
  The imported target "Qt5::Sql" references the file

     "/usr/lib/qt5/plugins/sqldrivers/libqsqlibase.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/Qt5Sql/Qt5Sql_QIBaseDriverPlugin.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/Qt5Sql/Qt5SqlConfig.cmake:132 (_qt5_Sql_check_file_exists)
  /usr/lib/cmake/Qt5Sql/Qt5Sql_QIBaseDriverPlugin.cmake:4 (_populate_Sql_plugin_properties)
  /usr/lib/cmake/Qt5Sql/Qt5SqlConfig.cmake:140 (include)
Comment 5 Sergey V Turchin 2014-02-24 18:56:54 MSK
Это я понял. Мне нужны подробности, действительно ли нужен сам файл плагина?
Comment 6 Yuri N. Sedunov 2014-02-24 19:14:10 MSK
(In reply to comment #5)
> Это я понял. Мне нужны подробности, действительно ли нужен сам файл плагина?

Разумеется, надо разнести  Qt5Sql_*DriverPlugin.cmake по пакетам с плагинами или соответствующим им -devel пакетам. Экспериментировать можешь с luminance-hdr, сборка которого сломалась.
Comment 7 Sergey V Turchin 2014-02-24 19:16:54 MSK
(В ответ на комментарий №6)
> разнести  Qt5Sql_*DriverPlugin.cmake по пакетам с плагинами
Не вижу смысла, пока не найдется необходимость наличия самого файла плагина.

> luminance-hdr, сборка которого сломалась.
Ок.
Comment 8 Repository Robot 2014-02-25 19:14:28 MSK
qt5-base-5.2.1-alt3 -> sisyphus:

* Tue Feb 25 2014 Sergey V Turchin <zerg@altlinux> 5.2.1-alt3
- don't require plugin files for cmake scripts (ALT#29844)
Comment 9 Sergey V Turchin 2014-02-26 14:46:33 MSK
На будущее: если я верну обратно, то можно будет просто добавить в BuildRequires qt5-sql.
Думал, упакован. Ща запакую на всякий.
Comment 10 Sergey V Turchin 2014-02-26 16:39:43 MSK
Ну и вперед паровоза бежать не обязательно http://pkgs.fedoraproject.org/cgit/luminance-hdr.git/tree/ .
Уж лучше в p7 обновить до 2.3.1 .
Comment 11 Yuri N. Sedunov 2014-02-26 16:52:37 MSK
(In reply to comment #10)
> Ну и вперед паровоза бежать не обязательно
> http://pkgs.fedoraproject.org/cgit/luminance-hdr.git/tree/ .

Не ко мне -- "ASP Linux" у вас viy@ делает.
Пока "closed".
Comment 12 Sergey V Turchin 2014-02-26 17:09:59 MSK
(В ответ на комментарий №11)
> > http://pkgs.fedoraproject.org/cgit/luminance-hdr.git/tree/ .
> Не ко мне
Ну, если без роботов смотреть на патчи не в состоянии.