ceb9c36b92
Commitdedbc69022
was incomplete resuling in the following build failure since the addition of the package in commit6a0f7c39bc
: -- Check for working CXX compiler: /usr/bin/c++ - broken CMake Error at /home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp Run Build Command(s):/home/autobuild/make/make -f Makefile cmTC_bfb29/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' /home/autobuild/make/make -f CMakeFiles/cmTC_bfb29.dir/build.make CMakeFiles/cmTC_bfb29.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_bfb29.dir/testCXXCompiler.cxx.o /usr/bin/c++ --sysroot=/home/autobuild/autobuild/instance-15/output-1/per-package/fluent-bit/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0 -fcommon -U_FILE_OFFSET_BITS -g -fPIE -o CMakeFiles/cmTC_bfb29.dir/testCXXCompiler.cxx.o -c /home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp/testCXXCompiler.cxx c++: error: unrecognized command-line option '-mlongcalls' c++: error: unrecognized command-line option '-mauto-litpools' make[2]: *** [CMakeFiles/cmTC_bfb29.dir/build.make:78: CMakeFiles/cmTC_bfb29.dir/testCXXCompiler.cxx.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_bfb29/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/fluent-bit-2.0.9/CMakeFiles/CMakeTmp' CMake will not be able to correctly generate this project. Call Stack (most recent call first): lib/msgpack-c/CMakeLists.txt:2 (project) While at it, add missing comment about C++ dependency for wasm Fixes: - http://autobuild.buildroot.org/results/4b0f90d79d6dbbf976acf1da839260b0ee94ddda Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_FLUENT_BIT
|
|
bool "fluent-bit"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_STATIC_LIBS # dlfcn.h
|
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_LIBYAML
|
|
help
|
|
Fast and Lightweight Logs and Metrics processor.
|
|
|
|
https://github.com/fluent/fluent-bit
|
|
|
|
if BR2_PACKAGE_FLUENT_BIT
|
|
|
|
config BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS
|
|
bool
|
|
# see lib/wasm-micro-runtime-WAMR-1.1.1/README.md#supported-architectures-and-platforms
|
|
default y if BR2_arc
|
|
default y if BR2_arm || BR2_armeb
|
|
default y if BR2_aarch64 || BR2_aarch64_be
|
|
default y if BR2_i386 || BR2_x86_64
|
|
default y if BR2_RISCV_64
|
|
default y if BR2_xtensa
|
|
|
|
config BR2_PACKAGE_FLUENT_BIT_WASM
|
|
bool "wasm runtime support"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS
|
|
help
|
|
Support for WASM-based plugins.
|
|
|
|
comment "wasm runtime support needs a toolchain w/ C++"
|
|
depends on BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|
|
|
|
endif
|
|
|
|
comment "fluent-bit needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|