292 Commits

Author SHA1 Message Date
Zoltán Böszörményi
f3cd830c09
mariadb: 11.4.8
11.4.7 fixes a huge performance drop from 11.4.5 to 11.4.6.
https://mariadb.com/docs/release-notes/community-server/mariadb-11-4-series/mariadb-11.4.7-release-notes

11.4.8 fixes several crash problems and other issues.
https://mariadb.com/docs/release-notes/community-server/mariadb-11-4-series/mariadb-11.4.8-release-notes

Removed 0001-aio_linux-Check-if-syscall-exists-before-using-it.patch
which is not applicable anymore, the code was rewritten.

Adapted 0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch
to fix fuzz.

Add libxml2-native to DEPENDS in mariadb-native to fix the
do_configure failure with the new version.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-02 10:17:29 -07:00
Zoltán Böszörményi
90ed8e2bd5
mariadb: Fix a crash in my_convert()
In some cases (most notably when running mysqldump),
the server crashes in the my_convert() function, in
a code protected by

  #if defined(__i386__) || defined(__x86_64__)
  ...
  #endif

The crash does not happen with the generic code.
Remove the x86[-64] specific optimization.

This change was endorsed in
https://jira.mariadb.org/browse/MDEV-37786

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-02 10:17:29 -07:00
Christian Lindeberg
cf96ad8622
influxdb: Update module cache content
The Go module cache content URIs has been regenerated by listing
dependencies with "${GO_INSTALL}" instead of "${GO_IMPORT}/..." as the
package patterns.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-02 23:36:18 -07:00
Christian Lindeberg
f739fb9ab2
influxdb: Add spdx parameter to license URIs
Add an "spdx" parameter with the identified license name to the URIs in
LIC_FILES_CHECKSUM in influxdb-licenses.inc.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-02 08:57:41 -07:00
Yogita Urade
eaceb635f7
postgresql: upgrade 17.5 -> 17.6
Includes fix for CVE-2025-8713, CVE-2025-8714, CVE-2025-8715

License-Update: Align organization wording in copyright statement

Changelog:
https://www.postgresql.org/docs/release/17.6/

Refreshed 0003-configure.ac-bypass-autoconf-2.69-version-check.patch
for 17.6

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-20 07:35:07 -07:00
Khem Raj
7ceeb8b8d7
rocksdb: Fix build when using x86-64-v3 tune
Fixes
| ../sources/rocksdb-9.10.0/util/crc32c.cc:553:21: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
|   553 |   const auto res0 = _mm_clmulepi64_si128(crc0_xmm, multiplier, 0x00);
|       |                     ^
| /mnt/b/yoe/master/build/tmp/work/x86-64-v3-yoe-linux/rocksdb/9.10.0/recipe-sysroot-native/usr/lib/clang/21/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
|    45 |   ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
|       |             ^
| ../sources/rocksdb-9.10.0/util/crc32c.cc:555:21: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
|   555 |   const auto res1 = _mm_clmulepi64_si128(crc1_xmm, multiplier, 0x10);
|       |                     ^
| /mnt/b/yoe/master/build/tmp/work/x86-64-v3-yoe-linux/rocksdb/9.10.0/recipe-sysroot-native/usr/lib/clang/21/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
|    45 |   ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
|       |             ^
| 2 errors generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-14 22:50:26 -07:00
Khem Raj
0972715e30
leveldb: Fix cast warnings seen with clang-21
backport needed patch for googletest

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-29 12:22:21 -07:00
Moritz Haase
a08eabb3b8
leveldb: Allow to build with CMake 4+
The component itself builds just fine with CMake 4, but the tests don't as they
rely on a bundled version of GTest that is six years old. Since upstream is
inactive, the simplest course of action is to apply the 'minimum policy version'
override (as implemented in CMake, it only affects the GTest submodule).

