summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2024-05-08 18:30:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-13 15:42:27 +0100
commitc629ee6b92d8b64240890f1b1d38403185e3fd5e (patch)
tree1e4b17e8446e2f26c74d39354c857d2df8d39a4e
parent20845b006631db73d47c3055b7b747c6abe0e069 (diff)
downloadpoky-c629ee6b92d8b64240890f1b1d38403185e3fd5e.tar.gz
lrzsz connman-gnome libfm: ignore various issues fatal with gcc-14
work arounds for: oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile http://errors.yoctoproject.org/Errors/Build/183127/ More fixes on ML (especially for -native with gcc-14 on host) cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899 syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901 (From OE-Core rev: 856ffc7d0893c1dc549baf401899947f70d31896) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb6
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome_0.7.bb4
-rw-r--r--meta/recipes-support/libfm/libfm_1.3.2.bb4
3 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
index 63edcbd864..3024ddcaf0 100644
--- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
+++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
@@ -46,3 +46,9 @@ ALTERNATIVE_TARGET[rb] = "${bindir}/lrz"
46ALTERNATIVE_TARGET[sz] = "${bindir}/lsz" 46ALTERNATIVE_TARGET[sz] = "${bindir}/lsz"
47ALTERNATIVE_TARGET[sx] = "${bindir}/lsz" 47ALTERNATIVE_TARGET[sx] = "${bindir}/lsz"
48ALTERNATIVE_TARGET[sb] = "${bindir}/lsz" 48ALTERNATIVE_TARGET[sb] = "${bindir}/lsz"
49
50# http://errors.yoctoproject.org/Errors/Details/766929/
51# lrzsz-0.12.20/src/tcp.c:75:56: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
52# lrzsz-0.12.20/src/tcp.c:83:52: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
53# lrzsz-0.12.20/src/tcp.c:103:51: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
54CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
index f6150d98ec..46b3f854c5 100644
--- a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
+++ b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
@@ -28,3 +28,7 @@ RDEPENDS:${PN} = "connman"
28do_install:append() { 28do_install:append() {
29 install -m 0644 ${UNPACKDIR}/images/* ${D}/usr/share/icons/hicolor/22x22/apps/ 29 install -m 0644 ${UNPACKDIR}/images/* ${D}/usr/share/icons/hicolor/22x22/apps/
30} 30}
31
32# http://errors.yoctoproject.org/Errors/Details/766926/
33# connman-client.c:200:15: error: assignment to 'GtkTreeModel *' {aka 'struct _GtkTreeModel *'} from incompatible pointer type 'GtkTreeStore *' {aka 'struct _GtkTreeStore *'} [-Wincompatible-pointer-types]
34CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta/recipes-support/libfm/libfm_1.3.2.bb b/meta/recipes-support/libfm/libfm_1.3.2.bb
index 057c737029..1d7609165b 100644
--- a/meta/recipes-support/libfm/libfm_1.3.2.bb
+++ b/meta/recipes-support/libfm/libfm_1.3.2.bb
@@ -53,3 +53,7 @@ do_install:append () {
53 rm -f ${D}${libdir}/libfm-extra.a 53 rm -f ${D}${libdir}/libfm-extra.a
54 rm -f ${D}${libdir}/libfm-extra.la 54 rm -f ${D}${libdir}/libfm-extra.la
55} 55}
56
57# http://errors.yoctoproject.org/Errors/Details/766924/
58# libfm-1.3.2/src/actions/action.c:2050:25: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types]
59CFLAGS += "-Wno-error=incompatible-pointer-types"