Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172219 - x11-libs/qt-core: Ignored CXXFLAGS, LDFLAGS
Summary: x11-libs/qt-core: Ignored CXXFLAGS, LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-25 19:13 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2009-02-14 23:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
qt-FLAGS.patch (qt-FLAGS.patch,2.33 KB, patch)
2007-03-25 19:15 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,2.34 KB, patch)
2007-03-31 21:01 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,3.71 KB, patch)
2007-05-03 13:14 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,5.07 KB, patch)
2007-05-13 00:22 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,1.54 KB, patch)
2007-05-20 19:54 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,1.56 KB, patch)
2007-06-08 15:13 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,1.57 KB, patch)
2007-08-02 21:48 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,1.57 KB, patch)
2007-08-07 17:19 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,1.56 KB, patch)
2007-08-08 17:38 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,1.57 KB, patch)
2007-09-21 16:40 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,1.56 KB, patch)
2007-10-03 18:49 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,1.53 KB, patch)
2007-12-09 15:39 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,2.91 KB, patch)
2008-01-21 21:18 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,338 bytes, patch)
2008-07-28 15:24 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,690 bytes, patch)
2008-08-07 06:22 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,690 bytes, patch)
2008-09-19 14:47 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
qt-FLAGS.patch (qt-FLAGS.patch,436 bytes, patch)
2009-02-14 21:05 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-25 19:13:58 UTC
At the start of building of Qt, while qmake is being built, CPPFLAGS, CXXFLAGS, ASFLAGS and LDFLAGS are ignored.

(Also CPPFLAGS and ASFLAGS are always ignored.)
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-25 19:15:47 UTC
Created attachment 114405 [details, diff]
qt-FLAGS.patch
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-31 21:01:55 UTC
Created attachment 115090 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2007-04-01 21:51:12 UTC
These bugs aren't related.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-04-02 16:37:33 UTC
(In reply to comment #3)
> These bugs aren't related.

But could you explain why users must wait very longly before bug reports with ready, good patches are resolved?
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2007-04-11 11:30:54 UTC
because this is a completely voluntary effort of which we could use more help.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-03 13:14:37 UTC
Created attachment 118042 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-13 00:22:03 UTC
Created attachment 119055 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2007-05-14 11:52:49 UTC
I've applied your patch to 4.3.0_rc1.  I'm hesitant to do it to older versions just because of the compilation error impact it might have, but we can try it out for the 4.3 series and the future.
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-14 16:42:24 UTC
(In reply to comment #8)
> I've applied your patch to 4.3.0_rc1.

Thanks.

> I'm hesitant to do it to older versions just because of the compilation error
> impact it might have

I was rebuilding older version many times when updates were available and it never caused any compilation error. Actually any occurrence of compilation error caused by optimizing qmake is rather impossible because in this case qmake is only used to process data from *.pr[io] and *.conf files (and environment?) into Makefiles.

So you can safely apply at least the qt-3.3.8-r2 part of my patch (I don't have qt-4.{2.3-r1,3.0_beta1} installed so I don't care about them).


P.S.
I yesterday discovered that configure script from Qt >=4.3.0_beta1 has new options "-optimized-qmake" and "-no-optimized-qmake" so maybe even upstream realized that not optimizing qmake was error. However "-no-optimized-qmake" seems to be still default. But these options weren't tested by me so don't change qt-4.3.0_rc1.ebuild, please, as current version of qt-4.3.0_rc1.ebuild surely works correctly.
Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-20 19:54:56 UTC
Created attachment 119841 [details, diff]
qt-FLAGS.patch

Updated patch. Patching a fragment of qt-4.3.0_rc1.ebuild is only to keep consistency with other fragments of this ebuild.

Entire KDE, KOffice, K3b etc. build correctly with qmake optimized, so you can safely apply this patch.

(In reply to comment #9)
> "-optimized-qmake"

Unfortunately this option ignores LDFLAGS.
Comment 11 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-08 15:13:37 UTC
Created attachment 121503 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 12 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-08-02 21:48:18 UTC
Created attachment 126753 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 13 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-08-07 17:19:42 UTC
Created attachment 127185 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 14 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-08-08 17:38:52 UTC
Created attachment 127303 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 15 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-09-21 16:40:50 UTC
Created attachment 131537 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 16 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-10-03 18:49:07 UTC
Created attachment 132484 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 17 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-12-09 15:39:55 UTC
Created attachment 138098 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 18 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-01-21 21:18:23 UTC
Created attachment 141511 [details, diff]
qt-FLAGS.patch

Updated patch.

Currently all ebuilds using qt4-build.eclass completely ignore LDFLAGS. It should be fixed.
Comment 19 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-03-05 23:28:31 UTC
All Qt 4.4.0_beta1 ebuilds are fixed.
Comment 20 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-07-28 15:24:40 UTC
Created attachment 161527 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 21 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-08-06 19:44:08 UTC
x11-libs/qt-core-4.4.0:

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include this file in your report:
 *  /var/tmp/portage/x11-libs/qt-core-4.4.0/temp/scanelf-ignored-LDFLAGS.log
 * /usr/bin/qmake
Comment 22 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-08-07 06:22:55 UTC
Created attachment 162409 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 23 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-09-19 14:47:35 UTC
Created attachment 165848 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 24 Ben de Groot (RETIRED) gentoo-dev 2008-10-28 23:54:12 UTC
qt-3.3.8b is fixed now, still need to do qt-4
Comment 25 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-02-14 21:05:59 UTC
Created attachment 182051 [details, diff]
qt-FLAGS.patch

Updated patch.
Comment 26 Markos Chandras (RETIRED) gentoo-dev 2009-02-14 21:12:53 UTC
(In reply to comment #25)
> Created an attachment (id=182051) [edit]
> qt-FLAGS.patch
> 
> Updated patch.
> 

That should go into qt4-build eclass . There is no point in doing this only for qt-core right?
Comment 27 Markos Chandras (RETIRED) gentoo-dev 2009-02-14 23:02:13 UTC
Ok, both qt-core-4.5.0_rc1 ebuild and eclass fixed on cvs

This bug can now close :)

Re-open if needed