System GTest can not be used instead (easily), as among other things it requires
C++14 and the project uses C++11.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-15 07:49:27 -07:00
Moritz Haase
27eab454a6
soci: upgrade 4.0.3 -> 4.1.2
New version includes support to build against CMake 4+.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-15 00:25:28 -07:00
Khem Raj
c575193dbb
influxdb: Do not skip it anymore
The gomod fetcher has all the needed modules in SRC_URI now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-06 22:39:31 -07:00
Christian Lindeberg
c8d5b30af6
influxdb: Use GO_SRCURI_DESTSUFFIX in SRC_URI
Use the GO_SRCURI_DESTSUFFIX convenience variable for the Go main module
in the SRC_URI variable.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-06 22:39:31 -07:00
Alper Ak
9587da2ba4
influxdb: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX
Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX
is set to match S from bitbake.conf (which itself is set to match typical tarball
releases).

ERROR: influxdb-1.8.10-r0 do_unpack: Recipes that set S = "${WORKDIR}/git" or S = "${UNPACKDIR}/git" should remove that assignment, as S set by bitbake.conf in oe-core now works.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-06 22:39:31 -07:00
Christian Lindeberg
1b27703d9f
influxdb: Use go module fetcher
Use the go module fetcher instead of allowing network access during the
compile task.
Apply patch to replace github.com/pkg/term with github.com/kraj/term
unconditionally to avoid conditional module dependencies.
Reorder variables according to the recipe style guide.

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-06 22:39:31 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu
2394b03ef6
postgresql: upgrade 17.4 -> 17.5
0003-configure.ac-bypass-autoconf-2.69-version-check.patch
0004-config_info.c-not-expose-build-info.patch
not-check-libperl.patch
refreshed for 17.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-21 07:38:25 -07:00
Khem Raj
d5bec49b73
influxdb,etcd: Skip from building
Latest layer compatibility checks have been enhanced to check for
network access during non-fetch tasks and flag it as failure, which
is now happening for these recipes since it calls go module fetcher
during do_compile

Latest gomod fetcher has got improvements and can be used for these
recipes but it needs some work. Skip them until it is fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-18 09:08:11 -07:00
Yogita Urade
3e958fabe9
mariadb: upgrade 11.4.5 -> 11.4.6
This upgrade includes fix for CVE-2023-52971

Changelog:
https://mariadb.com/kb/en/mariadb-11-4-6-changelog/

refresh 0001-Add-missing-includes-cstdint-and-cstdio.patch

Droped 3871.patch and mm_malloc.patch as these are available in 11.4.6

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-14 08:37:27 -07:00
Martin Jansa
a0ea7128d2
psqlodbc: fix build with gcc-15
configure: make sure to call AC_CHECK_HEADER_STDBOOL before using ac_cv_sizeof_bool

It was called after this conditional, so PG_USE_STDBOOL wasn't set
even when it should be as shown in at the end of config.log:

  ac_cv_header_stdbool_h=yes
  ac_cv_sizeof_bool=1
  ac_cv_type__Bool=yes
  #define SIZEOF_BOOL 1
  #define HAVE__BOOL 1
  #define HAVE_STDBOOL_H 1

* fixes:
  https://github.com/postgresql-interfaces/psqlodbc/issues/110
  https://github.com/postgresql-interfaces/psqlodbc/issues/94

http://errors.yoctoproject.org/Errors/Details/852841/

In file included from ../psqlodbc-16.00.0000/environ.h:16,
                 from ../psqlodbc-16.00.0000/environ.c:16:
../psqlodbc-16.00.0000/psqlodbc.h:264:23: error: 'bool' cannot be defined via 'typedef'
  264 | typedef unsigned char bool;
      |                       ^~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-23 19:35:01 -07:00
Khem Raj
f66fc1d2e5
mariadb: Fix build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 17:50:06 -07:00
Khem Raj
09f110b8a0
mariadb: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 14:29:58 -07:00
Changqing Li
8e423a43b8
mariadb: upgrade 11.4.4 -> 11.4.5
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 14:29:58 -07:00
mark.yang
5cf1a10405
rocksdb: fix build with gcc-13
* From gcc 13, cstdint header must be explicitly included for uint_X data types.
* See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 07:39:10 -07:00
Changqing Li
8a7c5265de
rocksdb: upgrade 9.0.0 -> 9.10.0
Upgrade to the latest version, refer:
https://github.com/facebook/rocksdb/releases

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 19:35:32 -07:00
Ross Burton
01f0ee673f postgresql: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Changqing Li
03c947d8f0
postgresql: upgrade 16.8 -> 17.4
This is a major version upgrade, see release note:
https://www.postgresql.org/docs/release/

