Package Details: bluez-utils-compat 5.50-6.2

Git Clone URL: https://aur.archlinux.org/bluez-utils-compat.git (read-only)
Package Base: bluez-utils-compat
Description: Development and debugging utilities for the bluetooth protocol stack. Includes deprecated tools.
Upstream URL: http://www.bluez.org/
Keywords: hciconfig hcidump hcitool
Licenses: GPL2
Conflicts: bluez-hcidump, bluez-hcitool, bluez-utils
Provides: bluez-hcidump, bluez-hcitool, bluez-utils
Replaces: bluez<=4.101, bluez-hcidump
Submitter: thurstylark
Maintainer: twa022
Last Packager: twa022
Votes: 25
Popularity: 0.917391
First Submitted: 2017-03-02 17:34
Last Updated: 2019-07-13 13:25

Required by (32)

Sources (4)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

TheSaint commented on 2019-06-30 04:24

Having problem to compile tools/btpclient.c: In function ‘signal_handler’: tools/btpclient.c:2834:7: error: ‘SIGINT’ undeclared (first use in this function) 2834 | case SIGINT: | ^~~~~~ tools/btpclient.c:2834:7: note: each undeclared identifier is reported only once for each function it appears in tools/btpclient.c:2835:7: error: ‘SIGTERM’ undeclared (first use in this function) 2835 | case SIGTERM: | ^~~~~~~ tools/btpclient.c: In function ‘main’: tools/btpclient.c:3197:2: warning: implicit declaration of function ‘sigemptyset’ [-Wimplicit-function-declaration] 3197 | sigemptyset(&mask); | ^~~~~~~~~~~ tools/btpclient.c:3198:2: warning: implicit declaration of function ‘sigaddset’ [-Wimplicit-function-declaration] 3198 | sigaddset(&mask, SIGINT); | ^~~~~~~~~ tools/btpclient.c:3198:19: error: ‘SIGINT’ undeclared (first use in this function) 3198 | sigaddset(&mask, SIGINT); | ^~~~~~ tools/btpclient.c:3199:19: error: ‘SIGTERM’ undeclared (first use in this function) 3199 | sigaddset(&mask, SIGTERM); | ^~~~~~~ tools/btpclient.c:3200:27: warning: passing argument 1 of ‘l_signal_create’ makes integer from pointer without a cast [-Wint-conversion] 3200 | signal = l_signal_create(&mask, signal_handler, NULL, NULL); | ^~~~~ | | | sigset_t * {aka struct <anonymous> } In file included from /usr/include/ell/ell.h:32, from tools/btpclient.c:33: /usr/include/ell/signal.h:37:18: note: expected ‘uint32_t’ {aka ‘unsigned int’} but argument is of type ‘sigset_t ’ {aka ‘struct <anonymous> ’} 37 | struct l_signal l_signal_create(uint32_t signo, l_signal_notify_cb_t callback, | ^~~~~~~~~~~~~~~ tools/btpclient.c:3200:34: warning: passing argument 2 of ‘l_signal_create’ from incompatible pointer type [-Wincompatible-pointer-types] 3200 | signal = l_signal_create(&mask, signal_handler, NULL, NULL); | ^~~~~~~~~~~~~~ | | | void ()(struct l_signal , uint32_t, void ) {aka void ()(struct l_signal , unsigned int, void )} In file included from /usr/include/ell/ell.h:32, from tools/btpclient.c:33: /usr/include/ell/signal.h:37:18: note: expected ‘l_signal_notify_cb_t’ {aka ‘void ()(void )’} but argument is of type ‘void ()(struct l_signal , uint32_t, void )’ {aka ‘void ()(struct l_signal , unsigned int, void )’} 37 | struct l_signal l_signal_create(uint32_t signo, l_signal_notify_cb_t callback, | ^~~~~~~~~~~~~~~ make[1]: [Makefile:8316: tools/tools_btpclient-btpclient.o] Error 1 make[1]: Attesa per i processi non terminati.... make: ** [Makefile:3278: all] Error 2

x4fyr commented on 2019-06-28 16:01

As bruceutut said, the following patch fixes it by including signal.h:

--- bluez-5.50/tools/btpclient.c 2018-03-10 15:37:07.000000000 +0000

+++ bluez-5.50.patched/tools/btpclient.c 2019-06-28 15:28:05.821569524 +0000

@@ -29,6 +29,7 @@

#include <stdlib.h>

#include <assert.h>

#include <getopt.h>

+#include <signal.h>

#include <ell/ell.h>

jose1711 commented on 2019-06-28 12:54

what worked for me was dropping a line with --enable-btpclient and running makepkg with --nocheck

quest commented on 2019-06-28 10:46

tools/btpclient.c: In function ‘signal_handler’:

tools/btpclient.c:2834:7: error: ‘SIGINT’ undeclared (first use in this function)

tools/btpclient.c:2835:7: error: ‘SIGTERM’ undeclared (first use in this function)

bruceutut commented on 2019-06-28 08:15

SIGTERM SIGINT cannot be found when building this package with gcc9.

Maybe need to include signal.h can solve this problem.

twa022 commented on 2019-06-28 02:43

If you are having errors building because of the tests you can skip running the check() function in the PKGBUILD: makepkg -s --nocheck

gkun commented on 2019-06-22 10:12

This won't compile for me, failing at the same place of the last comment on may 24th.

a36233 commented on 2019-05-24 10:14

PASS: unit/test-ecc ./test-driver: line 107: 21893 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: unit/test-avctp ./test-driver: line 107: 21946 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: unit/test-avrcp ./test-driver: line 107: 21948 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: unit/test-hog CCLD unit/test-sdp ./test-driver: line 107: 22040 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: unit/test-sdp PASS: unit/test-gobex-transfer CCLD unit/test-gatt ./test-driver: line 107: 22107 Aborted (core dumped) "$@" > $log_file 2>&1 FAIL: unit/test-gatt ^Cmake[3]: Deleting file 'unit/test-avdtp.log' make[3]: Deleting file 'unit/test-hfp.log' make[3]: [Makefile:8979: unit/test-avdtp.log] Error 130 make[3]: [Makefile:9000: unit/test-hfp.log] Error 130 make[2]: [Makefile:8877: check-TESTS] Interrupt make[1]: [Makefile:9261: check-am] Interrupt make: *** [Makefile:9263: check] Interrupt

Enverex commented on 2019-01-21 11:06

Patroll: That's not an error, you need to install that key.

Patroll commented on 2019-01-15 10:18

problem with verification signature with gpg: bluez-5.50.tar ... FAILED (unknown public key 06CA9F5D1DCF2659)