Bug 193602
Summary: | qt4: useless debuginfo package | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <scop> |
Component: | qt4 | Assignee: | Rex Dieter <rdieter> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | extras-qa, mail |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-06-27 16:07:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 193601 |
Description
Ville Skyttä
2006-05-30 21:27:25 UTC
Looks like qmake is to blame, it uses (by default): QMAKE_STRIP = strip QMAKE_STRIPFLAGS_LIB += --strip-unneeded So, at least for the initial qt4 (rpm) build, I'll have to override these (default) values. This will also affect all(most?) apps/libraries built against qt4 using qmake. They will also end up with useless -debuginfo rpms. For example, see texmaker-debuginfo-1.3 currently in Extras. 2 options: (1) Disable QT_STRIP (unconditionally). patch mkspecs/%{platform}/qmake.conf: QMAKE_STRIP = /bin/true (2) Create a new QMAKESPEC, named, say, debuginfo(*), cloning mkspecs/default to mkspecs/debuginfo, and then modify mkspecs/debuginfo/qmake.conf to include instead: QMAKE_STRIP = /bin/true Default behavior would stay the same (ie, include the ability to strip, which matches upstream default behavior), while allowing a different QMAKESPEC for packagers who want/need (useful) -debuginfo rpms. This would require packagers to use: qmake4 -spec debuginfo and/or set export QMAKESPEC=debuginfo before running qmake4. (*) debuginfo is the first name I came up with. Can use any new/unique name here. It appears (un)setting QMAKE_STRIP = works too. But where to find the qt4 debug libraries. using in the qt .pro file: CONFIG += debug makes the linker complain about: /usr/bin/ld: cannot find -lQtGui_debug I can't find the package containing: libQtGui_debug.so.4.1.3 and analog files. Shouldn't this be also in this debuginfo??? or is the qt4-devel the right rpm? qt4 as-is isn't built with debug libraries (only ./configure --release). If you want/need that, please file another report. Reclosing... Re: comment #4 and comment #5, see bug #196513 |