Bug 2257605

Summary: texmaker needs to be recompiled for EL9.3
Product: [Fedora] Fedora EPEL Reporter: bugreports2005
Component: texmakerAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: adam.j.boutcher, nonamedotc, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: texmaker-5.1.4-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-19 03:57:24 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 bugreports2005 2024-01-10 08:44:20 UTC
Description of problem:

texmaker-1:5.1.3-5.el9.x86_64 requires libQt5Core.so.5(Qt_5.15.3_PRIVATE_API)(64bit)
qt5-qtbase-5.15.9-7.el9.x86_64 provides libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit) instead


Version-Release number of selected component (if applicable):

texmaker-1:5.1.3-5.el9.x86_64


How reproducible:

Should be

Steps to Reproduce:
1. Install up-to-date RHEL9.3, add EPEL
2. Unless already installed, yum install qt5-qtbase at least
3. yum install texmaker

Actual results:

It wants to downgrade qt5-qtbase (and along with it maybe gnomeplatform qt5-qtbase-common qt5-qtbase-gui qt5-qtdeclarative qt5-qtsvg qt5-qtwayland qt5-qtx11extras qt5-qtxmlpatterns) which may not even be possible due to other dependencies

Expected results:

texmaker installs and works with the current components


Additional info:

Comment 1 Fedora Update System 2024-01-10 20:57:26 UTC
FEDORA-EPEL-2024-5d887072d8 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-5d887072d8

Comment 2 Fedora Update System 2024-01-11 02:22:46 UTC
FEDORA-EPEL-2024-5d887072d8 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-5d887072d8

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

Comment 3 Adam 2024-01-16 16:13:19 UTC
The spec file needs to be less specific on a QT5 lib.

Change:
libQt5Core.so.5(Qt_5.15.3_PRIVATE_API)(64bit)
To:
libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit)


You can manually change the spec-file with rpmrebuild -enp texmaker-5.1.3-5.el9.x86_64.rpm to be less specific as qt5-qtbase doesn't provide a versioned provides for the Private_API. This then successfully installs and works.

Comment 4 Adam 2024-01-16 16:14:49 UTC
I can also confirm that the updated version does work via https://koji.fedoraproject.org/koji/buildinfo?buildID=2343615

Comment 5 Fedora Update System 2024-01-19 03:57:24 UTC
FEDORA-EPEL-2024-5d887072d8 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Orion Poplawski 2024-01-19 14:46:17 UTC
(In reply to Adam from comment #3)
> The spec file needs to be less specific on a QT5 lib.
> 
> Change:
> libQt5Core.so.5(Qt_5.15.3_PRIVATE_API)(64bit)
> To:
> libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit)

Just to be clear - this requires is automatically added by the build system, the texmaker spec does not have it.  And since it is a private api, it can change at any time, which is why it is a specific dep.  The real fix would be for texmaker to not make use of private Qt apis, but I have no idea what that might be.