From patchwork Tue Feb 25 14:26:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 57818 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 19237C021B2 for ; Tue, 25 Feb 2025 14:26:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8935.1740493602500525858 for ; Tue, 25 Feb 2025 06:26:42 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C8BB41BCB for ; Tue, 25 Feb 2025 06:26:57 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 266113F6A8 for ; Tue, 25 Feb 2025 06:26:41 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/4] autotools: don't try and find in-tree macros Date: Tue, 25 Feb 2025 14:26:33 +0000 Message-ID: <20250225142636.703255-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.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 ; Tue, 25 Feb 2025 14:26:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/211881 autotools has improved a lot since this class was written, and there's now no need to search the source tree for m4 files and add them to the include path. If packages have macros in subdirectories the idiom is to tell aclocal via an assignment in Makefile.am: ACLOCAL_AMFLAGS = -I gl/m4 -I m4 If, for example, a package isn't autoreconfable out of the box (because it has a non-trivial autogen.sh or similar, say) then the required -I statements can be added to EXTRA_AUTORECONF. Signed-off-by: Ross Burton --- meta/classes-recipe/autotools.bbclass | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass index e33eae7d486..bffd8a7a057 100644 --- a/meta/classes-recipe/autotools.bbclass +++ b/meta/classes-recipe/autotools.bbclass @@ -36,7 +36,6 @@ inherit siteinfo # the contents of the sysroot. export CONFIG_SITE -acpaths ?= "default" EXTRA_AUTORECONF += "--exclude=autopoint" export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir}" @@ -167,15 +166,6 @@ autotools_do_configure() { cd ${AUTOTOOLS_SCRIPT_PATH} # aclocal looks in the native sysroot by default, so tell it to also look in the target sysroot. ACLOCAL="aclocal --aclocal-path=${STAGING_DATADIR}/aclocal/" - if [ x"${acpaths}" = xdefault ]; then - acpaths= - for i in `find ${AUTOTOOLS_SCRIPT_PATH} -ignore_readdir_race -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \ - grep -v 'acinclude.m4' | sed -e 's,\(.*/\).*$,\1,'|sort -u`; do - acpaths="$acpaths -I $i" - done - else - acpaths="${acpaths}" - fi # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look # like it was auto-generated. Work around this by blowing it away # by hand, unless the package specifically asked not to run aclocal. @@ -212,8 +202,8 @@ autotools_do_configure() { find ${S} -ignore_readdir_race -name $i -delete done - bbnote Executing ACLOCAL=\"$ACLOCAL\" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths - ACLOCAL="$ACLOCAL" autoreconf -Wcross -Wno-obsolete --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || die "autoreconf execution failed." + bbnote Executing ACLOCAL=\"$ACLOCAL\" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} + ACLOCAL="$ACLOCAL" autoreconf -Wcross -Wno-obsolete --verbose --install --force ${EXTRA_AUTORECONF} || die "autoreconf execution failed." cd $olddir fi if [ -e ${CONFIGURE_SCRIPT} ]; then From patchwork Tue Feb 25 14:26:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 57820 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 3024EC021BC for ; Tue, 25 Feb 2025 14:26:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8936.1740493602558949214 for ; Tue, 25 Feb 2025 06:26:42 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6EF8728C7 for ; Tue, 25 Feb 2025 06:26:58 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C26F63F6A8 for ; Tue, 25 Feb 2025 06:26:41 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/4] recipes/*: remove obsolete use of acpaths Date: Tue, 25 Feb 2025 14:26:34 +0000 Message-ID: <20250225142636.703255-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250225142636.703255-1-ross.burton@arm.com> References: <20250225142636.703255-1-ross.burton@arm.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 ; Tue, 25 Feb 2025 14:26:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/211882 The bulk of these recipes used acpaths to work around argument list limits as we passed the full path to every directory. As this behaviour no longer happens we can remove these workarounds. Signed-off-by: Ross Burton --- meta/recipes-connectivity/inetutils/inetutils_2.5.bb | 2 -- meta/recipes-core/coreutils/coreutils_9.6.bb | 6 ------ meta/recipes-core/gettext/gettext_0.23.1.bb | 3 --- meta/recipes-devtools/bison/bison_3.8.2.bb | 3 --- meta/recipes-devtools/m4/m4-1.4.19.inc | 3 --- meta/recipes-devtools/patch/patch_2.7.6.bb | 2 -- meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 2 -- meta/recipes-extended/diffutils/diffutils_3.11.bb | 3 --- meta/recipes-extended/grep/grep_3.11.bb | 3 --- meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb | 2 -- meta/recipes-extended/tar/tar_1.35.bb | 6 ------ meta/recipes-extended/wget/wget.inc | 5 ----- meta/recipes-support/gmp/gmp_6.3.0.bb | 2 -- 13 files changed, 42 deletions(-) diff --git a/meta/recipes-connectivity/inetutils/inetutils_2.5.bb b/meta/recipes-connectivity/inetutils/inetutils_2.5.bb index 7310f2dc47e..19bf7e1539b 100644 --- a/meta/recipes-connectivity/inetutils/inetutils_2.5.bb +++ b/meta/recipes-connectivity/inetutils/inetutils_2.5.bb @@ -22,8 +22,6 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.xz \ inherit autotools gettext update-alternatives texinfo -acpaths = "-I ./m4" - PACKAGECONFIG ??= "ftp uucpd \ ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6 ping6', '', d)} \ diff --git a/meta/recipes-core/coreutils/coreutils_9.6.bb b/meta/recipes-core/coreutils/coreutils_9.6.bb index 05277879343..17bd33958b9 100644 --- a/meta/recipes-core/coreutils/coreutils_9.6.bb +++ b/meta/recipes-core/coreutils/coreutils_9.6.bb @@ -82,12 +82,6 @@ RPROVIDES:coreutils += "${@bb.utils.contains('PACKAGECONFIG', 'single-binary', ' PACKAGE_BEFORE_PN:class-target += "${PN}-getlimits" FILES:${PN}-getlimits = "${bindir}/getlimits" -# Let aclocal use the relative path for the m4 file rather than the -# absolute since coreutils has a lot of m4 files, otherwise there might -# be an "Argument list too long" error when it is built in a long/deep -# directory. -acpaths = "-I ./m4" - # Deal with a separate builddir failure if src doesn't exist when creating version.c/version.h do_compile:prepend () { mkdir -p ${B}/src diff --git a/meta/recipes-core/gettext/gettext_0.23.1.bb b/meta/recipes-core/gettext/gettext_0.23.1.bb index da4e6c68500..cbc3e48890e 100644 --- a/meta/recipes-core/gettext/gettext_0.23.1.bb +++ b/meta/recipes-core/gettext/gettext_0.23.1.bb @@ -63,9 +63,6 @@ PACKAGECONFIG[libxml] = "--without-included-libxml,--with-included-libxml,libxml PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${STAGING_LIBDIR}/..,--with-included-libunistring,libunistring" PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," -acpaths = '-I ${S}/gettext-runtime/m4 \ - -I ${S}/gettext-tools/m4' - do_install:append:libc-musl () { rm -f ${D}${libdir}/charset.alias rm -f ${D}${includedir}/libintl.h diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb index da138e35874..513d7ec287d 100644 --- a/meta/recipes-devtools/bison/bison_3.8.2.bb +++ b/meta/recipes-devtools/bison/bison_3.8.2.bb @@ -37,9 +37,6 @@ CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', ' ${@bb.utils.contains('PACKAGECONFIG', 'textstyle', '', ' \ ac_cv_libtextstyle=no', d)}" -# The automatic m4 path detection gets confused, so force the right value -acpaths = "-I ./m4" - do_compile:prepend() { for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done } diff --git a/meta/recipes-devtools/m4/m4-1.4.19.inc b/meta/recipes-devtools/m4/m4-1.4.19.inc index 1d1f1eb477a..8fb13f543b2 100644 --- a/meta/recipes-devtools/m4/m4-1.4.19.inc +++ b/meta/recipes-devtools/m4/m4-1.4.19.inc @@ -23,9 +23,6 @@ LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\ file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede" -# Fix "Argument list too long" error when len(TMPDIR) = 410 -acpaths = "-I ./m4" - EXTRA_OECONF += "--without-libsigsegv-prefix" EXTRA_OEMAKE += "'infodir=${infodir}'" diff --git a/meta/recipes-devtools/patch/patch_2.7.6.bb b/meta/recipes-devtools/patch/patch_2.7.6.bb index e0e44f9c977..a91944234f1 100644 --- a/meta/recipes-devtools/patch/patch_2.7.6.bb +++ b/meta/recipes-devtools/patch/patch_2.7.6.bb @@ -18,8 +18,6 @@ SRC_URI[sha256sum] = "8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74b LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -acpaths = "-I ${S}/m4 " - PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb index 2b298eb5e85..baf37b0a9be 100644 --- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb +++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb @@ -31,8 +31,6 @@ PACKAGECONFIG:class-native = "" PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" -acpaths = "-I ." - BBCLASSEXTEND = "native nativesdk" # Set an empty dev package to ensure the base PN package gets diff --git a/meta/recipes-extended/diffutils/diffutils_3.11.bb b/meta/recipes-extended/diffutils/diffutils_3.11.bb index 8f5a87c2db7..a4badc044e9 100644 --- a/meta/recipes-extended/diffutils/diffutils_3.11.bb +++ b/meta/recipes-extended/diffutils/diffutils_3.11.bb @@ -15,9 +15,6 @@ EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix" # latest gnulib is no longer able to handle this - I dare not try to fix that maze of abstractions and generators CFLAGS:mingw32 = " -DSA_RESTART=0" -# Fix "Argument list too long" error when len(TMPDIR) = 410 -acpaths = "-I ./m4" - EXTRA_OEMAKE:append:mingw32 = " LIBS='-lbcrypt'" inherit ptest diff --git a/meta/recipes-extended/grep/grep_3.11.bb b/meta/recipes-extended/grep/grep_3.11.bb index cb3105de04c..0d36eba3b28 100644 --- a/meta/recipes-extended/grep/grep_3.11.bb +++ b/meta/recipes-extended/grep/grep_3.11.bb @@ -12,9 +12,6 @@ SRC_URI[sha256sum] = "1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951 inherit autotools gettext texinfo pkgconfig -# Fix "Argument list too long" error when len(TMPDIR) = 410 -acpaths = "-I ./m4" - do_configure:prepend () { sed -i -e '1s,#!@SHELL@,#!/bin/sh,' ${S}/src/egrep.sh rm -f ${S}/m4/init.m4 diff --git a/meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb b/meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb index bd3f40ab822..1f6de1d925d 100644 --- a/meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb +++ b/meta/recipes-extended/libpipeline/libpipeline_1.5.8.bb @@ -10,5 +10,3 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/libpipeline/libpipeline-${PV}.tar.gz" SRC_URI[sha256sum] = "1b1203ca152ccd63983c3f2112f7fe6fa5afd453218ede5153d1b31e11bb8405" inherit pkgconfig autotools - -acpaths = "-I ${S}/gl/m4 -I ${S}/m4" diff --git a/meta/recipes-extended/tar/tar_1.35.bb b/meta/recipes-extended/tar/tar_1.35.bb index c7bd1d195e5..ea0993a9098 100644 --- a/meta/recipes-extended/tar/tar_1.35.bb +++ b/meta/recipes-extended/tar/tar_1.35.bb @@ -22,12 +22,6 @@ EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}" CACHED_CONFIGUREVARS += "tar_cv_path_RSH=no" -# Let aclocal use the relative path for the m4 file rather than the -# absolute since tar has a lot of m4 files, otherwise there might -# be an "Argument list too long" error when it is built in a long/deep -# directory. -acpaths = "-I ./m4" - do_install () { autotools_do_install ln -s tar ${D}${bindir}/gtar diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc index 51926e72962..151aeabcdce 100644 --- a/meta/recipes-extended/wget/wget.inc +++ b/meta/recipes-extended/wget/wget.inc @@ -38,8 +38,3 @@ PACKAGECONFIG[libuuid] = "--with-libuuid,--without-libuuid,util-linux" PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" PACKAGECONFIG[pcre] = "--enable-pcre,--disable-pcre,libpcre" PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" - -# Let aclocal use the relative path for the m4 file rather than -# absolute, otherwise there might be an "Argument list too long" error -# when it is built in a long/deep directory. -acpaths = "-I ./m4" diff --git a/meta/recipes-support/gmp/gmp_6.3.0.bb b/meta/recipes-support/gmp/gmp_6.3.0.bb index fd4aec92fdb..2ce8ae385c0 100644 --- a/meta/recipes-support/gmp/gmp_6.3.0.bb +++ b/meta/recipes-support/gmp/gmp_6.3.0.bb @@ -17,8 +17,6 @@ SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ " SRC_URI[sha256sum] = "ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb" -acpaths = "" - EXTRA_OECONF += " --enable-cxx=detect" EXTRA_OECONF:append:mipsarchr6 = " --disable-assembly" From patchwork Tue Feb 25 14:26:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 57817 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 1C2F2C021BF for ; Tue, 25 Feb 2025 14:26:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.8989.1740493603150743550 for ; Tue, 25 Feb 2025 06:26:43 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 15D4628C7 for ; Tue, 25 Feb 2025 06:26:59 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6964C3F6A8 for ; Tue, 25 Feb 2025 06:26:42 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/4] apr-utils: remove obsolete patch Date: Tue, 25 Feb 2025 14:26:35 +0000 Message-ID: <20250225142636.703255-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250225142636.703255-1-ross.burton@arm.com> References: <20250225142636.703255-1-ross.burton@arm.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 ; Tue, 25 Feb 2025 14:26:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/211883 This patch to change how autotools pulls in macros is no longer needed. Signed-off-by: Ross Burton --- .../apr/apr-util/configure_fixes.patch | 31 ------------------- meta/recipes-support/apr/apr-util_1.6.3.bb | 1 - 2 files changed, 32 deletions(-) delete mode 100644 meta/recipes-support/apr/apr-util/configure_fixes.patch diff --git a/meta/recipes-support/apr/apr-util/configure_fixes.patch b/meta/recipes-support/apr/apr-util/configure_fixes.patch deleted file mode 100644 index 91e244ce2c6..00000000000 --- a/meta/recipes-support/apr/apr-util/configure_fixes.patch +++ /dev/null @@ -1,31 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -Index: apr-util-1.4.1/configure.in -=================================================================== ---- apr-util-1.4.1.orig/configure.in 2009-12-18 03:15:19.000000000 +0800 -+++ apr-util-1.4.1/configure.in 2011-12-30 13:32:07.000000000 +0800 -@@ -8,15 +8,15 @@ - AC_CONFIG_HEADER(include/private/apu_config.h) - AC_CONFIG_AUX_DIR(build) - --sinclude(build/apu-conf.m4) --sinclude(build/apu-iconv.m4) --sinclude(build/apu-hints.m4) --sinclude(build/apr_common.m4) --sinclude(build/find_apr.m4) --sinclude(build/crypto.m4) --sinclude(build/dbm.m4) --sinclude(build/dbd.m4) --sinclude(build/dso.m4) -+#sinclude(build/apu-conf.m4) -+#sinclude(build/apu-iconv.m4) -+#sinclude(build/apu-hints.m4) -+#sinclude(build/apr_common.m4) -+#sinclude(build/find_apr.m4) -+#sinclude(build/crypto.m4) -+#sinclude(build/dbm.m4) -+#sinclude(build/dbd.m4) -+#sinclude(build/dso.m4) - - dnl Generate ./config.nice for reproducing runs of configure - dnl diff --git a/meta/recipes-support/apr/apr-util_1.6.3.bb b/meta/recipes-support/apr/apr-util_1.6.3.bb index 1371e262ddb..291e98e24df 100644 --- a/meta/recipes-support/apr/apr-util_1.6.3.bb +++ b/meta/recipes-support/apr/apr-util_1.6.3.bb @@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=158aa0b1efe0c12f23d4b007ddb9a5db \ SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.gz \ file://configfix.patch \ - file://configure_fixes.patch \ file://0001-test_transformation-Check-if-transform-is-supported-.patch \ file://run-ptest \ " From patchwork Tue Feb 25 14:26:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 57819 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 1B9ECC021BB for ; Tue, 25 Feb 2025 14:26:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8938.1740493603865851608 for ; Tue, 25 Feb 2025 06:26:44 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BA6301BCB for ; Tue, 25 Feb 2025 06:26:59 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 107E53F6A8 for ; Tue, 25 Feb 2025 06:26:42 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 4/4] freetype: pass missing include paths to autoreconf Date: Tue, 25 Feb 2025 14:26:36 +0000 Message-ID: <20250225142636.703255-4-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250225142636.703255-1-ross.burton@arm.com> References: <20250225142636.703255-1-ross.burton@arm.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 ; Tue, 25 Feb 2025 14:26:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/211884 Now that autotools isn't searching for every m4 file the configure fails. This is because freetype only uses autoconf and has a manual autogen.sh script that passes -I. itself. As we don't call that script, pass -I . to autoreconf ourselves. Signed-off-by: Ross Burton --- meta/recipes-graphics/freetype/freetype_2.13.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/freetype/freetype_2.13.3.bb b/meta/recipes-graphics/freetype/freetype_2.13.3.bb index 30f50cc289b..100a7d95b69 100644 --- a/meta/recipes-graphics/freetype/freetype_2.13.3.bb +++ b/meta/recipes-graphics/freetype/freetype_2.13.3.bb @@ -23,7 +23,7 @@ inherit autotools pkgconfig multilib_header # Adapt autotools to work with the minimal autoconf usage in freetype AUTOTOOLS_SCRIPT_PATH = "${S}/builds/unix" CONFIGURE_SCRIPT = "${S}/configure" -EXTRA_AUTORECONF += "--exclude=autoheader --exclude=automake" +EXTRA_AUTORECONF += "--exclude=autoheader --exclude=automake -I ." PACKAGECONFIG ??= "zlib pixmap"