There is already patch covering all such cases detected in my world builds, see "pidgin pidgin-sipe pidgin uw-imap rrdtool cmpi-bindings libdbd-mysql-perl daq" and "catch2 openldap microsoft-gsl scsirastools pam-ssh-agent-auth sblim-sfcb cker.." commits in: https://git.openembedded.org/meta-openembedded/log/?h=master-next
They weren't merged because I think khem wants to motivate people to fix these issues instead of just ignoring them and these 2 are just to keep world builds cleaner while incrementally working on detected issues. Please check if upstream already has a fix in newer version and backport that or submit fix to upstream and add it to meta-oe. Major distributions are now switching to gcc-14 as well so it is getting easier to find already created patches in upstream or distros, e.g. gentoo tracker: https://bugs.gentoo.org/showdependencytree.cgi?id=870412 On Wed, Jun 5, 2024 at 10:27 AM leimaohui via lists.openembedded.org <leimaohui=fujitsu....@lists.openembedded.org> wrote: > > Hi > > It seems there are many recipes have the same issue. I found there are two > methods that fix this issue from git log of poky. > One is ignore incompatible-pointer-types, the other is submitting a patch of > source code. > I'm not sure which method is more popular... > > > Best regards > Lei > > > > -----Original Message----- > > From: openembedded-devel@lists.openembedded.org > > <openembedded-devel@lists.openembedded.org> On Behalf Of leimaohui via > > lists.openembedded.org > > Sent: Wednesday, June 5, 2024 2:40 PM > > To: openembedded-devel@lists.openembedded.org > > Cc: Lei, Maohui <leimao...@fujitsu.com> > > Subject: [oe] [PATCH 1/2] cmpi-bindings: ignore incompatible-pointer-types > > errors for now. > > > > From: Lei Maohui <leimao...@fujitsu.com> > > > > GCC 14 implicitly turns a warning into a compiler error: > > > > | > > /build-ubinux-daily/tmp/work/aarch64-ubinux-linux/cmpi-bindings/1.0.4/git/ > > swig/python/../../src/target_python.c:168:21: error: passing argument 1 of > > 'Py_SetProgramName' from incompatible pointer type > > [-Wincompatible-pointer-types] > > | 168 | Py_SetProgramName("cmpi_swig"); > > | | ^~~~~~~~~~~ > > | | | > > | | char * > > > > Signed-off-by: Lei Maohui <leimao...@fujitsu.com> > > --- > > meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb > > b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb > > index 781dc83da9..d062e46bb9 100644 > > --- a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb > > +++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb > > @@ -27,7 +27,7 @@ EXTRA_OECMAKE = "-DLIB='${baselib}' \ # With Ninja > > it fails with: > > # ninja: error: build.ninja:282: bad $-escape (literal $ must be written > > as $$) > > OECMAKE_GENERATOR = "Unix Makefiles" > > - > > +CFLAGS += "-Wno-error=incompatible-pointer-types" > > FILES:${PN} =+"${libdir}/cmpi/libpy3CmpiProvider.so > > ${PYTHON_SITEPACKAGES_DIR}/*" > > FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so" > > > > -- > > 2.34.1 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110702): https://lists.openembedded.org/g/openembedded-devel/message/110702 Mute This Topic: https://lists.openembedded.org/mt/106498591/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-