kdenetwork 3.2.0_beta1 fails to build when attemping to link to the library "iw". Although I don't have a "libiw.so", I do have "libiw14.so". This is with wireless-tools-27_pre2. I think the problem is that either wireless-tools should create a symlink /usr/lib/libiw.so to /usr/lib/libiw14.so, or kdenetwork needs to link to libiw14, or whatever. The former looks better to me. Reproducible: Always Steps to Reproduce: 1. emerge kdenetwork-3.2.0_beta1.ebuild Actual Results: Making all in wifi make[2]: Entering directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/ kdenetwork-3.1.93/wifi' Making all in kcmwifi make[3]: Entering directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/ kdenetwork-3.1.93/wifi/kcmwifi' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/ kdenetwork-3.1.93/wifi/kcmwifi' Making all in kwireless make[3]: Entering directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/ kdenetwork-3.1.93/wifi/kwireless' /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -pipe -march=pentium4 -mmmx -msse2 -mfpmath=sse -fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -fprefetch-loop-arrays -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkwireless.la -rpath /usr/kde/3.2/lib -module -avoid-version -L/usr/X11R6/ lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib kwireless.lo kwirelesswidget.lo linuxwirelesswidget.lo propertytable.lo propertytablebase.lo -liw -lkdeui /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -liw collect2: ld returned 1 exit status make[3]: *** [libkwireless.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/ kdenetwork-3.1.93/wifi/kwireless' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/ kdenetwork-3.1.93/wifi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/ kdenetwork-3.1.93' make: *** [all] Error 2 !!! ERROR: kde-base/kdenetwork-3.2.0_beta1 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: It should have built kdenetwork. Should kdenetwork depend on wireless-tools ? I had it installed already for my wireless NIC, but I could not find the depend for wireless-tools in kdenetwork.
I noticed bug 32702 is the same, although the solution was to unmerge wireless tools. I have a wireless NIC so I'd like the wireless features KDE 3.2 may provide.
wireless-tools-26 actually does use /usr/lib/libiw.a, so kdenetwork will compile with this package. This may be a bug in wireless-tools-27_pre2.
Yeah, not much I can do on the kde side. If it finds iwlib.h, then it assumes that everything is installed properly. If you don't have the static library installed, then it will fail. Probably should pry whoever maintains the wireless-tools ebuild.
The latest, most active person for wireless-tools appears to be Peter Johanson <latexer@gentoo.org>.
I've found a workaround: # cd /usr/lib # ls -F libiw* libiw15.so@ libiw15.so.27* # ln -s libiw15.so libiw.so # emerge /usr/portage/kde-base/kdenetwork/kdenetwork-3.2.0_beta1.ebuild emerge succeeds. So it seems that wireless-tools isn't creating the libiw.so symlink
should all be fixed now.