| Summary: | cross-localedef-native_2.22 fails to build on aarch64 host | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Tristan Van Berkom <tristan.vanberkom> | ||||||
| Component: | core | Assignee: | Ross Burton <ross.burton> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | Yi Zhao <yi.zhao> | ||||||
| Severity: | normal | ||||||||
| Priority: | Medium+ | CC: | jose.perez.carranza, meta.mr.watcher, meta.watcher, yi.zhao | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.2 M1 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Attachments: |
|
||||||||
Did you try just setting AUTOTOOLS_SCRIPT_PATH and deleting do_configure() entirely? Created attachment 3153 [details] Use stock autotools configure (In reply to comment #1) > Did you try just setting AUTOTOOLS_SCRIPT_PATH and deleting do_configure() > entirely? Yes I did (after reading this comment)... And since it worked, I've attached an updated patch which does that :) Looks good. OE-core is kernel style patches-on-mailing-list, can you submit this patch the list please? Fixed in oe-core 33d4c758a5d71435437dde74556d32404d91342f. Verified with poky master: e274a5167ea2e495355bd1382b1388d047b845d7 |
Created attachment 3148 [details] Use oe_runconf() instead of running configure manually The build of cross-localedef-native_2.22 on aarch64 bails out with an error because it does not recognize the aarch64 host triple, probably because the prepackaged configure scripts in glibc 2.22 are just outdated. The attached patch adjusts cross-localedef-native_2.22.bb so that it uses gnu-configurize and runs oe_runconf instead of manually running configure, this fixes the build on aarch64 hosts. Patch was also tested on x86_64 and found to not break the build on x86_64.