Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183906 - net-wireless/wpa_supplicant does not compile with qt4 USE enabled
Summary: net-wireless/wpa_supplicant does not compile with qt4 USE enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-01 23:25 UTC by David Carlos Manuelda
Modified: 2007-07-02 15:40 UTC (History)
1 user (show)

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


Attachments
Complete build log (build.log,44.01 KB, text/plain)
2007-07-01 23:26 UTC, David Carlos Manuelda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2007-07-01 23:25:44 UTC
I tried to emerge net-wireless/wpa_supplicant and it has by default in my system qt3 qt4 realine ssl USE enabled.

I tried to compile but it fails with this:

x86_64-pc-linux-gnu-gcc -Wl,-O1 -o wpa_supplicant config.o common.o md5.o md4.o rc4.o sha1.o des.o os_unix.o eloop.o config_file.o base64.o l2_packet_linux.o eap_tls.o eap_peap.o eap_ttls.o eap_md5.o eap_mschapv2.o eap_gtc.o eap_otp.o eap_leap.o eap_psk.o eap_psk_common.o eap_tlv.o eap_pax.o eap_pax_common.o eapol_sm.o eap.o eap_methods.o eap_tls_common.o tls_openssl.o ms_funcs.o crypto.o ctrl_iface.o ctrl_iface_unix.o ctrl_iface_dbus.o ctrl_iface_dbus_handlers.o dbus_dict_helpers.o wpa.o preauth.o pmksa_cache.o aes_wrap.o wpa_supplicant.o events.o main.o drivers.o driver_hostap.o driver_prism54.o driver_atmel.o driver_ndiswrapper.o driver_ipw.o driver_wired.o driver_wext.o -lssl -lcrypto -ldl `pkg-config --libs dbus-1`
x86_64-pc-linux-gnu-gcc -Wl,-O1 -o wpa_passphrase wpa_passphrase.o sha1.o md5.o md4.o common.o des.o os_unix.o crypto.o -lcrypto
x86_64-pc-linux-gnu-gcc -Wl,-O1 -o wpa_cli wpa_cli.o wpa_ctrl.o os_unix.o -lncurses -lreadline
WARNING: Found potential symbol conflict of wpagui.cpp (wpagui.cpp) in SOURCES
WARNING: Found potential symbol conflict of wpagui.h (wpagui.h) in HEADERS
WARNING: Found potential symbol conflict of eventhistory.cpp (eventhistory.cpp) in SOURCES
WARNING: Found potential symbol conflict of eventhistory.h (eventhistory.h) in HEADERS
WARNING: Found potential symbol conflict of scanresults.cpp (scanresults.cpp) in SOURCES
WARNING: Found potential symbol conflict of scanresults.h (scanresults.h) in HEADERS
WARNING: Found potential symbol conflict of userdatarequest.cpp (userdatarequest.cpp) in SOURCES
WARNING: Found potential symbol conflict of userdatarequest.h (userdatarequest.h) in HEADERS
WARNING: Found potential symbol conflict of networkconfig.cpp (networkconfig.cpp) in SOURCES
WARNING: Found potential symbol conflict of networkconfig.h (networkconfig.h) in HEADERS
Makefile:252: warning: overriding commands for target `.obj/wpagui.o'
Makefile:185: warning: ignoring old commands for target `.obj/wpagui.o'
Makefile:256: warning: overriding commands for target `.obj/eventhistory.o'
Makefile:189: warning: ignoring old commands for target `.obj/eventhistory.o'
Makefile:262: warning: overriding commands for target `.obj/scanresults.o'
Makefile:195: warning: ignoring old commands for target `.obj/scanresults.o'
Makefile:267: warning: overriding commands for target `.obj/userdatarequest.o'
Makefile:200: warning: ignoring old commands for target `.obj/userdatarequest.o'
Makefile:272: warning: overriding commands for target `.obj/networkconfig.o'
Makefile:205: warning: ignoring old commands for target `.obj/networkconfig.o'
Makefile:290: warning: overriding commands for target `.obj/moc_wpagui.o'
Makefile:275: warning: ignoring old commands for target `.obj/moc_wpagui.o'
Makefile:293: warning: overriding commands for target `.obj/moc_eventhistory.o'
Makefile:278: warning: ignoring old commands for target `.obj/moc_eventhistory.o'
Makefile:296: warning: overriding commands for target `.obj/moc_scanresults.o'
Makefile:281: warning: ignoring old commands for target `.obj/moc_scanresults.o'
Makefile:299: warning: overriding commands for target `.obj/moc_userdatarequest.o'
Makefile:284: warning: ignoring old commands for target `.obj/moc_userdatarequest.o'
Makefile:302: warning: overriding commands for target `.obj/moc_networkconfig.o'
Makefile:287: warning: ignoring old commands for target `.obj/moc_networkconfig.o'
Makefile:320: warning: overriding commands for target `.moc/moc_wpagui.cpp'
Makefile:305: warning: ignoring old commands for target `.moc/moc_wpagui.cpp'
Makefile:323: warning: overriding commands for target `.moc/moc_eventhistory.cpp'
Makefile:308: warning: ignoring old commands for target `.moc/moc_eventhistory.cpp'
Makefile:326: warning: overriding commands for target `.moc/moc_scanresults.cpp'
Makefile:311: warning: ignoring old commands for target `.moc/moc_scanresults.cpp'
Makefile:329: warning: overriding commands for target `.moc/moc_userdatarequest.cpp'
Makefile:314: warning: ignoring old commands for target `.moc/moc_userdatarequest.cpp'
Makefile:332: warning: overriding commands for target `.moc/moc_networkconfig.cpp'
Makefile:317: warning: ignoring old commands for target `.moc/moc_networkconfig.cpp'
/usr/qt/3/bin/uic wpagui.ui -o .ui/wpagui.h
/usr/qt/3/bin/uic eventhistory.ui -o .ui/eventhistory.h
/usr/qt/3/bin/uic scanresults.ui -o .ui/scanresults.h
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.8)
make: *** [.ui/wpagui.h] Error 1
make: *** Waiting for unfinished jobs....
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.8)
make: *** [.ui/scanresults.h] Error 1
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.8)
make: *** [.ui/eventhistory.h] Error 1

!!! ERROR: net-wireless/wpa_supplicant-0.5.7 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  wpa_supplicant-0.5.7.ebuild, line 152:   Called die

!!! emake wpa_gui-qt4 failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/wpa_supplicant-0.5.7/temp/build.log'.


I think it is qt4 related bacause it build correctly with -qt4 USE flag and all other USE variables untouched.

Reproducible: Always
Comment 1 David Carlos Manuelda 2007-07-01 23:26:34 UTC
Created attachment 123566 [details]
Complete build log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-02 06:31:35 UTC
Uberlord, does it work for you if you specify the full path to qmake? I'll start filing bugs about this issue as there are quite a few packages affected by the PATH issue.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-07-02 06:47:45 UTC
Does the ebuild inherit qt3 near the top? If so, remove it and try again.

(In reply to comment #2)
> Uberlord, does it work for you if you specify the full path to qmake? I'll
> start filing bugs about this issue as there are quite a few packages affected
> by the PATH issue.

Heh, I had bugs requesting the removal of the hardcoded path to qmake :P
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-07-02 06:54:13 UTC
(In reply to comment #3)
> Heh, I had bugs requesting the removal of the hardcoded path to qmake :P

Uh... That really makes sense. *g* 

Comment 5 Roy Marples (RETIRED) gentoo-dev 2007-07-02 15:40:57 UTC
Yeah, the bug was pathing messed up by the qt3 eclass. So I've stopped using it :)