The ebuild always attempts to install attrib/gatttool. However, it's only built if readline is enabled. See Makefile.tools: if READLINE noinst_PROGRAMS += attrib/gatttool \ tools/obex-client-tool tools/obex-server-tool \ tools/bluetooth-player tools/obexctl The following patch fixes the problem: --- bluez-5.25.ebuild 2014-11-26 22:52:10.855800297 +0800 +++ bluez-5.25.ebuild 2014-11-26 22:52:31.481645867 +0800 @@ -149,7 +149,7 @@ # Upstream don't install this, bug #524640 # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115 # http://comments.gmane.org/gmane.linux.bluez.kernel/54564 - dobin attrib/gatttool + use readline && dobin attrib/gatttool dobin tools/hex2hcd # Unittests are not that useful once installed
+ 26 Nov 2014; Pacho Ramos <pacho@gentoo.org> -bluez-5.24.ebuild, + bluez-5.25.ebuild: + gatttool is only built with readline, bug #530776 by Richard Li; drop old +