Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530776 - net-wireless/bluez-5.25 USE=-readline - dobin: attrib/gatttool does not exist
Summary: net-wireless/bluez-5.25 USE=-readline - dobin: attrib/gatttool does not exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 14:56 UTC by Richard Li
Modified: 2014-11-26 22:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Li 2014-11-26 14:56:32 UTC
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
Comment 1 Pacho Ramos gentoo-dev 2014-11-26 22:45:26 UTC
+  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
+