Bug 6138

Summary: tar build error with long TMPDIR: Argument list too long
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chong Lu <chong.lu>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, liezhi.yang, meta.mr.watcher, meta.watcher, sgw
Version: 1.6   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 6397    

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.