ping

On 12/4/24 15:28, Changqing Li via lists.openembedded.org wrote:
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(+)

diff --git a/meta/recipes-support/libunistring/libunistring_1.3.bb 
b/meta/recipes-support/libunistring/libunistring_1.3.bb
index 08531acec10..3b6dd61a34e 100644
--- a/meta/recipes-support/libunistring/libunistring_1.3.bb
+++ b/meta/recipes-support/libunistring/libunistring_1.3.bb
@@ -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"



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209521): 
https://lists.openembedded.org/g/openembedded-core/message/209521
Mute This Topic: https://lists.openembedded.org/mt/110493573/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to