[Buildroot] [PATCH] syslog-ng: use bundled libbson

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Apr 21 08:05:38 UTC 2017


Hello,

On Fri, 21 Apr 2017 06:40:32 +0300, Baruch Siach wrote:

> > Thanks for the patch. However, wouldn't it make more sense to disable
> > the mongo-c-driver of syslog-ng completely, until someone packages the
> > appropriate dependencies?  
> 
> The bundled mongo-c-driver and libbson seem to build fine with syslog-ng. It's 
> only the recent introduction of libbson in Buildroot that broke the build. So 
> the only drawback of forcing the bundled libbson is the loss of possible size 
> reduction opportunity. As I noted in the commit log, anyone worried about that 
> should package mongo-c-driver. But I don't think this is a reason to disable 
> the mongodb module.

Well, our policy is normally to avoid using bundled libraries. So if
syslog-ng needs a dependency that isn't packaged in Buildroot, then
this syslog-ng feature should be disabled rather than using bundled
libraries.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list