Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] tar: set acpaths to avoid "Argument list too long" error
@ 2014-04-09  9:44 Chong Lu
  2014-04-09  9:44 ` [PATCH 1/1] " Chong Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Lu @ 2014-04-09  9:44 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit bb20d3afbf0ee0319ef067c7ba48998d57f33f64:

  yocto-bsp: Update templates to 3.14 kernel (2014-04-09 09:53:14 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib chonglu/tar
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/tar

Chong Lu (1):
  tar: set acpaths to avoid "Argument list too long" error

 meta/recipes-extended/tar/tar.inc | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
1.8.1.2



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] tar: set acpaths to avoid "Argument list too long" error
  2014-04-09  9:44 [PATCH 0/1] tar: set acpaths to avoid "Argument list too long" error Chong Lu
@ 2014-04-09  9:44 ` Chong Lu
  2014-04-14  2:00   ` Chong Lu
  2014-05-16  5:33   ` Chong Lu
  0 siblings, 2 replies; 4+ messages in thread
From: Chong Lu @ 2014-04-09  9:44 UTC (permalink / raw)
  To: openembedded-core

There would be an error when the TMPDIR is long/deep, for example when
len(TMPDIR) = 410 while our supported longest value is 410:

    aclocal: error: cannot open xxx
    autoreconf: aclocal failed with exit status: 1
    ERROR: autoreconf execution failed.

Let aclocal use the relative path for the m4 file rather than the
absolute would fix the problem.

[YOCTO #6138]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
 meta/recipes-extended/tar/tar.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc
index 30a1373..75c3518 100644
--- a/meta/recipes-extended/tar/tar.inc
+++ b/meta/recipes-extended/tar/tar.inc
@@ -10,6 +10,12 @@ inherit autotools gettext
 
 EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}"
 
+# Let aclocal use the relative path for the m4 file rather than the
+# absolute since tar has a lot of m4 files, otherwise there might
+# be an "Argument list too long" error when it is built in a long/deep
+# directory.
+acpaths = "-I ./m4"
+
 EXTRAINSTALL = "do_install_extra"
 EXTRAINSTALL_class-nativesdk = ""
 
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] tar: set acpaths to avoid "Argument list too long" error
  2014-04-09  9:44 ` [PATCH 1/1] " Chong Lu
@ 2014-04-14  2:00   ` Chong Lu
  2014-05-16  5:33   ` Chong Lu
  1 sibling, 0 replies; 4+ messages in thread
From: Chong Lu @ 2014-04-14  2:00 UTC (permalink / raw)
  To: openembedded-core

ping

On 04/09/2014 05:44 PM, Chong Lu wrote:
> There would be an error when the TMPDIR is long/deep, for example when
> len(TMPDIR) = 410 while our supported longest value is 410:
>
>      aclocal: error: cannot open xxx
>      autoreconf: aclocal failed with exit status: 1
>      ERROR: autoreconf execution failed.
>
> Let aclocal use the relative path for the m4 file rather than the
> absolute would fix the problem.
>
> [YOCTO #6138]
>
> Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
> ---
>   meta/recipes-extended/tar/tar.inc | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc
> index 30a1373..75c3518 100644
> --- a/meta/recipes-extended/tar/tar.inc
> +++ b/meta/recipes-extended/tar/tar.inc
> @@ -10,6 +10,12 @@ inherit autotools gettext
>   
>   EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}"
>   
> +# Let aclocal use the relative path for the m4 file rather than the
> +# absolute since tar has a lot of m4 files, otherwise there might
> +# be an "Argument list too long" error when it is built in a long/deep
> +# directory.
> +acpaths = "-I ./m4"
> +
>   EXTRAINSTALL = "do_install_extra"
>   EXTRAINSTALL_class-nativesdk = ""
>   



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] tar: set acpaths to avoid "Argument list too long" error
  2014-04-09  9:44 ` [PATCH 1/1] " Chong Lu
  2014-04-14  2:00   ` Chong Lu
@ 2014-05-16  5:33   ` Chong Lu
  1 sibling, 0 replies; 4+ messages in thread
From: Chong Lu @ 2014-05-16  5:33 UTC (permalink / raw)
  To: Chong Lu, openembedded-core

ping

On 04/09/2014 05:44 PM, Chong Lu wrote:
> There would be an error when the TMPDIR is long/deep, for example when
> len(TMPDIR) = 410 while our supported longest value is 410:
>
>      aclocal: error: cannot open xxx
>      autoreconf: aclocal failed with exit status: 1
>      ERROR: autoreconf execution failed.
>
> Let aclocal use the relative path for the m4 file rather than the
> absolute would fix the problem.
>
> [YOCTO #6138]
>
> Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
> ---
>   meta/recipes-extended/tar/tar.inc | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc
> index 30a1373..75c3518 100644
> --- a/meta/recipes-extended/tar/tar.inc
> +++ b/meta/recipes-extended/tar/tar.inc
> @@ -10,6 +10,12 @@ inherit autotools gettext
>   
>   EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}"
>   
> +# Let aclocal use the relative path for the m4 file rather than the
> +# absolute since tar has a lot of m4 files, otherwise there might
> +# be an "Argument list too long" error when it is built in a long/deep
> +# directory.
> +acpaths = "-I ./m4"
> +
>   EXTRAINSTALL = "do_install_extra"
>   EXTRAINSTALL_class-nativesdk = ""
>   



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-16  5:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-09  9:44 [PATCH 0/1] tar: set acpaths to avoid "Argument list too long" error Chong Lu
2014-04-09  9:44 ` [PATCH 1/1] " Chong Lu
2014-04-14  2:00   ` Chong Lu
2014-05-16  5:33   ` Chong Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox