aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
AgeCommit message (Collapse)Author
2023-12-31mongodb: skip until python 3.12 fixes are available.Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-22mongodb: Fix build on 32bitMartin Jansa
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-17mongodb: Upgrade to 4.4.24Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-16mongodb: Add rdep on tzdata-coreKhem Raj
mongod fails to start without /usr/shared/timezone data Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-03mongodb: enable hardware crc32 only with crc in TUNE_FEATURESMartin Jansa
* see https://jira.mongodb.org/browse/SERVER-30893 * fixes: aarch64-oe-linux-gcc -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=TOPDIR/BUILD/work/mach-oe-linux/mongodb/4.4.13-r0/recipe-sysroot -o build/opt/third_party/wiredtiger/src/checksum/arm64/crc32-arm64.o -c -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_ARM_NEON_INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Isrc/third_party/zstandard-1.4.3/zstd/lib -Isrc/third_party/snappy-1.1.7 -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/checksum/arm64/crc32-arm64.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C /tmp/ccGvwFgu.s: Assembler messages: /tmp/ccGvwFgu.s:45: Error: selected processor does not support `crc32cb w2,w2,w3' /tmp/ccGvwFgu.s:77: Error: selected processor does not support `crc32cx w2,w2,x4' /tmp/ccGvwFgu.s:103: Error: selected processor does not support `crc32cb w2,w2,w0' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-27cve_check: convert CVE_CHECK_IGNORE to CVE_STATUSAndrej Valek
- Try to add convert and apply statuses for old CVEs - Drop some obsolete ignores, while they are not relevant for current version Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-07mongodb: fix chown user for multilib buildsMartin Jansa
* the user is named mongodb (BPN) and in multilib builds this fails with: chown: invalid user: 'lib32-mongodb:lib32-mongodb' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-04mongodb: Fix type mitmatch found with clang16Khem Raj
Use std::size to avoid explicit typecasting Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-04mongodb: Upgrade to 4.4.19Khem Raj
Add a patch to fix build with clang16 while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-01mongodb: Use bfd linker for x86/musl with gccKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-29mongodb: Pass MAXLINELENGTH to scons invocationKhem Raj
This helps in overcoming a problem when using scons with ccache enabled. When commands get longer, then it resorts to using response files to do the operations e.g. @/tmp/tmp96j6icra.lnk when this response file is inboked by compiler it works ok, however, this does not when ccache is used to invoke the complilation. We see errors e.g. ccache @/tmp/tmppsyij_0v.lnk ccache: error: execute_noreturn of @/tmp/tmppsyij_0v.lnk failed: No such file or directory Using MAXLINELENGTH setting ensures that we can use ARG_MAX to extend the length of commandline and hence avoid using response files. This issue is also reported in mongodb [1] [1] https://jira.mongodb.org/browse/SERVER-38389 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-29mongodb: Upgrade to 4.4.18Khem Raj
Use wildchar instead of /opt/ for build paths becasue it might be different when building with ccache Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-29mongodb: Fix build with gcc13Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-31mongodb: Do not use off64_t on muslKhem Raj
Its not available on musl since off_t is 64bit by default Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-28mongodb: Fix boost build with clang-15Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-18mongodb: ignore unrelated CVEsDavide Gardenal
CVE-2014-8180, CVE-2017-18381 and CVE-2017-2665 are not affecting our configuration so they can be safely ignored. Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-14mongodb: Fix aarch64 build with gcc12Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-13mongodb: Update to 4.4.13Khem Raj
Drop upstreamed patches which are present in this release Add a patch to fix narrowing issue Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03recipes: Update SRC_URI branch and protocolsRichard Purdie
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03mongodb: Create /var/log/mongodb in runtimePeter Kjellerstedt
/var/log is normally a link to /var/volatile/log and /var/volatile is a tmpfs mount. So anything created in /var/log will not be available when the tmpfs is mounted. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03mongodb: A little clean upPeter Kjellerstedt
This cleans up whitespace, and avoids using ${...} for shell variables. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03Convert to new override syntaxMartin Jansa
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03mongodb: Upgrade to 4.4.7Khem Raj
Fix build with glibc 2.34+ while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18mongodb: Enable wiredtiger only on aarch64/x86_64 hostsKhem Raj
Other 64bit arch where its enabled is ppc64le and it does not compile since build/opt/third_party/wiredtiger/src/checksum/power8/crc32.o is not built, its not setting HOST_ARCH to ppc64le due to cross compiling Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-01mongodb: Fix -Wc++11-narrowing warning on 32bitKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-01mongodb: Change PV to 4.4.6Khem Raj
4.4.6 has been released from same SHA which was used for rc0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11mongodb: Do not use MINSIGSTKSZKhem Raj
glibc 2.34 has made MINSIGSTKSZ non-constant Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-05mongodb: Update to 4.4.6-rc0Khem Raj
Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-13mongodb: Fix build on ppc64leKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-13mongodb: Fix cross build on ppc64leKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06mongodb: Upgrade to 4.4.4Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03mongodb: Include <optional> c++ headerKhem Raj
Fixes build with gcc11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-15mongodb: Fix i386 builds for non-glibc systemsKhem Raj
stacktrace depends on internal glibc defines which may not be available for other libc implementations e.g. __ELF_NATIVE_CLASS Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-15mongodb: Fix libunwind build with -fno-commonKhem Raj
Backport a patch for libunwind to fix build with gcc10 Fixes unwind/dist/src/x86_64/Ginit.c:52: multiple definition of `_U_dyn_info_list' Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-15mongodb: Pass OBJCOPY to scons so it does not use it from hostKhem Raj
Fixes objcopy: Unable to recognise the format of the input file `build/opt/mongo/mongos' Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Vincent Prince <vincent.prince.fr@gmail.com.com>
2020-09-15mongodb: bump to r4.4.1 versionVincent Prince
Signed-off-by: Vincent Prince <vincent.prince.external@saftbatteries.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25gperftools: Do not build on riscvKhem Raj
Its not yet ported to work on RISCV Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-09mongodb: Enable again building on 32bit arches from COMPATIBLE_HOSTGianfranco Costamagna
The upstream pending pull request seems to fix 32bit builds, tested with MACHINE=raspberrypi3 Signed-off-by: Costamagna Gianfranco <costamagnagianfranco@yahoo.it> Signed-off-by: Costamagna Gianfranco <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11conf/layer.conf: add BBFILES_DYNAMIC and dynamic layersChangqing Li
some recipes under meta-oe have dependency on meta-python, and test_world of yocto-check-layer will failed with error like: ERROR: test_world (common.CommonCheckLayer) ERROR: Nothing PROVIDES 'python3-pytoml-native' (but /meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb DEPENDS on or otherwise requires it). Close matches: python3-numpy-native python3-pycairo-native python3-rpm-native ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'mozjs', 'python3-pytoml-native'] fix by make these recipes only active when identified layers are present Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>