Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223135 - qt4-build.eclass insists that I have USE=aqua (?)
Summary: qt4-build.eclass insists that I have USE=aqua (?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 22:21 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2008-05-22 06:21 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 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-21 22:21:24 UTC
qt-4.3.3 won't build on x86-linux and it is so messy that I don't want to touch it. So, I decided to focus on qt-4.4.0 and start trying to make it work on x86-linux. "try" being the keyword there.

The qt-build eclass seems to think I have the aqua use flag set and insists on dying because a "use aqua && sed <blah> || die" exists.

Admittedly, I haven't looked at this too much yet, but simply commenting out the offending line[1] in the ebuild makes that part succeed only to fail later. Thoughts?

[1]: 

94 	        use aqua && sed \
95 	                -e '/^CONFIG/s:app_bundle::' \
96 	                -e '/^CONFIG/s:plugin_no_soname:plugin_with_soname absolute_library_soname:' \
97 	                -i mkspecs/macx-g++/qmake.conf || die "sed failed"
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-21 23:15:11 UTC
(In reply to comment #0)
> only to fail later.

The qt4-build.eclass is pretty nasty for prefix. It does things like:
QTDATADIR=${EPREFIX}/usr/share/qt4 and then later uses it for a configure call. But, the qt-core ebuild does something like: 

mv "${ED}"/${QTDATADIR}/mkspecs/qconfig.pri "${ED}${QTDATADIR}"/mkspecs/gentoo

This all needs to be fixed. I'm working on porting qt-4.4 (and deps) to prefix.

> 94              use aqua && sed \
> 95                      -e '/^CONFIG/s:app_bundle::' \
> 96                      -e '/^CONFIG/s:plugin_no_soname:plugin_with_soname
> absolute_library_soname:' \
> 97                      -i mkspecs/macx-g++/qmake.conf || die "sed failed"

I should have noticed that this is wrong.

if use aqua; then
    <blah> || die
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-21 23:38:59 UTC
(In reply to comment #1)

> if use aqua; then
>     <blah> || die
> 

r22298. Sorry for the noise.
Comment 3 Fabian Groffen gentoo-dev 2008-05-22 06:21:46 UTC
correct, good catch, I assume you fixed it.