diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-04-06 03:05:54 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:43 +0100 |
commit | 7daf525d3772636430818c0e33befd97f03e88c6 (patch) | |
tree | 13c99048d4cdbbd9a344950557135dc19c006d3a /meta/recipes-devtools | |
parent | 8d26272740ebf316c2f2368257273c92e01a1af5 (diff) | |
download | poky-7daf525d3772636430818c0e33befd97f03e88c6.tar.gz |
guile: do_configure: fix "Argument list too long"
Fixed when len(TMPDIR) = 410:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.18/IO/File.pm line 65.
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
(From OE-Core rev: 123df94f511cbaad088b25bbbae1f1137f957c7e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/guile/guile_2.0.14.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/guile/guile_2.0.14.bb b/meta/recipes-devtools/guile/guile_2.0.14.bb index d2306e6a75..7a36ba0c3b 100644 --- a/meta/recipes-devtools/guile/guile_2.0.14.bb +++ b/meta/recipes-devtools/guile/guile_2.0.14.bb | |||
@@ -30,6 +30,9 @@ SRC_URI[sha256sum] = "e8442566256e1be14e51fc18839cd799b966bc5b16c6a1d7a7c35155a8 | |||
30 | inherit autotools gettext pkgconfig texinfo | 30 | inherit autotools gettext pkgconfig texinfo |
31 | BBCLASSEXTEND = "native" | 31 | BBCLASSEXTEND = "native" |
32 | 32 | ||
33 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
34 | acpaths = "-I ./m4" | ||
35 | |||
33 | DEPENDS = "libunistring bdwgc gmp libtool libffi ncurses readline" | 36 | DEPENDS = "libunistring bdwgc gmp libtool libffi ncurses readline" |
34 | # add guile-native only to the target recipe's DEPENDS | 37 | # add guile-native only to the target recipe's DEPENDS |
35 | DEPENDS_append_class-target = " guile-native libatomic-ops" | 38 | DEPENDS_append_class-target = " guile-native libatomic-ops" |