The bluez package does not compile if the 'extplug' and 'ioplug' ALCA_PCM_PLUGINS have not been used to compile alsa-lib. * If extplug is missing, the following error occurs: pcm_bluetooth.c:41:31: error: alsa/pcm_external.h: No such file or directory (and a bunch of other errors after this) * If you add extplug, but ioplug is missing, the following error occurs: /usr/include/alsa/pcm_external.h:58:24: error: pcm_ioplug.h: No such file or directory (and a bunch of other errors after this) I believe the dependency on these alsa-lib use flags should be added to the bluez ebuild. I have done so in the proposed patch (see attachment). Reproducible: Always Steps to Reproduce: 1. emerge -v bluez 2. 3. Actual Results: Compilation errors. Expected Results: Successful compilation
Created attachment 207484 [details, diff] Patch to bluez ebuild This patch adds the necessary USE flag dependencies of alsa-lib to the bluez ebuild.
I've updated this in my version of bluez in my overlay and it appears to be working just fine. I can verify the poster's issues, and that they are resolved by this change.
Hi, I just bumped into the same bug, and would almost have filed a bug report on it before I found this one. Patch works nicely, please get it into portage. Cheers, Nico
Fixed for bluez 4.60 in bug #270859. We can apply it for 4.39-r2 and close this bug.
Just commited, thanks a lot