From: Chong Lu <Chong.Lu@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] tar: set acpaths to avoid "Argument list too long" error
Date: Mon, 14 Apr 2014 10:00:16 +0800 [thread overview]
Message-ID: <534B4130.3030901@windriver.com> (raw)
In-Reply-To: <2e5aded6bd991ada5810d99cb6bfdc9bfe79c39b.1397036620.git.Chong.Lu@windriver.com>
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 = ""
>
next prev parent reply other threads:[~2014-04-14 2:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2014-05-16 5:33 ` Chong Lu
-- strict thread matches above, loose matches on Subject: below --
2015-03-12 6:14 [PATCH 0/1] tar: fix for len(TMPDIR) = 410 build Robert Yang
2015-03-12 6:14 ` [PATCH 1/1] tar: set acpaths to avoid "Argument list too long" error Robert Yang
2015-03-12 12:16 ` Burton, Ross
2015-03-12 12:43 ` Richard Purdie
2015-03-13 1:51 ` Robert Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=534B4130.3030901@windriver.com \
--to=chong.lu@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox