Bug 1823397
| Summary: | qt5-qmake from qt-qtbase-devel-5.14.2 generates broken include and library paths | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sandro Mani <manisandro> |
| Component: | qt5-qtbase | Assignee: | Than Ngo <than> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jgrulich, jreznik, kde-sig, rdieter, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-13 15:27:00 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: | |||
Yep, already tracking issue in bug #1823118 *** This bug has been marked as a duplicate of bug 1823118 *** |
Description of problem: Minimal dummy qmake pro file: $ cat test.pro CONFIG += release TARGET = test SOURCES = test.cpp $ qmake-qt5 test.pro $ cat Makefile [...] INCPATH = -I. -I/../include/qt5 -I/../include/qt5/QtGui -I/../include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ [...] LIBS = $(SUBLIBS) /../lib64/libQt5Gui.so /../lib64/libQt5Core.so -lGL -lpthread This looks very wrong. One interesting part from strace, the first kinda interesting stat is: stat("/../lib64/qt5/mkspecs/linux-g++", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 looks like the prefix is /.. instead of /usr. Digging into the qmake code, looks like this is resolved starting from the $QMAKEPATH env-var. So this may be the source of all the subsequent odd paths. But I haven't yet found where QMAKEPATH comes from. I'll keep digging... Version-Release number of selected component (if applicable): qt5-qtbase-devel-5.14.2-2.fc33.x86_64