| Summary: | [quilt] do_configure fail when building quilt on opensuse 11.3 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jiajun Xu <jiajun.xu> | ||||
| Component: | devtools / tool chain | Assignee: | Qing He <qing.he> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, qing.he, richard.purdie, sgw | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Attachments: |
|
||||||
|
Description
Jiajun Xu
2011-04-12 01:31:57 UTC
Created attachment 136 [details]
do_configure error log for quilt
patch and diff are used at runtime of quilt, but unfortunately quilt doesn't differentiate runtime and build time programs in configure.ac (and there is no sysroot support) The easier way is to remove all diff and patch checking (it should be safe to assume they are of GNU version), and using non-absolute forms (patch instead of /usr/bin/patch) in scripts (assuming it's retrievable in $PATH). I am confused, 11.3 should have a version of patch of 2.6.1, is the problem that it did not install? Please verify if patch is installed and which version, I can not see from these comments which version of Patch is installed. (In reply to comment #3) > I am confused, 11.3 should have a version of patch of 2.6.1, is the problem > that it did not install? Please verify if patch is installed and which > version, I can not see from these comments which version of Patch is installed. please see bug 690, patch version 2.6.1 uses a new report format that fails quilt configure detection, it's been fixed in the upstream at: http://lists.nongnu.org/archive/html/quilt-dev/2010-06/msg00002.html However, it doesn't work for quilt-native, since it's build before autotools and we don't want an autoreconf here, so there were 3 commits: 32f241a51c800cfc5b146e990acee004d91bef32 which fixes configure bc31351f6989372c7feb403f23532afd1f510fb1 upstream configure.ac change ec740ac770d2124cbae1ab936d85b8343076c53b revert configure.ac change (since we don't want autoreconf on quilt-native) The revert is ok for quilt-native but missed the change for quilt for target, thus the bug still exists. Additionally, the detection mechanism in quilt configure is flawed for cross-build, it's the target diff and patch need to be used (but they can be tested by run), I'll remove the test altogether. |