bluez needs configure options updated for 4.101

Bug #1055616 reported by Jon Smirl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Fix Released
Medium
Mathieu Trudel-Lapierre

Bug Description

Using Quantal
Bluetooth 4.0 LE profiles are not being built correctly on 4.101....

On Mon, Sep 24, 2012 at 11:11 AM, Anderson Lizardo
<email address hidden> wrote:
> Hi Jon,
>
> On Mon, Sep 24, 2012 at 8:55 AM, <email address hidden> <email address hidden> wrote:
>> Ubuntu 12.10 has 4.101 and kernel 3.5. I'm trying to get the sample
>> CC2540 thermometer application from TI working. The 4.101 package
>> build has --enable-thermometer set.
>
> There is no "--enable-thermometer" since 4.100. Please enable GATT
> with "--enable-gatt". This will enable all supported GATT profiles at
> once.

Ubuntu is building this wrong for the 12.10 release then. I'm filing
a bug about this, what should the configure option be?

I rebuilt their bluez-4.101 package and it complains about...

configure: WARNING: unrecognized options: --enable-proximity,
--enable-time, --enable-alert, --enable-gatt-example, --enable-tracer,
--enable-thermometer, --enable-capng

configure input from debian/rules...

DEB_CONFIGURE_EXTRA_FLAGS := LDFLAGS=-Wl,--as-needed \
                             --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
                             --enable-static \
                             --disable-hal \
                             --enable-sap \
                             --enable-proximity \
                             --enable-time \
                             --enable-alert \
                             --enable-health \
                             --enable-pnat \
                             --enable-gatt-example \
                             --enable-gstreamer \
                             --enable-alsa \
                             --enable-usb \
                             --enable-tracer \
                             --enable-tools \
                             --enable-bccmd \
                             --enable-pcmcia \
                             --enable-hid2hci \
                             --enable-dfutool \
                             --enable-hidd \
                             --enable-pand \
                             --enable-dund \
                             --enable-cups \
                             --enable-test \
                             --enable-datafiles \
                             --enable-debug \
                             --enable-dbusoob \
                             --enable-wiimote \
                             --enable-thermometer \
                             --enable-capng \
                             --with-systemdunitdir=/lib/systemd/system

If someone on Bluez provides better options, I will append to bug.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: bluez 4.101-0ubuntu5
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Mon Sep 24 12:34:34 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
InterestingModules: bnep rfcomm btusb bluetooth
MachineType: Hewlett-Packard HPE-480t
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-15-generic root=UUID=13a934fe-52e9-467d-bef3-45fea0886845 ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
SourcePackage: bluez
UpgradeStatus: Upgraded to quantal on 2012-09-18 (5 days ago)
dmi.bios.date: 09/16/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 6.10
dmi.board.asset.tag: N/A
dmi.board.name: 2A86
dmi.board.vendor: PEGATRON CORPORATION
dmi.board.version: 1.04E01
dmi.chassis.asset.tag: 2MD0470HR2
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr6.10:bd09/16/2010:svnHewlett-Packard:pnHPE-480t:pvr:rvnPEGATRONCORPORATION:rn2A86:rvr1.04E01:cvnHewlett-Packard:ct3:cvrChassisVersion:
dmi.product.name: HPE-480t
dmi.sys.vendor: Hewlett-Packard
hciconfig:
 hci0: Type: BR/EDR Bus: USB
  BD Address: 00:02:72:D9:FD:82 ACL MTU: 1021:8 SCO MTU: 64:1
  UP RUNNING PSCAN ISCAN
  RX bytes:8417 acl:379 sco:0 events:123 errors:0
  TX bytes:1632 acl:38 sco:0 commands:54 errors:0
mtime.conffile..etc.bluetooth.main.conf: 2012-09-24T08:29:34.168035
mtime.conffile..etc.dbus.1.system.d.bluetooth.conf: 2012-09-23T22:59:26.359693
rfkill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no

Related branches

Revision history for this message
Jon Smirl (jonsmirl) wrote :
Revision history for this message
Jon Smirl (jonsmirl) wrote :

Comment on Bluez list says Ubuntu should be using the configure options provided in bootstrap-configure.
Without this change Bluetooth 4.0 Low Energy profile support is not enabled.

./bootstrap && \
    ./configure --enable-maintainer-mode \
  --enable-debug \
  --prefix=/usr \
  --mandir=/usr/share/man \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --libexecdir=/lib \
  --enable-health \
  --enable-tools \
  --enable-bccmd \
  --enable-dfutool \
  --enable-hid2hci \
  --enable-hidd \
  --enable-pand \
  --enable-dund \
  --enable-test \
  --enable-cups \
  --enable-dbusoob \
  --enable-maemo6 \
  --enable-pnat \
  --enable-sap \
  --enable-wiimote \
  --disable-pcmcia \
  --enable-gatt \
  --disable-datafiles $*

Changed in bluez (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This constitutes a regression; since GATT was available in Precise. There's a simple fix, so I don't see why not just apply it. I'll drop the old switches at the same time as I add --enable-gatt.

tags: added: regression-release
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bluez - 4.101-0ubuntu6

---------------
bluez (4.101-0ubuntu6) quantal; urgency=low

  * debian/rules: add --enable-gatt (and remove the unrecognized configure
    options left over from previous releases). This fixes a regression in the
    support for Low Energy bluetooth devices such as thermometer probes and the
    like. (LP: #1055616)
 -- Mathieu Trudel-Lapierre <email address hidden> Fri, 28 Sep 2012 17:03:12 -0400

Changed in bluez (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.