| Summary: | chrpath fails with short build prefix | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Andreas Oberritter <obi> | ||||
| Component: | devtools / tool chain | Assignee: | Richard Purdie <richard.purdie> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | corneliux.stoicescu, jessica.zhang, meta.mr.watcher, meta.watcher, richard.purdie, sgw | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.6 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
Andreas Oberritter
2013-03-05 22:11:22 UTC
We should add a check to sanity.bbclass for paths which are too short and report these cases to the user. Created attachment 1106 [details]
patch implementing workaround 2
With this patch I could build a working image without changing the path.
I agree that a sanity check would be a good thing, but I don't think it's easy to guess the right value, without doing many world builds. With my patch the problem should be gone for many or possibly all cases below /usr/lib, as they can use 14 extra bytes. Andreas, can you please submit your RFC patch to the communinty and see where it goes, I am going to assign you the owner of this bug, I think your pathc makes sense, and if you can add a sanity check that would be great also. Please mark the but ACCPETED or IN PROGRESS as you see fit. Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6fcb96076ca60ef30062fda0ff8308cc840ab07d Verified in poky master:1b636173ca88e5ccca1992f9a12367a1189fa674 |