Message ID | 20210727072011.2272682-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/bluez5_utils: hid needs hog | expand |
On Tue, 27 Jul 2021 09:20:11 +0200 Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote: > Build of hid without hog is broken since commit > fb9fc969d91f69851b4c70dba512b607e52bda7b: > > /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: profiles/input/bluetoothd-manager.o: in function `input_init': > manager.c:(.text+0x2fd): undefined reference to `input_set_auto_sec' > > Fixes: > - http://autobuild.buildroot.org/results/9222879c9fe958e01e33f69531270355ea016d17 > > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> This should also be probably be reported as a bug to upstream bluez, it is not normal that a combination of ./configure options leads to a build that fails. Thomas
On 27.07.21 09:20, Fabrice Fontaine wrote: > Build of hid without hog is broken since commit > fb9fc969d91f69851b4c70dba512b607e52bda7b: > > /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: profiles/input/bluetoothd-manager.o: in function `input_init': > manager.c:(.text+0x2fd): undefined reference to `input_set_auto_sec' > > Fixes: > - http://autobuild.buildroot.org/results/9222879c9fe958e01e33f69531270355ea016d17 > > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> > --- > package/bluez5_utils/Config.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in > index 9f20bf83ac..f2b63b0a1c 100644 > --- a/package/bluez5_utils/Config.in > +++ b/package/bluez5_utils/Config.in > @@ -78,6 +78,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH > config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID > bool "build hid plugin" > default y > + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG > help > Build plugin for HID (input) profiles. > argh, missed that... thanks for fixing! Reviewed-by: Michael Nosthoff <buildroot@heine.tech>
On Tue, 27 Jul 2021 09:20:11 +0200 Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote: > Build of hid without hog is broken since commit > fb9fc969d91f69851b4c70dba512b607e52bda7b: > > /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: profiles/input/bluetoothd-manager.o: in function `input_init': > manager.c:(.text+0x2fd): undefined reference to `input_set_auto_sec' > > Fixes: > - http://autobuild.buildroot.org/results/9222879c9fe958e01e33f69531270355ea016d17 > > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> > --- > package/bluez5_utils/Config.in | 1 + > 1 file changed, 1 insertion(+) I have applied, but as I said earlier, I think this should be fixed upstream, and depending on the upstream fix, perhaps this needs to be reverted in Buildroot, or changed. Thanks, Thomas
diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in index 9f20bf83ac..f2b63b0a1c 100644 --- a/package/bluez5_utils/Config.in +++ b/package/bluez5_utils/Config.in @@ -78,6 +78,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID bool "build hid plugin" default y + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG help Build plugin for HID (input) profiles.
Build of hid without hog is broken since commit fb9fc969d91f69851b4c70dba512b607e52bda7b: /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: profiles/input/bluetoothd-manager.o: in function `input_init': manager.c:(.text+0x2fd): undefined reference to `input_set_auto_sec' Fixes: - http://autobuild.buildroot.org/results/9222879c9fe958e01e33f69531270355ea016d17 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/bluez5_utils/Config.in | 1 + 1 file changed, 1 insertion(+)