| Summary: | fix errors when len(TMPDIR) = 410 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Robert Yang <liezhi.yang> |
| Component: | core | Assignee: | Robert Yang <liezhi.yang> |
| Status: | VERIFIED FIXED | QA Contact: | Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu> |
| Severity: | normal | ||
| Priority: | Medium | CC: | bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher |
| Version: | 2.0 | ||
| Target Milestone: | 2.0 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Robert Yang
2015-09-17 02:53:39 UTC
Master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c6b52f32afd748004f532abf00fcf5a3e7fa1e8a http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=81d65df30c99b9a07c749d07ebf4ba882451d32d Verified on master: fc45deac89ef63ca1c44e763c38ced7dfd72cbe1
Having a len(PATH) < 407, build started.
len(PATH) >= 407
yocto@yocto-PowerEdge-R720:~/yocto/BBB/8313/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/build$ bitbake core-image-minimal
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
The length of TMPDIR is longer than 410, this would cause unexpected errors, please use a shorter path.
len(PATH) >= 432
yocto@yocto-PowerEdge-R720:~/yocto/BBB/8313/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/build$ bitbake core-image-minimal
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
The length of TMPDIR is longer than 410, this would cause unexpected errors, please use a shorter path.
len(PATH) >= 511
yocto@yocto-PowerEdge-R720:~/yocto/BBB/8313/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/build$ bitbake core-image-basic
ERROR: Error parsing configuration files
Traceback (most recent call last):
File "/home/yocto/yocto/BBB/poky/bitbake/lib/bb/cookerdata.py", line 323, in CookerDataBuilder.parseConfigurationFiles(prefiles=[], postfiles=[]):
if data.getVar("BB_WORKERCONTEXT", False) is None:
> bb.fetch.fetcher_init(data)
bb.codeparser.parser_cache_init(data)
File "/home/yocto/yocto/BBB/poky/bitbake/lib/bb/fetch2/__init__.py", line 503, in fetcher_init(d=<bb.data_smart.DataSmart object at 0x7fc0045676d0>):
logger.debug(1, "Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
> revs = bb.persist_data.persist('BB_URI_HEADREVS', d)
try:
File "/home/yocto/yocto/BBB/poky/bitbake/lib/bb/persist_data.py", line 217, in persist(domain='BB_URI_HEADREVS', d=<bb.data_smart.DataSmart object at 0x7fc0045676d0>):
bb.utils.mkdirhier(cachedir)
cachefile = os.path.join(cachedir, "bb_persist_data.sqlite3")
> return SQLTable(cachefile, domain)
File "/home/yocto/yocto/BBB/poky/bitbake/lib/bb/persist_data.py", line 56, in SQLTable.__init__(cachefile='/home/yocto/yocto/BBB/8313/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/build/cache/bb_persist_data.sqlite3', table='BB_URI_HEADREVS'):
self.table = table
> self.cursor = connect(self.cachefile)
File "/home/yocto/yocto/BBB/poky/bitbake/lib/bb/persist_data.py", line 202, in connect(database='/home/yocto/yocto/BBB/8313/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/8529/build/tmp/deploy/images/qemux86/home/yocto/yocto/BBB/build/cache/bb_persist_data.sqlite3'):
def connect(database):
> connection = sqlite3.connect(database, timeout=5, isolation_level=None)
connection.execute("pragma synchronous = off;")
OperationalError: unable to open database file
|