/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include -I/usr/include -I/usr/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o obexserver.lo `test -f 'obexserver.cpp' || echo './'`obexserver.cpp distcc[13387] ERROR: compile on 192.168.33.25 failed obex.cpp: In member function `void Obex::slotHandleInput(int)': obex.cpp:185: `::close' undeclared (first use here) make[2]: *** [obex.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-20031218/work/kdebluetooth-20031218/libkobex' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-20031218/work/kdebluetooth-20031218' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23-ck1) ================================================================= System uname: 2.4.23-ck1 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://212.219.247.14/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 aalib apm arts artswrappersuid avi berkdb bluetooth cdr crypt cups dga directfb dv dvd encode ethereal fbcon fbdev ffmpeg foomaticdb gdbm gif gpm gtk2 imlib java javascript jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl png pnp python qt quicktime radeon readline samba sdl slang spell sse ssl svga tcpd truetype usb x86 xml2 xv xvid zlib"
Note: same error occurs with -march=pentium3 or without distcc (tested just in case).
Sorry, but this should now work. Please remove your source in the distfiles and retry. Bye!
Sorry, but no. I removed and re-downloaded every file and directory with a 'kdebluetooth' in them and the error remains unchanged.
I just tried emerging this for the first time and got the same error, using the source from http://members.xoom.virgilio.it/motaboy/kdebluetooth-20031218.tar.bz2 I read on the mailing list that this file should be fixed, but that doesn't appear to be the case.
I've released another ebuild and I think it'll inserted in the portage tree. Now you can find it at the same place: http://members.xoom.virgilio.it/motaboy/kdebluetooth-20031218.tar.bz2 Sorry for all the past problems but I can test this error on my system, and I hope this will work. Please CC me if you report a bug! Bye!
sorry the ebuild is another (20040128) and you can find it here: http://members.xoom.virgilio.it/motaboy/ebuilds/kdebluetooth-20040128-ebuild.tar.bz2 The sources are here: http://members.xoom.virgilio.it/motaboy/kdebluetooth-20040128.tar.bz2 Bye!
New kdebluetooth-20040308 fails to compile: /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -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 -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -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 qobexirdatransport.lo `test -f 'qobexirdatransport.cpp' || echo './'`qobexirdatransport.cpp make[4]: *** [qobexintransport.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kdebluetooth-20040308/work/kdebluetooth-20040308/kdebluetooth/libqobex/qobex' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebluetooth-20040308/work/kdebluetooth-20040308/kdebluetooth/libqobex' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-20040308/work/kdebluetooth-20040308/kdebluetooth' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-20040308/work/kdebluetooth-20040308' make: *** [all] Error 2 !!! ERROR: net-wireless/kdebluetooth-20040308 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make
Try to use linux-headers-2.4.22 (emerge it by temporarily setting ACCEPT_KEYWORDS to the unstable branch). It solved the problem for me and should be made a requirement in the ebuild.
Thanks for the tip with emerge =linux-headers-2.4.22 that solved the problem ;-))
i think that bug should be closed, seems to be fixed
closing per above comment.