Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#55446 - [cmake] Cmake fails build some packages that use automatic UI file generation for Qt
Attached to Project:
Arch Linux
Opened by Ongun Kanat (6ng4n) - Wednesday, 30 August 2017, 22:54 GMT
Last edited by Eli Schwartz (eschwartz) - Saturday, 30 December 2017, 23:49 GMT
Opened by Ongun Kanat (6ng4n) - Wednesday, 30 August 2017, 22:54 GMT
Last edited by Eli Schwartz (eschwartz) - Saturday, 30 December 2017, 23:49 GMT
|
DetailsDescription:1
Due to some regression in the AUTOUIC module Cmake 3.9.1 fails to build packages that uses AUTOUIC functionality. Such as sayonara-player (https://aur.archlinux.org/packages/sayonara-player/). It might be worth it to backport a commit from 3.9.2 development branch which fixes this since some other Qt-based packages may be using this feature. Otherwise we have to wait until 3.9.2 comes. Currently downgrading cmake to version 3.8.2 works. Additional info: Cmake 3.9.1 x86_64 [1] The bug tracker info about the regression: https://gitlab.kitware.com/cmake/cmake/issues/17168 [2] The pull request that fixes it: https://gitlab.kitware.com/cmake/cmake/merge_requests/1140 Steps to reproduce: - Try to build a package that uses AUTOUIC feature |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Saturday, 30 December 2017, 23:49 GMT
Reason for closing: Fixed
Additional comments about closing: cmake 3.10.0-1
Saturday, 30 December 2017, 23:49 GMT
Reason for closing: Fixed
Additional comments about closing: cmake 3.10.0-1
> > grep grep -r AUTOUIC .
> ./test/CMakeLists.txt:SET(CMAKE_AUTOUIC ON)
> ./cotire.cmake: get_target_property(_targetAutoUic ${_target} AUTOUIC)
> ./cotire.cmake: # prevent AUTOMOC, AUTOUIC and AUTORCC properties from being set when the unity target is created
> ./cotire.cmake: set (CMAKE_AUTOUIC OFF)
> ./cotire.cmake: INTERFACE_AUTOUIC_OPTIONS NO_SYSTEM_FROM_IMPORTED)
> ./src/CMakeLists.txt:SET(CMAKE_AUTOUIC ON)