Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785424 - net-wireless/bluez: Add --experimental to init scripts when USE=experimental
Summary: net-wireless/bluez: Add --experimental to init scripts when USE=experimental
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: https://github.com/bluez/bluez/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-24 16:59 UTC by Stefan Schmid
Modified: 2021-06-22 16:17 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 Stefan Schmid 2021-04-24 16:59:30 UTC
If "net-wireless/bluez" is installed with the USE flag "experiemental", the corresponding option (--experimental) is still missing in the service unit (bluetooth.service).

From Manpage (man bluetoothd):
-E, --experimental
Enable experimental interfaces. Those interfaces are not guaranteed to be compatible or present in future releases.

If the USE flag is enabled, this option should be added to the service unit during the installation phase.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2021-04-27 13:57:42 UTC
I would report to upstream as I am unsure about why they don't do it at build time when the build option is enabled... 
https://github.com/bluez/bluez/blob/master/src/bluetooth.service.in

maybe they have a strong reason for not doing it. You can try to report it at:
https://github.com/bluez/bluez/issues

And drop here to link to allow us to track the issue 

Thanks!
Comment 2 Larry the Git Cow gentoo-dev 2021-06-22 12:44:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a108a9116addaef580896d39e11b9e5d0ae3bed4

commit a108a9116addaef580896d39e11b9e5d0ae3bed4
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2021-06-22 12:44:30 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2021-06-22 12:44:30 +0000

    net-wireless/bluez: Bump to 5.59
    
    Closes: https://bugs.gentoo.org/785424
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 net-wireless/bluez/Manifest          |   1 +
 net-wireless/bluez/bluez-5.59.ebuild | 289 +++++++++++++++++++++++++++++++++++
 2 files changed, 290 insertions(+)
Comment 3 Joakim Tjernlund 2021-06-22 13:08:25 UTC
5.59 is buggy w.r.t A2DP see bug https://github.com/bluez/bluez/issues/157
You need https://github.com/bluez/bluez/commit/0388794dc5fdb73a4ea88bcf148de0a12b4364d4
Comment 4 Larry the Git Cow gentoo-dev 2021-06-22 16:17:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f675fe2e6957446b593397841e2a162dc13cfbd

commit 5f675fe2e6957446b593397841e2a162dc13cfbd
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2021-06-22 16:17:21 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2021-06-22 16:17:21 +0000

    net-wireless/bluez: Fix A2DP parsing
    
    Bug: https://bugs.gentoo.org/785424
    Thanks-to: Joakim Tjernlund
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 net-wireless/bluez/bluez-5.59-r1.ebuild            | 292 +++++++++++++++++++++
 .../bluez/files/bluez-5.59-a2dp-parsing.patch      |  38 +++
 2 files changed, 330 insertions(+)