Bug 12265

Summary: Can't build older versions of glibc when host features version 2.26
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Gino Badouri <badouri.g>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: Martin.Jansa, meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 2.5 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: Backport 2.3.3 and 2.4.1?
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Gino Badouri 2017-10-22 11:25:06 UTC

    
Comment 1 Gino Badouri 2017-10-22 11:33:31 UTC
When the host OS (Fedora 27 in my case) features glibc 2.26.
It's not possible to build older versions of glibc within OE-core.
"rocko" features version 2.26 as well, so that will build fine.
However morty and pyro will not build at all due to their libc version being older.

See the error log for Pyro: https://pastebin.com/Dz1AiN82

Morty gives the exact same error.
Comment 2 Martin Jansa 2017-10-24 18:52:25 UTC
You can work around this by adding:
LOCALE_GENERATION_WITH_CROSS-LOCALEDEF_forcevariable = "0"
in your local.conf, it will cause glibc-locale to show couple QA issues, but at least it will allow you to build the rest of the system before this issue is resolved.
Comment 3 Gino Badouri 2017-10-25 11:40:35 UTC
Thank you, it works :)