* [Buildroot] [PATCH 1/1] package/bluez5_utils: fix sixaxis build without tools
@ 2024-05-09 7:49 Fabrice Fontaine
2024-05-09 14:08 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-05-09 7:49 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Marcin Bis
Fix the following build failure raised since bump to version 5.75 in
commit b890206876588ed0d16187abf49d35a45177cc3d and
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=9f71892b63f6b65dab874a633d88ae2dcad93a16:
/home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/x86_64-buildroot-linux-musl/12.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: plugins/bluetoothd-sixaxis.o: in function `sixaxis_init':
sixaxis.c:(.text.sixaxis_init+0x23): undefined reference to `udev_new'
Fixes: b890206876588ed0d16187abf49d35a45177cc3d
- http://autobuild.buildroot.org/results/c337d0f473c5fbb3e6cda1317ba06f5e2b16a43e
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...e.ac-fix-sixaxis-build-without-tools.patch | 35 +++++++++++++++++++
package/bluez5_utils/bluez5_utils.mk | 1 +
2 files changed, 36 insertions(+)
create mode 100644 package/bluez5_utils/0002-configure.ac-fix-sixaxis-build-without-tools.patch
diff --git a/package/bluez5_utils/0002-configure.ac-fix-sixaxis-build-without-tools.patch b/package/bluez5_utils/0002-configure.ac-fix-sixaxis-build-without-tools.patch
new file mode 100644
index 0000000000..1e0e34cb8f
--- /dev/null
+++ b/package/bluez5_utils/0002-configure.ac-fix-sixaxis-build-without-tools.patch
@@ -0,0 +1,35 @@
+From f4795bf64dbf8778fc765b7dad1b1bfb365b48d7 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Wed, 8 May 2024 19:54:16 +0200
+Subject: configure.ac: fix sixaxis build without tools
+
+Fix the following build failure with --enable-sixaxis --enable-udev
+--disable-tools raised since version 5.73 and
+9f71892b63f6b65dab874a633d88ae2dcad93a16:
+
+sixaxis.c:(.text.sixaxis_init+0x23): undefined reference to `udev_new'
+
+Fixes: http://autobuild.buildroot.org/results/c337d0f473c5fbb3e6cda1317ba06f5e2b16a43e
+
+Upstream: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=f4795bf64dbf8778fc765b7dad1b1bfb365b48d7
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9dea70ddc1..8b3cdb4e8f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -226,7 +226,7 @@ AM_CONDITIONAL(MONITOR, test "${enable_monitor}" != "no")
+
+ AC_ARG_ENABLE(udev, AS_HELP_STRING([--disable-udev],
+ [disable udev device support]), [enable_udev=${enableval}])
+-if (test "${enable_tools}" != "no" && test "${enable_udev}" != "no"); then
++if (test "${enable_udev}" != "no"); then
+ PKG_CHECK_MODULES(UDEV, libudev >= 196)
+ AC_DEFINE(HAVE_UDEV, 1, [Define to 1 if udev is required])
+ fi
+--
+cgit 1.2.3-korg
+
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index 26f0f4afd4..d386ad57f0 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -9,6 +9,7 @@ BLUEZ5_UTILS_VERSION = 5.75
BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
# 0001-configure.ac-Fix-disable-cups.patch
+# 0002-configure.ac-fix-sixaxis-build-without-tools.patch
BLUEZ5_UTILS_AUTORECONF = YES
BLUEZ5_UTILS_INSTALL_STAGING = YES
BLUEZ5_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/bluez5_utils: fix sixaxis build without tools
2024-05-09 7:49 [Buildroot] [PATCH 1/1] package/bluez5_utils: fix sixaxis build without tools Fabrice Fontaine
@ 2024-05-09 14:08 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-09 14:08 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Marcin Bis, buildroot
On Thu, 9 May 2024 09:49:32 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure raised since bump to version 5.75 in
> commit b890206876588ed0d16187abf49d35a45177cc3d and
> https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=9f71892b63f6b65dab874a633d88ae2dcad93a16:
>
> /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/x86_64-buildroot-linux-musl/12.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: plugins/bluetoothd-sixaxis.o: in function `sixaxis_init':
> sixaxis.c:(.text.sixaxis_init+0x23): undefined reference to `udev_new'
>
> Fixes: b890206876588ed0d16187abf49d35a45177cc3d
> - http://autobuild.buildroot.org/results/c337d0f473c5fbb3e6cda1317ba06f5e2b16a43e
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...e.ac-fix-sixaxis-build-without-tools.patch | 35 +++++++++++++++++++
> package/bluez5_utils/bluez5_utils.mk | 1 +
> 2 files changed, 36 insertions(+)
> create mode 100644 package/bluez5_utils/0002-configure.ac-fix-sixaxis-build-without-tools.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-09 14:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 7:49 [Buildroot] [PATCH 1/1] package/bluez5_utils: fix sixaxis build without tools Fabrice Fontaine
2024-05-09 14:08 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.