Arts rears its ugly head again: make[3]: Entering directory `/var/tmp/portage/kdenetwork-3.3.0/work/kdenetwork-3.3.0/wifi' /usr/qt/3/bin/moc ./interface_wireless.h -o interface_wireless.moc /usr/qt/3/bin/moc ./interface_wireless_wirelessextensions.h -o interface_wireless_wirelessextensions.moc /usr/qt/3/bin/moc ./kwifimanager.h -o kwifimanager.moc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -ftracer -mmmx -msse -msse2 -pipe -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 -c -o locator.o locator.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -ftracer -mmmx -msse -msse2 -pipe -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 -c -o main.o main.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -ftracer -mmmx -msse -msse2 -pipe -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 -c -o picture.o picture.cpp In file included from locator.cpp:20: interface_wireless.h:24:28: arts/iomanager.h: No such file or directory interface_wireless.h:25:29: arts/dispatcher.h: No such file or directory In file included from picture.cpp:23: interface_wireless.h:24:28: arts/iomanager.h: No such file or directory interface_wireless.h:25:29: arts/dispatcher.h: No such file or directory In file included from picture.cpp:23: interface_wireless.h:98: error: `Arts' is not a class or namespace interface_wireless.h:99: error: `TimeNotify' is not a class or namespace interface_wireless.h:99: error: invalid base-class specification interface_wireless.h:101: error: syntax error before `::' token interface_wireless.h:102: error: parse error before `::' token interface_wireless.h:107: error: parse error before `}' token In file included from locator.cpp:20: interface_wireless.h:98: error: `Arts' is not a class or namespace interface_wireless.h:99: error: `TimeNotify' is not a class or namespace interface_wireless.h:99: error: invalid base-class specification interface_wireless.h:101: error: syntax error before `::' token interface_wireless.h:102: error: parse error before `::' token interface_wireless.h:107: error: parse error before `}' token make[3]: *** [locator.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [picture.o] Error 1 In file included from kwifimanager.h:43, from main.cpp:25: interface_wireless.h:24:28: arts/iomanager.h: No such file or directory interface_wireless.h:25:29: arts/dispatcher.h: No such file or directory In file included from kwifimanager.h:43, from main.cpp:25: interface_wireless.h:98: error: `Arts' is not a class or namespace interface_wireless.h:99: error: `TimeNotify' is not a class or namespace interface_wireless.h:99: error: invalid base-class specification interface_wireless.h:101: error: syntax error before `::' token interface_wireless.h:102: error: parse error before `::' token interface_wireless.h:107: error: parse error before `}' token make[3]: *** [main.o] Error 1 make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.0/work/kdenetwork-3.3.0/wifi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.0/work/kdenetwork-3.3.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdenetwork-3.3.0 failed. !!! Function kde_src_compile, Line 130, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: USE="-arts wifi" emerge kdenetwork Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8 .1-ck1) ================================================================= System uname: 2.6.8.1-ck1 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -ftracer -mmmx - msse -msse2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3 /share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /us r/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ / usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/te xmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -ftracer -mmmx -msse -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo http://gentoo.oregonstate.e du http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi aim alsa apm audiofile avi berkdb bindist bzlib calendar cdr c rypt cups dga directfb divx4linux doc dvd encode ethereal exif f77 fam fbcon fla c flash foomaticdb ftp gdbm gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml icc icq imagemagick imap imlib jabber java jpeg junit ldap libg++ libwww mad ma ildir mikmod ming mmx mozilla mpeg mpi msn ncurses nocd nptl offensive oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppds python qt quicktime readline sam ba scanner slang slp spell sqlite sse ssl svg svga tcpd tetex theora tidy tiff t ruetype usb wmf x86 xinerama xml xml2 xosd xv xvid yahoo zlib"
Created attachment 37891 [details, diff] ugly hack for removing wifi's dependency on arts this dummy hack removes this dependency in cost of lost audial notification untested, but should work
Closer... g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -ftracer -mmmx -msse -msse2 -pipe -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 -c -o interface_dcop_skel.o interface_dcop_skel.cpp /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -mcpu=pentium4 -O2 -fomit-frame-pointer -ftracer -mmmx -msse -msse2 -pipe -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 kwifimanager -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib interface_wireless.o interface_wireless_wirelessextensions.o kwifimanager.o locator.o main.o picture.o speed.o statistics.o status.o strength.o asusled.o interface_dcop_skel.o -lmcop -liw -lkdeui /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lmcop collect2: ld returned 1 exit status make[3]: *** [kwifimanager] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.0/work/kdenetwork-3.3.0/wifi' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.0/work/kdenetwork-3.3.0/wifi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.3.0/work/kdenetwork-3.3.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdenetwork-3.3.0 failed. !!! Function kde_src_compile, Line 130, Exitcode 2 !!! died running emake, kde_src_compile:make
Created attachment 37933 [details, diff] same ugly hack with removed -lmcop can you try it?
Did the trick, thanks!
Can you also file this at bugs.kde.org so it gets fixed upstream?
*** Bug 62338 has been marked as a duplicate of this bug. ***
*** Bug 62716 has been marked as a duplicate of this bug. ***
can we apply this here till it is fixed upstream?
i hit this bug since 3.3 was marked x86 recently it would be nice to see it included it does work fine here
people rebuilding keep getting hit by this, can we use this till upstream fixed it?
The KDE people have this bug, when it will be fixed, who knows, In the mean time, could something be put in the ebuild to apply the patch in a -arts situation? I keep getting emails and emails from my users and I don't realy like making a portage overlay unless I have to
again, can someone file this as bugs.kde.org and post a link?
Sorry Caleb, I've been floating around on a boat for the last month with $10/min email though a sat phone. Looks like Steve filed the bug here: http://bugs.kde.org/show_bug.cgi?id=88565 Thanks for taking care of that Steve.
good deal - i think i can work up a patch for this that is a bit cleaner, too.
Created attachment 39981 [details, diff] Modified patch to turn off arts in wifi Please try this out and let me know if it works.
*** Bug 65463 has been marked as a duplicate of this bug. ***
Caleb, Your most recent patch (http://bugs.gentoo.org/attachment.cgi?id=39981) doesn't work properly, as it does not modify the status.cpp to "#include <unistd.h>", as per the previous patch. I'll attach a version that I've created that adds this, as taken from the previous patch, and also changes the locations diff will look for, so that this can be used as a Gentoo patch in the ebuild. i.e.: Save attachment as 3.3.0-kdenetwork.diff, under /usr/portage/kde-base/kdenetwork/files Then modify kdenetwork-3.3.0.ebuild, in /usr/portage/kde-base/kdenetwork/, to have: src_unpack() { kde_src_unpack epatch ${FILESDIR}/3.3.0-kget.diff epatch ${FILESDIR}/3.3.0-kopete.diff epatch ${FILESDIR}/3.3.0-kdenetwork.diff } (i.e. tell emerge to apply the new diff) I've got no idea if this is the correct method of doing any of this, and I'm only installing Gentoo for the first time today ;) If anyone can confirm this works, maybe it's a good idea to post to the KDE bugzilla too. Regards, Jonathan Love
Created attachment 41976 [details, diff] Patch for kdenetwork-3.3.0, including Caleb's patch and the status.cpp patch
Comment on attachment 41976 [details, diff] Patch for kdenetwork-3.3.0, including Caleb's patch and the status.cpp patch Still need to include the Makefile changes from the previous patch. Will create a new one...
Created attachment 41981 [details, diff] Hopefully working patch, including Makefile.in & status.cpp patch, and Caleb's latest
Guys, I've tried the last patch (41981) with kdenetwork-3.3.1. It worked! Patch was applied with some fuzz. Thanks!
Is it possibile to include this patch to the gentoo kde-network package?
It's fixed for kde 3.3.2, which will be out in a few days.
Closing.