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

Bug 661054

Summary: net-misc/networkmanager[bluetooth] requires modemmanager to be installed
Product: Gentoo Linux Reporter: Gino McCarty <onigino>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Networkmanager-1.10.10.ebuild patch

Description Gino McCarty 2018-07-13 07:19:59 UTC
Created attachment 539358 [details, diff]
Networkmanager-1.10.10.ebuild patch

NetworkManager will not build the proper  libnm-device-plugin-bluetooth.so plugins unless modemmanager is detected


see the following code from Makefile.am
---snip---
###############################################################################
# src/devices/bluetooth
###############################################################################

if WITH_MODEM_MANAGER_1

core_plugins += src/devices/bluetooth/libnm-device-plugin-bluetooth.la

src_devices_bluetooth_libnm_device_plugin_bluetooth_la_SOURCES = \
	src/devices/bluetooth/nm-bluez-manager.c \
	src/devices/bluetooth/nm-bluez-common.h \
	src/devices/bluetooth/nm-bluez-device.c \
	src/devices/bluetooth/nm-bluez-device.h \
	src/devices/bluetooth/nm-bluez4-adapter.c \
	src/devices/bluetooth/nm-bluez4-adapter.h \
	src/devices/bluetooth/nm-bluez4-manager.c \
	src/devices/bluetooth/nm-bluez4-manager.h \
	src/devices/bluetooth/nm-bluez5-manager.c \
	src/devices/bluetooth/nm-bluez5-manager.h \
	src/devices/bluetooth/nm-bt-error.h \
	src/devices/bluetooth/nm-bt-error.c \
	\
	src/devices/bluetooth/nm-device-bt.c \
	src/devices/bluetooth/nm-device-bt.h

---snip---
Comment 1 Gino McCarty 2018-07-13 07:37:43 UTC
also.. i don't really understand the need for 
requiring ppp to use modemmanager
Comment 2 Gino McCarty 2018-10-27 00:44:51 UTC
hello?
Comment 3 El Goretto 2018-11-13 15:26:01 UTC
Hi,

I can confirm this bug, the "bluetooth" USE flag without "modemmanager" USE flag doesn't produce a working bluetooth plugin for NetworkManager.

Regards,
Elgo
Comment 4 Marco Sirabella 2019-02-28 01:30:47 UTC
Just got bit by this as well, any news on fixing this?
Comment 5 Larry the Git Cow gentoo-dev 2019-03-16 09:06:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e92d1ed79279faa3652013800c2c15bd3266c42

commit 9e92d1ed79279faa3652013800c2c15bd3266c42
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-03-16 09:05:32 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-03-16 09:06:14 +0000

    net-misc/networkmanager: req modemmanager for bluetooth, don't req ppp
    
    Fixes: https://bugs.gentoo.org/661054
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 net-misc/networkmanager/networkmanager-1.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)