Bug 6138 - tar build error with long TMPDIR: Argument list too long
Summary: tar build error with long TMPDIR: Argument list too long
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8 M4
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 6397
  Show dependency tree
 
Reported: 2014-04-09 07:27 UTC by Chong Lu
Modified: 2015-03-25 02:07 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chong Lu 2014-04-09 07:27:45 UTC
Set the length of TMPDIR to 410.
When I create a build directory and make the length of TPMPDIR to 410. tar build failed:

Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.14/IO/File.pm line 66.
aclocal: error: cannot open echo 'm4_define([m4_require_silent_probe], [-])' | /abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/abcdefghij/klmnopqrst/uvwxyz0123/456789/12345/tmp/sysroots/x86_64-linux/usr/bin/autom4te --language Autoconf-without-aclocal-m4 ...
...
autoreconf: aclocal failed with exit status: 1
ERROR: autoreconf execution failed.