* Refresh patches:
0003-configure.ac-bypass-autoconf-2.69-version-check.patch
0005-postgresql-fix-ptest-failure-of-sysviews.patch
* Removed dropped option --enable-thread-safety
* Add depends for bison-native
* Fix do_packge_qa error:
  *.c *.h generated by bison or flex leave full paths in comment,
rewrite those before *-src packaging

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 17:27:32 -08:00
Yi Zhao
5ce6310250
mariadb: specify pkgconfig directory
Set correct pkgconfig directory via INSTALL_PCDIR, otherwise on 64-bit
targets, the .pc file will be installed to /usr/lib64/pkgconfig by
default.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:31:43 -08:00
Yi Zhao
ba64200fd6
mariadb: set pam module path to ${base_libdir}/security
Set pam module path to ${base_libdir}/security via INSTALL_PAMDIR. Then
we can get rid of the workaround in do_install.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:31:43 -08:00
Vijay Anusuri
d4caf06e81 postgresql: upgrade 16.5 -> 16.8
License-Update: Update license year to 2025

Includes fix for CVE-2025-1094

Changelog:
https://www.postgresql.org/docs/release/16.8/

Refreshed 0003-configure.ac-bypass-autoconf-2.69-version-check.patch for
16.8

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-24 21:31:38 -08:00
Yi Zhao
8a29c46188
recipes: drop ld-is-gold support
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>
2025-02-23 17:36:08 -08:00
Changqing Li
cdd8b41d6e
mariadb: correct STACK_DIRECTION setting
STACK_DIRECTION = 1 means stack grow upwards
STACK_DIRECTION = -1 means stack grow downwards

In the majority of modern architectures, stack grows downwards. So set
STACK_DIRECTION = 1 is not right. But the failure is not exposed before,
mysqld can start normally, and simple runtime operation like create db,
table, select info, works well. But it is exposed after commit [1] is
merged, mysqld will start failed with error:
2025-02-12  3:18:19 0 [ERROR] Could not open mysql.plugin table: "Thread stack overrun:  16752824 bytes used of a 299008 byte stack, and 81920 bytes needed

Since commit [2], mariadb started to determine the default
STACK_DIRECTION in CMake based on the ISA, and we have set correct
CMAKE_SYSTEM_PROCESSOR in cmake.bbclass, so just don't pass it.

[1] bddbef3573
[2] d0abbdf56e
[3] https://jira.mariadb.org/browse/MDEV-36051

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-13 07:44:16 -08:00
Changqing Li
f06a439827
mariadb: move /usr/share/mysql to /usr/share/mariadb
Fix error:
$mariadb-install-db --basedir=/usr
FATAL ERROR: Could not find /usr/share/mariadb/fill_help_tables.sql

Upstream commit [1] move /usr/share/mysql to /usr/share/mariadb, this
make related files split into wrong package, and not installed by
default, so cause above error

[1] 320a4b52c9

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-13 07:44:16 -08:00
Changqing Li
423d560def
mariadb: deprecate mysql* names
Fix following warnings:
/usr/bin/mysql_install_db: Deprecated program name. It will be removed in a future release, use 'mariadb-install-db' instead

Upstream commit [1] deprecate mysql* names, use the new name to
fix above warning

[1] b30b040b73

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-13 07:44:15 -08:00
Khem Raj
b35e75fe04 mariadb: Upgrade to 11.4.4
Its the latest LTS supported release series

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-14 20:14:27 -08:00
Khem Raj
ef917bce9a
mariadb: Upgrade to 10.11.10
Drop 0001-Use-a-lambda-function-as-deleter-prototype-in-unique.patch its
already in this version

Drop ppc musl patch, a check for glibc is already added in this version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 09:33:23 -08:00
Yi Zhao
ff119e949e
mariadb: set pam module path to ${base_libdir}/security
Set pam module path to ${base_libdir}/security as this is the default
path in libpam.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-06 07:22:29 -08:00
Yogita Urade
54bbf1a630
postgresql: upgrade 16.4 -> 16.5
Includes fix for CVE-2024-10976, CVE-2024-10977, CVE-2024-10978
and CVE-2024-10979

