summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/minifi-cpp/files
Commit message (Collapse)AuthorAgeFilesLines
* minifi-cpp: upgrade 0.7.0 -> 0.15.0Yi Zhao2024-03-2031-894/+374
| | | | | | | | | | | | | Release Notes: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65145325#ReleaseNotesMiNiFi(C++)-Versioncpp-0.15.0 * Use external dependencies where possible to get rid of bundled packages. * Add PACKAGECONFIGs. * Use its own systemd service file. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Fix do_configure error builder aarch64Robert Yang2023-12-121-0/+31
| | | | | | | | Fixed do_configure error when build on aarch64 host: error: cannot guess build type; you must specify one Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp, mozjs-115, redis-7.2.1, pv: add missing Upstream-StatusMartin Jansa2023-09-272-0/+4
| | | | | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Remove the buildpath issueMingli Yu2023-09-202-0/+64
| | | | | | | | | | | | | | | | Don't override CFLAGS and just append the "-fPIC" to CFLAGS to make sure -fdebug-prefix-map option passed to compiler to fix the below issue: WARNING: minifi-cpp-0.7.0-r0 do_package_qa: QA Issue: File /usr/bin/.debug/minificontroller in package minifi-cpp-dbg contains reference to TMPDIR File /usr/bin/.debug/minifi in package minifi-cpp-dbg contains reference to TMPDIR [buildpaths] Pass the OPENSSLDIR to avoid introducing the build path to fix the below issue: WARNING: minifi-cpp-0.7.0-r0 do_package_qa: QA Issue: File /usr/bin/minificontroller in package minifi-cpp contains reference to TMPDIR File /usr/bin/minifi in package minifi-cpp contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Fix build with clang 17Khem Raj2023-07-072-0/+100
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-218-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Always use stat on 64bit linuxKhem Raj2023-04-061-0/+35
| | | | | | | stat64 is an alias to stat on 64bit linux moreover this makes it work with musl where LFS64 functions are deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Fix build with gcc13Khem Raj2023-01-271-0/+70
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Disable lto.Khem Raj2022-09-071-0/+33
| | | | | | | lto does not work always. Its enabled only in civetweb and no where else. Fow cosnsitent builds disable it everywhere. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Fix build with llvm C++ runtimeKhem Raj2021-05-281-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: include limits header for numeric_limits definitionKhem Raj2021-03-031-0/+34
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: specify GCC_AR and GCC_RANLIBYi Zhao2020-11-021-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We encountered a minifi-cpp build error on a self-hosted image: [snip] /build/tmp-glibc/work/corei7-64-wrs-linux/minifi-cpp/0.7.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-ranlib: thirdparty/civetweb-1.10/src/libcivetweb-cpp.a(CivetServer.cpp.o): plugin needed to handle lto object /build/tmp-glibc/work/corei7-64-wrs-linux/minifi-cpp/0.7.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-ranlib: thirdparty/civetweb-1.10/src/libcivetweb.a(civetweb.c.o): plugin needed to handle lto object [snip] /build/tmp-glibc/work/corei7-64-wrs-linux/minifi-cpp/0.7.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/10.2.0/ld: DWARF error: could not find variable specification at offset c960f /build/tmp-glibc/work/corei7-64-wrs-linux/minifi-cpp/0.7.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/10.2.0/ld: DWARF error: could not find variable specification at offset c961d [snip] extensions/civetweb/libminifi-civet-extensions.a(ListenHTTP.cpp.o): in function `org::apache::nifi::minifi::processors::ListenHTTP::WriteCallback::process(std::shared_ptr<org::apache::nifi::minifi::io::BaseStream>)': /usr/src/debug/minifi-cpp/0.7.0-r0/git/extensions/civetweb/processors/ListenHTTP.cpp:464: undefined reference to `mg_read' [snip] When using GCC's link-time optimization with static linked libraries, we should use gcc-ar and gcc-ranlib to create the static libraries. By default, it will search gcc-ar and gcc-ranlib in the system. But if the gcc-ranlib is not found, it will use ranlib instead which causes this issue. Specify GCC_AR and GCC_RANLIB in EXTRA_OECMAKE to make sure it can find the correct gcc-ar/gcc-ranlib. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: set the default repositories location to /var/libYi Zhao2020-09-283-3/+1
| | | | | | | | | | | | | | | | Currently, the provenance repository, flowfile repository and content repository are created in /var/run/ directory which is mounted as tmpfs. Since the minifi uses RocksDB repositories with direct IO, we will encounter an error when restart minifi service: [org::apache::nifi::minifi::provenance::ProvenanceRepository] [error] MiNiFi Provenance Repository database open /var/run/minifi/provenance_repository failed: IO error: While open a file for appending: /var/run/minifi/provenance_repository/000004.sst: Invalid argument Set the default repositories directory to /var/lib to fix this issue. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: do not download source during compileYi Zhao2020-09-283-0/+100
| | | | | | | | | The minifi-cpp needs to download and compile several sources during compile. Add these sources to SRC_URI to make sure they are downloaded in do_fetch not in do_compile. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Fix linking with libxml2Khem Raj2020-08-181-0/+39
| | | | | | | when libxml2-native is staged, then on x86 it starts to detect that for target and fail to build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi-cpp: Fix build with lto/clangKhem Raj2020-08-171-0/+38
| | | | | | | | | | | | | Define CMAKE_RANLIN to llvm-ranlib and use lld for linking since it detects LTO use for civetweb and therefore archives (.a) should be creatd is compiler ar/ranlib and gold or lld be used. backport a patch to fix build with clang, this patch is already proposed via [1] [1] https://github.com/facebook/rocksdb/pull/7265 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minifi: Add recipe for c++ versionwonjong.lee2020-08-1010-0/+264
MiNiFi--a subproject of Apache NiFi--is a complementary data collection approach that supplements the core tenets of NiFi in dataflow management, focusing on the collection of data at the source of its creation. The C++ implementation is an additional implementation to the one in Java with the aim of an even smaller resource footprint. Signed-off-by: wonjong.lee <wonjong.lee@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>