Bug 2380644

Summary: ibus-qt: FTBFS with change proposal CMake 4.0
Product: [Fedora] Fedora Reporter: Cristian Le <fedora>
Component: ibus-qtAssignee: fujiwara <tfujiwar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i18n-bugs, tfujiwar
Target Milestone: ---Flags: tfujiwar: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ibus-qt-1.3.4-16.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-25 14:06:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2376114    

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