Package Details: bluez-git 1:5.83.r132.g806dd732f-1

Git Clone URL: https://aur.archlinux.org/bluez-git.git (read-only, click to copy)
Package Base: bluez-git
Description: Libraries and tools for the Bluetooth protocol stack
Upstream URL: http://www.bluez.org/
Licenses: GPL-2.0-only
Conflicts: bluez, bluez-cups, bluez-hcidump, bluez-hid2hci, bluez-libs, bluez-obex, bluez-plugins, bluez-utils
Provides: bluez, bluez-cups, bluez-hcidump, bluez-hid2hci, bluez-libs, bluez-obex, bluez-plugins, bluez-utils, libbluetooth.so
Submitter: None
Maintainer: kode54
Last Packager: kode54
Votes: 43
Popularity: 0.93
First Submitted: 2008-08-19 15:33 (UTC)
Last Updated: 2025-07-11 07:01 (UTC)

Required by (362)

Sources (2)

Latest Comments

1 2 3 4 5 6 Next › Last »

kode54 commented on 2025-07-11 07:03 (UTC)

Thanks for the fixes, I have applied everything necessary to get post-5.83 building and packaged.

kode54 commented on 2025-07-11 06:41 (UTC)

Incidentally, the CFLAGS override is no longer needed, which means the problem was probably a Git source error that has since been fixed. I am willing to make the necessary changes if someone else hasn't already filed for Orphan, either as a new maintainer, or as a co-maintainer.

YAOMTC commented on 2025-06-30 06:22 (UTC)

How do I apply that fix? I tried patch but it didn't work, got 1 of 3 hunks failed

HurricanePootis commented on 2025-05-20 21:46 (UTC) (edited on 2025-05-20 21:51 (UTC) by HurricanePootis)

I have a fix for this package:

  1. Makes license() SPDX compliant
  2. Adds perl, bash, systemd-libs, readline, and glibc to depends()
  3. Adds export CFLAGS="$CFLAGS -D USE_VARARGS -D PREFER_STDARG" to fix compilation
  4. Add bluez-obex to conflicts
  5. Add bluez-obex and bluez-hcidump to provides
diff --git a/PKGBUILD b/PKGBUILD
index 6643209..fdfe6df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,16 @@
 # Contributor: Swift Geek
 pkgname=bluez-git
 _pkgname=bluez
-pkgver=5.79.r98.g628c15a5b
+pkgver=5.82.r127.g0402c0674
 pkgrel=1
 epoch=1
 pkgdesc="Libraries and tools for the Bluetooth protocol stack"

 url="http://www.bluez.org/"
 arch=('i686' 'x86_64')
-license=('GPL2')
-depends=('libical' 'libdbus' 'glib2' 'alsa-lib' 'ell' 'json-c')
+license=('GPL-2.0-only')
+depends=('libical' 'libdbus' 'glib2' 'alsa-lib' 'ell' 'json-c' 'perl' 'bash' 'systemd-libs' 'readline'
+         'glibc')
 optdepends=('cups: CUPS backend')
 makedepends=('git' 'python-docutils')
 conflicts=($_pkgname
@@ -21,15 +22,16 @@ conflicts=($_pkgname
       $_pkgname-hid2hci
       $_pkgname-plugins
       $_pkgname-hcidump
-           'obexd-client'
-      'obexd-server')
+     $_pkgname-obex)
 provides=(libbluetooth.so
      $_pkgname=${pkgver%%.r*}-${pkgrel}
           $_pkgname-utils=${pkgver%%.r*}-${pkgrel}
      $_pkgname-libs=${pkgver%%.r*}-${pkgrel}
      $_pkgname-cups=${pkgver%%.r*}-${pkgrel}
      $_pkgname-hid2hci=${pkgver%%.r*}-${pkgrel}
-     $_pkgname-plugins=${pkgver%%.r*}-${pkgrel})
+     $_pkgname-plugins=${pkgver%%.r*}-${pkgrel}
+    $_pkgname-hcidump=${pkgver%%.r*}-${pkgrel}
+    $_pkgname-obex=${pkgver%%.r*}-${pkgrel})
 backup=('etc/bluetooth/main.conf')
 source=("$pkgname::git://git.kernel.org/pub/scm/bluetooth/bluez.git"
    bluetooth.modprobe)
@@ -48,6 +50,7 @@ prepare() {

 build() {
   cd $pkgname
+  export CFLAGS="$CFLAGS -D USE_VARARGS -D PREFER_STDARG"
   ./configure \
     --prefix=/usr \
     --mandir=/usr/share/man \

HurricanePootis commented on 2025-05-20 21:18 (UTC)

Package currently fails to build with

src/shared/shell.c: In function 'rl_cleanup':
src/shared/shell.c:1435:9: error: too many arguments to function 'rl_message'; expected 0, have 2
 1435 |         rl_message("%s", "");
      |         ^~~~~~~~~~ ~~~~
In file included from src/shared/shell.c:29:
/usr/include/readline/readline.h:410:12: note: declared here
  410 | extern int rl_message ();
      |            ^~~~~~~~~~
  CC       src/shared/libshared_ell_la-mgmt.lo
make[1]: *** [Makefile:8689: src/shared/libshared_mainloop_la-shell.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:4705: all] Error 2

tkna commented on 2024-02-28 12:21 (UTC)

please include python-pygments in depends

client/bluetoothctl.rst:342: (WARNING/2) Cannot analyze code. Pygments package not found.
Exiting due to level-2 (WARNING) system message.
make[1]: *** [Makefile:13762: client/bluetoothctl.1] Error 1
make: *** [Makefile:4648: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'bluez-git-1:5.63.r15.geb5c7518d-1':

bidulock commented on 2021-12-13 22:52 (UTC)

@Arc not sure what your problem is: every version I have built since September provides libbluetooth.so=3-64

Are you using pacman -Sy bluez-git and answering 'yes' to replace? Or, are you simply trying to remove bluez-libs on its own?

Arc commented on 2021-12-13 21:58 (UTC)

Prior comments suggest that the libbluetooth.so issue breaking a dependency for pipeware was resolved on 05.30.2021. But when attempting to install bluez-git I get an error stating that removing bluez-libs breaks the libbluettooth.so=3-64 dependency required by pipewire.

lkrms commented on 2021-08-04 15:00 (UTC)

Just a heads up that I wasn't able to build this package in a chroot without adding systemd to makedepends. I found that configure failed while checking for libudev, leaving this in its log file:

Package libudev was not found in the pkg-config search path.                   
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable

And reporting this in the output:

configure: error: libudev >= 172 is required

You would think systemd itself would be pulled in by another dependency, but apparently it's not.

Thanks for maintaining this :)

moiiom commented on 2021-07-29 07:21 (UTC)

thanks @bidulock