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
Created attachment 123566 [details] Complete build log
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.
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
(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*
Yeah, the bug was pathing messed up by the qt3 eclass. So I've stopped using it :)