meta-openembedded/meta-oe
Mingli Yu 3d553c8fdf mariadb: Fix openssl 3.x compatibility
Backport a patch [1] to fix the below mariadb crash issue which related to
compatibility with openssl 3.x.

 # mysql_install_db --basedir=/usr
 Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
 /usr/bin/mysql_install_db: line 525:   430 Aborted                 "$mysqld_bootstrap" $defaults $defaults_group_suffix "$mysqld_opt" --bootstrap $silent_startup "--basedir=$basedir" "--datadir=$ldata" --log-warnings=0 --enforce-storage-engine="" "--plugin-dir=${plugindir}" $args --max_allowed_packet=8M --net_buffer_length=16K

 Installation of system tables failed!  Examine the logs in
/var/log/mysqld.log or /var/lib/mysql for more information.
 [snip]

 # cat /var/log/mysqld.log
 [snip]
 Thread pointer: 0x55e203ab6d98
 Attempting backtrace. You can use the following information to find out
 where mysqld died. If you see no messages after this, something went
 terribly wrong...
 stack_bottom = 0x7ffd0c35dd18 thread_stack 0x49000
 /usr/sbin/mariadbd(my_print_stacktrace+0x2e)[0x55e2027e533e]
 /usr/sbin/mariadbd(handle_fatal_signal+0x478)[0x55e20233eac8]
 libc_sigaction.c:0(__restore_rt)[0x7fbdf353b8f0]
 nptl/pthread_kill.c:46(__pthread_kill_internal)[0x7fbdf3586693]
 posix/raise.c:27(__GI_raise)[0x7fbdf353b846]
 stdlib/abort.c:81(__GI_abort)[0x7fbdf35267a3]
 posix/libc_fatal.c:161(__GI___libc_fatal)[0x7fbdf357ae50]
 debug/fortify_fail.c:25(__GI___fortify_fail)[0x7fbdf3613c4a]
 :0(__stack_chk_fail_local)[0x7fbdf3613c14]
 /usr/sbin/mariadbd(+0xacc8b5)[0x55e20253f8b5]
 mysys_ssl/my_md5.cc:92(my_md5)[0x55e202203533]
 /usr/sbin/mariadbd(_Z17mysql_create_viewP3THDP10TABLE_LIST21enum_view_create_mode+0x9e1)[0x55e2021f44b1]
 /usr/sbin/mariadbd(_Z21mysql_execute_commandP3THDb+0x2249)[0x55e202131f79]
 /usr/sbin/mariadbd(_Z11mysql_parseP3THDPcjP12Parser_state+0x1d8)[0x55e202135098]
 sql/table.cc:5635(TABLE_LIST::calc_md5(char const*))[0x55e20213546e]
 sql/sql_class.h:1219(Query_arena::memdup(void const*, unsigned long))[0x55e202073dee]
 nptl/libc_start_call_main.h:58(__libc_start_call_main)[0x7fbdf352751b]
 csu/libc-start.c:128(call_init)[0x7fbdf35275cc]
 /usr/sbin/mariadbd(_start+0x25)[0x55e2020686b5]
 [snip]

[1] 1b238e3435

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-22 10:15:00 -08:00
..
classes image_types_sparse: stop using ext2simg 2021-08-30 13:44:23 -07:00
conf layer.conf: Add ttf-takao to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS on fontconfig 2021-08-20 09:26:18 -07:00
dynamic-layers mozjs-91/mozjs-78: fix compile failure on centos7 2021-11-19 08:31:14 -08:00
lib/oeqa/selftest/cases PEP8 double aggressive E301 ~ E306 2021-04-15 09:28:44 -07:00
licenses Convert to new override syntax 2021-08-03 10:21:25 -07:00
recipes-benchmark linpack: Build both sp and dp binaries 2021-11-11 06:36:53 -08:00
recipes-bsp fwupd: add new recipe 2021-11-09 11:23:54 -08:00
recipes-connectivity paho-mqtt-cpp: new package 2021-11-18 11:07:05 -08:00
recipes-core paho-mqtt-cpp: new package 2021-11-18 11:07:05 -08:00
recipes-crypto cryptsetup: upgrade 2.4.1 -> 2.4.2 2021-11-22 10:15:00 -08:00
recipes-dbs mariadb: Fix openssl 3.x compatibility 2021-11-22 10:15:00 -08:00
recipes-devtools php: correct module name and library name 2021-11-19 08:31:14 -08:00
recipes-extended libqb: upgrade 2.0.3 -> 2.0.4 2021-11-22 10:15:00 -08:00
recipes-gnome libxmlb: put binary into separate package 2021-11-13 01:17:26 -08:00
recipes-graphics lvgl: Update to 8.1.0 2021-11-22 10:15:00 -08:00
recipes-kernel makedumpfile: upgrade from 1.6.9 to 1.7.0 2021-11-18 11:07:10 -08:00
recipes-multimedia recipes: Update SRC_URI branch and protocols 2021-11-03 06:57:49 -07:00
recipes-navigation gpsd: list files for gps-utils individually 2021-11-16 08:26:26 -08:00
recipes-printing Convert to new override syntax 2021-08-03 10:21:25 -07:00
recipes-security recipes: Update SRC_URI branch and protocols 2021-11-03 06:57:49 -07:00
recipes-shells dash: set precise BSD license 2021-11-18 11:07:10 -08:00
recipes-support poppler: upgrade 21.10.0 -> 21.11.0 2021-11-20 12:07:09 -08:00
recipes-test recipes: Update SRC_URI branch and protocols 2021-11-03 06:57:49 -07:00
COPYING.MIT
README README: mention linux-libc-dev:i386 for luajit on ubuntu-21.10 2021-09-30 08:50:42 -07:00

meta-oe
=======

This layer depends on:

URI: git://github.com/openembedded/openembedded-core.git
branch: master

luajit recipe requires host compiler to be able to generate 32bit code when target is 32bit
e.g. arm, so ensure that $CC -m32 is functional on build host, if building this recipe, needed
packages to fullfit this might have different names on different host distributions
e.g. on archlinux based distributions install prerequisites like below

pacman -S lib32-gcc-libs lib32-glibc

Ubuntu
sudo apt-get install gcc-multilib linux-libc-dev:i386

Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-oe]' in the subject'

When sending single patches, please use something like:
'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix="meta-oe][PATCH"'

You are encouraged to fork the mirror on GitHub https://github.com/openembedded/meta-openembedded
to share your patches, this is preferred for patch sets consisting of more than one patch.

Other services like GitLab, repo.or.cz or self-hosted setups are of course accepted as well,
'git fetch <remote>' works the same on all of them. We recommend GitHub because it is free, easy
to use, has been proven to be reliable and has a really good web GUI.

layer maintainer: Khem Raj <raj.khem@gmail.com>