Message ID | 20230816055711.2298616-1-mingli.yu@windriver.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe] mariadb: Upgrade to 10.11.5 | expand |
mariadb-native ends up with following errors on debian12 hosts | /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mariadb-native/10.11.5/mariadb-10.11.5/plugin/auth_pam/testing/pam_mariadb_mtr.c:13:10: fatal error: security/pam_modules.h: No such file or directory | 13 | #include <security/pam_modules.h> | | ^~~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | make[2]: *** [plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/build.make:76: plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/pam_mariadb_mtr.c.o] Error 1 | make[1]: *** [CMakeFiles/Makefile2:8636: plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/all] Error 2 | make[1]: *** Waiting for unfinished jobs.... | [ 2%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_1.c.o | [ 2%] Linking C static library libma_getopt.a | /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mariadb-native/10.11.5/mariadb-10.11.5/plugin/auth_pam/mapper/pam_user_map.c:44:10: fatal error: security/pam_ext.h: No such file or directory | 44 | #include <security/pam_ext.h> | | ^~~~~~~~~~~~~~~~~~~~ | compilation terminated. On Tue, Aug 15, 2023 at 10:57 PM Yu, Mingli <mingli.yu@eng.windriver.com> wrote: > > From: Mingli Yu <mingli.yu@windriver.com> > > Signed-off-by: Mingli Yu <mingli.yu@windriver.com> > --- > .../{mariadb-native_10.11.4.bb => mariadb-native_10.11.5.bb} | 0 > meta-oe/recipes-dbs/mysql/mariadb.inc | 2 +- > .../mysql/{mariadb_10.11.4.bb => mariadb_10.11.5.bb} | 0 > 3 files changed, 1 insertion(+), 1 deletion(-) > rename meta-oe/recipes-dbs/mysql/{mariadb-native_10.11.4.bb => mariadb-native_10.11.5.bb} (100%) > rename meta-oe/recipes-dbs/mysql/{mariadb_10.11.4.bb => mariadb_10.11.5.bb} (100%) > > diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.4.bb b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.5.bb > similarity index 100% > rename from meta-oe/recipes-dbs/mysql/mariadb-native_10.11.4.bb > rename to meta-oe/recipes-dbs/mysql/mariadb-native_10.11.5.bb > diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc > index 2fb0bd7be..f364f47bf 100644 > --- a/meta-oe/recipes-dbs/mysql/mariadb.inc > +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc > @@ -25,7 +25,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ > file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ > " > SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch" > -SRC_URI[sha256sum] = "ce8dac125568cc5f40da74c17212767c92d8faed81066580b526a485a591127d" > +SRC_URI[sha256sum] = "4c9484048d4d0c71dd076ab33fc2a9ce8510bdf762886de0d63fe52496f3dbbb" > > UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" > > diff --git a/meta-oe/recipes-dbs/mysql/mariadb_10.11.4.bb b/meta-oe/recipes-dbs/mysql/mariadb_10.11.5.bb > similarity index 100% > rename from meta-oe/recipes-dbs/mysql/mariadb_10.11.4.bb > rename to meta-oe/recipes-dbs/mysql/mariadb_10.11.5.bb > -- > 2.25.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#104410): https://lists.openembedded.org/g/openembedded-devel/message/104410 > Mute This Topic: https://lists.openembedded.org/mt/100774345/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
It also started to fetch fmt in mariadb-native.do_compile (and failing because network is disabled) [ 1%] Performing download step (download, verify and extract) for 'libfmt' cd TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/build/extra/libfmt/src && TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/recipe-sysroot-native/usr/bin/cmake -P TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/build/extra/libfmt/src/libfmt-stamp/download-libfmt.cmake -- Downloading... dst='TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/build/extra/libfmt/src/8.0.1.zip' timeout='none' inactivity timeout='none' -- Using src='https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' CMake Error at libfmt-stamp/download-libfmt.cmake:170 (message): Each download failed! error: downloading ' https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- getaddrinfo(3) failed for github.com:443 Could not resolve host: github.com Closing connection 0 --- LOG END --- error: downloading ' https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- getaddrinfo(3) failed for github.com:443 Could not resolve host: github.com Closing connection 0 --- LOG END --- error: downloading ' https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- getaddrinfo(3) failed for github.com:443 Could not resolve host: github.com Closing connection 0 --- LOG END --- error: downloading ' https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- getaddrinfo(3) failed for github.com:443 Could not resolve host: github.com Closing connection 0 --- LOG END --- error: downloading ' https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- getaddrinfo(3) failed for github.com:443 Could not resolve host: github.com Closing connection 0 --- LOG END --- error: downloading ' https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- getaddrinfo(3) failed for github.com:443 Could not resolve host: github.com Closing connection 0 --- LOG END --- make[2]: *** [CMakeFiles/libfmt.dir/build.make:99: extra/libfmt/src/libfmt-stamp/libfmt-download] Error 1 make[2]: Leaving directory 'TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/build' make[1]: *** [CMakeFiles/Makefile2:2828: CMakeFiles/libfmt.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... On Wed, Aug 16, 2023 at 6:02 PM Khem Raj <raj.khem@gmail.com> wrote: > mariadb-native ends up with following errors on debian12 hosts > > | > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mariadb-native/10.11.5/mariadb-10.11.5/plugin/auth_pam/testing/pam_mariadb_mtr.c:13:10: > fatal error: security/pam_modules.h: No such file or directory > | 13 | #include <security/pam_modules.h> > | | ^~~~~~~~~~~~~~~~~~~~~~~~ > | compilation terminated. > | make[2]: *** > [plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/build.make:76: > plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/pam_mariadb_mtr.c.o] > Error 1 > | make[1]: *** [CMakeFiles/Makefile2:8636: > plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/all] Error 2 > | make[1]: *** Waiting for unfinished jobs.... > | [ 2%] Building C object > plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_1.c.o > | [ 2%] Linking C static library libma_getopt.a > | > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mariadb-native/10.11.5/mariadb-10.11.5/plugin/auth_pam/mapper/pam_user_map.c:44:10: > fatal error: security/pam_ext.h: No such file or directory > | 44 | #include <security/pam_ext.h> > | | ^~~~~~~~~~~~~~~~~~~~ > | compilation terminated. > > On Tue, Aug 15, 2023 at 10:57 PM Yu, Mingli <mingli.yu@eng.windriver.com> > wrote: > > > > From: Mingli Yu <mingli.yu@windriver.com> > > > > Signed-off-by: Mingli Yu <mingli.yu@windriver.com> > > --- > > .../{mariadb-native_10.11.4.bb => mariadb-native_10.11.5.bb} | 0 > > meta-oe/recipes-dbs/mysql/mariadb.inc | 2 +- > > .../mysql/{mariadb_10.11.4.bb => mariadb_10.11.5.bb} | 0 > > 3 files changed, 1 insertion(+), 1 deletion(-) > > rename meta-oe/recipes-dbs/mysql/{mariadb-native_10.11.4.bb => > mariadb-native_10.11.5.bb} (100%) > > rename meta-oe/recipes-dbs/mysql/{mariadb_10.11.4.bb => > mariadb_10.11.5.bb} (100%) > > > > diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.4.bb > b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.5.bb > > similarity index 100% > > rename from meta-oe/recipes-dbs/mysql/mariadb-native_10.11.4.bb > > rename to meta-oe/recipes-dbs/mysql/mariadb-native_10.11.5.bb > > diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc > b/meta-oe/recipes-dbs/mysql/mariadb.inc > > index 2fb0bd7be..f364f47bf 100644 > > --- a/meta-oe/recipes-dbs/mysql/mariadb.inc > > +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc > > @@ -25,7 +25,7 @@ SRC_URI = " > https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ > > file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ > > " > > SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch" > > -SRC_URI[sha256sum] = > "ce8dac125568cc5f40da74c17212767c92d8faed81066580b526a485a591127d" > > +SRC_URI[sha256sum] = > "4c9484048d4d0c71dd076ab33fc2a9ce8510bdf762886de0d63fe52496f3dbbb" > > > > UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" > > > > diff --git a/meta-oe/recipes-dbs/mysql/mariadb_10.11.4.bb > b/meta-oe/recipes-dbs/mysql/mariadb_10.11.5.bb > > similarity index 100% > > rename from meta-oe/recipes-dbs/mysql/mariadb_10.11.4.bb > > rename to meta-oe/recipes-dbs/mysql/mariadb_10.11.5.bb > > -- > > 2.25.1 > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#104432): > https://lists.openembedded.org/g/openembedded-devel/message/104432 > Mute This Topic: https://lists.openembedded.org/mt/100774345/3617156 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > Martin.Jansa@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
There is a patch in master-next to address this On Sat, Aug 19, 2023 at 12:56 AM Martin Jansa <martin.jansa@gmail.com> wrote: > It also started to fetch fmt in mariadb-native.do_compile (and failing > because network is disabled) > > [ 1%] Performing download step (download, verify and extract) for 'libfmt' > cd > TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/build/extra/libfmt/src > && > TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/recipe-sysroot-native/usr/bin/cmake > -P > TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/build/extra/libfmt/src/libfmt-stamp/download-libfmt.cmake > -- Downloading... > > dst='TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/build/extra/libfmt/src/8.0.1.zip' > timeout='none' > inactivity timeout='none' > -- Using src='https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' > > CMake Error at libfmt-stamp/download-libfmt.cmake:170 (message): > Each download failed! > > error: downloading ' > https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed > status_code: 6 > status_string: "Couldn't resolve host name" > log: > --- LOG BEGIN --- > getaddrinfo(3) failed for github.com:443 > > Could not resolve host: github.com > > Closing connection 0 > > > > --- LOG END --- > error: downloading ' > https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed > status_code: 6 > status_string: "Couldn't resolve host name" > log: > --- LOG BEGIN --- > getaddrinfo(3) failed for github.com:443 > > Could not resolve host: github.com > > Closing connection 0 > > > > --- LOG END --- > error: downloading ' > https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed > status_code: 6 > status_string: "Couldn't resolve host name" > log: > --- LOG BEGIN --- > getaddrinfo(3) failed for github.com:443 > > Could not resolve host: github.com > > Closing connection 0 > > > > --- LOG END --- > error: downloading ' > https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed > status_code: 6 > status_string: "Couldn't resolve host name" > log: > --- LOG BEGIN --- > getaddrinfo(3) failed for github.com:443 > > Could not resolve host: github.com > > Closing connection 0 > > > > --- LOG END --- > error: downloading ' > https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed > status_code: 6 > status_string: "Couldn't resolve host name" > log: > --- LOG BEGIN --- > getaddrinfo(3) failed for github.com:443 > > Could not resolve host: github.com > > Closing connection 0 > > > > --- LOG END --- > error: downloading ' > https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip' failed > status_code: 6 > status_string: "Couldn't resolve host name" > log: > --- LOG BEGIN --- > getaddrinfo(3) failed for github.com:443 > > Could not resolve host: github.com > > Closing connection 0 > > > > --- LOG END --- > > > > > make[2]: *** [CMakeFiles/libfmt.dir/build.make:99: > extra/libfmt/src/libfmt-stamp/libfmt-download] Error 1 > make[2]: Leaving directory > 'TOPDIR/BUILD/work/x86_64-linux/mariadb-native/10.11.4/build' > make[1]: *** [CMakeFiles/Makefile2:2828: CMakeFiles/libfmt.dir/all] Error 2 > make[1]: *** Waiting for unfinished jobs.... > > On Wed, Aug 16, 2023 at 6:02 PM Khem Raj <raj.khem@gmail.com> wrote: > >> mariadb-native ends up with following errors on debian12 hosts >> >> | >> /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mariadb-native/10.11.5/mariadb-10.11.5/plugin/auth_pam/testing/pam_mariadb_mtr.c:13:10: >> fatal error: security/pam_modules.h: No such file or directory >> | 13 | #include <security/pam_modules.h> >> | | ^~~~~~~~~~~~~~~~~~~~~~~~ >> | compilation terminated. >> | make[2]: *** >> [plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/build.make:76: >> >> plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/pam_mariadb_mtr.c.o] >> Error 1 >> | make[1]: *** [CMakeFiles/Makefile2:8636: >> plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/all] Error 2 >> | make[1]: *** Waiting for unfinished jobs.... >> | [ 2%] Building C object >> plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_1.c.o >> | [ 2%] Linking C static library libma_getopt.a >> | >> /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mariadb-native/10.11.5/mariadb-10.11.5/plugin/auth_pam/mapper/pam_user_map.c:44:10: >> fatal error: security/pam_ext.h: No such file or directory >> | 44 | #include <security/pam_ext.h> >> | | ^~~~~~~~~~~~~~~~~~~~ >> | compilation terminated. >> >> On Tue, Aug 15, 2023 at 10:57 PM Yu, Mingli <mingli.yu@eng.windriver.com> >> wrote: >> > >> > From: Mingli Yu <mingli.yu@windriver.com> >> > >> > Signed-off-by: Mingli Yu <mingli.yu@windriver.com> >> > --- >> > .../{mariadb-native_10.11.4.bb => mariadb-native_10.11.5.bb} | 0 >> > meta-oe/recipes-dbs/mysql/mariadb.inc | 2 +- >> > .../mysql/{mariadb_10.11.4.bb => mariadb_10.11.5.bb} | 0 >> > 3 files changed, 1 insertion(+), 1 deletion(-) >> > rename meta-oe/recipes-dbs/mysql/{mariadb-native_10.11.4.bb => >> mariadb-native_10.11.5.bb} (100%) >> > rename meta-oe/recipes-dbs/mysql/{mariadb_10.11.4.bb => >> mariadb_10.11.5.bb} (100%) >> > >> > diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.4.bb >> b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.5.bb >> > similarity index 100% >> > rename from meta-oe/recipes-dbs/mysql/mariadb-native_10.11.4.bb >> > rename to meta-oe/recipes-dbs/mysql/mariadb-native_10.11.5.bb >> > diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc >> b/meta-oe/recipes-dbs/mysql/mariadb.inc >> > index 2fb0bd7be..f364f47bf 100644 >> > --- a/meta-oe/recipes-dbs/mysql/mariadb.inc >> > +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc >> > @@ -25,7 +25,7 @@ SRC_URI = " >> https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ >> > file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ >> > " >> > SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch" >> > -SRC_URI[sha256sum] = >> "ce8dac125568cc5f40da74c17212767c92d8faed81066580b526a485a591127d" >> > +SRC_URI[sha256sum] = >> "4c9484048d4d0c71dd076ab33fc2a9ce8510bdf762886de0d63fe52496f3dbbb" >> > >> > UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" >> > >> > diff --git a/meta-oe/recipes-dbs/mysql/mariadb_10.11.4.bb >> b/meta-oe/recipes-dbs/mysql/mariadb_10.11.5.bb >> > similarity index 100% >> > rename from meta-oe/recipes-dbs/mysql/mariadb_10.11.4.bb >> > rename to meta-oe/recipes-dbs/mysql/mariadb_10.11.5.bb >> > -- >> > 2.25.1 >> > >> > >> > >> > >> >> -=-=-=-=-=-=-=-=-=-=-=- >> Links: You receive all messages sent to this group. >> > View/Reply Online (#104432): >> https://lists.openembedded.org/g/openembedded-devel/message/104432 >> Mute This Topic: https://lists.openembedded.org/mt/100774345/3617156 >> Group Owner: openembedded-devel+owner@lists.openembedded.org >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ >> Martin.Jansa@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- >> >>
diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.4.bb b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.5.bb similarity index 100% rename from meta-oe/recipes-dbs/mysql/mariadb-native_10.11.4.bb rename to meta-oe/recipes-dbs/mysql/mariadb-native_10.11.5.bb diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index 2fb0bd7be..f364f47bf 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc @@ -25,7 +25,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ " SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch" -SRC_URI[sha256sum] = "ce8dac125568cc5f40da74c17212767c92d8faed81066580b526a485a591127d" +SRC_URI[sha256sum] = "4c9484048d4d0c71dd076ab33fc2a9ce8510bdf762886de0d63fe52496f3dbbb" UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" diff --git a/meta-oe/recipes-dbs/mysql/mariadb_10.11.4.bb b/meta-oe/recipes-dbs/mysql/mariadb_10.11.5.bb similarity index 100% rename from meta-oe/recipes-dbs/mysql/mariadb_10.11.4.bb rename to meta-oe/recipes-dbs/mysql/mariadb_10.11.5.bb