$ emerge -av bluez-utils [ebuild U ] net-wireless/bluez-utils-2.7 [2.3-r1] -gtk 0 kB the ./configure works fine, without error, but somewhere during the make I get the following output: lex.yy.c:1234: warning: `yyunput' defined but not used gcc -Wall -g -O2 -lbluetooth -lsdp -o hcid main.o security.o lib.o parser.o lexer.o kword.o glib-ectomy.o make[2]: Leaving directory `/var/tmp/portage/bluez-utils-2.7/work/bluez-utils-2.7/hcid' Making all in tools make[2]: Entering directory `/var/tmp/portage/bluez-utils-2.7/work/bluez-utils-2.7/tools' gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c hcitool.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c l2ping.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c sdptool.c sdptool.c: In function `add_handsfree': sdptool.c:1129: error: `HANDSFREE_SVCLASS_ID' undeclared (first use in this function) sdptool.c:1129: error: (Each undeclared identifier is reported only once sdptool.c:1129: error: for each function it appears in.) sdptool.c:1135: error: `HANDSFREE_PROFILE_ID' undeclared (first use in this function) sdptool.c:1151: error: `SDP_SUPPORTED_FEATURES' undeclared (first use in this function) gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c ciptool.c sdptool.c: At top level: sdptool.c:1578: error: `HANDSFREE_SVCLASS_ID' undeclared here (not in a function) sdptool.c:1578: error: initializer element is not constant sdptool.c:1578: error: (near initialization for `service[7].class') sdptool.c:1578: error: initializer element is not constant sdptool.c:1578: error: (near initialization for `service[7]') sdptool.c:1580: error: initializer element is not constant sdptool.c:1580: error: (near initialization for `service[8]') sdptool.c:1581: error: initializer element is not constant sdptool.c:1581: error: (near initialization for `service[9]') sdptool.c:1583: error: initializer element is not constant sdptool.c:1583: error: (near initialization for `service[10]') sdptool.c:1584: error: initializer element is not constant sdptool.c:1584: error: (near initialization for `service[11]') sdptool.c:1585: error: initializer element is not constant sdptool.c:1585: error: (near initialization for `service[12]') sdptool.c:1587: error: initializer element is not constant sdptool.c:1587: error: (near initialization for `service[13]') make[2]: *** [sdptool.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/bluez-utils-2.7/work/bluez-utils-2.7/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/bluez-utils-2.7/work/bluez-utils-2.7' make: *** [all-recursive-am] Error 2 !!! ERROR: net-wireless/bluez-utils-2.7 failed. !!! Function src_compile, Line 50, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. get an IBM Thinkpad T40, and install gentoo on it (stage 3) I have the 2.6.8-gentoo kernel, don't know if it works on others 2. emerge bluez-utils 3. wait for the error Actual Results: I get the error mentioned in the Details Expected Results: compiled bluez-utils properly Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.8-gentoo) ================================================================= System uname: 2.6.8-gentoo i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/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/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gpm gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd tetex truetype x86 xml2 xmms xv zlib"
Could you reemerge net-wireless/bluez-libs?
I could, but it blocks bluez-sdp: [blocks B ] net-wireless/bluez-sdp (from pkg net-wireless/bluez-libs-2.7) [ebuild R ] net-wireless/bluez-libs-2.7 0 kB Is this something I want to do?
bluez-sdp is deprecated. you need to unmerge it as the block suggests