Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 289578

Summary: net-wireless/bluez-4.39-r2 and alsa-lib: dependency on extplug and ioplug ALSA_PCM_PLUGINS
Product: Gentoo Linux Reporter: Patrick De Pinguin <gentoo>
Component: [OLD] LibraryAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED FIXED    
Severity: normal CC: betelgeuse, mobile+disabled, nico.schloemer, pacho, pda
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to bluez ebuild

Description Patrick De Pinguin 2009-10-18 13:04:40 UTC
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
Comment 1 Patrick De Pinguin 2009-10-18 13:06:42 UTC
Created attachment 207484 [details, diff]
Patch to bluez ebuild

This patch adds the necessary USE flag dependencies of alsa-lib to the bluez ebuild.
Comment 2 Chris Gianelloni 2009-12-30 21:32:09 UTC
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.
Comment 3 Nico Schlömer 2010-01-09 17:49:00 UTC
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
Comment 4 Gustavo F. Padovan 2010-01-20 14:16:29 UTC
Fixed for bluez 4.60 in bug #270859.
We can apply it for 4.39-r2 and close this bug.
Comment 5 Pacho Ramos gentoo-dev 2010-02-01 20:18:47 UTC
Just commited, thanks a lot