From patchwork Sun Mar 16 21:26:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAA47C35FF3 for ; Sun, 16 Mar 2025 21:27:04 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web11.38233.1742160419728921421 for ; Sun, 16 Mar 2025 14:26:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J9v1IYcu; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-223fd89d036so72175935ad.1 for ; Sun, 16 Mar 2025 14:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742160419; x=1742765219; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9iKHdRuAhyZZdBEUYGfkmva1oOK7IcJ4L1DR34aWZzE=; b=J9v1IYcu0WbD51FxXK+LIk+Vnod5WG9ilH/BvhChuUTdetTNcNs5wz6QtiIf5VdOG4 njELdG769TrArnQeNOTWD3a2XXNSJ2uBCgZ/nqRg3ZDNyO+HIFNp7ko0kjGBRUoGtnJ+ +sNPqm1PkUKYh7cYyaPUQNuoMUylKEShWCBJm3B/pnAKuTi8GgFrFJDn11dsgsXJcDBw tf/nExdfZR1YvE+YEmnVh7c7LDsX+c/2ZXTRFBsRx0rgbZ5PyXIyQ983OSNTAKJ2dmHz 66aZYcHEkjFuiK/r2XfVRuaViqTLTpAcc7J0JAcTYxFsDZtQZ9IlFVmWOJrNyabvqSvL Xn3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742160419; x=1742765219; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9iKHdRuAhyZZdBEUYGfkmva1oOK7IcJ4L1DR34aWZzE=; b=AQTjX7HNT2PtWxDkt+zPAF5OB+iMWpBPaz5HCNoCy5sk5QHV1x1I9+dKzVVRnJeiAX fBWaR/N8I6Q2Hn5CSCIz5GSoYdhmtYRIphCCZfbLUIzdH7rqCNXkvQK6dvbV9h2AjaT7 +BbBkQblOQR8B8mCWMMT0Tb47znIao/znbUI6M+u6QPD0wcKKYbWRERXKpzDJZgR/uxk tyqg61Ylc+6ygg3a8ZhhQDAuJ8ffqn+6lD4q1HSfCtywx5FwSZUnl4HFCycpUprZ/ZbV 2AgngvfKn9FolSdzPxmBmm/XF8Ov+wUWM1oz7/7Q5s57/CRqZpdj7TNoDmb0BrI41qMs pxZw== X-Gm-Message-State: AOJu0YxeWxBxxFdD4i2bJ4gI594zrEbfz+eNLmI50hYsDYwc9nBofyjW Y6mY/62vvlvhWWIYSoopuZefOtKps/cXgqHqWBKGBcO6gxxNGdXJynHDr/p5 X-Gm-Gg: ASbGnct7C9Z9tGThKONN80DvYzL+KB3uBxGPVoz57bk/N/RmIxvRcZ3CIRQfjqT7Sq4 NPZTPjU1LB8dWzOIV6leRFLp/MdZc9lCuYP6XdKQy7XLeHwUdvlfGedU2vfCkp+G+rbkoNooAb6 Ts2He6P10t3cLFovorsjbajJZ7UT7SuM47hA+vWpFFImKfm/i0IW7f6DeP57LwNzpKiS48WFVMt hk/RvJcdmTOCYFNDemi7QTpQqQVvFIg6O5erZIQK0TVADMX/Ty09hYPq1ImH69Zo3pPORr8Azt9 y+KDDja6L3G8Rh+/o5j0lsE00tn5aSW0d2kj X-Google-Smtp-Source: AGHT+IGb2yeFJy+GZ3HZzYMgKYNWbp9xa9oVY29fsNj0aftKMRRsYA7yUL4cgQ3FqXAUVke8U4EZyA== X-Received: by 2002:a17:902:f2d2:b0:224:10b9:357a with SMTP id d9443c01a7336-225e0af9ffemr98856295ad.32.1742160418765; Sun, 16 Mar 2025 14:26:58 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::6874]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-225c68a4063sm62071105ad.65.2025.03.16.14.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 14:26:58 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 1/4] enca: Fix cross builds Date: Sun, 16 Mar 2025 14:26:53 -0700 Message-ID: <20250316212656.3179516-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Mar 2025 21:27:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116002 Some portions are built using host CC, which is important when doing cross compile to pass correct flags otherwise it fails when using newer host compiler e.g. gcc-14 Signed-off-by: Khem Raj --- meta-oe/recipes-support/enca/enca/cross.patch | 68 +++++++++++++++++++ .../enca/enca/makefile-remove-tools.patch | 14 ---- meta-oe/recipes-support/enca/enca_1.19.bb | 24 ++----- 3 files changed, 73 insertions(+), 33 deletions(-) create mode 100644 meta-oe/recipes-support/enca/enca/cross.patch delete mode 100644 meta-oe/recipes-support/enca/enca/makefile-remove-tools.patch diff --git a/meta-oe/recipes-support/enca/enca/cross.patch b/meta-oe/recipes-support/enca/enca/cross.patch new file mode 100644 index 0000000000..7749dee088 --- /dev/null +++ b/meta-oe/recipes-support/enca/enca/cross.patch @@ -0,0 +1,68 @@ +From: Helmut Grohne +Subject: build make_hash with the build arch compiler + +Also note that we cannot include config.h in make_hash.c, because it is +specific to the host architecture. + +Sourced from debian - https://salsa.debian.org/debian/enca/-/blob/master/debian/patches/cross.patch?ref_type=heads + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +Index: enca-1.19/configure.ac +=================================================================== +--- enca-1.19.orig/configure.ac ++++ enca-1.19/configure.ac +@@ -35,6 +35,7 @@ + dnl Checks for programs. + AC_PROG_AWK + AC_PROG_CC ++AX_PROG_CC_FOR_BUILD + AC_GNU_SOURCE + AC_AIX + AC_ISC_POSIX +Index: enca-1.19/tools/Makefile.am +=================================================================== +--- enca-1.19.orig/tools/Makefile.am ++++ enca-1.19/tools/Makefile.am +@@ -2,7 +2,8 @@ + noinst_HEADERS = encodings.h + noinst_SCRIPTS = expand_table.pl + +-make_hash_SOURCES = make_hash.c ++make_hash$(EXEEXT): make_hash.c ++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ $< + + BUILT_SOURCES = $(noinst_HEADERS) + +Index: enca-1.19/tools/make_hash.c +=================================================================== +--- enca-1.19.orig/tools/make_hash.c ++++ enca-1.19/tools/make_hash.c +@@ -17,25 +17,9 @@ + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ +-#ifdef HAVE_CONFIG_H +-# include "config.h" +-#endif /* HAVE_CONFIG_H */ +- + #include + #include +- +-#ifdef HAVE_STRING_H +-# include +-#else /* HAVE_STRING_H */ +-# ifdef HAVE_STRINGS_H +-# include +-# endif /* HAVE_STRINGS_H */ +-#endif /* HAVE_STRING_H */ +- +-#ifdef HAVE_MEMORY_H +-# include +-#endif /* HAVE_MEMORY_H */ +- ++#include + #include + #include + diff --git a/meta-oe/recipes-support/enca/enca/makefile-remove-tools.patch b/meta-oe/recipes-support/enca/enca/makefile-remove-tools.patch deleted file mode 100644 index 756745d839..0000000000 --- a/meta-oe/recipes-support/enca/enca/makefile-remove-tools.patch +++ /dev/null @@ -1,14 +0,0 @@ -Upstream-Status: Pending - ---- enca-1.19/Makefile.am.orig 2006-06-29 15:34:55.000000000 +0100 -+++ enca-1.19/Makefile.am 2006-06-29 15:35:20.000000000 +0100 -@@ -1,7 +1,7 @@ - if MAINTAINER_MODE --SUBDIRS = tools data script lib src devel-docs test -+SUBDIRS = data script lib src devel-docs test - else --SUBDIRS = tools script lib src devel-docs -+SUBDIRS = script lib src devel-docs - endif - man_MANS = man/enca.1 - diff --git a/meta-oe/recipes-support/enca/enca_1.19.bb b/meta-oe/recipes-support/enca/enca_1.19.bb index 774f05f7c4..61da50ba52 100644 --- a/meta-oe/recipes-support/enca/enca_1.19.bb +++ b/meta-oe/recipes-support/enca/enca_1.19.bb @@ -2,33 +2,19 @@ SUMMARY = "Enca is an Extremely Naive Charset Analyser" SECTION = "libs" HOMEPAGE = "https://cihar.com/software/enca/" -DEPENDS += "gettext-native" +DEPENDS += "gettext-native autoconf-archive-native" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=24b9569831c46d4818450b55282476b4" SRC_URI = "https://dl.cihar.com/enca/enca-${PV}.tar.gz \ + file://cross.patch \ file://dont-run-tests.patch \ - file://makefile-remove-tools.patch \ file://libenca-003-iconv.patch \ - file://0001-Do-not-use-MKTEMP_PROG-in-cross-build.patch" + file://0001-Do-not-use-MKTEMP_PROG-in-cross-build.patch \ + " SRC_URI[sha256sum] = "4c305cc59f3e57f2cfc150a6ac511690f43633595760e1cb266bf23362d72f8a" inherit autotools -do_configure:prepend() { - # remove failing test which checks for something that isn't even used - sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac -} - -do_configure:append() { - sed -i s:-I/usr/include::g ${B}/Makefile - sed -i s:-I/usr/include::g ${B}/*/Makefile -} - -do_compile() { - cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c - cd ${B} - oe_runmake -} - +EXTRA_OECONF += "MKTEMP_PROG=mktemp" From patchwork Sun Mar 16 21:26:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59204 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9368C35FF1 for ; Sun, 16 Mar 2025 21:27:04 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web11.38234.1742160420660691491 for ; Sun, 16 Mar 2025 14:27:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DTy1Ahx5; spf=pass (domain: gmail.com, ip: 209.85.214.170, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2235189adaeso61683995ad.0 for ; Sun, 16 Mar 2025 14:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742160420; x=1742765220; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xwxjSfWTETDAGUQxRfuMvd+JyrAb+wSR5UQCcsvXak0=; b=DTy1Ahx5pCT2vemvVpRoorEgRgyxSyedMjgN19+yzX7v4Ptu8w2HCd74WUATYu+/Nz dzcYxxq8IXe6FoJQeZs2NTzdcWN4u/X/ai7qd2bbDXYZ+hgzLpfYn2/6uPUrIvDkWOoi KI7Wp8gh5OjZ/lS2GFLBMzIyzKk0aPO8XmmTgmI/Lp82UtZioJOHfzOVokRt7KvdTkfD cESyWy5emSAo9fcUuqu/qlAH5TMz0lXDWH6YoXf3uJluvGm+9HfRQ5TBuJS1Ttw2xioJ ArLoVsglrySBgZ1Puf+pOSVbguO1cGIFsH4eNTa1zeOVIKoG+PjiRu52pzPby6WaQKH2 Etig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742160420; x=1742765220; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xwxjSfWTETDAGUQxRfuMvd+JyrAb+wSR5UQCcsvXak0=; b=DjJw7rIVJoUJ8i3fPc71eDtAnPGT7dj+SA+an118kEH0Qo44Gzhf4qugFZv2C+Wy2s I9f1qiFvVO9zka6Z6c/8njrXc4ZD0rjKBeRdqL9z3lro2WYVyDQH8IPPiFUa1CpP++MO DsmQw9TuiBRxpE9tdWfKPbsslO1cxFxtZuT3HBHVuK1NJpEBq/xAtCXdtkKcS+R8sn7K mgBdIge01+dJLVWzMlkBONTYM6g5JVo0ORcXSpOWg1d91C/Q3eNkuQIfhpDn6zzou9Er hrodd1Huc+JJ4iiR9X4a443n+nwlsbvNLzzzlJoGSxmzevsbl/Y/UDNsunhd1lzeV63N luDw== X-Gm-Message-State: AOJu0YxP/LViF+a+9KNMlJWEPNdRYlhPP4MNSbmNKYBDNbLuiE8MeXyz QpQoWd7w7sS4yrnRwipSNaX+bevAIKWlSGzmDuLI+bEY2WhXwVA8GV9NCwyP X-Gm-Gg: ASbGncsuj9LZegSyOa1BZ9CXC1iwrDqVCOOeWYTIlqerMCDgJQdUuhMReelyM4t7HAP cvrMblu/ZKrOrdFPJSuHOlWGqp1B00n+uofB6K/qvFGgh1Zc5c15nUxYzXKoAnDwyttDpuEa4K5 V9PN6hIH7NzIcWmrBQ13bGOQ4uKag94yyIGV3XCVKyTi7dEtgcmiMIgvZRVO09guBoXVqYF8+MI Q4uVJyQtLUR61gJCQlbZ8j/du0X/iCC3SIkHV2T+21kRpf9uQ+92OjKHZ/zp4PYvQioLI9T3YGN 1Mw/DU44R5tCDpM5TAHNU+JrkWd/47Mq7Qz9 X-Google-Smtp-Source: AGHT+IHtHfcqIZC+c8/jbnoDMbivVpbvT3IQmb0OE8FUpH5jDC8/Qpbd8Sv67RtRMYqhBZ3/Va4IVQ== X-Received: by 2002:a17:902:e884:b0:215:9eac:1857 with SMTP id d9443c01a7336-225c64f7f0bmr168559075ad.5.1742160419804; Sun, 16 Mar 2025 14:26:59 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::6874]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-225c68a4063sm62071105ad.65.2025.03.16.14.26.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 14:26:59 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 2/4] ckermit: Fix build with GCC-15 Date: Sun, 16 Mar 2025 14:26:54 -0700 Message-ID: <20250316212656.3179516-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250316212656.3179516-1-raj.khem@gmail.com> References: <20250316212656.3179516-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Mar 2025 21:27:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116003 Also fix native pieces to build with gcc-14 while here Signed-off-by: Khem Raj --- meta-oe/recipes-support/ckermit/ckermit_302.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/ckermit/ckermit_302.bb b/meta-oe/recipes-support/ckermit/ckermit_302.bb index 898a4eeb4a..f5d6d9d4f8 100644 --- a/meta-oe/recipes-support/ckermit/ckermit_302.bb +++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb @@ -29,7 +29,7 @@ do_compile () { # The original makefile doesn't differentiate between CC and CC_FOR_BUILD, # so we build wart manually. Note that you need a ckwart.o with the proper # timestamp to make this hack work: - ${BUILD_CC} -c ckwart.c + ${BUILD_CC} -DMAINTYPE=int -c -o ckwart.o ckwart.c ${BUILD_CC} -o wart ckwart.o ./wart ckcpro.w ckcpro.c @@ -46,7 +46,8 @@ do_compile () { -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \ -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \ -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \ - -DNOARROWKEYS -DMAINTYPE=int" + -DNOARROWKEYS -DMAINTYPE=int \ + -D_DEFAULT_SOURCE -ansi" } do_install () { From patchwork Sun Mar 16 21:26:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59202 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A68D3C282DE for ; Sun, 16 Mar 2025 21:27:04 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web11.38235.1742160421630075611 for ; Sun, 16 Mar 2025 14:27:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WySK2Qy+; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-225e3002dffso29896855ad.1 for ; Sun, 16 Mar 2025 14:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742160421; x=1742765221; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8ztUSnYymc/mGwgFh/FknGw01giwo0Mn8cB6qLfsJN4=; b=WySK2Qy+Uc/We/IwXSXF/CY/m7QEO9rURH20NZJl/IJ7e0nexm60kM6mEqmM5ck/+0 gVNQ779L1riase5X6XkZXFExpAN7BY4DwPKG93+L9Jeb/ZEe9hCO4fqJlcKnk8IXEZ7m IaomZCnWCKaBChfB19KzO6qW/v5w89HKqP50UXTSU2lrbVIgPMukmOGXwotuHYpO/7wb GnvGzoClGksVqQlnYwHeTSkTKXNWopgAUipUhzCnS719CE1fd1e4rFRwKFlDiTxUNlRT btSrPOk+zTHX5v1limuxYoXnFJjRQQc5ZcRvLeV1fLUXhfH98De5iHqNnfINYJAuJgJH B0sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742160421; x=1742765221; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8ztUSnYymc/mGwgFh/FknGw01giwo0Mn8cB6qLfsJN4=; b=Re5tTzp7oiAzIhy7awT8dlumnEdChHzr+6bULMoRhT3i6jAGGcJZjBXrOx5XvlOz7r mf1p35kHV3FUzC0zxCZLSQqojtWwfdcAkCFLXpf/JetjtsPnBXSi8gU2pOffNqeZyIzR xb/vy6ON488OVzXYpECgggaypLRvF1MqZDMOyxhXHTwU7E/3SfbV30saRqquKdLU6+v0 C7UBheRIOFMZCG7mAqUuRzjSwWrkUibOeDiVRlCv0WIZYLSeE1XIukL8zFVFv1z8MDEa xVwqG68KGdbKBA3kqJ5ZrjA9BXbS3tMm6TTm5eyPQ0gipAWViwBSQQEadc99JIzfLaAa iRtA== X-Gm-Message-State: AOJu0YwlAjIp5S/Cu8kQdJ0vSTif4ikrC4eRvRDOuLfOWvXMuK1yLe1X ZV5r8YOMmB81CsIMsxCgliwxSmZMbB0pMLUfjcaC7sEYk+PkKSwfw+YGcmda X-Gm-Gg: ASbGncsedGch9olIVaG46NTggGjs5v23sZmrkmpX68TCQxxNMQwa8HtiV1sABZgNHD0 +DeyO0WRxCo5U3NEwTePLavQ1YBp7rd0liOZ3s+q2h7QsD502Y3Mt5t1kFCJWr2ivyRWilntahD QHOr83cl0RM/+yuVvqJKl5AV1xDXz+Ii7xaEMBP3ZimneOtTM2wFev5ZdkZCdlPNjOFyGK9tMPq jY3+csp2MNdZy/6p7xCAwFQ9uSthQ2kPi9610CFByxNiFdwRksazik2XUOq+abg/3uPkrZbgesA vbXw7XKRabsYgOdUA3x9LcP9G42wP9gqDM2VtIfwF2zkBWk= X-Google-Smtp-Source: AGHT+IFMvc9WBJyDVJM4pfTdRlIZTGxW2o56vxrdX/tA3mnBv72az0LVbh3hFOYD6diak8T1wjwBtg== X-Received: by 2002:a17:902:e844:b0:220:c813:dfd1 with SMTP id d9443c01a7336-225e0aeea45mr109916655ad.36.1742160420754; Sun, 16 Mar 2025 14:27:00 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::6874]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-225c68a4063sm62071105ad.65.2025.03.16.14.26.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 14:27:00 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/4] uim: Upgrade to 1.9.0 Date: Sun, 16 Mar 2025 14:26:55 -0700 Message-ID: <20250316212656.3179516-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250316212656.3179516-1-raj.khem@gmail.com> References: <20250316212656.3179516-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Mar 2025 21:27:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116004 Changelog - https://github.com/uim/uim/releases/tag/1.9.0 Signed-off-by: Khem Raj --- meta-oe/recipes-support/uim/{uim_1.8.9.bb => uim_1.9.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-support/uim/{uim_1.8.9.bb => uim_1.9.0.bb} (98%) diff --git a/meta-oe/recipes-support/uim/uim_1.8.9.bb b/meta-oe/recipes-support/uim/uim_1.9.0.bb similarity index 98% rename from meta-oe/recipes-support/uim/uim_1.8.9.bb rename to meta-oe/recipes-support/uim/uim_1.9.0.bb index 9d2068c6d6..5ed61fd098 100644 --- a/meta-oe/recipes-support/uim/uim_1.8.9.bb +++ b/meta-oe/recipes-support/uim/uim_1.9.0.bb @@ -8,7 +8,7 @@ SRC_URI = "https://github.com/uim/uim/releases/download/${PV}/uim-${PV}.tar.bz2" SRC_URI:append:class-target = "\ file://uim-module-manager.patch \ " -SRC_URI[sha256sum] = "dbbd983768bf748449551644f330dbebe859bfeb6f024fea6697ac75131c7aa4" +SRC_URI[sha256sum] = "271f0ed5f455e5bffa859f01b2d0f7fb966554ebd4822657afb67a0431dd85a8" UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" From patchwork Sun Mar 16 21:26:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59203 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0764C35FF6 for ; Sun, 16 Mar 2025 21:27:04 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web10.38348.1742160422532896874 for ; Sun, 16 Mar 2025 14:27:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=W5GOUmrh; spf=pass (domain: gmail.com, ip: 209.85.214.173, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-223594b3c6dso72089645ad.2 for ; Sun, 16 Mar 2025 14:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742160422; x=1742765222; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rs7m+t2Cvkb1404f0dOsf5OJxL4mfV8OJU4W8yHhp6w=; b=W5GOUmrhHBptA3GWd9jp4hTwEAHN1LYN8bgpFwqGGZplk0P7UXZfevEWfjcXNalFHP aFOeneDQRj5HdRrOwAY8GFiuZReECZi4dzhiP+3xNl/rqnFSrmT+md4SKhQ3Z2wZwlMy UgZ3t8EXkpX7njKda9fd1rxLk94Nj6dn9OYPg1Sl4cV37ygRbDhrHVr/YJkni46cFZGN 6MV5DcIT8XmJJpYVHV19eIJtnfkGKIsgCvATnsDrNYUsOlCqfOPaFzAx48HQ9riA5MJM mas653+K4znNSSPBgRSN5m9tIY8hyp4Cz2MWcyv9HmbUDtx3OutSeyzrlVJCIT+o0z3X atrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742160422; x=1742765222; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rs7m+t2Cvkb1404f0dOsf5OJxL4mfV8OJU4W8yHhp6w=; b=rhGmq1CcTOJmGsz6jnWXw/djRL8NDLotlrDlo8+af+EeRP5ClzIaSl0BJVY8f+tL4f XXOAdqWqxVFCOXJzy6arQfULJ331k9bpqOk90aDWs2cPOeZnv9GJH08d3rC1FNTPeukt oRPhRb2A2eKcbd41C/X/yqWkpfKHsug4CbAy1e9kQmUxuj3GtnXGbmCtWHy6AV3VQ1l3 TjinBjWCVBk4gi3KCM1WTJtTbYlrq53FdBb2pSFMh3DPY8ts9v/v9nyHZrJILSkMtDPf Hq1rYSHrGiuxW+1eK2N2HxP7OsHLAEVjcPPfUBCXIAialnbOK+IPOzFhzP0IAaITSn+g Qhzg== X-Gm-Message-State: AOJu0YwQxUI8X9llnhRoFR0QW21UwFlzXtIfquGAi18fwXQXdzZvNlRx exYSqbHILw4AYHi3F4g8uoneah/UKwfNCqo85T6MwfZzz9iNQSMJaMc7xhzB X-Gm-Gg: ASbGncsTlS45a2+M/F/Ni3sQfetyhNBLHh2aK50mFPktFe1rads0SMp0RtjQDndWI6c C166p9spQBjJ9YoX2nZ9xFUN7aygHJRtoQu1GWd2RTQo0+pOlBQMicURBTYo6s5SN7CT3o/xtgj 2LaTW1EU1zP6Ay3kxkpVosU4Z0+6kDCTJ2+Qo5nlulTJCOxLjndM/bHR+jUxVv3WEKgxF+q5VCP KkJJeWogsmR3shK1a0+hTY953wfgW/aCfSR8a4ltbOtFALVWp1g9IofSO1/vM6nb3VjqaGIGgn5 XRb5d96mJST1ctJcH+e/sXV3VzQEodVR4pxt X-Google-Smtp-Source: AGHT+IG7VwqG+MiaW5DyD+pf2XpDgYh4x8enI0cJakjRRv94kYRbJXYiFQF8m2oLae9RslsUaktH3A== X-Received: by 2002:a17:902:d583:b0:215:b1a3:4701 with SMTP id d9443c01a7336-225e0a3a950mr112186835ad.13.1742160421638; Sun, 16 Mar 2025 14:27:01 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::6874]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-225c68a4063sm62071105ad.65.2025.03.16.14.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 14:27:01 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 4/4] procmail: Fix build with GCC-14 Date: Sun, 16 Mar 2025 14:26:56 -0700 Message-ID: <20250316212656.3179516-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250316212656.3179516-1-raj.khem@gmail.com> References: <20250316212656.3179516-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Mar 2025 21:27:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116005 aids building on newer build hosts which now have moved to gcc-14 as well, so using cmdline option just for target compile is not enough as it runs tests using host compiler as well Signed-off-by: Khem Raj --- .../procmail/procmail/gcc14.patch | 127 ++++++++++++++++++ .../recipes-support/procmail/procmail_3.22.bb | 4 +- 2 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/procmail/procmail/gcc14.patch diff --git a/meta-oe/recipes-support/procmail/procmail/gcc14.patch b/meta-oe/recipes-support/procmail/procmail/gcc14.patch new file mode 100644 index 0000000000..5ca56fa006 --- /dev/null +++ b/meta-oe/recipes-support/procmail/procmail/gcc14.patch @@ -0,0 +1,127 @@ +From: Santiago Vila +Subject: Fix build with gcc-14 +Bug-Debian: https://bugs.debian.org/1075398 + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- a/initmake ++++ b/initmake +@@ -124,7 +124,7 @@ else + fi + + cat >_autotst.c <_autotst.c < + #include + #include +-main() ++int main() + { struct stat buf;return!&buf; + } + HERE +--- a/src/autoconf ++++ b/src/autoconf +@@ -414,6 +414,12 @@ cat >_autotst.c < ++int killchildren(); ++int fdlock(int fd); ++int sfdlock(int fd); ++int fdunlock(); ++ + void stimeout() + { timeout=1;close(fdcollect);killchildren(); + } +@@ -435,7 +441,7 @@ unsigned sfork() + return pid; + } + +-int main(argc,argv)char*argv[]; ++int main(int argc,char*argv[]) + { int goodlock,testlock,i,pip[2],pipw[2];time_t otimet;unsigned dtimet; + static char filename[]="_locktst.l0"; + close(0);goodlock=0;testlock=FIRST_lock;signal(SIGPIPE,SIG_DFL); +@@ -585,13 +591,13 @@ int killchildren() + return 0; + } + +-int sfdlock(fd) ++int sfdlock(int fd) + { int i;unsigned gobble[GOBBLE>>2]; + for(i=GOBBLE>>2;i;gobble[--i]=~(unsigned)0); /* SunOS crash test */ + return fdlock(fd); + } + +-static oldfdlock; ++static int oldfdlock; + #ifdef F_SETLKW + static struct flock flck; /* why can't it be a local variable? */ + #endif +@@ -599,7 +605,7 @@ static struct flock flck; /* why can't + static off_t oldlockoffset; + #endif + +-int fdlock(fd) ++int fdlock(int fd) + { int i;unsigned gobble[GOBBLE>>2]; + for(i=GOBBLE>>2;i;gobble[--i]=~(unsigned)0); /* SunOS crash test */ + oldfdlock=fd;fd=0; +@@ -993,11 +999,11 @@ int main(){int i;i=1; + i+=WIFEXITED(i); + i+=WIFSTOPPED(i); + i+=WEXITSTATUS(i); +- i+=WSIGTERM(i); ++ i+=WTERMSIG(i); + return i;} + HERE + +-echo 'Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM()' ++echo 'Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WTERMSIG()' + if $MAKE _autotst.$O >_autotst.rrr 2>&1 + then + $FGREP -v include/ <_autotst.rrr >_autotst.$O +@@ -1029,6 +1035,8 @@ cat >_autotst.c <$DEVNULL 2>&1 ++if $MAKE _autotst.$O >_autotst.rrr 2>&1 + then + : + else +@@ -1196,7 +1204,7 @@ unsigned long dobench(strstr,iter,haysta + return (unsigned long)clock()-to; + } + #endif +-int main(argc,argv)int argc;const char*argv[]; ++int main(int argc,const char*argv[]) + { if(argc==1) + { char*haystack; + #ifdef BENCHSIZE +--- a/src/mailfold.c ++++ b/src/mailfold.c +@@ -378,7 +378,7 @@ void concon(ch)const int ch; /* flip b + } + } + +-void readmail(rhead,tobesent)const long tobesent; ++void readmail(int rhead,const long tobesent) + { char*chp,*pastend;static size_t contlengthoffset; + ;{ long dfilled; + if(rhead==2) /* already read, just examine what we have */ diff --git a/meta-oe/recipes-support/procmail/procmail_3.22.bb b/meta-oe/recipes-support/procmail/procmail_3.22.bb index 59b78c0a6a..32fc12c7da 100644 --- a/meta-oe/recipes-support/procmail/procmail_3.22.bb +++ b/meta-oe/recipes-support/procmail/procmail_3.22.bb @@ -15,6 +15,7 @@ SRC_URI = "http://www.ring.gr.jp/archives/net/mail/${BPN}/${BP}.tar.gz \ file://man-file-mailstat.1-from-debian.patch \ file://CVE-2014-3618.patch \ file://CVE-2017-16844.patch \ + file://gcc14.patch \ " SRC_URI[sha256sum] = "087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117" @@ -24,6 +25,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a71e50e197a992c862379e576e669757 \ DEPENDS = "libnet" inherit autotools-brokensep + do_configure() { find examples -type f | xargs chmod 644 export CC="${BUILD_CC}" @@ -35,7 +37,7 @@ do_configure() { } do_compile() { - oe_runmake -i CFLAGS="$TARGET_CFLAGS -Wno-comments -Wno-implicit-int -Wno-implicit-function-declaration -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}" + oe_runmake -i CFLAGS="$TARGET_CFLAGS -Wno-comments -Wno-implicit-function-declaration -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}" } do_install() {