diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-05-08 07:37:20 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-05-11 08:27:27 -0700 |
commit | 2183f0894110a6913c44bee9a1f4b1cea7639bdc (patch) | |
tree | 985b1c15225f19486c62c93f1206267ac6845c30 /meta-oe/recipes-dbs/mysql | |
parent | ca18e276d63e9fc6fece6a32e88959cbcf84c91b (diff) | |
download | meta-openembedded-2183f0894110a6913c44bee9a1f4b1cea7639bdc.tar.gz |
mariadb: Upgrade to 10.5.10
Drop fix-a-building-failure.patch because upstream has made is narrower
to apply to emulator builds and not just any cross compiling builds
Add missing dependency on boost
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/mysql')
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb-native_10.5.10.bb (renamed from meta-oe/recipes-dbs/mysql/mariadb-native_10.5.9.bb) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb.inc | 5 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch | 35 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch (renamed from meta-oe/recipes-dbs/mysql/mariadb/fix-a-building-failure.patch) | 22 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch | 2 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb_10.5.10.bb (renamed from meta-oe/recipes-dbs/mysql/mariadb_10.5.9.bb) | 2 |
6 files changed, 10 insertions, 56 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.5.9.bb b/meta-oe/recipes-dbs/mysql/mariadb-native_10.5.10.bb index 73b2a0980d..73b2a0980d 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb-native_10.5.9.bb +++ b/meta-oe/recipes-dbs/mysql/mariadb-native_10.5.10.bb | |||
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index 92e54d7592..2974341bfe 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc | |||
@@ -11,7 +11,6 @@ SRC_URI = "https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz | |||
11 | file://install_db \ | 11 | file://install_db \ |
12 | file://mysql-systemd-start \ | 12 | file://mysql-systemd-start \ |
13 | file://configure.cmake-fix-valgrind.patch \ | 13 | file://configure.cmake-fix-valgrind.patch \ |
14 | file://fix-a-building-failure.patch \ | ||
15 | file://support-files-CMakeLists.txt-fix-do_populate_sysroot.patch \ | 14 | file://support-files-CMakeLists.txt-fix-do_populate_sysroot.patch \ |
16 | file://sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \ | 15 | file://sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \ |
17 | file://0001-disable-ucontext-on-musl.patch \ | 16 | file://0001-disable-ucontext-on-musl.patch \ |
@@ -22,11 +21,11 @@ SRC_URI = "https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz | |||
22 | file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \ | 21 | file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \ |
23 | file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ | 22 | file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ |
24 | file://sys_futex.patch \ | 23 | file://sys_futex.patch \ |
25 | file://0002-Fix-configure-by-closing-IF-ELSE-properly.patch \ | 24 | file://cross-compiling.patch \ |
26 | " | 25 | " |
27 | SRC_URI_append_libc-musl = " file://ppc-remove-glibc-dep.patch" | 26 | SRC_URI_append_libc-musl = " file://ppc-remove-glibc-dep.patch" |
28 | 27 | ||
29 | SRC_URI[sha256sum] = "40ab19aeb8de141fdc188cf2251213c9e7351bee4d0cd29db704fae68d1068cf" | 28 | SRC_URI[sha256sum] = "a5ff32f9fcaaf26bf5cba94accc7b246d2d5eb75710d027e40122df6bac0babb" |
30 | 29 | ||
31 | UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" | 30 | UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" |
32 | 31 | ||
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch b/meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch deleted file mode 100644 index 36c74d8f94..0000000000 --- a/meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From fdd08a8774265618668c7f24697e138587c47a16 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
3 | Date: Mon, 10 May 2021 13:35:54 +0200 | ||
4 | Subject: [PATCH] Fix configure by closing IF ELSE properly | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Fixes: | ||
10 | | CMake Error at libmariadb/cmake/ConnectorName.cmake:30 (ENDMACRO): | ||
11 | | Flow control statements are not properly nested. | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
16 | --- | ||
17 | libmariadb/cmake/ConnectorName.cmake | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/libmariadb/cmake/ConnectorName.cmake b/libmariadb/cmake/ConnectorName.cmake | ||
21 | index b7bbbad..357b8ac 100644 | ||
22 | --- a/libmariadb/cmake/ConnectorName.cmake | ||
23 | +++ b/libmariadb/cmake/ConnectorName.cmake | ||
24 | @@ -22,7 +22,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows") | ||
25 | SET(MACHINE_NAME "x64") | ||
26 | ELSE() | ||
27 | SET(MACHINE_NAME "32") | ||
28 | - END() | ||
29 | + ENDIF() | ||
30 | ENDIF() | ||
31 | |||
32 | SET(product_name "mysql-connector-c-${CPACK_PACKAGE_VERSION}-${PLATFORM_NAME}${CONCAT_SIGN}${MACHINE_NAME}") | ||
33 | -- | ||
34 | 2.30.2 | ||
35 | |||
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/fix-a-building-failure.patch b/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch index 9149ee21f2..0f4815b185 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/fix-a-building-failure.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch | |||
@@ -1,28 +1,21 @@ | |||
1 | From 1b2b6a61c9f82157cd2e0c3744f6c07e07aeb0bd Mon Sep 17 00:00:00 2001 | 1 | This is not needed for OE builds |
2 | From: Mingli Yu <mingli.yu@windriver.com> | ||
3 | Date: Mon, 4 Mar 2019 01:11:30 -0800 | ||
4 | Subject: [PATCH] fix a building failure | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | 2 | ||
8 | building failed since native does not generate import_executables.cmake | 3 | building failed since native does not generate import_executables.cmake |
9 | In fact, our building system will export the needed commands | 4 | In fact, our building system will export the needed commands |
10 | 5 | ||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
11 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | 8 | Signed-off-by: Roy Li <rongqing.li@windriver.com> |
12 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | 9 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
13 | --- | 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | CMakeLists.txt | 5 ----- | ||
15 | 1 file changed, 5 deletions(-) | ||
16 | 11 | ||
17 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
18 | index fc30750..4f9110e 100644 | ||
19 | --- a/CMakeLists.txt | 12 | --- a/CMakeLists.txt |
20 | +++ b/CMakeLists.txt | 13 | +++ b/CMakeLists.txt |
21 | @@ -347,11 +347,6 @@ CHECK_PCRE() | 14 | @@ -392,11 +392,6 @@ CHECK_PCRE() |
22 | 15 | ||
23 | CHECK_SYSTEMD() | 16 | CHECK_SYSTEMD() |
24 | 17 | ||
25 | -IF(CMAKE_CROSSCOMPILING) | 18 | -IF(CMAKE_CROSSCOMPILING AND NOT DEFINED CMAKE_CROSSCOMPILING_EMULATOR) |
26 | - SET(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Path to import_executables.cmake from a native build") | 19 | - SET(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Path to import_executables.cmake from a native build") |
27 | - INCLUDE(${IMPORT_EXECUTABLES}) | 20 | - INCLUDE(${IMPORT_EXECUTABLES}) |
28 | -ENDIF() | 21 | -ENDIF() |
@@ -30,6 +23,3 @@ index fc30750..4f9110e 100644 | |||
30 | # | 23 | # |
31 | # Setup maintainer mode options. Platform checks are | 24 | # Setup maintainer mode options. Platform checks are |
32 | # not run with the warning options as to not perturb fragile checks | 25 | # not run with the warning options as to not perturb fragile checks |
33 | -- | ||
34 | 2.17.1 | ||
35 | |||
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch b/meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch index 1ca86bcca2..d082d424b0 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch | |||
@@ -36,7 +36,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
36 | + __builtin_ppc_get_timebase(); | 36 | + __builtin_ppc_get_timebase(); |
37 | #elif defined __GNUC__ && (defined __arm__ || defined __aarch64__) | 37 | #elif defined __GNUC__ && (defined __arm__ || defined __aarch64__) |
38 | /* Mainly, prevent the compiler from optimizing away delay loops */ | 38 | /* Mainly, prevent the compiler from optimizing away delay loops */ |
39 | __asm__ __volatile__ ("":::"memory"); | 39 | __asm__ __volatile__ ("isb":::"memory"); |
40 | --- a/storage/tokudb/PerconaFT/portability/toku_time.h | 40 | --- a/storage/tokudb/PerconaFT/portability/toku_time.h |
41 | +++ b/storage/tokudb/PerconaFT/portability/toku_time.h | 41 | +++ b/storage/tokudb/PerconaFT/portability/toku_time.h |
42 | @@ -124,7 +124,7 @@ static inline tokutime_t toku_time_now(v | 42 | @@ -124,7 +124,7 @@ static inline tokutime_t toku_time_now(v |
diff --git a/meta-oe/recipes-dbs/mysql/mariadb_10.5.9.bb b/meta-oe/recipes-dbs/mysql/mariadb_10.5.10.bb index e6743fe97a..8ae8241b05 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb_10.5.9.bb +++ b/meta-oe/recipes-dbs/mysql/mariadb_10.5.10.bb | |||
@@ -2,7 +2,7 @@ require mariadb.inc | |||
2 | 2 | ||
3 | EXTRA_OECMAKE += "-DSTACK_DIRECTION=-1" | 3 | EXTRA_OECMAKE += "-DSTACK_DIRECTION=-1" |
4 | 4 | ||
5 | DEPENDS += "mariadb-native bison-native libpcre2 curl openssl ncurses zlib libaio libedit libevent libxml2" | 5 | DEPENDS += "mariadb-native bison-native boost libpcre2 curl openssl ncurses zlib libaio libedit libevent libxml2" |
6 | 6 | ||
7 | PROVIDES += "mysql5 libmysqlclient" | 7 | PROVIDES += "mysql5 libmysqlclient" |
8 | 8 | ||