diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2024-05-05 21:44:30 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-07-08 08:40:43 -0700 |
commit | 772e3c87466901023473dd16186f8fa30ec5e7d2 (patch) | |
tree | 98f0d8096599c31a872d7ef4ed26513a29361d9c | |
parent | 23e3b5e97191175036c53f0983dedbe3940c87e2 (diff) | |
download | meta-openembedded-772e3c87466901023473dd16186f8fa30ec5e7d2.tar.gz |
recipes: ignore various issues fatal with gcc-14 (for 32bit MACHINEs)
Recipes included here are
openldap microsoft-gsl scsirastools pam-ssh-agent-auth sblim-sfcb ckermit nvme-cli xfstests
* these are reproducible only with 32bit MACHINEs and probably related
to time64.inc
http://errors.yoctoproject.org/Errors/Build/183154/
* and microsoft-gsl only with 32bit arm MACHINEs:
http://errors.yoctoproject.org/Errors/Build/183157/
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 files changed, 62 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb index 9e82b0f749..8d997ef643 100644 --- a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb +++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb | |||
@@ -65,3 +65,9 @@ do_install() { | |||
65 | } | 65 | } |
66 | 66 | ||
67 | FILES:${PN} += "${prefix}/xfstests" | 67 | FILES:${PN} += "${prefix}/xfstests" |
68 | |||
69 | # This one is reproducible only on 32bit MACHINEs | ||
70 | # http://errors.yoctoproject.org/Errors/Details/766963/ | ||
71 | # lstat64.c:65:14: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types] | ||
72 | # bstat.c:18:19: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
73 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb index 9b4288ff89..f4ddec88c4 100644 --- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb +++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb | |||
@@ -32,3 +32,8 @@ FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions" | |||
32 | ALLOW_EMPTY:${PN}-user = "1" | 32 | ALLOW_EMPTY:${PN}-user = "1" |
33 | 33 | ||
34 | RDEPENDS:${PN}-user = "util-linux-uuidgen" | 34 | RDEPENDS:${PN}-user = "util-linux-uuidgen" |
35 | |||
36 | # This one is reproducible only on 32bit MACHINEs | ||
37 | # http://errors.yoctoproject.org/Errors/Details/766964/ | ||
38 | # git/plugins/virtium/virtium-nvme.c:205:63: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
39 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb index 6e29b2459d..8ba121d5ea 100644 --- a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb +++ b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb | |||
@@ -43,3 +43,8 @@ FILES:${PN}-ptest = "${bindir}/gsl*_tests" | |||
43 | CVE_PRODUCT = "microsoft:gsl" | 43 | CVE_PRODUCT = "microsoft:gsl" |
44 | 44 | ||
45 | BBCLASSEXTEND = "native nativesdk" | 45 | BBCLASSEXTEND = "native nativesdk" |
46 | |||
47 | # This one is reproducible only on 32bit arm MACHINEs (didn't see it with qemux86 or qemux86-64 builds) | ||
48 | # http://errors.yoctoproject.org/Errors/Details/766976/ | ||
49 | # lib32-microsoft-gsl/4.0.0/git/tests/span_tests.cpp:1275:34: error: value computed is not used [-Werror=unused-value] | ||
50 | CXXFLAGS += "-Wno-error=unused-value" | ||
diff --git a/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb b/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb index b5bcc63339..e9508b6d4b 100644 --- a/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb +++ b/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb | |||
@@ -53,3 +53,16 @@ do_compile () { | |||
53 | # | 53 | # |
54 | FILES:${PN} += "${base_libdir}/security/pam*" | 54 | FILES:${PN} += "${base_libdir}/security/pam*" |
55 | FILES:${PN}-dbg += "${base_libdir}/security/.debug" | 55 | FILES:${PN}-dbg += "${base_libdir}/security/.debug" |
56 | |||
57 | # This one is reproducible only on 32bit MACHINEs | ||
58 | # http://errors.yoctoproject.org/Errors/Details/766965/ | ||
59 | # ssh-rsa.c:59:24: error: passing argument 1 of 'EVP_DigestInit' from incompatible pointer type [-Wincompatible-pointer-types] | ||
60 | # ssh-rsa.c:60:26: error: passing argument 1 of 'EVP_DigestUpdate' from incompatible pointer type [-Wincompatible-pointer-types] | ||
61 | # ssh-rsa.c:61:25: error: passing argument 1 of 'EVP_DigestFinal' from incompatible pointer type [-Wincompatible-pointer-types] | ||
62 | # ssh-ecdsa.c:76:18: error: passing argument 1 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types] | ||
63 | # ssh-ecdsa.c:76:23: error: passing argument 2 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types] | ||
64 | # ssh-ecdsa.c:76:27: error: passing argument 3 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types] | ||
65 | # ssh-ecdsa.c:148:18: error: passing argument 1 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types] | ||
66 | # ssh-ecdsa.c:148:23: error: passing argument 2 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types] | ||
67 | # ssh-ecdsa.c:148:27: error: passing argument 3 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types] | ||
68 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb index 5089397916..6126a3a38c 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | |||
@@ -86,3 +86,8 @@ FILES:${PN} += "${libdir}/sfcb ${datadir}/sfcb" | |||
86 | FILES:${PN}-dbg += "${libdir}/sfcb/.debug" | 86 | FILES:${PN}-dbg += "${libdir}/sfcb/.debug" |
87 | 87 | ||
88 | RDEPENDS:${PN} = "perl bash" | 88 | RDEPENDS:${PN} = "perl bash" |
89 | |||
90 | # This one is reproducible only on 32bit MACHINEs | ||
91 | # http://errors.yoctoproject.org/Errors/Details/766970/ | ||
92 | # sblim-sfcb-1.4.9/trace.c:214:18: error: passing argument 1 of 'gmtime_r' from incompatible pointer type [-Wincompatible-pointer-types] | ||
93 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb b/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb index 999d2b9e95..c9a5bd1f9a 100644 --- a/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb +++ b/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb | |||
@@ -44,3 +44,18 @@ FILES:${PN}-raidmon = "${sbindir}/sgraidmon ${sysconfdir}/init.d/sgraid" | |||
44 | RDEPENDS:${PN} += "bash" | 44 | RDEPENDS:${PN} += "bash" |
45 | RDEPENDS:${PN}-diskmon += "${PN} bash" | 45 | RDEPENDS:${PN}-diskmon += "${PN} bash" |
46 | RDEPENDS:${PN}-raidmon += "${PN} bash" | 46 | RDEPENDS:${PN}-raidmon += "${PN} bash" |
47 | |||
48 | # This one is reproducible only on 32bit MACHINEs | ||
49 | # http://errors.yoctoproject.org/Errors/Details/766967/ | ||
50 | # scsirastools-1.6.6/src/sgdiag.c:238:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
51 | # scsirastools-1.6.6/src/sgdiag.c:697:10: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types] | ||
52 | # scsirastools-1.6.6/src/sgdiag.c:699:30: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
53 | # scsirastools-1.6.6/src/sgdiag.c:733:10: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types] | ||
54 | # scsirastools-1.6.6/src/sgdefects.c:214:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
55 | # scsirastools-1.6.6/src/sgmode.c:290:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
56 | # scsirastools-1.6.6/src/sgdiskmon.c:1278:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
57 | # scsirastools-1.6.6/src/sgdskfl.c:318:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
58 | # scsirastools-1.6.6/src/sgdskfl.c:829:37: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
59 | # scsirastools-1.6.6/src/sgraidmon.c:1641:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
60 | # scsirastools-1.6.6/src/sgsafte.c:1298:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
61 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-oe/recipes-support/ckermit/ckermit_302.bb b/meta-oe/recipes-support/ckermit/ckermit_302.bb index 1ee776cefe..72a2e16e45 100644 --- a/meta-oe/recipes-support/ckermit/ckermit_302.bb +++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb | |||
@@ -55,3 +55,11 @@ do_install () { | |||
55 | rm ${D}${BINDIR}/kermit-sshsub | 55 | rm ${D}${BINDIR}/kermit-sshsub |
56 | (cd ${D}${BINDIR} && ln -s ${BINDIR}/kermit kermit-sshusb) | 56 | (cd ${D}${BINDIR} && ln -s ${BINDIR}/kermit kermit-sshusb) |
57 | } | 57 | } |
58 | |||
59 | # This one is reproducible only on 32bit MACHINEs | ||
60 | # http://errors.yoctoproject.org/Errors/Details/766966/ | ||
61 | # ckutio.c:12057:10: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types] | ||
62 | # ckutio.c:12058:20: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
63 | # ckufio.c:5043:32: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
64 | # ckufio.c:5263:32: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
65 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-oe/recipes-support/openldap/openldap_2.6.8.bb b/meta-oe/recipes-support/openldap/openldap_2.6.8.bb index 330636b832..ca27ab23ec 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.6.8.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.6.8.bb | |||
@@ -230,3 +230,8 @@ python populate_packages:prepend () { | |||
230 | } | 230 | } |
231 | 231 | ||
232 | BBCLASSEXTEND = "native" | 232 | BBCLASSEXTEND = "native" |
233 | |||
234 | # This one is reproducible only on 32bit MACHINEs | ||
235 | # http://errors.yoctoproject.org/Errors/Details/766968/ | ||
236 | # tls_g.c:971:57: error: passing argument 4 of 'gnutls_fingerprint' from incompatible pointer type [-Wincompatible-pointer-types] | ||
237 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||