From patchwork Mon Aug 20 02:55:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] coreutils: fix do_configure error with long TMPDIR Date: Mon, 20 Aug 2012 02:55:36 -0000 From: wenzong.fan@windriver.com X-Patchwork-Id: 34891 Message-Id: <5a92968e29ead46bff1edf963d1f9cef3732e8b1.1345431102.git.wenzong.fan@windriver.com> To: Cc: Zhenfeng.Zhao@windriver.com From: Wenzong Fan By default the 'm4/*' files will be extended with absolute path while autoreconf running, if the length of TMPDIR is too long such as 410 which is the maximum value allowed by 'sanity.bbclass', autoreconf will fail with error: Can't exec "/bin/sh": Argument list too long ... Fix this issue by specific the 'acpaths' to '-I ./m4'. [YOCTO #2766] Signed-off-by: Wenzong Fan --- meta/recipes-core/coreutils/coreutils_8.14.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb b/meta/recipes-core/coreutils/coreutils_8.14.bb index 9a714a9..c7c8e13 100644 --- a/meta/recipes-core/coreutils/coreutils_8.14.bb +++ b/meta/recipes-core/coreutils/coreutils_8.14.bb @@ -7,7 +7,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ file://src/ls.c;startline=5;endline=16;md5=e1a509558876db58fb6667ba140137ad" -PR = "r5" +PR = "r6" DEPENDS = "gmp libcap" DEPENDS_virtclass-native = "" @@ -36,6 +36,8 @@ base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill ln ls mkdi sbindir_progs= "chroot" +acpaths = "-I ./m4" + do_install_append() { for i in df mktemp base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done