If USE has extra-tools enabled, a conditional if USE readline is hit, if readline is also enabled, then a doins for attrib/gatttool is triggered that fails. Effects ~arch net-wireless/bluez accross all architectures. Reproducible: Always Steps to Reproduce: USE="readline extra-tools" emerge =bluez-5.44 or USE="readline extra-tools" emerge =bluez-5.45 Actual Results: everything good until: * dobin failed . . . * QA Notice: file does not exist: * * dobin: attrib/gatttool does not exist Expected Results: Normal merge with successful dobin of attrib/gatttool gatttool binary is not present anywhere in the source tarball, after configure stage, or compiled work directory for either testing branch version (5.44 and 5.45): box bluez # find /var/tmp/portage/net-wireless/bluez-5.45/work -name gatttool box bluez # net-wireless/bluez-5.44 has the same missing file: * S: '/var/tmp/portage/net-wireless/bluez-5.44/work/bluez-5.44' * QA Notice: file does not exist: * * dobin: attrib/gatttool does not exist The other dobin line of the conditional stanza is successful if the first is removed. Offending line for both 5.44 and 5.45 versions is line 191. Stable branch version 5.43-r1 is not effected.
Created attachment 478012 [details, diff] patch for bluez-5.45.ebuild requires deprecated USE flag is extra-tools USE is enabled
Created attachment 478014 [details, diff] patch for blues-5.44.ebuild adds USE dep of deprecated if USE extra-tools is enabled + sorts out nested conditional for dobin
Created attachment 478016 [details, diff] patch for blues-5.45.ebuild adds required USE of deprecated if extra-tools USE is enabled removes nested conditional before dobins --no need for nested since extra-tools already requires readline
Upstream has moved the gatttool binary build behind the "deprecated" switch. https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b1eb2c4cd057624312e0412f6c4be000f7fc3617 Submitted patches for both 5.45 and 5.45 ebuilds
Created attachment 478092 [details, diff] corrected patch for bluez-5.44
*** Bug 624372 has been marked as a duplicate of this bug. ***
[master fbab5968fa5] net-wireless/bluez: Version bump, fix extra-tools (#622712 by Ted Rodgers) 2 files changed, 254 insertions(+) create mode 100644 net-wireless/bluez/bluez-5.46.ebuild