Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44246 - [kodi] bluez 5.29 breaks kodi compilation

Attached to Project: Community Packages
Opened by dhead666 (dhead666) - Wednesday, 18 March 2015, 21:11 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 26 May 2015, 20:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

While this seems like a bluez issue I thought it will be a good idea to report it here.

We actually can get to kodi to compile and packaged with sending "ac_cv_lib_bluetooth_hci_devid=no" to configure but without kodi-eventclients (or at least without WiiRemote, I actually didn't tried further to get the eventclients to built).
(note: ac_cv_lib_bluetooth_hci_devid=no is set also in OpenELEC and I understand that also in Ubuntu)

I bugged today Kodi's developers with this issue (on irc, no bug report), too late for today so I'll try pinging them tomorrow and ask if they believe it should be fixed in Kodi.

See build log: http://sprunge.us/NgcJ
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Tuesday, 26 May 2015, 20:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  thx
Comment by dhead666 (dhead666) - Thursday, 19 March 2015, 05:09 GMT
p.s.

This should fix the compilation:

diff --git a/PKGBUILD b/PKGBUILD
index 8cc1d47..1a9d85f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,6 +41,12 @@ prepare() {
find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
sed 's/python/python2/' -i tools/Linux/kodi.sh.in
+ sed 's/shell python/shell python2/' -i tools/EventClients/Makefile.in
+
+ # disable wiiremote due to incompatibility with bluez-5.29
+ sed '/WiiRemote/d' -i tools/EventClients/Makefile.in
+ sed '/mkdir -p $(DESTDIR)$(bindir)/i \
+install:' -i tools/EventClients/Makefile.in
}

build() {
@@ -59,7 +65,8 @@ build() {
--enable-optimizations \
--enable-libbluray \
--enable-external-libraries \
- --with-lirc-device=/run/lirc/lircd
+ --with-lirc-device=/run/lirc/lircd \
+ ac_cv_lib_bluetooth_hci_devid=no

# Now (finally) build
make
Comment by Ike Devolder (BlackEagle) - Friday, 20 March 2015, 20:06 GMT
@dhead666 thx

Loading...