First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 32802
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Peter Johanson (RETIRED) <latexer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pat Double <gentoo@patdouble.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 32802 depends on: Show dependency tree
Show dependency graph
Bug 32802 blocks: 33043
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2003-11-05 09:17 0000
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.

------- Comment #1 From Pat Double 2003-11-05 09:22:26 0000 -------
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.

------- Comment #2 From Pat Double 2003-11-05 09:41:20 0000 -------
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.



------- Comment #3 From Caleb Tennis 2003-11-05 10:30:35 0000 -------
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.

------- Comment #4 From Pat Double 2003-11-05 10:35:56 0000 -------
The latest, most active person for wireless-tools appears to be Peter Johanson
<latexer@gentoo.org>.

------- Comment #5 From Mario Camou 2003-11-09 03:08:33 0000 -------
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

------- Comment #6 From Caleb Tennis 2004-09-19 20:02:20 0000 -------
should all be fixed now.

First Last Prev Next    No search results available      Search page      Enter new bug