| Summary: | running native rpmbuild from remote sstate cache fails | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Edwin Zhai <edwin.zhai> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | dongxiao.xu, kevin.tian, mark.hatle, poky.bs.watcher, poky.watcher |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Edwin Zhai
2011-02-16 22:46:39 UTC
The reason is "--buidlroot" is just a command alias defined in a config file(rpmpopt), whose absolute path(under sysroot) is hard coded in rpmbuild. So on different machine, the build directory is likely to be different that leads failure when looking for the file in the old hard coded directory. One work around here is to create this hard coded directory on the new machine, and copy necessary config files to it. Need a nice solution... It seems that this issue is the same as BUG 668. Mark once had a fix for rpm-native relocation issue. See commit d71f6fff17e7a2bd5acd4339b26a2d3b28c76814. So it doesn't work for rpm-build? CC Mark. Thanks, Dongxiao |