* [Buildroot] [PATCH v2] syslog-ng: depend on !BR2_STATIC_LIBS
@ 2019-01-13 8:47 Chris Packham
2019-01-13 12:43 ` Carlos Santos
2019-01-13 13:30 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Chris Packham @ 2019-01-13 8:47 UTC (permalink / raw)
To: buildroot
Upstream now unconditionally requires dlfcn.h:
- https://github.com/balabit/syslog-ng/commit/01258e56abc5804f8ea977ff9ab98cc8e2fd4702
Fixes:
- http://autobuild.buildroot.net/results/c0bca852e053cd0e021205b3a949e750ae602333
Signed-off-by: Chris Packham <judge.packham@gmail.com>
---
Changes in v2:
- update comment when toolchain prerequisites are not met (thanks Baruch)
package/syslog-ng/Config.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/syslog-ng/Config.in b/package/syslog-ng/Config.in
index fbc236221a..6407645974 100644
--- a/package/syslog-ng/Config.in
+++ b/package/syslog-ng/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_SYSLOG_NG
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
+ depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
select BR2_PACKAGE_EVENTLOG
select BR2_PACKAGE_LIBGLIB2
@@ -15,7 +16,8 @@ config BR2_PACKAGE_SYSLOG_NG
https://syslog-ng.org/
-comment "syslog-ng needs a toolchain w/ wchar, threads"
+comment "syslog-ng needs a toolchain w/ dynamic library, wchar, threads"
depends on BR2_USE_MMU
- depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_STATIC_LIBS
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2] syslog-ng: depend on !BR2_STATIC_LIBS
2019-01-13 8:47 [Buildroot] [PATCH v2] syslog-ng: depend on !BR2_STATIC_LIBS Chris Packham
@ 2019-01-13 12:43 ` Carlos Santos
2019-01-13 13:30 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Carlos Santos @ 2019-01-13 12:43 UTC (permalink / raw)
To: buildroot
> From: "Chris Packham" <judge.packham@gmail.com>
> To: "buildroot" <buildroot@buildroot.org>
> Cc: "Carlos Santos" <casantos@datacom.com.br>, "Chris Packham" <judge.packham@gmail.com>
> Sent: Domingo, 13 de janeiro de 2019 6:47:22
> Subject: [PATCH v2] syslog-ng: depend on !BR2_STATIC_LIBS
> Upstream now unconditionally requires dlfcn.h:
> -
> https://github.com/balabit/syslog-ng/commit/01258e56abc5804f8ea977ff9ab98cc8e2fd4702
>
> Fixes:
> -
> http://autobuild.buildroot.net/results/c0bca852e053cd0e021205b3a949e750ae602333
>
> Signed-off-by: Chris Packham <judge.packham@gmail.com>
> ---
> Changes in v2:
> - update comment when toolchain prerequisites are not met (thanks Baruch)
>
> package/syslog-ng/Config.in | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/package/syslog-ng/Config.in b/package/syslog-ng/Config.in
> index fbc236221a..6407645974 100644
> --- a/package/syslog-ng/Config.in
> +++ b/package/syslog-ng/Config.in
> @@ -3,6 +3,7 @@ config BR2_PACKAGE_SYSLOG_NG
> depends on BR2_USE_WCHAR # glib2
> depends on BR2_TOOLCHAIN_HAS_THREADS
> depends on BR2_USE_MMU # fork()
> + depends on !BR2_STATIC_LIBS # dlfcn.h
> depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
> select BR2_PACKAGE_EVENTLOG
> select BR2_PACKAGE_LIBGLIB2
> @@ -15,7 +16,8 @@ config BR2_PACKAGE_SYSLOG_NG
>
> https://syslog-ng.org/
>
> -comment "syslog-ng needs a toolchain w/ wchar, threads"
> +comment "syslog-ng needs a toolchain w/ dynamic library, wchar, threads"
> depends on BR2_USE_MMU
> - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
> + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
> + BR2_STATIC_LIBS
> depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
> --
> 2.20.1
Reviewed-by: Carlos Santos <casantos@datacom.com.br>
--
Carlos Santos (Casantos) - DATACOM, P&D
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2] syslog-ng: depend on !BR2_STATIC_LIBS
2019-01-13 8:47 [Buildroot] [PATCH v2] syslog-ng: depend on !BR2_STATIC_LIBS Chris Packham
2019-01-13 12:43 ` Carlos Santos
@ 2019-01-13 13:30 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-01-13 13:30 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 13 Jan 2019 21:47:22 +1300, Chris Packham wrote:
> Upstream now unconditionally requires dlfcn.h:
> - https://github.com/balabit/syslog-ng/commit/01258e56abc5804f8ea977ff9ab98cc8e2fd4702
>
> Fixes:
> - http://autobuild.buildroot.net/results/c0bca852e053cd0e021205b3a949e750ae602333
>
> Signed-off-by: Chris Packham <judge.packham@gmail.com>
> ---
> Changes in v2:
> - update comment when toolchain prerequisites are not met (thanks Baruch)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-13 13:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-13 8:47 [Buildroot] [PATCH v2] syslog-ng: depend on !BR2_STATIC_LIBS Chris Packham
2019-01-13 12:43 ` Carlos Santos
2019-01-13 13:30 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox