| Summary: | perl @INC error when using sstate cache | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Kevin Tian <kevin.tian> |
| Component: | devtools / tool chain | Assignee: | Wenzong.Fan <wenzong.fan> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | liang.li2, liangliang.wang, meta.mr.watcher, meta.watcher, sgw, yi.zhao |
| Version: | 1.0 | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Can't be reproduced, will check it again by Aug 12 | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Kevin Tian
2011-03-09 00:06:45 UTC
so does target perl itself. btw, Nitin, when you look at this issue, make sure that the original build directory which generates sstate packages are removed or renamed. This is the way to expose this issue. Kevin, Can you give me steps to reproduce this bug? Thanks, nitin a) make a full build in DIR1, and direct sstate output to SSTATE_DIR b) remove or rename DIR1 to make sure old path not referenced any more c) make a new build in DIR2, with sstate mirror pointing to earlier SSTATE_DIR then you should be able to observe reported failures. the first thing you may want to figure out is why perl.real is used by MakeMaker.pm, when the wrapper perl script is expected which provides the necessary parameter to use @INC under DIR2. Because perl.real is used which is compiled from DIR1 and thus has inherit knowledge to set @INC to DIR1, the error occurs since DIR1 has been deleted. |