Skip to contentSkip to conversation

inetutils: do_configure: fix "Argument list too long"

PATCH New Robert Yang 1 participant 2 messages Dec 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 inetutils: do_configure: fix "Argument list too long"

Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo [snip]: Argument list too long

This is becuase it has a lot of m4 files, use relative path for them can fix the problem.

---
 meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb +2 -0
index 8db6b74..1a82e01 100644
@@ -28,6 +28,8 @@ SRC_URI[sha256sum] = "be8f75eff936b8e41b112462db51adf689715658a1b09e0d6b05d11ec9
 
 inherit autotools gettext update-alternatives texinfo
 
+acpaths = "-I ./m4"
+
 SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '', 'file://fix-disable-ipv6.patch', d)}"
 
 PACKAGECONFIG ??= "ftp uucpd \
Signature · 1 line
2.10.2
#1 lore raw

PATCH 2/2 lftp: do_configure: fix "Argument list too long"

Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo [snip]: Argument list too long

This is becuase it has a lot of m4 files, use relative path for them can fix the problem.

---
 meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb +2 -0
index b0cd399..2878211 100644
@@ -14,6 +14,8 @@ SRC_URI[sha256sum] = "ce6519831603c19c2cf2e3c10b41d6ddc87a16049b99383e7b9b77fbc7
 
 inherit autotools gettext pkgconfig
 
+acpaths = "-I ./m4"
+
 EXTRA_OECONF += "--with-modules"
 
 PACKAGECONFIG ??= "libidn openssl zlib gnutls readline expat"
Signature · 1 line
2.10.2