Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
When building wpa_suplicant it fails: g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I.. -I../../hostapd -I.moc -I.ui -o .obj/scanresults.o scanresults.cpp In file included from scanresults.h:19, from scanresults.cpp:17: .ui/ui_scanresults.h:13:31: error: Qt3Support/Q3Header: No such file or directory .ui/ui_scanresults.h:14:33: error: Qt3Support/Q3ListView: No such file or directory .ui/ui_scanresults.h:24:42: error: Qt3Support/Q3MimeSourceFactory: No such file or directory In file included from networkconfig.h:19, from scanresults.cpp:19: .ui/ui_networkconfig.h:27:45: error: Qt3Support/Q3ListViewItemIterator: No such file or directory In file included from eventhistory.h:19, from eventhistory.cpp:17: .ui/ui_eventhistory.h:23:42: error: Qt3Support/Q3MimeSourceFactory: No such file or directory .ui/ui_scanresults.h:30: error: ISO C++ forbids declaration of 'Q3ListView' with no type .ui/ui_scanresults.h:30: error: expected ';' before '*' token .ui/ui_scanresults.h: In member function 'void Ui_ScanResults::setupUi(QDialog*)': .ui/ui_scanresults.h:43: error: 'scanResultsView' was not declared in this scope .ui/ui_scanresults.h:43: error: expected type-specifier before 'Q3ListView' .ui/ui_scanresults.h:43: error: expected `;' before 'Q3ListView' .ui/ui_scanresults.h:60: error: 'QFrame' has not been declared .ui/ui_scanresults.h:61: error: 'QFrame' has not been declared .ui/ui_scanresults.h: In member function 'void Ui_ScanResults::retranslateUi(QDialog*)': .ui/ui_scanresults.h:100: error: 'scanResultsView' was not declared in this scope scanresults.h: At global scope: scanresults.h:37: error: 'Q3ListViewItem' has not been declared networkconfig.h:32: error: 'Q3ListViewItem' has not been declared scanresults.cpp: In constructor 'ScanResults::ScanResults(QWidget*, const char*, bool, Qt::WFlags)': scanresults.cpp:29: error: 'scanResultsView' was not declared in this scope scanresults.cpp: In member function 'virtual void ScanResults::updateResults()': scanresults.cpp:72: error: 'scanResultsView' was not declared in this scope scanresults.cpp:91: error: expected type-specifier before 'Q3ListViewItem' scanresults.cpp:91: error: expected `;' before 'Q3ListViewItem' scanresults.cpp: At global scope: scanresults.cpp:115: error: variable or field 'bssSelected' declared void scanresults.cpp:115: error: 'int ScanResults::bssSelected' is not a static member of 'class ScanResults' scanresults.cpp:115: error: 'Q3ListViewItem' was not declared in this scope scanresults.cpp:115: error: 'sel' was not declared in this scope scanresults.cpp:116: error: expected ',' or ';' before '{' token make: *** [.obj/scanresults.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [.obj/eventhistory.o] Error 1 !!! ERROR: net-wireless/wpa_supplicant-0.5.5 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile wpa_supplicant-0.5.5.ebuild, line 155: Called die !!! emake wpa_gui-qt4 failed And I have: [ebuild R ] x11-libs/qt-4.2.1-r1 USE="cups doc gif jpeg opengl pch png postgres xinerama zlib -accessibility -dbus -debug -examples -firebird -glib -mng -mysql -nas -nis -odbc -qt3 -sqlite" INPUT_DEVICES="-wacom" 0 kB wpa_supplicant with USE="qt4" requires qt4 with USE="qt3" (that flag was added in qt-4.2.1-r1) or patching it to be pure Qt4 app.
In qt-4.2.2, the Qt3Support libraries can be turned on/off with the qt3support flag. Adding a check for it to this ebuild is probably all that's needed.
(In reply to comment #1) > In qt-4.2.2, the Qt3Support libraries can be turned on/off with the qt3support > flag. Adding a check for it to this ebuild is probably all that's needed. > As of today, this bug still exists for: wpa_supplicant-0.5.6 qt-4.2.1
(In reply to comment #1) I was experiencing this issue and I found this bug. I added qt3support USE flag per the above comment, to the x11-libs/qt and recompiled both wpa_supplicant, x11-libs/qt fixed the issue. Here is the versions I am using along with the associate USE flags used to compile the software. x11-libs/qt-4.2.2 USE="-accessibility cups -dbus -debug -doc -examples -firebird gif -glib jpeg mng mysql nas -nis -odbc opengl -pch png -postgres qt3support sqlite -sqlite3 xinerama zlib" INPUT_DEVICES="-wacom" net-wireless/wpa_supplicant-0.5.6 USE="dbus -gsm madwifi -qt3 qt4 readline ssl"
Fixed, thanks
*** Bug 157962 has been marked as a duplicate of this bug. ***
This check is broken, only qt-4.2.2+ has this flag...
Created an attachment (id=103890) [details] wpa_supplicant-0.5.6.ebuild.diff
Fixed, thanks Jakub :)
*** Bug 165840 has been marked as a duplicate of this bug. ***
The check is broken with: [ebuild R ] x11-libs/qt-4.2.2 USE="accessibility cups dbus gif jpeg mng opengl png sqlite3 zlib -debug -doc -examples (-firebird) -glib -mysql -nas -nis -odbc -pch -postgres -qt3support -sqlite -xinerama" INPUT_DEVICES="-wacom" 0 kB
The check is present in 0.5.7
The bug also exists in 0.5.4 backport?
*** Bug 263209 has been marked as a duplicate of this bug. ***
Reopening as this still isn't fixed for all versions of wpa_supplicant
As a comparison, look at this, when I try to emerge umbrello: emerge: there are no ebuilds built with USE flags to satisfy "x11-libs/qt-core:4[qt3support,ssl]". !!! One of the following packages is required to complete your request: - x11-libs/qt-core-4.5.0 (Change USE: +qt3support) (dependency required by "kde-base/umbrello-4.2.1" [ebuild]) (dependency required by "umbrello" [argument]) This looks a lot like something I'd expect for wpa_supplicant in this case, they do some kde inherit stuff in the ebuild, maybe it's possible to do a a similiar check for wpa_supplicant?
(In reply to comment #15) > As a comparison, look at this, when I try to emerge umbrello: > > emerge: there are no ebuilds built with USE flags to satisfy > "x11-libs/qt-core:4[qt3support,ssl]". > !!! One of the following packages is required to complete your request: > - x11-libs/qt-core-4.5.0 (Change USE: +qt3support) This problem can be fixed (I hope) by a patch I'm going to attach soon. The patch, however, depends on that another bug (bug #264403) is fixed first (does not apply if you use Qt 4.5.
Created an attachment (id=186871) [details] Patch for improved dependency on qt3support Improves the dependency checking on USE qt3support in x11-libs/qt-core or x11-libs/qt. Simplifies the checking by using EAPI=1 features.
(In reply to comment #17) > Created an attachment (id=186871) [edit] [details] > Patch for improved dependency on qt3support > > Improves the dependency checking on USE qt3support in x11-libs/qt-core or > x11-libs/qt. Simplifies the checking by using EAPI=1 features. Hm, there may be two typos: 1. It should be [qt3support] instead of [qt3support=] 2. This USE flag checking is an EAPI2 feature, so the ebuild should require EAPI=2 Further comments are welcome...
uberlord was retired long ago... this bug should be reassigned to mobile@g.o I guess...