Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517772 - net-libs/libpcap-1.6.1 USE=bluetooth with net-wireless/bluez-5 - ./pcap-bt-monitor-linux.c:42:28: fatal error: bluetooth/mgmt.h: No such file or directory
Summary: net-libs/libpcap-1.6.1 USE=bluetooth with net-wireless/bluez-5 - ./pcap-bt-mo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: http://git.kernel.org/cgit/bluetooth/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 10:27 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-08-16 15:30 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2014-07-22 10:27:38 UTC
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?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-22 11:12:48 UTC
I have patched configure to check for that header, but somehow I think more is needed.
Comment 2 Pacho Ramos gentoo-dev 2014-07-22 11:24:14 UTC
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 :/
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-22 20:23:29 UTC
*** Bug 517806 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-22 20:44:39 UTC
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.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-23 01:21:39 UTC
*** Bug 517828 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-23 01:25:55 UTC
*** Bug 517834 has been marked as a duplicate of this bug. ***
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-07-23 06:39:50 UTC
(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.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-23 08:11:45 UTC
(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?
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-16 15:30:30 UTC
I added bluetooth/mgmt.h from bluez-4 to the build system. Seems to work.