Bug 6397 - Fix "Argument list too long" issues
Summary: Fix "Argument list too long" issues
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 1.8 M4
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on: 6138
Blocks:
  Show dependency tree
 
Reported: 2014-06-04 08:39 UTC by Chong Lu
Modified: 2015-03-25 02:12 UTC (History)
7 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-06-04 08:39:31 UTC
There would be an "Argument list too long" error when the TMPDIR is in a deep dir, for example, when "len(readlink -f TMPDIR) >= 410"

We should ensure build successfully when the length of TMPDIR < 410.
Comment 1 Chong Lu 2014-06-04 08:45:01 UTC
We need make sure the world build is OK when TMPDIR < 410 before release.
Comment 2 Saul Wold 2014-06-05 14:48:26 UTC
Can you please be more clear with where this is failing?
Comment 3 Saul Wold 2014-11-13 16:13:21 UTC
Still waiting for feedback
Comment 4 Mark Hatle 2014-12-08 20:04:33 UTC
If the path to your build directory is >= 410 characters the build may fail due to command line limitations.

While it's unusual for most to get to that length, it is possible in some deep directory structure situations.
Comment 5 Randy MacLeod 2015-02-27 14:46:52 UTC
Chong emailed me to say:
---
I have sent a patch to fix similar issue.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6138

patch:
http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=chonglu/tar&id=2e5aded6bd991ada5810d99cb6bfdc9bfe79c39b

But this patch is still not merged.

The #6397 is created to trace the long TMPDIR issue. 
---

So what's the status of the patch above Saul?

It would seem that this sort of problem requires regular tests with
a deep path. Can such a build be added to the YP set?
Comment 6 Robert Yang 2015-03-25 02:12:29 UTC
All are fixed in YP 1.8