Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349805 - eqmake4: drop -nocache from qmake invocation
Summary: eqmake4: drop -nocache from qmake invocation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Highest normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-26 17:45 UTC by Davide Pesavento (RETIRED)
Modified: 2010-12-30 23:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento (RETIRED) gentoo-dev 2010-12-26 17:45:39 UTC
In qt4-r2.eclass, eqmake4() calls qmake with the `-nocache` option which disables reading .qmake.cache from the working dir.

Disabling qmake cache globally is not a good idea because there are packages actually relying on it, and they break in subtle and hard-to-debug ways when the cache is missing. If caching causes issues for a specific package, then it should be disabled at the ebuild level (by passing -nocache to eqmake4). Furthermore there are now some packages that *require* it to be enabled in order to build successfully and there are no feasible workarounds for building them without qmake cache (e.g. >=qt-mobility-1.1.0).

So please drop -nocache from line 248 in qt4-r2.eclass :)
Comment 1 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-12-30 23:49:54 UTC
done:
"remove -nocache from qmake invocation because Davide threatened me to do it, actual proof in bug 349805"