Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 155548
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Krzysiek Pawlik <nelchael@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wpa_supplicant-0.5.6.ebuild.diff wpa_supplicant-0.5.6.ebuild.diff patch Jakub Moc (RETIRED) 2006-12-12 13:20 0000 913 bytes Details | Diff
wpa_supplicant-0.6.4-qt3support.diff Patch for improved dependency on qt3support patch Thomas Fischer 2009-03-31 15:32 0000 804 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 155548 depends on: Show dependency tree
Bug 155548 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-18 00:45 0000
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.

------- Comment #1 From Caleb Tennis 2006-12-04 10:32:51 0000 -------
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.

------- Comment #2 From Willard Dawson 2006-12-06 10:31:20 0000 -------
(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

------- Comment #3 From bunkacid 2006-12-07 22:18:12 0000 -------
 (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" 

------- Comment #4 From Roy Marples (RETIRED) 2006-12-11 05:02:49 0000 -------
Fixed, thanks

------- Comment #5 From Jakub Moc (RETIRED) 2006-12-12 13:15:26 0000 -------
*** Bug 157962 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2006-12-12 13:19:03 0000 -------
This check is broken, only qt-4.2.2+ has this flag...

------- Comment #7 From Jakub Moc (RETIRED) 2006-12-12 13:20:07 0000 -------
Created an attachment (id=103890) [details]
wpa_supplicant-0.5.6.ebuild.diff

------- Comment #8 From Roy Marples (RETIRED) 2006-12-13 10:27:37 0000 -------
Fixed, thanks Jakub :)

------- Comment #9 From Jakub Moc (RETIRED) 2007-02-07 22:35:04 0000 -------
*** Bug 165840 has been marked as a duplicate of this bug. ***

------- Comment #10 From Luke-Jr 2007-02-07 22:50:22 0000 -------
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

------- Comment #11 From Roy Marples (RETIRED) 2007-02-08 10:03:30 0000 -------
The check is present in 0.5.7

------- Comment #12 From Luke-Jr 2007-02-08 16:00:00 0000 -------
The bug also exists in 0.5.4
backport?

------- Comment #13 From Lars Wendler (Polynomial-C) 2009-03-21 09:38:52 0000 -------
*** Bug 263209 has been marked as a duplicate of this bug. ***

------- Comment #14 From Lars Wendler (Polynomial-C) 2009-03-21 09:40:14 0000 -------
Reopening as this still isn't fixed for all versions of wpa_supplicant

------- Comment #15 From Sven E. 2009-03-21 10:03:05 0000 -------
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?

------- Comment #16 From Thomas Fischer 2009-03-31 15:28:06 0000 -------
(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.

------- Comment #17 From Thomas Fischer 2009-03-31 15:32:54 0000 -------
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.

------- Comment #18 From Thomas Fischer 2009-03-31 15:48:18 0000 -------
(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...

------- Comment #19 From Davide Pesavento 2009-04-11 17:23:02 0000 -------
uberlord was retired long ago... this bug should be reassigned to mobile@g.o I
guess...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug