Bug 2328895

Summary: Request to rebuild qt-creator for RHEL 9.5
Product: [Fedora] Fedora EPEL Reporter: Michael Roth <Michael.Roth>
Component: qt-creatorAssignee: thomas.zimmermann <thomas.zimmermann>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: kde-sig, lopresti, manisandro, rdieter, thomas.zimmermann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: qt-creator-12.0.1-5.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-07 06:42:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Roth 2024-11-26 10:43:23 UTC
Description of problem:
qt-creator needs to be rebuilt for RHEL 9.5


Version-Release number of selected component (if applicable):
qt-creator-12.0.1-3.el9.x86_64


Actual results:
dnf update
Last metadata expiration check: 0:00:46 ago on Tue 26 Nov 2024 11:28:55 AM CET.
Error:
 Problem 1: package qt-creator-12.0.1-3.el9.x86_64 from @System requires libclang-cpp.so.17()(64bit), but none of the providers can be installed
  - cannot install both clang-libs-18.1.8-3.el9.x86_64 from appstream and clang-libs-17.0.6-5.el9.x86_64 from @System
  - cannot install the best update candidate for package qt-creator-12.0.1-3.el9.x86_64
  - cannot install the best update candidate for package clang-libs-17.0.6-5.el9.x86_64
 Problem 2: package qt-creator-data-12.0.1-3.el9.noarch from @System requires qt-creator = 12.0.1-3.el9, but none of the providers can be installed
  - package qt-creator-12.0.1-3.el9.x86_64 from @System requires libclang-cpp.so.17()(64bit), but none of the providers can be installed
  - package qt-creator-12.0.1-3.el9.x86_64 from epel requires libclang-cpp.so.17()(64bit), but none of the providers can be installed
  - package clang-libs-17.0.6-5.el9.x86_64 from @System requires clang-resource-filesystem = 17.0.6, but none of the providers can be installed
  - cannot install both clang-resource-filesystem-18.1.8-3.el9.noarch from appstream and clang-resource-filesystem-17.0.6-5.el9.noarch from @System
  - cannot install the best update candidate for package qt-creator-data-12.0.1-3.el9.noarch
  - cannot install the best update candidate for package clang-resource-filesystem-17.0.6-5.el9.noarch
 Problem 3: problem with installed package qt-creator-12.0.1-3.el9.x86_64
  - package qt-creator-12.0.1-3.el9.x86_64 from @System requires libclang-cpp.so.17()(64bit), but none of the providers can be installed
  - package qt-creator-12.0.1-3.el9.x86_64 from epel requires libclang-cpp.so.17()(64bit), but none of the providers can be installed
  - package clang-libs-17.0.6-5.el9.x86_64 from @System requires libLLVM-17.so()(64bit), but none of the providers can be installed
  - package clang-libs-17.0.6-5.el9.x86_64 from @System requires libLLVM-17.so(LLVM_17)(64bit), but none of the providers can be installed
  - cannot install both llvm-libs-18.1.8-3.el9.x86_64 from appstream and llvm-libs-17.0.6-5.el9.x86_64 from @System
  - cannot install the best update candidate for package llvm-libs-17.0.6-5.el9.x86_64
 Problem 4: problem with installed package qt-creator-data-12.0.1-3.el9.noarch
  - package qt-creator-data-12.0.1-3.el9.noarch from @System requires qt-creator = 12.0.1-3.el9, but none of the providers can be installed
  - package qt-creator-data-12.0.1-3.el9.noarch from epel requires qt-creator = 12.0.1-3.el9, but none of the providers can be installed
  - package qt-creator-12.0.1-3.el9.x86_64 from @System requires libclang-cpp.so.17()(64bit), but none of the providers can be installed
  - package qt-creator-12.0.1-3.el9.x86_64 from epel requires libclang-cpp.so.17()(64bit), but none of the providers can be installed
  - package clang-libs-17.0.6-5.el9.x86_64 from @System requires libLLVM-17.so()(64bit), but none of the providers can be installed
  - package clang-libs-17.0.6-5.el9.x86_64 from @System requires libLLVM-17.so(LLVM_17)(64bit), but none of the providers can be installed
  - cannot install both llvm-libs-18.1.8-3.el9.x86_64 from appstream and llvm-libs-17.0.6-5.el9.x86_64 from @System
  - package annobin-12.65-1.el9.x86_64 from appstream requires libLLVM.so.18.1()(64bit), but none of the providers can be installed
  - package annobin-12.65-1.el9.x86_64 from appstream requires libLLVM.so.18.1(LLVM_18.1)(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package annobin-12.31-2.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Please help.

Best Regards
Michael

Comment 1 Fedora Update System 2024-11-27 07:47:10 UTC
FEDORA-EPEL-2024-5f37ab54b2 (qt-creator-12.0.1-4.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-5f37ab54b2

Comment 2 Fedora Update System 2024-11-28 03:53:53 UTC
FEDORA-EPEL-2024-5f37ab54b2 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-5f37ab54b2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Michael Roth 2024-12-04 07:15:28 UTC
After removing the old package and updating to RHEL 9.5,
I tried package from epel-testing repository.

# dnf install qt-creator
Extra Packages for Enterprise Linux 9 - Testing - x86_64                                                                                                                  43 kB/s |  44 kB     00:01
Extra Packages for Enterprise Linux 9 - Testing - x86_64                                                                                                                 1.4 MB/s | 1.7 MB     00:01
Last metadata expiration check: 0:00:01 ago on Wed 04 Dec 2024 08:10:47 AM CET.
Error:
 Problem: cannot install the best candidate for the job
  - nothing provides libclang-cpp.so.17()(64bit) needed by qt-creator-12.0.1-4.el9.x86_64 from epel-testing
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

This package isn't linked to libclang-cpp.so.18()(64bit).

Please help.

Comment 4 thomas.zimmermann@voestalpine.com 2024-12-04 07:38:06 UTC
I have no idea, where it is taking this dependency from...
I try to update to the epel10 version.

Comment 5 Michael Roth 2024-12-04 07:59:09 UTC
Excerpts from the Specfile from package qt-creator-12.0.1-3.el9.src.rpm.

...
BuildRequires:  clang-devel
...
* Tue Oct 03 2023 Sandro Mani <manisandro> - 11.0.3-2
- Build against system clang
...
* Thu Apr 06 2023 Sandro Mani <manisandro> - 10.0.0-3
- Switch to clang-16
...


Maybe you could use the compatibility package clang16-devel and change BuildRequires to clang16-devel.

Best regards

Comment 6 Michael Roth 2024-12-04 08:19:05 UTC
I have tried to recompile the qt-creator source package: qt-creator-12.0.1-3.el9.src.rpm

But when I wanted to install the packages that are important for the translation, I saw another dependency that cannot be resolved. 

dnf install qt6-qttools-devel
Last metadata expiration check: 1:39:23 ago on Wed 04 Dec 2024 07:34:30 AM CET.
Error:
 Problem: package qt6-qttools-devel-6.6.2-1.el9.x86_64 from epel requires qt6-linguist = 6.6.2-1.el9, but none of the providers can be installed
  - conflicting requests
  - nothing provides libLLVM-17.so()(64bit) needed by qt6-linguist-6.6.2-1.el9.x86_64 from epel
  - nothing provides libLLVM-17.so(LLVM_17)(64bit) needed by qt6-linguist-6.6.2-1.el9.x86_64 from epel
  - nothing provides libclang-cpp.so.17()(64bit) needed by qt6-linguist-6.6.2-1.el9.x86_64 from epel
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


The qt6-qttools also need a rebuild.

Comment 7 Michael Roth 2024-12-04 08:23:01 UTC
Sorry, I meant the qt6-linguist package also need a rebuild.

One thing leads to another.

Best regards

Comment 8 thomas.zimmermann@voestalpine.com 2024-12-04 08:31:27 UTC
For qt6-linguist you should create another ticket. This bug will probably only read by me and I have no access to qt6-linguist :-)

Comment 9 Michael Roth 2024-12-04 09:13:08 UTC
Hi,

ticket "Bug 2326983 - Please rebuild qt6-qttools after RHEL9.5 update" has already been opened by someone else.

This Package seems to work and need "libclang-cpp.so.18.1()(64bit)".

dnf install qt6-qttools-devel
Extra Packages for Enterprise Linux 9 - Testing - x86_64                                                                                                                 203 kB/s |  35 kB     00:00
Dependencies resolved.
=========================================================================================================================================================================================================
 Package                                                            Architecture                          Version                                      Repository                                   Size
=========================================================================================================================================================================================================
Installing:
 qt6-qttools-devel                                                  x86_64                                6.6.2-2.el9                                  epel-testing                                353 k
Installing dependencies:
 qt6-designer                                                       x86_64                                6.6.2-2.el9                                  epel-testing                                188 k
 qt6-doctools                                                       x86_64                                6.6.2-2.el9                                  epel-testing                                711 k
 qt6-linguist                                                       x86_64                                6.6.2-2.el9                                  epel-testing                                887 k
 qt6-qttools                                                        x86_64                                6.6.2-2.el9                                  epel-testing                                195 k
 qt6-qttools-common                                                 noarch                                6.6.2-2.el9                                  epel-testing                                 11 k
 qt6-qttools-libs-designer                                          x86_64                                6.6.2-2.el9                                  epel-testing                                2.9 M
 qt6-qttools-libs-designercomponents                                x86_64                                6.6.2-2.el9                                  epel-testing                                912 k
 qt6-qttools-libs-help                                              x86_64                                6.6.2-2.el9                                  epel-testing                                195 k


And now I be able to recompile the source package qt-creator-12.0.1-3.el9.src.rpm.


Please try again with the epel-testing packages to recompile qt-creator package.

Comment 10 thomas.zimmermann@voestalpine.com 2024-12-04 09:24:27 UTC
I think qt-creator was build against LLVM17 because, qt6-tools was not build yet against LLVM18 and libclang-cpp.so.17 is not in the compat package which gets installed.

We will propabaly have to wait until qt6-qools is merged, before I can start the rebuild. It is not possible for offical builds, to build against epel-testing.

If you give +1 Karma to the qt6-tools build (https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-ec15e92cc6), it will be merged tonight.

Comment 11 Michael Roth 2024-12-04 10:35:19 UTC
Thanks for the tip with the +1 karma.

Wait and see and wish you every success.

Comment 12 Michael Roth 2024-12-05 09:08:52 UTC
The epel repository now provides the updated package qt6-qttools-devel.

Good luck

Comment 13 Fedora Update System 2024-12-05 14:57:28 UTC
FEDORA-EPEL-2024-82735c33f9 (qt-creator-12.0.1-5.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-82735c33f9

Comment 14 Fedora Update System 2024-12-06 00:22:07 UTC
FEDORA-EPEL-2024-82735c33f9 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-82735c33f9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Michael Roth 2024-12-06 11:58:26 UTC
Thank you.

It seems to work well.

Comment 16 Patrick J. LoPresti 2024-12-06 21:25:13 UTC
Agreed; 12.0.1-5 is working for us.

Comment 17 Fedora Update System 2024-12-07 06:42:22 UTC
FEDORA-EPEL-2024-82735c33f9 (qt-creator-12.0.1-5.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.