Several versions of bluez fail to build on musl because of not conforming to POSIX. Since bluez is important for embedded systems and since musl is the new sexy libc for embedded and since the fixes are simple, we should probably put these in. I'm ready to send the patches upstream, but I can't seem to find how to submit upstream? If you know, it may save me some time searching. Reproducible: Always
Created attachment 386038 [details, diff] This fixes the header files to be POSIX compliant. This patch is already upstream at http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=51ec4fd847369bc77e72850fe93d727ae9c656b9 Can we backport it to 5.23 please?
Created attachment 386040 [details, diff] Use posix_openpt() instead of the glibc-specific getpt(). This patch has yet to go upstream. It applies cleanly to 5.23. `man 3 getpt` for further information about the equivalency.
(In reply to Anthony Basile from comment #2) > Created attachment 386040 [details, diff] [details, diff] > Use posix_openpt() instead of the glibc-specific getpt(). > > This patch has yet to go upstream. It applies cleanly to 5.23. `man 3 > getpt` for further information about the equivalency. Okay this is submited upstream: http://marc.info/?l=linux-bluetooth&m=141243367702536&w=2
(In reply to Anthony Basile from comment #3) > (In reply to Anthony Basile from comment #2) > > Created attachment 386040 [details, diff] [details, diff] [details, diff] > > Use posix_openpt() instead of the glibc-specific getpt(). > > > > This patch has yet to go upstream. It applies cleanly to 5.23. `man 3 > > getpt` for further information about the equivalency. > > Okay this is submited upstream: > > http://marc.info/?l=linux-bluetooth&m=141243367702536&w=2 And it is accepted upstream http://marc.info/?l=linux-bluetooth&m=141269379106447&w=2 Can we get it backported?
+*bluez-5.24 (11 Oct 2014) + + 11 Oct 2014; Pacho Ramos <pacho@gentoo.org> +bluez-5.24.ebuild, + +files/bluez-5.24-musl-compat.patch: + Version bump, fix compat with musl (#524454 by Anthony Basile), install + gatttool (#524640 by Jason Zaman), install hex2hcd (by amak79). +