libunistring: fix do_configure "Argument list too long" error
PATCH 1/1 libunistring: fix do_configure "Argument list too long" error
From: Changqing Li <[email protected]>
libunistring uses a lot of m4 files, with acpaths set to absolute path, and the TMPDIR is long/deep, for example when len(TMPDIR) = 350, do_configure failed with "Argument list too long" error.
[snip]
aclocal: error: cannot open xxx Argument list too long
autoreconf: aclocal failed with exit status: 1
ERROR: autoreconf execution failed.
[snip]
Let aclocal use the relative path for the m4 file rather than the absolute would fix the problem.
Signed-off-by Changqing Li <[email protected]>
--- meta/recipes-support/libunistring/libunistring_1.3.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-support/libunistring/libunistring_1.3.bb +3 -0
@@ -24,4 +24,7 @@ SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz" SRC_URI[sha256sum] = "8ea8ccf86c09dd801c8cac19878e804e54f707cf69884371130d20bde68386b7" inherit autotools texinfo + +acpaths = "-I ./m4 -I ./gnulib-m4" + BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1