From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/bluez5_utils: needs readline
Date: Sun, 14 Jan 2018 14:53:24 +0100 [thread overview]
Message-ID: <20180114145324.2d13fdf6@windsurf> (raw)
In-Reply-To: <20180114053204.qzh6l3xgqywgcmyr@sapphire.tkos.co.il>
Hello,
On Sun, 14 Jan 2018 07:32:04 +0200, Baruch Siach wrote:
> Hi Bernd,
>
> On Sat, Jan 13, 2018 at 11:45:32PM +0100, Bernd Kuhls wrote:
> > Upstream commit
> > https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=bee3796113196da1b3f56da42fcae4d9bae6695e
> >
> > moved code depending on readline from the client tool to the shared
> > library, readline is therefore not an optional dependency anymore.
> >
> > Fixes
> > http://autobuild.buildroot.net/results/019/0197ee0036e129b736c1dc0e83722236fb656618/
> >
> > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> > ---
> > package/bluez5_utils/Config.in | 1 +
> > package/bluez5_utils/bluez5_utils.mk | 3 +--
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in
> > index 55831e9b61..bb0a2905c5 100644
> > --- a/package/bluez5_utils/Config.in
> > +++ b/package/bluez5_utils/Config.in
> > @@ -9,6 +9,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS
> > depends on BR2_TOOLCHAIN_HAS_SYNC_4
> > select BR2_PACKAGE_DBUS
> > select BR2_PACKAGE_LIBGLIB2
> > + select BR2_PACKAGE_READLINE
>
> I don't think that this is the correct fix. The bluez README file says:
>
> --disable-client
>
> Disable support for the command line client
>
> By default the command line client is enabled and uses the
> readline library. For specific systems where BlueZ is
> configured by other means, the command line client can be
> disabled and the dependency on readline is removed.
>
> So this does not look like a decision to make readline a mandatory dependency,
> but a bug that needs to be fixed upstream.
I agree it would be nice to check with upstream. They seem to have
intentionally added shell.c to the shared library, and this file
clearly unconditionally uses readline.
Perhaps it's their README file that is now incorrect.
Bernd, could you check with the upstream developers what they say about
this?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2018-01-14 13:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-13 22:45 [Buildroot] [PATCH 1/1] package/bluez5_utils: needs readline Bernd Kuhls
2018-01-14 5:32 ` Baruch Siach
2018-01-14 13:53 ` Thomas Petazzoni [this message]
2018-01-17 8:43 ` Thomas Petazzoni
2018-01-17 21:23 ` Bernd Kuhls
2018-01-18 4:40 ` Baruch Siach
2018-03-02 20:59 ` Jörg Krause
2018-04-20 10:20 ` Thomas Petazzoni
2018-04-20 14:08 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180114145324.2d13fdf6@windsurf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox