[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5669/8267] grep: do_configure: fix "Argument list too long"



commit 1593f5de8ad7a325c8a48d54f39a331b6735cb2e
Author: Robert Yang <liezhi yang windriver com>
Date:   Thu Apr 13 02:57:26 2017 -0700

    grep: do_configure: fix "Argument list too long"
    
    Fixed when len(TMPDIR) = 410:
    aclocal: error: cannot open echo 'm4_define [snip]' configure.ac |: Argument list too long'
    
    This is becuase it has a lot of m4 files, use relative path for them
    can fix the problem.
    
    (From OE-Core rev: 081974e75cc0cfa0a1a1bb01cd9f9cbc585b7692)
    
    Signed-off-by: Robert Yang <liezhi yang windriver com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-extended/grep/grep_3.0.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-extended/grep/grep_3.0.bb b/meta/recipes-extended/grep/grep_3.0.bb
index 6146ef0..b2940d5 100644
--- a/meta/recipes-extended/grep/grep_3.0.bb
+++ b/meta/recipes-extended/grep/grep_3.0.bb
@@ -16,6 +16,9 @@ inherit autotools gettext texinfo pkgconfig
 
 EXTRA_OECONF = "--disable-perl-regexp"
 
+# Fix "Argument list too long" error when len(TMPDIR) = 410
+acpaths = "-I ./m4"
+
 do_configure_prepend () {
        rm -f ${S}/m4/init.m4
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]