diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-07-05 16:57:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-09 16:58:16 +0100 |
commit | ebcf949853ff667478a1ea1d3f1f8f41d643e708 (patch) | |
tree | 617a41d5d5d0150830f70ab18a8fd507b1d88e05 /scripts/send-pull-request | |
parent | 3ed08bd24cef39a85c528159a494e8f0dd001739 (diff) | |
download | openembedded-core-ebcf949853ff667478a1ea1d3f1f8f41d643e708.tar.gz openembedded-core-ebcf949853ff667478a1ea1d3f1f8f41d643e708.tar.bz2 openembedded-core-ebcf949853ff667478a1ea1d3f1f8f41d643e708.zip |
sanity.bbclass: the tmpdir can't be longer than 410
There will be errors when the length of the tmpdir is longer than 410:
1) Longer than 420:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.10/IO/File.pm line 66.
This error happens on both Ubuntu 10.04 and 10.10 when the pkg needs run
"autoreconf", this is because it passes many files with absolute path to
aclocal, aclocal passes them to perl, this is a limitation of the perl
on Ubuntu 10.04 and 10.10, and the perl-native is not ready at this very
early stage.
2) Longer than 490:
bitbake/lib/bb/persist_data.py", line 197, in connect(database=...)
> return sqlite3.connect(database, timeout=5, isolation_level=None)
OperationalError: unable to open database file
This error happens on Ubuntu 10.04, 10.10 and Fedora 17. This is because
the length of the database in sqlite3 module (host's) can't be longer
than 490 (or little smaller). The python-native is not ready at this
very early stage.
The 2 errors are host related, I think that limit the length of the
TMPDIR to 410 is OK for most of the build, rarely build sets TMPDIR's
longer than 410.
[YOCTO #2434]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'scripts/send-pull-request')
0 files changed, 0 insertions, 0 deletions