Maybe an API change in wireless-tools-28_pre8 makes kdenetwork-3.4.1 compilation fail. Downgrading to pre6 fixes the issue. In file included from kwifimanager.all_cpp.cpp:3: interface_wireless_wirelessextensions.cpp: In member function `virtual bool Interface_wireless_wirelessextensions::poll_device_info()': interface_wireless_wirelessextensions.cpp:421: error: `iw_pr_ether' undeclared (first use this function) interface_wireless_wirelessextensions.cpp:421: error: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [kwifimanager.all_cpp.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.4.1/work/kdenetwork-3.4.1/wifi' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.4.1/work/kdenetwork-3.4.1/wifi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.4.1/work/kdenetwork-3.4.1' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. Emerge wireless_tools 2. Emerge kdenetwork Actual Results: Compilation failure Expected Results: Compilation success Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-ck3 i686) ================================================================= System uname: 2.6.11-ck3 i686 AMD Athlon(tm) XP Processor 3000+ Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r1, 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -msse2 -mfpmath=sse -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy digest distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://cdn.mirror.garr.it/mirrors/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext X a52 aac aalib alsa amd apache2 apm arts artswrappersuid audiofile avi bash-completion berkdb bidi bitmap-fonts c++ cdda cddb cdio cdparanoia cdr crypt cscope cups curl dba dga directfb dmx dts dv dvb dvd dvdr dvdread emboss encode esd faad fam fame fastcgi fbcon fbdev ffmpeg flac foomaticdb fpx freetype gd gdbm gif gimpprint gnokii gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal howl icu imagemagick imlib java javascript jikes jit jpeg jpeg2k junit kde kdeenablefinal kerberos kipi ldap libcaca libg++ libwww live lm_sensors lzo mad matroska mikmod mjpeg mmx mmxext mng motif mozilla mp3 mpeg mysql ncurses neXt netboot nls nodrm nonfsv4 nptl nvidia objc odbc offensive ogg oggvorbis openal openexr opengl oss pam pam_console pcmcia pdflib perl php pic png pnp postgres ppds pwdb python qt quicktime rdesktop readline real rtc ruby samba scanner sdl slang slp smime sms snmp speex spell sql sqlite sse sse2 ssl stream subversion svg tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vga vidix visualization vlm vorbis wifi win32codecs winbind wmf wxwindows xine xinerama xml2 xosd xprint xscreensaver xv xvid xvmc zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Confirm same problem.
There was an API change between 28_pre6 and 28_pre7 that broke kdenetwork/wifi (iw_pr_ether() replaced by iw_saether_ntop()). Could you post a bug at http://bugs.kde.org to notify the author?
brix: this API change can potentially affect also other packages, so I think the best solution is to put >=wireless-tools-28_pre7 in package.mask until these issues are resolved. Forcing a dependency on <=wireless-tools-28_pre6 will also cause the infinite downgrade-upgrade loop. What do you think?
I'm not sure... Putting >=wireless-tools-28_pre7 in package.mask will keep users from seeing the problems (and keep us from hearing about them), and when wireless-tools-28 goes final we will have lots of breakage all over. I'd rather wait a little while and see if this really affects other packages as well, if that's ok with you? Has the upstream maintainer of kdenetwork been notified yet?
(In reply to comment #4) > I'd rather wait a little while and see if this really affects other packages as > well, if that's ok with you? Ok then, I'm restricting the kdenetwork dependency as a temporary workaround in the meantime. > Has the upstream maintainer of kdenetwork been notified yet? yes, he will wait till wireless-tools-28 (https://bugs.kde.org/show_bug.cgi?id=106623).
Reopening.
A patch is available from https://bugs.kde.org/show_bug.cgi?id=106623 - according to the author, it has been applied to both trunk (3.5) und branch (3.4) and it works with WT-27 as well. Suggest adding this patch to the gentoo kdenetwork ebuilds and remove the <=wireless-tools-28_pre6 restriction.
*** Bug 96909 has been marked as a duplicate of this bug. ***
There is a patch in https://bugs.kde.org/show_bug.cgi?id=106623#c3 It has already been applied to the upstream trunk (3.5) und branch (3.4). Can we please get that fixed in kdenetwork?
Added patch from branch to 3.4.1 ebuilds.