Bug 2130711

Summary: .prl files for shared libraries shipped in -static package
Product: [Fedora] Fedora Reporter: Be <be.0>
Component: qt6-qtdeclarativeAssignee: Jan Grulich <jgrulich>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: jgrulich, kde-sig
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-25 16:54:23 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:
Attachments:
Description Flags
patch for qt6-qtdeclarative RPM .spec none

Description Be 2022-09-28 22:35:46 UTC
Description of problem:
.prl files that should be shipped with qt6-qtdeclarative-devel are instead shipped with qt6-qtdeclarative-static:
https://src.fedoraproject.org/rpms/qt6-qtdeclarative/blob/f36/f/qt6-qtdeclarative.spec#_290

Most of these refer to shared libraries. Only these specific files refer to static libraries:
libQt6PacketProtocol.prl
libQt6QmlCompiler.prl
libQt6QmlDebug.prl
libQt6QmlDom.prl
libQt6QmlLint.prl
libQt6QuickControlsTestUtils.prl
libQt6QuickTestUtils.prl

Version-Release number of selected component (if applicable):
qt6-qtdeclarative-6.3.1-2.fc36.x86_64

How reproducible:
always

Steps to Reproduce:
1. sudo dnf install qt6-qtdeclarative-devel

Actual results:
/usr/lib64/libQt6Qml.prl and other .prl files are missing

Expected results:
.prl files for shared libraries are installed

Additional info:
I stumbled on this working on CXX-Qt which gets the linker flags to pass to Cargo by parsing .prl files: https://github.com/KDAB/cxx-qt/blob/33d1578c699e6b8fe3c0d205030a0c6973e829a4/crates/qt-build/src/lib.rs#L227

Comment 1 Be 2022-09-29 02:45:20 UTC
Created attachment 1914932 [details]
patch for qt6-qtdeclarative RPM .spec

Comment 2 Be 2022-09-29 02:46:13 UTC
I'm having trouble pushing to my fork on Pagure, so I attached a patch here.

Comment 3 Ben Cotton 2023-04-25 18:00:14 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Ludek Smid 2023-05-25 16:54:23 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Be 2023-05-26 00:22:43 UTC
Bug has not been fixed in Fedora 38.