generic-poky/meta
Robert Yang 2dee999ab2 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]

(From OE-Core rev: ebcf949853ff667478a1ea1d3f1f8f41d643e708)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09 16:58:57 +01:00
..
classes sanity.bbclass: the tmpdir can't be longer than 410 2012-07-09 16:58:57 +01:00
conf qemumachines: make MACHINE_FEATURES append follow qemu.inc include 2012-07-04 17:40:37 +01:00
files common-license: Add ICU generic 2012-03-25 12:23:39 +01:00
lib lib/oe/sstatesig.py: Exclude subversion-native from sstate checksums 2012-07-05 12:36:45 +01:00
recipes-bsp u-boot: make FILESDIR a shared setting via FILESPATH 2012-07-05 14:21:56 +01:00
recipes-connectivity bluez4: update to ver. 4.101 2012-07-05 14:21:57 +01:00
recipes-core initscripts: use update-alternative to handle file functions 2012-07-09 11:38:01 +01:00
recipes-devtools apt 0.7.14: runtime error: Method file has died unexpectedly 2012-07-09 16:58:57 +01:00
recipes-extended lsbinitscripts: increase ALTERNATIVE_PRIORITY 2012-07-09 11:38:02 +01:00
recipes-gnome PR bumps for PACKAGES reorder 2012-06-21 13:03:02 +01:00
recipes-graphics pixman: upgrade to 0.26.2 2012-07-09 16:58:56 +01:00
recipes-kernel perf: remove unconditional python-ext install 2012-07-05 16:01:32 +01:00
recipes-multimedia speex: use lib_package bbclass 2012-07-04 17:40:35 +01:00
recipes-qt qt4e-demo-image: new description 2012-06-29 13:31:01 +01:00
recipes-rt core-image*sdk: Add kernel-dev to sdk images 2012-07-03 14:54:57 +01:00
recipes-sato matchbox-panel-2: bump PR because libxcb-util soname was changed 2012-07-09 10:47:57 +01:00
recipes-support curl: upgrade to 7.26.0 2012-07-09 16:58:56 +01:00
site site/common-linux: fix incorrect size of pid_t for apr 2012-07-02 16:47:44 +01:00
COPYING.MIT Add missing licence files (COPYING.MIT) 2006-07-23 13:52:32 +00:00
recipes.txt recipes.txt: Add entries for "recipes-rt" and "recipes-support" 2012-07-09 16:58:56 +01:00