libcap-ng: bluetooth bluez-utils: failure to install in Raspbian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Fix Released
|
High
|
mpthompson |
Bug Description
Reported by bop_binz in Raspbian forums:
http://
Tried the following command:
sudo apt-get install bluetooth bluez-utils
and received the following output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bluez dbus gir1.2-glib-2.0 libcap-ng0 libgirepository
libsystemd-login0 python-dbus python-dbus-dev python-gi
Suggested packages:
dbus-x11 python-dbus-doc python-dbus-dbg python-gi-cairo
Recommended packages:
bluez-alsa bluez-cups bluez-gstreamer
The following NEW packages will be installed:
bluetooth bluez bluez-utils dbus gir1.2-glib-2.0 libcap-ng0
libgireposito
python-gi
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,450 kB of archives.
After this operation, 5,946 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Fetched 2,450 kB in 8s (286 kB/s)
Selecting previously unselected package libcap-ng0.
(Reading database ... 39713 files and directories currently installed.)
Unpacking libcap-ng0 (from .../libcap-
Selecting previously unselected package libsystemd-login0.
Unpacking libsystemd-login0 (from .../libsystemd-
Selecting previously unselected package dbus.
Unpacking dbus (from .../dbus_
Selecting previously unselected package libgirepository
Unpacking libgirepository
Selecting previously unselected package gir1.2-glib-2.0.
Unpacking gir1.2-glib-2.0 (from .../gir1.
Selecting previously unselected package python-gi.
Unpacking python-gi (from .../python-
Selecting previously unselected package python-dbus-dev.
Unpacking python-dbus-dev (from .../python-
Selecting previously unselected package python-dbus.
Unpacking python-dbus (from .../python-
Selecting previously unselected package bluez.
Unpacking bluez (from .../bluez_
Selecting previously unselected package bluetooth.
Unpacking bluetooth (from .../bluetooth_
Selecting previously unselected package bluez-utils.
Unpacking bluez-utils (from .../bluez-
Processing triggers for man-db ...
Setting up libcap-ng0 (0.6.6-1) ...
Setting up libsystemd-login0 (37-1.1) ...
Setting up dbus (1.5.12-1) ...
[ ok ] Starting system message bus: dbus.
Setting up libgirepository
Setting up gir1.2-glib-2.0 (1.32.1-1) ...
Setting up python-gi (3.2.0-3) ...
Setting up python-dbus-dev (1.1.0-1) ...
Setting up python-dbus (1.1.0-1) ...
Remove stale byte-compiled files...
Setting up bluez (4.99-2) ...
[ ok ] Reloading system message bus config...done.
[....] Starting bluetooth:
invoke-rc.d: initscript bluetooth, action "start" failed.
dpkg: error processing bluez (--configure):
subprocess installed post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of bluetooth:
bluetooth depends on bluez; however:
Package bluez is not configured yet.
dpkg: error processing bluetooth (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bluez-utils:
bluez-utils depends on bluetooth; however:
Package bluetooth is not configured yet.
dpkg: error processing bluez-utils (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bluez
bluetooth
bluez-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reported by louisb in the forums:
I also get a segfault on bluez. here is the back trace:
Program received signal SIGSEGV, Segmentation fault. libcap- ng.so.0 libcap- ng.so.0 linux-gnueabihf /ld-linux. so.3 libcap- ng.so.0 libcap- ng.so.0
0x4015b014 in ?? () from /usr/lib/
(gdb) bt
#0 0x4015b014 in ?? () from /usr/lib/
#1 0x400121c0 in __tls_get_addr () from /lib/arm-
#2 0x4015b220 in capng_clear () from /usr/lib/
#3 0x4015b220 in capng_clear () from /usr/lib/
#4 0x2a00c618 in main (argc=1073782848, argv=0xb) at src/main.c:451
running readelf -A /usr/lib/ libcap- ng.so.0 using readelf -A I get:
raspbian@ pisces: /etc/init. d$ readelf -A /usr/lib/ libcap- ng.so.0. 0.0 ISA_use: Thumb-1 PCS_wchar_ t: 4 FP_denormal: Needed FP_exceptions: Needed FP_number_ model: IEEE 754 align_needed: 8-byte align_preserved : 8-byte, except leaf SP enum_size: int HardFP_ use: SP and DP optimization_ goals: Aggressive Speed
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "6"
Tag_CPU_arch: v6
Tag_ARM_ISA_use: Yes
Tag_THUMB_
Tag_FP_arch: VFPv2
Tag_ABI_
Tag_ABI_
Tag_ABI_
Tag_ABI_
Tag_ABI_
Tag_ABI_
Tag_ABI_
Tag_ABI_
Tag_ABI_VFP_args: VFP registers
Tag_ABI_
Tag_DIV_use: Not allowed
should it really have Tag_ABI_ optimization_ goals: Aggressive Speed?