Changelog:
https://www.postgresql.org/docs/release/16.5/

0003-configure.ac-bypass-autoconf-2.69-version-check.patch
Refreshed for 16.5

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-20 19:47:55 -08:00
Ruiqiang Hao
aa667cbe21
mariadb: Ensure compatibility with ARMv9 by updating .arch directive
The pmem_cvap() function currently uses the '.arch armv8.2-a' directive
for the 'dc cvap' instruction. This will cause build errors below when
compiling for ARMv9 systems. Update the '.arch' directive to 'armv9.4-a'
to ensure compatibility with ARMv9 architectures.

{standard input}: Assembler messages:
{standard input}:169: Error: selected processor does not support `retaa'
{standard input}:286: Error: selected processor does not support `retaa'
make[2]: *** [storage/innobase/CMakeFiles/innobase_embedded.dir/build.make:
1644: storage/innobase/CMakeFiles/innobase_embedded.dir/sync/cache.cc.o]
Error 1

Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-08 10:49:50 -08:00
J. S.
d2f631c763
Drop unnecessary SRC_URI md5sum from the recipes in meta-oe.
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 19:19:22 -08:00
Khem Raj
01dd622533
postgresql: Disable tcl support by default
It needs tcl8 and defaults have moved to using tcl9
and postgres has to be ported to work with tcl9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 17:14:22 -08:00
Khem Raj
fd57ac6162
postgresql: Add tclsh 9 support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:50 -08:00
Changqing Li
38b7821838
postgresql.inc: fix do_package_qa error
Replacing P with BP to fix following do_package_qa error for lib32-postgresql:
ERROR: QA Issue: File /usr/src/debug/lib32-postgresql/16.4/src/pl/plperl/SPI.c in package lib32-postgresql-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-24 05:52:20 -07:00
Khem Raj
400bafb88f
psqlodbc: Update SRC_URI to point to latest location of 16.00.0000 tarballs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-14 23:19:36 -07:00
Niko Mauno
9cc9e47a72
mysql-python: Remove obsolete recipe
This recipe depends on meta-python2, master branch of which has not
been updated sine February 2022, see
https://git.openembedded.org/meta-python2/log/?h=master

Also, master branch of the associated source code repository has not
been updated since January 2014, see
https://github.com/farcepest/MySQLdb1/commits/master/

Thus, remove the obsolete recipe, along with associated packagegroup
declarations/references.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 23:54:17 -07:00
Mingli Yu
c0095bd118
rocksdb: Add ptest support
# ./run-ptest
PASS: agg_merge_test
PASS: cache_test
PASS: db_basic_test
PASS: env_basic_test
PASS: testutil_test

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-29 10:01:08 -07:00
Khem Raj
5de95a5b7a
mariadb: Fix build with clang-20/trunk
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-27 17:28:06 -07:00
Hauke Lampe
ba274e7310
postgresql: Use packageconfig flag for readline dependency
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 09:37:01 -07:00
Khem Raj
dac3c9f062
mariadb: Upgrade to 10.11.9 release
Drop upstreamed patches
Fixes build with fmt11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 18:15:26 -07:00
Wang Mingyu
4d253bca26
postgresql: upgrade 16.3 -> 16.4
0003-configure.ac-bypass-autoconf-2.69-version-check.patch
refreshed for 16.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 07:11:32 -07:00
Guocai He
ddd322323e
mariadb: File conflicts for multilib
File conflicts between attempted installs of mariadb and lib32-mariadb

Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-22 08:02:27 -07:00
Nikhil R
233079a41c
rocksdb: Add an option to set static library
Modify the CMakeLists.txt to add an Option for
STATIC target import, as available for shared library.

Link: https://github.com/facebook/rocksdb/pull/12890

Configure static library default to switched off
as shared libraries are sufficient in most cases.

Signed-off-by: Bhabu Bindu <bindu.bhabu@kpit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-10 15:57:45 -07:00