Apparently, net-wireless/bluez-5 no longer installs /usr/include/bluetooth/mgmt.h, and just now that the libpcap developers found a way of using it. I've set a very bad and very temporary dependency on bluetooth? ( <net-wireless/bluez-5 ) in the libpcap-1.6.1 ebuild because of this. Pacho: What headers did bluez upstream replace bluetooth/mgmt.h with?
I have patched configure to check for that header, but somehow I think more is needed.
On my system looks like the header is in the kernel: /usr/src/linux-3.15.5-gentoo/include/net/bluetooth/mgmt.h I am looking at google to try to know if we should provide it by bluez too :/
*** Bug 517806 has been marked as a duplicate of this bug. ***
Lars: are you still seeing this with the latest changes? 22 Jul 2014; Jeroen Roovers <jer@gentoo.org> libpcap-1.6.1.ebuild, +files/libpcap-1.6.1-configure.patch, +files/libpcap-1.6.1-prefix-solaris.patch: Check for bluetooth/mgmt.h (net-wireless/bluez-4) before use (bug #517772). Convert sed scripts to patches.
*** Bug 517828 has been marked as a duplicate of this bug. ***
*** Bug 517834 has been marked as a duplicate of this bug. ***
(In reply to Jeroen Roovers from comment #4) > Lars: are you still seeing this with the latest changes? > > 22 Jul 2014; Jeroen Roovers <jer@gentoo.org> libpcap-1.6.1.ebuild, > +files/libpcap-1.6.1-configure.patch, > +files/libpcap-1.6.1-prefix-solaris.patch: > Check for bluetooth/mgmt.h (net-wireless/bluez-4) before use (bug #517772). > Convert sed scripts to patches. Still not fixed.
(In reply to Lars Wendler (Polynomial-C) from comment #7) > Still not fixed. I can't reproduce that. Can I get the usual info, please?
I added bluetooth/mgmt.h from bluez-4 to the build system. Seems to work.