Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263209 - net-wireless/wpa_supplicant-0.6.4 needs qt4 with qt3support USE flag enabled when qt4 USE flag is set
Summary: net-wireless/wpa_supplicant-0.6.4 needs qt4 with qt3support USE flag enabled ...
Status: RESOLVED DUPLICATE of bug 155548
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-21 04:09 UTC by Sven E.
Modified: 2009-03-21 09:38 UTC (History)
0 users

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


Attachments
Build log (build.log,68.85 KB, text/plain)
2009-03-21 09:20 UTC, Sven E.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2009-03-21 04:09:18 UTC
When wpa_suppliant ist built with +qt4, but without +qt3support the build fails, since wpa_supplicant specifically wants to utilize qt3support.
Since +qt3support is needed, the use flags need to be fixed.

Reproducible: Always

Steps to Reproduce:
1. USE="+qt4 -qt3support" emerge wpa_supplicant
2.
3.

Actual Results:  
Error since qt3 is used by build but not in useflags:
In file included from .moc/../eventhistory.h:19,
                 from .moc/moc_eventhistory.cpp:10:
.ui/ui_eventhistory.h:13:42: error: Qt3Support/Q3MimeSourceFactory: No such file or directory
In file included from .moc/../scanresults.h:19,
                 from .moc/moc_scanresults.cpp:10:
.ui/ui_scanresults.h:13:42: error: Qt3Support/Q3MimeSourceFactory: No such file or directory


Expected Results:  
A clean compile, either by patching  wpa_suppliant, or by forcing +qt3support when using qt4.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-21 07:55:31 UTC
Please attach the build.log file.
Comment 2 Sven E. 2009-03-21 09:20:43 UTC
Created attachment 185717 [details]
Build log
Comment 3 Sven E. 2009-03-21 09:21:40 UTC
It seems there used to be exactly the same error:
http://bugs.gentoo.org/155548

Looks alot like this one ....
Comment 4 Sven E. 2009-03-21 09:34:52 UTC
Chck for qt3support:
    if use qt4 && has_version ">=x11-libs/qt-4.2.2" ; then
        if ! built_with_use x11-libs/qt qt3support ; then
            eerror ">=qt4.2.2 requires qt3support"
            die "rebuild >=x11-libs/qt-4.2.2 with the qt3support USE flag"
        fi
    fi
---
Unfortunately qt doesn't get pulled in, only qt-core, qt-gui etc. and I guess qt-gui should be chcked for qt3support or rather qt-core (Which probably holds the mime factory thing), or maybe even both ...


Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-21 09:38:52 UTC
(In reply to comment #3)
> It seems there used to be exactly the same error:
> http://bugs.gentoo.org/155548
> 
> Looks alot like this one ....

Indeed...

*** This bug has been marked as a duplicate of bug 155548 ***