Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1982699 - qmake6 generated Makefile introduces standard rpath
Summary: qmake6 generated Makefile introduces standard rpath
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: qt6-qtbase
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Grulich
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-15 13:34 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2021-07-15 13:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dominik 'Rathann' Mierzejewski 2021-07-15 13:34:32 UTC
Description of problem:
The Makefile generated by qmake6 contains -rpath in LFLAGS.

Version-Release number of selected component (if applicable):
qt6-qtbase-6.1.1-1.fc35

How reproducible:
Always

Steps to Reproduce:
1. $ cat > configure_non_gui.pro << EOF
QT = core

HEADERS = configure.h
SOURCES = configure.cpp
EOF
2. $ touch configure.cpp configure.h
3. $ qmake6 -makefile -nocache configure_non_gui.pro
4. $ grep ^LFLAGS Makefile 

Actual results:
LFLAGS        = -Wl,-O1 -Wl,-rpath,/usr/lib64

Expected results:
LFLAGS        = -Wl,-O1

Additional info:
This is breaking mkvtoolnix build qith Qt6 due to https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild .


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