Acknowledgement sent
to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Qt/KDE Maintainers <[email protected]>.
(Wed, 31 Mar 2021 15:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Dmitry Shachnev <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <[email protected]>.
(Wed, 31 Mar 2021 16:57:02 GMT) (full text, mbox, link).
Subject: Re: Bug#986206: qmake drops options passed from
QMAKE_CXXFLAGS_RELEASE and QMAKE_CXXFLAGS_DEBUG
Date: Wed, 31 Mar 2021 19:56:04 +0300
Control: reassign -1 src:guymager 0.8.12-1
Control: severity -1 important
Hi Matthias!
On Wed, Mar 31, 2021 at 05:30:17PM +0200, Matthias Klose wrote:
> seen when building guymager, adding to the rules file:
>
> export DEB_CXXFLAGS_MAINT_APPEND = --param ggc-min-expand=0 --param
> ggc-min-heapsize=0
>
> The generated Makefile isn't correctly generated. The "# Command" line shows the
> passed args, which are correct, however the "^CXXFLAGS" line shows that the
> flags are expanded twice, and the first time, the second --param option is
> omitted, but not the parameter following that option.
This happens because guymager.pro line 150 has this:
QMAKE_CXXFLAGS *= $$system(dpkg-buildflags --get CXXFLAGS)
The *= operator is for adding unique values (as opposed to +=). The --param
flag appears twice, so it keeps only the first instance:
https://doc.qt.io/qt-5/qmake-language.html#adding-unique-values
You can use --param=ggc-min-expand=0 --param=ggc-min-heapsize=0, then there
will be no such problem.
Also there is no need at all to call dpkg-buildflags from the .pro file.
debhelper passes all needed flags via command line arguments.
> Feel free to reassign to guymager and lowering the severity, if that is not
> a generic qmake issue.
Doing so.
Dear guymager maintainer(s): please consider removing lines 150 and 151 from
guymager.pro, or at least replacing *= with +=.
--
Dmitry Shachnev
No longer marked as found in versions qtbase-opensource-src/5.15.2+dfsg-5.
Request was from Dmitry Shachnev <[email protected]>
to [email protected].
(Wed, 31 Mar 2021 16:57:03 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.