Bug 2380644 - ibus-qt: FTBFS with change proposal CMake 4.0
Summary: ibus-qt: FTBFS with change proposal CMake 4.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-qt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CMake4.0
TreeView+ depends on / blocked
 
Reported: 2025-07-16 10:38 UTC by Cristian Le
Modified: 2025-07-25 14:06 UTC (History)
2 users (show)

Fixed In Version: ibus-qt-1.3.4-16.fc43
Clone Of:
Environment:
Last Closed: 2025-07-25 14:06:36 UTC
Type: ---
Embargoed:
tfujiwar: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1824 0 None None None 2025-07-18 06:42:05 UTC

Description Cristian Le 2025-07-16 10:38:13 UTC
\
Dear package maintainer,

This is an automated bug created due to a FTBFS when rebuilding this package for the change proposal CMake 4.0.

The rebuild is being tracked in https://copr.fedorainfracloud.org/coprs/cmake-4.0.

See https://fedoraproject.org/wiki/Changes/CMake4.0 for more information on how to make the package compatible.

More specifically, depending on the state of the project:
- If it is actively maintained, please update the `cmake_minimum_required`, and instruct upstream to do so as well.
  To minimize future maintenance, please add a higher bound as well, preferrably with the highest CMake version being
  tested. You may use 4.0 as the higher bound as this is being tested in the tracked copr project.
- If the project is not maintained, you may add `CMAKE_POLICY_VERSION_MINIMUM=3.5` as a CMake variable or environment
  variable.

You can check the build locally following the instructions in the change proposal, or submit your build to the tracking
copr project.

Let me know if you encounter any issues, or need any other help.

Comment 1 fujiwara 2025-07-18 08:05:54 UTC
Add a tentative patch https://src.fedoraproject.org/rpms/ibus-qt/blob/rawhide/f/ibus-qt-HEAD.patch

Comment 2 Cristian Le 2025-07-18 10:06:17 UTC
LGTM, assuming you searched for all `cmake_minimum_required` and `cmake_policy` usages. Was not aware that `execute_process` pipes each command; learn a CMake quirk everyday.

Comment 3 fujiwara 2025-07-18 10:47:49 UTC
(In reply to Cristian Le from comment #2)
> LGTM, assuming you searched for all `cmake_minimum_required` and
> `cmake_policy` usages.

Thank you for the quick review.
I may need to think to separate builds of ibus-qt production and development versions to treat the future cmake policies but I'm fine not to set the max version at present.

> Was not aware that `execute_process` pipes each command; learn a CMake quirk everyday.

Yeah, I noticed it today.

Comment 4 fujiwara 2025-07-25 14:06:36 UTC
Upstreamed the patch https://github.com/ibus/ibus-qt/issues/6


Note You need to log in before you can comment on or make changes to this bug.