summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb
Commit message (Collapse)AuthorAgeFilesLines
* recipes: drop ld-is-gold supportYi Zhao2025-02-231-4/+0
| | | | | | | | | | The gold linker support has been dropped in oe-core[1]. Remove related special cases and patches in recipes. [1] https://git.openembedded.org/openembedded-core/commit/?id=a4addb9ab63011e7c604fc5daff95559e7d214e7 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: skip until python 3.12 fixes are available.Alexander Kanavin2023-12-311-0/+2
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix build on 32bitMartin Jansa2023-09-222-0/+39
| | | | | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: add and fix Upstream-StatusMartin Jansa2023-09-2211-1/+22
| | | | | | | | | | | | | | | | | | * add 'Upstream-Status: Pending' where it was missing and fix malformatted one in 1296.patch * fixes: ERROR: lib32-mongodb-4.4.24-r0 do_patch: QA Issue: Malformed Upstream-Status in patch meta-oe/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/1296.patch Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status : Upstream-Status: submitted https://github.com/mongodb/mongo/pull/1296 [patch-status] ERROR: lib32-mongodb-4.4.24-r0 do_patch: QA Issue: Missing Upstream-Status in patch meta-oe/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-free_mon-Include-missing-cstdint.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status] ... Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Upgrade to 4.4.24Khem Raj2023-09-172-23/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Add rdep on tzdata-coreKhem Raj2023-09-161-0/+2
| | | | | | mongod fails to start without /usr/shared/timezone data Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: enable hardware crc32 only with crc in TUNE_FEATURESMartin Jansa2023-09-031-0/+1
| | | | | | | | | | | | | | | * 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>
* cve_check: convert CVE_CHECK_IGNORE to CVE_STATUSAndrej Valek2023-07-271-5/+2
| | | | | | | | | - 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>
* mongodb: fix chown user for multilib buildsMartin Jansa2023-04-071-1/+1
| | | | | | | | * 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>
* mongodb: Fix type mitmatch found with clang16Khem Raj2023-03-042-0/+34
| | | | | | Use std::size to avoid explicit typecasting Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Upgrade to 4.4.19Khem Raj2023-03-042-2/+35
| | | | | | Add a patch to fix build with clang16 while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: fix Upstream-Status formatYi Zhao2023-02-241-1/+1
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Use bfd linker for x86/musl with gccKhem Raj2023-02-011-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Pass MAXLINELENGTH to scons invocationKhem Raj2023-01-291-0/+1
| | | | | | | | | | | | | | | | | | | 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>
* mongodb: Upgrade to 4.4.18Khem Raj2023-01-291-5/+5
| | | | | | | 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>
* mongodb: Fix build with gcc13Khem Raj2023-01-292-0/+27
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Do not use off64_t on muslKhem Raj2022-12-312-0/+31
| | | | | | Its not available on musl since off_t is 64bit by default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix boost build with clang-15Khem Raj2022-08-282-0/+41
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: ignore unrelated CVEsDavide Gardenal2022-07-181-0/+6
| | | | | | | | 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>
* mongodb: Fix aarch64 build with gcc12Khem Raj2022-04-142-0/+38
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Update to 4.4.13Khem Raj2022-04-134-74/+42
| | | | | | | 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>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | 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>
* mongodb: Create /var/log/mongodb in runtimePeter Kjellerstedt2021-11-031-3/+11
| | | | | | | | | /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>
* mongodb: A little clean upPeter Kjellerstedt2021-11-031-31/+26
| | | | | | | | 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>
* Convert to new override syntaxMartin Jansa2021-08-031-12/+12
| | | | | | | | | | 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>
* mongodb: Upgrade to 4.4.7Khem Raj2021-08-032-3/+23
| | | | | | Fix build with glibc 2.34+ while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Enable wiredtiger only on aarch64/x86_64 hostsKhem Raj2021-06-181-1/+4
| | | | | | | | 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>
* mongodb: Fix -Wc++11-narrowing warning on 32bitKhem Raj2021-06-012-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Change PV to 4.4.6Khem Raj2021-06-011-2/+2
| | | | | | 4.4.6 has been released from same SHA which was used for rc0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Do not use MINSIGSTKSZKhem Raj2021-05-112-0/+35
| | | | | | glibc 2.34 has made MINSIGSTKSZ non-constant Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Update to 4.4.6-rc0Khem Raj2021-05-052-718/+3
| | | | | | Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix build on ppc64leKhem Raj2021-03-132-0/+19
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix cross build on ppc64leKhem Raj2021-03-132-3/+22
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Upgrade to 4.4.4Khem Raj2021-03-061-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Include <optional> c++ headerKhem Raj2021-03-032-0/+30
| | | | | | Fixes build with gcc11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Fix i386 builds for non-glibc systemsKhem Raj2020-09-152-0/+30
| | | | | | | 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>
* mongodb: Fix libunwind build with -fno-commonKhem Raj2020-09-152-0/+449
| | | | | | | | 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>
* mongodb: Pass OBJCOPY to scons so it does not use it from hostKhem Raj2020-09-151-0/+1
| | | | | | | | 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>
* mongodb: bump to r4.4.1 versionVincent Prince2020-09-159-53/+812
| | | | | Signed-off-by: Vincent Prince <vincent.prince.external@saftbatteries.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gperftools: Do not build on riscvKhem Raj2020-04-251-0/+2
| | | | | | Its not yet ported to work on RISCV Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Enable again building on 32bit arches from COMPATIBLE_HOSTGianfranco Costamagna2020-04-092-1/+54
| | | | | | | 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>
* conf/layer.conf: add BBFILES_DYNAMIC and dynamic layersChangqing Li2020-03-1113-0/+537
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>